Juri Linkov [Sun, 28 Oct 2007 14:49:41 +0000 (14:49 +0000)]
(isearch-other-meta-char): Call `isearch-edit-string' when mouse is
clicked on the isearch message.
(isearch-resume): Call `isearch-update' at the end. Rename argument
`search' to `string' to conform to the isearch terminology.
Glenn Morris [Sat, 27 Oct 2007 22:15:27 +0000 (22:15 +0000)]
(shell-dirtrack-verbose, shell-directory-tracker): Doc fix.
(shell-dirtrack-toggle): Mark as obsolete.
(dirtrack-toggle, dirtrack-mode): No longer alias to shell-dirtrack-mode.
Michael Albinus [Sat, 27 Oct 2007 13:57:43 +0000 (13:57 +0000)]
* net/tramp.el (tramp-wrong-passwd-regexp): Tune regexp.
(tramp-get-remote-tmpdir): New defun.
(tramp-make-tramp-temp-file): Use it.
(tramp-local-call-process): New defun. Replace all calls of
`call-process' by this when appropriate.
(tramp-handle-write-region): Replace calls of `file-attributes' by
`tramp-compat-file-attributes'.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Make the first command a `tramp-send-command' call, with let-bind
of `tramp-end-of-output'.
(tramp-version, tramp-bug, tramp-reporter-dump-variable)
(tramp-load-report-modules, tramp-append-tramp-buffers): Move to
tramp-cmds.el.
Eli Zaretskii [Sat, 27 Oct 2007 12:43:56 +0000 (12:43 +0000)]
(zoneinfo-style-world-list, legacy-style-world-list): New defcustoms.
(display-time-world-list): Use them as appropriate for the current value
of `system-type'.
Dan Nicolaescu [Fri, 26 Oct 2007 22:24:14 +0000 (22:24 +0000)]
* emulation/pc-select.el (next-line-mark, next-line-nomark)
(previous-line-mark, previous-line-nomark): Wrap with-no-warnings
around uses of previous-line and next-line.
* diff.el (diff-old-file, diff-new-file, diff-extra-args): New
defvars.
Dan Nicolaescu [Fri, 26 Oct 2007 18:09:36 +0000 (18:09 +0000)]
(struct frame): Move all bit fields after the first bit
field to take advantage of the available space. Group all the
chars together to reduce wasted space due to padding.
Add a wrapper for getenv so it also checks the registry on Windows.
Suggestion and algorithm by Eli Zaretskii.
Code partially based on w32_get_resource and init_environment (w32.c).
(egetenv): New wrapper for getenv.
(get_current_dir_name, decode_options, get_server_config, set_local_socket,
set_socket, main): Use egetenv, not getenv.
(w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
Add a wrapper for getenv so it also checks the registry on Windows.
Suggestion and algorithm by Eli Zaretskii.
Code partially based on w32_get_resource and init_environment (w32.c).
(xmalloc): New function by Károly Lőrentey (backported from the trunk).
(quote_file_name): Use it.
(egetenv): New wrapper for getenv.
(get_current_dir_name, decode_options, get_server_config, set_local_socket,
set_socket, main): Use egetenv, not getenv.
(w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
(comment-styles): New style indent-or-triple.
(comment-style): Make that the default.
(comment-add defvar): Doc fix.
(comment-add): Delete arg EXTRA.
(comment-region-default): Open code call to comment-add.
Handle indent-or-triple style which uses `multi-char' for INDENT.
John Wiegley [Fri, 26 Oct 2007 08:07:17 +0000 (08:07 +0000)]
2007-10-26 John Wiegley <johnw@newartisans.com>
* eshell/em-unix.el (eshell/diff): Before calling the `diff'
function, ensure that the third argument is turned into a NIL if
the string is otherwise completely empty (either no characters, or
all tabs/spaces). This fixes a bug from a user who found himself
unable to customize `diff-switches' and still use Eshell's diff
command.
Dan Nicolaescu [Thu, 25 Oct 2007 23:25:08 +0000 (23:25 +0000)]
* emulation/edt-mapper.el (edt-emacs-variant): Replace the only
use with the definition. Remove.
* add-log.el (change-log-start-entry-re): New defconst.
(change-log-sortable-date-at): Use it.
(change-log-beginning-of-defun, change-log-end-of-defun): New
functions.
(change-log-mode): Use them for beginning-of-defun-function and
end-of-defun-function.
Jonathan Yavner [Thu, 25 Oct 2007 20:13:19 +0000 (20:13 +0000)]
ses.texi (The Basics): Mention how to create a new spreadsheet. Mention the
new three-letter column identifiers.
(More on cell printing): Calculate-cell and truncate-cell are now `c' and
`t' rather than `C-c C-c' and `C-c C-t'. Mention the stupid error message
when using `c' on an empty default with default printer.
(Buffer-local variables in spreadsheets): `symbolic-formulas' was
renamed to `ses--symbolic-formulas' some time ago.
Jonathan Yavner [Thu, 25 Oct 2007 20:12:26 +0000 (20:12 +0000)]
Make `ses--symbolic-formulas' a safe local variable.
(ses-mode-print-map): Add `c' and `t' (suggested by Gareth Rees).
(ses-recalculate-cell): Deal with point being just beyond end of data area (why does this happen?)
(ses-set-curcell): Ditto.
(ses-column-letter): Handle columns beyond 702. Code written by Gareth Rees.
Carsten Dominik [Thu, 25 Oct 2007 09:28:34 +0000 (09:28 +0000)]
* textmodes/org.el: (org-agenda-get-restriction-and-command): Use
`mapc' instead of `mapcar'.
(org-agenda-list): Numeric prefix argument can specify the number
of days.
(remember-register, remember-buffer): Prevent byte compiler from
complaining.
Stefan Monnier [Thu, 25 Oct 2007 02:38:41 +0000 (02:38 +0000)]
Make `window-system' into a keyboard-local variable (rather than
frame-local as done originally by multi-tty).
* startup.el (window-system): Remove. Don't make it frame-local.
* keyboard.h (struct kboard): Add Vwindow_system.
* keyboard.c (init_kboard): Set a default for Vwindow_system.
(mark_kboards): Mark Vwindow_system.
* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
(init_display): Don't set the obsolete `window-system' frame-param.
* xterm.c (x_term_init):
* w32term.c (w32_create_terminal):
* term.c (init_tty): Set Vwindow_system.
* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system.
* xfns.c (Fx_create_frame, x_create_tip_frame):
* w32fns.c (Fx_create_frame, x_create_tip_frame):
* macfns.c (Fx_create_frame):
Don't set the obsolete `window-system' frame-param.
* frame.h (Qwindow_system): Remove.
* frame.c (Qwindow_system): Remove. In `syms_of_frame' as well.
(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.