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.
Jan Djärv [Sat, 14 Mar 2009 15:12:33 +0000 (15:12 +0000)]
* gtkutil.c (xg_tool_bar_callback): Set focus back to the frame
after clicking in a detached tool bar.
(xg_tool_bar_proxy_callback): Remove call to Fx_focus_frame.
* vc-git.el (vc-git-previous-revision, vc-git-next-revision):
Fall back to original commit if vc-git-symbolic-commit fails to
find a symbolic name.
(vc-git-symbolic-commit): Don't limit search to tags. Treat
"undefined" as an error. (Bug #2110)
Stefan Monnier [Fri, 13 Mar 2009 15:37:03 +0000 (15:37 +0000)]
(tar-header-block-tokenize): Presume less, check more.
(tar-summarize-buffer): Don't silently skip incomplete headers.
(tar-mode): Revert to fundamental-mode in case of malformed tar data.
(tar-extract): Try to make sure set-auto-mode doesn't mistakenly
treat a tar file member as being a tar file itself, just because
its own filename includes the parent tar file's.
Kenichi Handa [Fri, 13 Mar 2009 05:08:56 +0000 (05:08 +0000)]
(Ffontset_info, check_fontset_name): New arg frame.
Hanlde NAME nil and t correctly. Callers changed.
(font_def_arg, add_arg, from_arg, to_arg): Delete them.
(set_fontset_font): Change ARG to a vector. Handle range_list in
ARG correctly.
(Fset_fontset_font): Fix the case that TARGET is both a script
name and charset name. Adjusted the arg to set_fontset_font for
the above change.
(fontset_from_font): Fix previous change.
(Ffontset_info): Adjusted for the 2008-07-09 change of fontset
entry. If FONTSET is the default fontset, don't set the extra
slot of the returning char-table.
Kenichi Handa [Fri, 13 Mar 2009 05:08:19 +0000 (05:08 +0000)]
(print-fontset): Handling of the
argument FONTSET changed for consistency. Reorder the printed
information to match with the font searching strategy.
(describe-fontset): Use face-attribute to get the fontset of the
selected frame.
(mule-diag): Likewise. Print both font and fontset of the frame.
* register.el (get-register): Rename arg REG to REGISTER for
consistency with other register functions.
(set-register, jump-to-register): Fix typos in docstrings.
(copy-to-register, copy-rectangle-to-register): Reflow docstrings.
David Reitter [Thu, 12 Mar 2009 01:55:52 +0000 (01:55 +0000)]
termhooks.h [HAVE_NS]: define NS_NONKEY_EVENT to be used for non-key system events on NS. Formerly, NON_ASCII_KEYSTROKE_EVENT were used for such events.
David Reitter [Thu, 12 Mar 2009 01:55:15 +0000 (01:55 +0000)]
* termhooks.h [HAVE_NS]: define NS_NONKEY_EVENT to be used for
non-key system events on NS. Formerly, NON_ASCII_KEYSTROKE_EVENT
were used for such events.
* nsterm.m (newFrame, openFile, fulfillService, changeFont,
toggleToolbar, performDragOperation, runHelp): use it.
* keyboard.c (parse_menu_item) [HAVE_NS]: treat new event like
NON_ASCII_KEYSTROKE_EVENT, but set used_mouse_menu.
Chong Yidong [Thu, 12 Mar 2009 00:10:08 +0000 (00:10 +0000)]
(Common Keywords): It's not necessary to use :tag
to remove hyphens, as custom-unlispify-tag-name does it
automatically.
(Variable Definitions): Link to File Local Variables. Document
customized-value symbol property.
(Customization Types): Move menu to end of node.
Chong Yidong [Thu, 12 Mar 2009 00:00:47 +0000 (00:00 +0000)]
* customize.texi (Common Keywords): It's not necessary to use :tag
to remove hyphens, as custom-unlispify-tag-name does it
automatically.
(Variable Definitions): Link to File Local Variables. Document
customized-value symbol property.
(Customization Types): Move menu to end of node.
Kenichi Handa [Wed, 11 Mar 2009 07:51:33 +0000 (07:51 +0000)]
(Fset_fontset_font): When a font for ASCII is changed,
modify the default font of frames that use this fontset.
(num_auto_fontsets): New variable.
(fontset_from_font): Use num_auto_fontsets to decide a fontset
name. Be sure to set FONTSET_ASCII to the correct font name.
(update_auto_fontset_alist): New function.