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.
Jason Rumney [Tue, 10 Mar 2009 15:57:34 +0000 (15:57 +0000)]
* w32-vars.el (w32-list-proportional-fonts): Make obsolete.
* msdog.texi (Windows Misc): Remove doc for obsolete variable. Modify
w32-use-visible-system-caret doc to indicate that it should get set
automatically.
(Windows Fonts): Add doc for the uniscribe backend.
Stefan Monnier [Tue, 10 Mar 2009 14:08:52 +0000 (14:08 +0000)]
* server.el (server-process-filter): Use expand-file-name rather than
command-line-normalize-file-name so as to use the `dir' when provided.
* emacsclient.c (main): Always pass cwd via "-dir". Pass the file
names without prepending cwd to them, so Emacs uses its customary
rules to determine how to interpret the file name.
Chong Yidong [Tue, 10 Mar 2009 00:43:20 +0000 (00:43 +0000)]
(Compiling Macros): Omit misleading sentence, which implied that
macros can only be used in the same file they are defined.
(Backquote): Remove obsolete information about Emacs 19.
Chong Yidong [Tue, 10 Mar 2009 00:43:07 +0000 (00:43 +0000)]
* macros.texi (Compiling Macros): Omit misleading sentence, which
implied that macros can only be used in the same file they are
defined.
(Backquote): Remove obsolete information about Emacs 19.
Eli Zaretskii [Sat, 7 Mar 2009 15:30:05 +0000 (15:30 +0000)]
(woman-mode): Restore tab-width value after the call to Man-mode, since
Man-mode resets it to the default, and that makes right margin extend
beyond woman-fill-column.
Adrian Robert [Fri, 6 Mar 2009 19:07:30 +0000 (19:07 +0000)]
* nsmenu.m: (EmacsMenu-addItemWithWidgetValue:): Don't add accelerator in parens under GNUstep.; * nsterm.m: Include <signal.h> for SIGTERM used in ns_term_shutdown.
Adrian Robert [Fri, 6 Mar 2009 14:53:02 +0000 (14:53 +0000)]
* nsterm.m (x_set_window_size): Change back to calculated method
of setting toolbar height under Cocoa. (Bug#2546)
(EmacsView-windowWillUseStandardFrame:defaultFrame:): New method.
(EmacsView-drawRect:): Completely shortcircuit if ns_in_resize.
Kenichi Handa [Fri, 6 Mar 2009 07:52:40 +0000 (07:52 +0000)]
Include "composite.h".
(enum compisition_state): New enum.
(struct compisition_status): New struct.
(struct iso_2022_spec): New member cmp_status.
(struct emacs_mule_spec): New struct.
(struct coding_system): New members ctext_extended_segment_len and
embedded_utf_8. Change the union member
spec.emacs_mule_full_support to spec.emacs_mule.
Kenichi Handa [Fri, 6 Mar 2009 07:51:52 +0000 (07:51 +0000)]
(CODING_ISO_CMP_STATUS): New macro.
(CODING_ISO_EXTSEGMENT_LEN, CODING_ISO_EMBEDDED_UTF_8): New macros.
(MAX_ANNOTATION_LENGTH): Defined to 5.
(ADD_COMPOSITION_DATA): New arg nbytes.
(emacs_mule_char): New arg cmp_status.
(DECODE_EMACS_MULE_COMPOSITION_CHAR): Delete it.
(DECODE_EMACS_MULE_COMPOSITION_RULE_20): New arg c.
(DECODE_EMACS_MULE_COMPOSITION_RULE_21): New arg c.
(DECODE_EMACS_MULE_21_COMPOSITION): Delete the arg c.
(DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Likewise.
(DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise.
(DECODE_EMACS_MULE_COMPOSITION_START): New macro.
(EMACS_MULE_COMPOSITION_END): New macro.
(emacs_mule_finish_composition): New function.
(EMACS_MULE_MAYBE_FINISH_COMPOSITION): New macro.
(decode_coding_emacs_mule): Avoid long looking ahead while
handling composition.
(DECODE_COMPOSITION_RULE): Argument changed to rule and nbytes.
(ENCODE_COMPOSITION_RULE): New macro.
(finish_composition): New function.
(MAYBE_FINISH_COMPOSITION): Call finish_composition.
(DECODE_COMPOSITION_START): New implementation.
(DECODE_COMPOSITION_END): Likewise.
(STORE_COMPOSITION_RULE): New macro.
(decode_coding_iso_2022): Avoid long looking ahead while handling
composition, CTEXT extended segment, and embedded UTF-8.
(setup_coding_system): For a coding of type iso-2022, reset
CODING_ISO_EXTSEGMENT_LEN (coding) and
CODING_ISO_EMBEDDED_UTF_8 (coding).
(get_translation): Delete arguments last_block, from_nchars,
to_nchars. Callers changed.
(produce_chars): Don't modify charbuf. Adjusted for the change of
get_translation.
(produce_composition): Adjusted for the new annotation sequence.
(handle_composition_annotation): Likewise.
(consume_chars): Adjusted for the change of get_translation.
Tassilo Horn [Thu, 5 Mar 2009 08:24:26 +0000 (08:24 +0000)]
(doc-view-convert-current-doc): Save the current
resolution in the cache directory.
(doc-view-initiate-display): Restore the saved resolution when
using cached image files.
Glenn Morris [Thu, 5 Mar 2009 07:08:36 +0000 (07:08 +0000)]
(Rmail Basics): Add reference to sorting.
(Rmail Scrolling, Rmail Motion, Rmail Reply, Rmail Display):
Minor re-wordings.
(Rmail Deletion): Expunging is not the only way to change the numbers.
(Rmail Labels): Labels can also be used in sorting.
(Rmail Summary Edit): Mention rmail-summary-next-same-subject.