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.
Kenichi Handa [Thu, 19 Mar 2009 06:50:41 +0000 (06:50 +0000)]
(Fset_fontset_font): When a spec of ASCII font is
changed, use font_load_for_lface to get a new font object. Call
free_realized_fontset after handling ASCII font change.
Stefan Monnier [Tue, 17 Mar 2009 19:05:40 +0000 (19:05 +0000)]
(file_name_completion): Check completion-ignored-extensions
only if the entry can't affect bestmatch anyway.
Stop the search early, as Ftry_completion already does.
Chong Yidong [Mon, 16 Mar 2009 00:43:52 +0000 (00:43 +0000)]
* emacs-lisp/crm.el (crm--choose-completion-string): New function.
(completing-read-multiple): Set and restore
choose-completion-string-functions (Bug#1080).
Glenn Morris [Sun, 15 Mar 2009 21:16:52 +0000 (21:16 +0000)]
(Mail Format): Replace "Sender" with "Message-Id", since
the former is not always used.
(Mail Headers): Use active voice. Add "Mail-reply-to".
Change case of "Id". Avoid repeated "appropriate".
(Mail Aliases): Fix previous change - use an example with a ".", so it
does actually get quoted when expanded.
(Mail Sending): Mailclient is the default on some systems.
(Citing Mail): Mention mail-indentation-spaces.
(Mail Mode Misc): Add an @dfn for "mail signature".
Glenn Morris [Sun, 15 Mar 2009 21:07:39 +0000 (21:07 +0000)]
(mail-yank-prefix): Doc fix.
(mail-mode-map): Only enable the "Cite Original" menu-item when
appropriate. Standardize the text used for other headers re hyphens.
Jason Rumney [Sun, 15 Mar 2009 14:53:53 +0000 (14:53 +0000)]
* w32term.h (WM_EMACS_PAINT): New message.
* w32term.c (w32_read_socket): Use it instead of WM_PAINT.
* w32fns.c (w32_wnd_proc): Change WM_PAINT to WM_EMACS_PAINT
before passing to lisp thread. (Bug#950)
Dan Nicolaescu [Sun, 15 Mar 2009 08:58:02 +0000 (08:58 +0000)]
(vc-checkin): Add an extra argument for the VC backend,
pass it down to vc-start-logentry.
(vc-next-action, vc-transfer-file): Pass the VC backend to
vc-checkin.
(vc-next-action): Do not assume that all backends in
vc-handled-backends are upper case.
Dan Nicolaescu [Sun, 15 Mar 2009 08:54:00 +0000 (08:54 +0000)]
(vc-checkin): Add an extra argument for the VC backend,
pass it down to vc-start-logentry.
(vc-next-action, vc-transfer-file): Pass the VC backend to
vc-checkin.
Glenn Morris [Sat, 14 Mar 2009 22:30:53 +0000 (22:30 +0000)]
(Mail Format): Fix typo. Add index entry for mail-header-separator.
(Mail Headers): Put info about initialization and changing in one place
at the start. Update FCC section for mbox Rmail. Clarify From
section, mention mail-setup-with-from. Clarify Reply-to section.
Add Mail-followup-to and mail-mailing-lists. Clarify References section.
(Mail Aliases): Update example, make less contentious.
Update for name change of mail-interactive-insert-alias.
(Mail Mode): Remove mention of `%' as a word separator.
(Mail Sending): Mention mail-send-hook. Mention Mailclient.
(Header Editing): Add reply-to, mail-reply-to, and mail-followup-to commands.
Clarify FCC handling. In mail-complete, add reference to
Mail Aliases section, and mention mail-complete-function.
(Citing Mail): Mention mail-yank-ignored-headers and mail-citation-hook.
(Mail Mode Misc): Clarify the mail-signature function. Add basic
signature netiquette. Explain how the mail hooks work when continuing
a composition.
(Mail Amusements): Internationalize the spook section a bit.
Remove the spook mail-setup-hook example, since it doesn't work well.
Mention fortune-file.
(Mail Methods): Mention read-mail-command.
Chong Yidong [Sat, 14 Mar 2009 21:21:41 +0000 (21:21 +0000)]
(Error Debugging): Don't mislead the reader into
thinking that debug-on-error enters debugger for C-f at EOB.
(Error Debugging): Setting debug-on-init within the init file
works, and has for some time.
Chong Yidong [Sat, 14 Mar 2009 21:21:32 +0000 (21:21 +0000)]
* debugging.texi (Error Debugging): Don't mislead the reader into
thinking that debug-on-error enters debugger for C-f at EOB.
(Error Debugging): Setting debug-on-init within the init file
works, and has for some time.
David Reitter [Sat, 14 Mar 2009 21:19:56 +0000 (21:19 +0000)]
Unify shutdown handling under NS, via ns-power-off key event (where appropriate) and save-buffers-kill-emacs.
remove NS-specific preferences window that used to show NS-specific preferences.
Integrate preferences in Lisp accessible customization system where possible.
Remove ns-expand-space, because it can be set only during fontloading (i.e. not at runtime),
and because of redundancy with line-spacing frame parameter.
Remove loading of most and saving of all NS resources (from org.gnu.Emacs.plist).
nsterm.m (ns_shutdown_properly, -terminate): remove global state variable as it was never reset
(ns_term_init): remove initialization of Lisp-settable defaults and ns_expand_space
(-setPanelFromDefaultValues): remove ns_expand_space.
(-showPreferencesWindow): send new KEY_NS_SHOW_PREFS key.
nsfont.m (nsfont_open): remove ns_expand_space, assume -0.5 i.e. no additional spacing, similar to Carbon port.
term/ns-win.el (ns-expand-space): remove.
(ns-show-prefs event): run `customize'.
(ns-power-off): run `save-buffers-kill-emacs', but ask user whether to save files (as is standard)
(clipboard-yank, clipboard-kill-ring-save, clipboard-kill-region)
(menu-bar-enable-clipboard): do not undefine these.
(ns-save-preferences,ns-save-options,ns-show-preferences-help): remove.
Glenn Morris [Sat, 14 Mar 2009 20:25:06 +0000 (20:25 +0000)]
(mail-interactive): Doc fix.
(mail-yank-ignored-headers): Add X-RMAIL- headers, bump :version.
(mail-setup): Use the function mail-signature.
(mail-to, mail-subject, mail-cc, mail-bcc, mail-reply-to)
(mail-mail-reply-to, mail-mail-followup-to): Doc fixes.
(mail-signature): Check the signature file is readable.
With the argument ATPOINT, really insert at point.
Handle the case when the variable mail-signature is an expression.