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.
Stefan Monnier [Thu, 26 Mar 2009 01:19:50 +0000 (01:19 +0000)]
(archive-ar-summarize): Don't burp on special GNU
extension entries for lookup tables or extended file name tables.
Distinguish the internal and external name, so lookup is easier.
(archive-ar-extract): Take advantage of more precise name.
Preserve point.
Chong Yidong [Tue, 24 Mar 2009 17:08:49 +0000 (17:08 +0000)]
(Defining Commands): Clarify introduction.
(Using Interactive): Not that interactive can be put in a symbol
property.
(Interactive Call): Note that a symbol with a non-nil
interactive-form property satisfies commandp.
Chong Yidong [Tue, 24 Mar 2009 17:07:06 +0000 (17:07 +0000)]
* commands.texi (Defining Commands): Clarify introduction.
(Using Interactive): Not that interactive can be put in a symbol
property.
(Interactive Call): Note that a symbol with a non-nil
interactive-form property satisfies commandp.
Glenn Morris [Tue, 24 Mar 2009 02:30:15 +0000 (02:30 +0000)]
(widget-specify-field): Don't add a second overlay for a
field with just a newline character.
(widget-field-value-get): Don't reduce fields with just a space
character to null.
(character): Accept newline. (Bug#2689)
Dan Nicolaescu [Mon, 23 Mar 2009 16:25:30 +0000 (16:25 +0000)]
(vc-bzr-working-revision): Add support for lightweight
checkouts. (Bug#2157)
(vc-bzr-after-dir-status): Ignore a warning for bzr status.
(vc-bzr-dir-extra-headers): Add headers for lightweight checkouts.
Chong Yidong [Mon, 23 Mar 2009 03:07:51 +0000 (03:07 +0000)]
(Intro to Minibuffers): Remove long-obsolete info
about minibuffers in old Emacs versions. Copyedits. Emphasize
that enable-recursive-minibuffers defaults to nil.
(Text from Minibuffer): Simplify introduction.
Chong Yidong [Mon, 23 Mar 2009 03:07:41 +0000 (03:07 +0000)]
* minibuf.texi (Intro to Minibuffers): Remove long-obsolete info
about minibuffers in old Emacs versions. Copyedits. Emphasize
that enable-recursive-minibuffers defaults to nil.
(Text from Minibuffer): Simplify introduction.
Eli Zaretskii [Sat, 21 Mar 2009 14:03:06 +0000 (14:03 +0000)]
(eshell-ls-dir): Call eshell-directory-files-and-attributes with additional
argument 'integer or 'string, according to numeric-uid-gid.
(eshell-ls-file): Don't convert UID and GID to strings, as eshell-ls-dir
already did. Enlarge max user-name string length to 14 characters.
(eshell-do-ls): Fix the long name of the -L option.
(eshell-ls-file): Enlarge default size-width to 8.
(eshell-ls-dir): Under -l, call eshell-ls-printable-size with last
argument nil.
Eli Zaretskii [Sat, 21 Mar 2009 11:31:50 +0000 (11:31 +0000)]
inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid to unsigned.
(getpwuid): Argument is now unsigned.
uid_t is now unsigned.
ntlib.c (setuid): Argument is now unsigned.
(getuid): Return value is now unsigned.
(getpwuid): Argument is now unsigned.
(fchown): UID and GID arguments are now unsigned.
ntlib.h (fchown): UID and GID arguments are now unsigned.
(getuid): Return value is now unsigned.
(setuid): Argument is now unsigned.
(getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
w32.c (getpwuid): Change argument type to unsigned.
(struct w32_id): Change type of `rid' member to unsigned.
(w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of
argument ID to unsigned. All callers changed.
(getuid, geteuid, getgid, getegid): Change return type to unsigned.