Michael Albinus [Sun, 5 Apr 2009 18:06:55 +0000 (18:06 +0000)]
* net/tramp.el (tramp-default-file-modes) New defun. Replace all
calls of `file-modes' by this.
(tramp-handle-find-backup-file-name): Use `symbol-value' instead
of `boundp'.
Michael Albinus [Sun, 5 Apr 2009 17:49:47 +0000 (17:49 +0000)]
* net/ange-ftp.el (ange-ftp-set-file-modes): New defun. Change
`ange-ftp' property of `set-file-modes' to
`ange-ftp-set-file-modes'.
(ange-ftp-call-chmod): Add error handling.
* frames.texi (Frames): Clean up introduction. Document `ns'
return value for framep.
(Creating Frames): Note how the terminal is chosen.
(Multiple Terminals, Multiple Displays): Merge into a single node.
(Color Parameters): Fix typo.
* variables.texi (Local Variables, Buffer-Local Variables)
(Creating Buffer-Local): Change link to Multiple Terminals.
* os.texi (X11 Keysyms): Change link to Multiple Terminals.
* keymaps.texi (Controlling Active Maps): Change link to Multiple
Terminals.
* commands.texi (Command Loop Info, Keyboard Macros): Change link
to Multiple Terminals.
* terminal.c (Fterminal_name, Fdelete_terminal, Fterminal_name)
(Fterminal_parameters, Fterminal_parameter)
(Fset_terminal_parameter): In doc string, refer to terminal
objects rather than terminal ids.
* files.texi (File Attributes): Move note about MS-DOS from
Changing Files to File Attributes.
(Create/Delete Dirs): Note that mkdir is an alias for this.
* term.c (produce_stretch_glyph): Reduce width of stretch glyphs
so they don't get wider than the window, matching 2006-01-23
change to the partner function in xdisp.c (Bug#2800).
Dan Nicolaescu [Wed, 1 Apr 2009 15:42:09 +0000 (15:42 +0000)]
(vc-name): Avoid calling vc-backend twice.
(vc-mode-line): Accept and use an optional argument for the
backend.
(vc-find-file-hook): Use when instead of if. Avoid calling
vc-backend multiple times, pass down the value computed the first
time.
Chong Yidong [Mon, 30 Mar 2009 21:57:28 +0000 (21:57 +0000)]
(Accessing Documentation): Update example to use
help-setup-xref and with-help-window.
(Help Functions): Remove print-help-return-message, which is
semi-obsolete due to with-help-window. Document help-buffer and
help-setup-xref.
Chong Yidong [Mon, 30 Mar 2009 21:57:07 +0000 (21:57 +0000)]
* help.texi (Accessing Documentation): Update example to use
help-setup-xref and with-help-window.
(Help Functions): Remove print-help-return-message, which is
semi-obsolete due to with-help-window. Document help-buffer and
help-setup-xref.
Jay Belanger [Mon, 30 Mar 2009 02:19:07 +0000 (02:19 +0000)]
(calc-buffer-list): New variable.
(calc-kill-stack-buffer): New function.
(calc-mode): Add `calc-kill-stack-buffer' to
`kill-buffer-query-functions'.
Add current buffer to `calc-buffer-list'.
Jay Belanger [Mon, 30 Mar 2009 02:17:40 +0000 (02:17 +0000)]
(calc-embedded-restore-original-modes): Add argument for Calculator buffer.
(calc-do-embedded): Use specific Calculator buffer when cancelling
embedded mode.
David Reitter [Sun, 29 Mar 2009 00:00:30 +0000 (00:00 +0000)]
(ns-expand-space): remove defvar.
(S-,): bind to `customize' in line with menu item.
([global-map windows]): remove (in line with other platforms).
(menu-bar-update-frames, force-menu-bar-update-buffers,force-menu-bar-update-buffers,force-menu-bar-update-buffers): remove, not needed.
(menu-bar-update-hook): do not alter.
(generate-fontset-menu,mouse-set-font): amend doc string of these defaliases to point out their altered meaning in NS.
Jan Djärv [Fri, 27 Mar 2009 18:40:04 +0000 (18:40 +0000)]
(handle_one_xevent): Call x_handle_net_wm_state if
the property _NET_WM_STATE has changed.
updated.
(x_handle_net_wm_state): New function to update frame parameter
fullscreen.
(x_term_init): Initialize atoms for _NET_WM_STATE.
Stefan Monnier [Fri, 27 Mar 2009 16:14:23 +0000 (16:14 +0000)]
* keyboard.c (tty_read_avail_input): Don't treat a -1 return from
Gpm_GetEvent as an error that justifies closing the filedescriptor.
* term.c (close_gpm): Get the filedescriptor as a (new) parameter.
(Fgpm_mouse_stop): Pass that new parameter.
* termhooks.h (close_gpm): Adjust prototype.
Stefan Monnier [Thu, 26 Mar 2009 17:07:54 +0000 (17:07 +0000)]
* callint.c (Fcall_interactively): For '^' just delegate the work to
handle-shift-selection.
(syms_of_callint): Move declaration of shift-select-mode to simple.el.
* simple.el (shift-select-mode): Move declaration from callint.c.
(handle-shift-selection): Remove `deactivate' arg and check
shift-select-mode instead.