(file-cache-add-directory, file-cache-add-directory-recursively,
file-cache-add-from-file-cache-buffer, file-cache-delete-file-regexp,
file-cache-delete-directory, file-cache-files-matching-internal,
file-cache-display): Use `mapc' rather than `mapcar'.
(ediff-intersect-directories, ediff-redraw-directory-group-buffer,
ediff-dir-diff-copy-file, ediff-redraw-registry-buffer):
Use `mapc' rather than `mapcar'.
Michael Albinus [Mon, 24 Sep 2007 05:29:29 +0000 (05:29 +0000)]
* net/tramp.el (tramp-completion-mode-p): Rename from
`tramp-completion-mode'. Revert logic, check `return', `newline'
and such alike. Packages like Icicles tend to use other completion
characters but `tab' and `space' only.
Move entries from ../emacs/ChangeLog that refer to files in this
directory here. Entries were duplicated where they would have been
made twice, had separate ChangeLogs existed at the time.
Move entries for files in ../misc to the ChangeLog there.
Entries were duplicated where they would have been made twice, had
separate ChangeLogs existed at the time.
(completion-separator-self-insert-command)
(completion-separator-self-insert-autofilling):
If `self-insert-command' has been remapped, use the substitute.
Juri Linkov [Sat, 22 Sep 2007 23:55:29 +0000 (23:55 +0000)]
(tutorial--default-keys): Update standard bindings:
rename `iconify-or-deiconify-frame' to `suspend-frame',
and `save-buffers-kill-emacs' to `save-buffers-kill-terminal'.
Juri Linkov [Sat, 22 Sep 2007 22:14:51 +0000 (22:14 +0000)]
(fancy-startup-text, fancy-about-text, fancy-startup-tail):
Add help-echo to external links and to links without description.
(fancy-splash-insert): Use help-echo from the 3rd element of the
link specification list, or "Follow this link" if it's nil. Doc fix.
Juri Linkov [Sat, 22 Sep 2007 14:02:38 +0000 (14:02 +0000)]
(command-line): Rename `inhibit-startup-message' to
`inhibit-startup-screen'.
(fancy-about-text): Use shorter label for "Ordering Manuals".
(fancy-startup-tail): Add optional arg `concise'. When `concise'
is nil, display a line with "To start..." and 3 links to useful
tasks. Display the "Dismiss" button and "Don't show this message
again" only when concise is non-nil.
(fancy-startup-screen): Call `fancy-startup-tail' with optional
arg `concise'. If CONCISE is non-nil, display a concise version
of the splash screen in another window. Otherwise, switch to the
startup buffer in the same window.
(startup-echo-area-message): Change displayed binding from
C-h C-p (describe-project) to C-h C-a (about-emacs), and change
text "about the GNU system and GNU/Linux" to "about GNU Emacs and
the GNU system".
(display-startup-screen): Fix buffer name from "*About GNU Emacs*"
to "*GNU Emacs*".
(display-about-screen): Don't check the existence of the buffer
"*About GNU Emacs*".
(display-splash-screen): Make alias to `display-startup-screen'.
(command-line-1): Rename `inhibit-startup-message' to
`inhibit-startup-screen'. Inhibit startup screen when Emacs is
started with command line options "-f", "-funcall", "-e", "-eval",
"-execute", "-insert", "-find-file", "-file", "-visit".
Inhibit startup screen when Emacs is started with a file name only
on tty (i.e. don't inhibit it when started with a file name like
"emacs FILE..." on a window system).
(command-line-1): Simplify logic of displaying the startup screen:
if file-count > 0, then display the concise version in another
window, otherwise display full version in the same window.
Eli Zaretskii [Sat, 22 Sep 2007 12:41:29 +0000 (12:41 +0000)]
(DEV_TTY): New macro. Provide a definition for MS-Windows.
(FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero.
(Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty)
(init_tty): Use DEV_TTY instead of "/dev/tty".
[WINDOWSNT]: No need to protect from NAME arg being null.
Dan Nicolaescu [Sat, 22 Sep 2007 01:50:54 +0000 (01:50 +0000)]
(speedbar-frame-mode)
(speedbar-frame-reposition-smartly)
(speedbar-set-mode-line-format, speedbar-reconfigure-keymaps)
(speedbar-check-vc): Remove use of non-existent variable
dframe-xemacsp, use (featurep 'xemacs) instead.
Stefan Monnier [Fri, 21 Sep 2007 17:10:48 +0000 (17:10 +0000)]
* termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead.
(gpm_tty): Change its type.
* term.c (term_gpm): Delete. Use gpm_tty's NULLness instead.
(gpm_tty): Change its type and initialize it.
(Fterm_open_connection): Check the frame is indeed a tty. Use the new gpm_tty.
(Fterm_close_connection): Use the new gpm_tty.
* keyboard.c (tty_read_avail_input): Use the new gpm_tty.
* sysdep.c (init_sys_modes): term_gpm -> gpm_tty.
Stefan Monnier [Fri, 21 Sep 2007 07:59:46 +0000 (07:59 +0000)]
(candidate_window_p): Consider frames that are being placed
by the user as somewhere between visible and iconified.
(window_loop): Prefer windows on the current frame.
(Fselect_window): Move the use of select-frame to the beginning so we
can just delegate all the work (it'll call us back anyway).