1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-26 07:00:35 -08:00
Commit graph

62359 commits

Author SHA1 Message Date
Juri Linkov
81dc571454 (hi-lock-highlight-range): New variable.
(hi-lock-mode, hi-lock-unface-buffer): Call font-lock-fontify-buffer
only if font-lock-fontified is non-nil.  Remove overlays.
(hi-lock-set-pattern): Call font-lock-fontify-buffer if
font-lock-fontified is non-nil, otherwise use overlays (instead of
text properties).
(hi-lock-string-serialize-hash, hi-lock-string-serialize-serial):
New variables.
(hi-lock-string-serialize) New function.
2005-12-23 16:20:58 +00:00
Eli Zaretskii
2d7409f20f (Undo): Remove dupliate descriptions of apply funname' and apply delta'
elements of the undo list.
2005-12-23 15:45:07 +00:00
Jan Djärv
7b5836c7db * menu-bar.el (menu-find-file-existing): New function.
(menu-bar-file-menu): Use menu-find-file-existing for Open.

* tool-bar.el (tool-bar-setup): open changed to menu-find-file-existing.
2005-12-23 11:36:08 +00:00
Jan Djärv
90f2e16b15 * xfns.c (Fx_uses_old_gtk_dialog): New function.
* gtkutil.c (xg_uses_old_file_dialog): New function.
(xg_get_file_name): Use xg_uses_old_file_dialog.

* gtkutil.h: Declare xg_uses_old_file_dialog.
2005-12-23 11:34:13 +00:00
Bill Wohler
5a4aad035f Follow MH-E Developers Guide conventions. Use `' quotes for Help
hyperlinks such as symbols, Info nodes, or URLs. Use \" quotes for
everything else. Otherwise, you can accidently get links to
nonsense symbols.
2005-12-23 08:40:31 +00:00
Bill Wohler
4023e353ed Don't need to quote parenthesis within docstrings that are no longer
in the first column.
2005-12-23 07:47:02 +00:00
Bill Wohler
2dcf34f9ca Follow Emacs coding conventions. Use default setting of
emacs-lisp-docstring-fill-column which is 65.
2005-12-23 07:40:40 +00:00
Bill Wohler
d169946261 * mh-alias.el (mh-alias-reload): Sync docstrings with manual.
* mh-comp.el (mh-letter-mode): Use 60 column width.
(mh-forward, mh-insert-signature, mh-send-letter): Sync docstrings
with manual.
(mh-yank-cur-msg): Mention that mh-ins-buf-prefix isn't used if you
have added a mail-citation-hook and neither are used if you use one of
the supercite flavors of mh-yank-behavior. Sync docstrings with
manual.

* mh-customize.el (mh-ins-buf-prefix, mh-yank-behavior): Mention that
mh-ins-buf-prefix isn't used if you have added a mail-citation-hook
and neither are used if you use one of the supercite flavors of
mh-yank-behavior. Sync docstrings with manual.
(mail-citation-hook): Delete. Use one in sendmail.el.
(mh-signature-file-name, mh-after-commands-processed-hook)
(mh-alias-reloaded-hook, mh-before-commands-processed-hook)
(mh-before-quit-hook, mh-before-send-letter-hook) (mh-delete-msg-hook,
mh-find-path-hook, mh-folder-mode-hook) (mh-forward-hook,
mh-inc-folder-hook, mh-insert-signature-hook)
(mh-kill-folder-suppress-prompt-hooks, mh-letter-mode-hook)
(mh-mh-to-mime-hook, mh-pick-mode-hook, mh-quit-hook)
(mh-refile-msg-hook, mh-show-hook, mh-show-mode-hook)
(mh-unseen-updated-hook): Sync docstrings with manual. Use "Hook run
by `function'..." instead of "Invoked...".

* mh-e.el (mh-last-destination, mh-last-destination-folder)
(mh-last-destination-write, mh-folder-mode-map, mh-arrow-marker)
(mh-delete-list, mh-refile-list, mh-folders-changed)
(mh-next-direction, mh-view-ops, mh-folder-view-stack) (mh-index-data,
mh-first-msg-num, mh-last-msg-num) (mh-mode-line-annotation,
mh-sequence-notation-history)
(mh-colors-available-flag): Move comment into
docstring. (mh-delete-msg, mh-execute-commands, mh-inc-folder,
mh-quit, mh-process-commands): Sync docstrings with manual.
(mh-refile-msg): Small doc edit.
(mh-delete-a-msg, mh-refile-a-msg): Sync docstrings with manual.
Rename msg argument to message.

* mh-funcs.el (mh-kill-folder): Sync docstrings with manual.

* mh-e.el (mh-update-unseen): No longer say "The value of `foo-hook'
is a list of functions to be called, with no arguments, ...," but
rather just "The hook foo-hook is called...".

* mh-mime.el (mh-mh-to-mime): Ditto

* mh-pick.el (mh-pick-mode): Ditto.

* mh-utils.el (mh-showing-mode): Use uppercase for argument in
docstring.
(mh-seq-list, mh-seen-list, mh-showing-with-headers): Move comment
into docstring.
(mh-show-mode, mh-show-msg, mh-find-path): Sync docstrings with
manual.
2005-12-23 05:40:21 +00:00
Stefan Monnier
04864eb004 Remove unnecessary leading * in docstrings.
(vc-annotate-mode-map): Move initialization into declaration.
(vc-static-header-alist): Nitpick on the regexp.
(vc-default-init-version): New fun.
(vc-register): Use it.
(vc-insert-headers): Use dolist.
(vc-annotate-get-backend): Remove unused function.
(vc-annotate-add-menu): Remove.  Build the menu directly at toplevel.
(vc-annotate-mode): Remove corresponding call.
(vc-annotate-car-last-cons): Simplify.
(vc-annotate-buffers): Remove var.
(vc-annotate-backend): Make it buffer-local.
(vc-annotate): Move the interaction to the interactive spec.
Add a `buf' argument.
(vc-annotate-warp-version): Use this new `buf' argument to avoid
killing&creating a vc-annotate buffer, which is very disruptive when
the buffers are shown in dedicated frames.
2005-12-23 04:57:28 +00:00
Richard M. Stallman
0ee01fffb7 *** empty log message *** 2005-12-23 02:45:09 +00:00
Nick Roberts
d59e3c42dc *** empty log message *** 2005-12-23 02:01:02 +00:00
Nick Roberts
57d79b9944 Add FSF as maintainer.
(describe-text-mode, describe-text-mode-map)
(describe-text-mode-hook, describe-text-done): Delete.  Use normal
help-mode.
(describe-text-widget, describe-text-sexp)
(describe-property-list, describe-text-category)
(describe-text-properties, describe-text-properties-1)
(describe-char): Use help buttons instead of widgets.
(describe-char-unicodedata-file): Make URL link in doc string.
2005-12-23 01:51:44 +00:00
Richard M. Stallman
5552d5a425 (Easy Customization and subnodes):
Replace "active field" with "button".
Use "user option" only for variables.
Use "setting" for variable-or-face.
2005-12-23 01:46:33 +00:00
Richard M. Stallman
50137744b8 (custom-reset-menu, custom-magic-alist, Custom-mode-menu):
Say "standard values".
(Custom-reset-standard): Doc fix.
(custom-face-reset-standard): Doc fix.
2005-12-23 01:39:01 +00:00
Richard M. Stallman
bba50f8a9e (customize-changed-options-previous-release): Prev release is 21.1.
(customize-changed-options): Doc fix.
(customize-changed): New alias.
2005-12-23 01:34:27 +00:00
Richard M. Stallman
b758ae9ad9 (customize-browse): Reword the top-of-buffer help intro.
(custom-buffer-create-internal): Fix previous change.
2005-12-23 01:21:16 +00:00
Richard M. Stallman
0a57ffed62 (custom-variable-prompt): Say "variable" in prompt.
(custom-buffer-create-internal): Reword the top-of-buffer help intro.
Don't include buttons that write a file when there's no file.
(custom-variable-menu, custom-face-menu, custom-group-menu):
Don't include commands that write a file when there's no file.
2005-12-23 01:18:08 +00:00
Richard M. Stallman
d130d1298b (xmenu_show): Call inhibit_garbage_collection. 2005-12-22 23:30:36 +00:00
Luc Teirlinck
160bde9cdb (Select Buffer): Change order in table to make "Similar" refer to the
correct item.
(Indirect Buffers): Minor rewording.
2005-12-22 19:09:01 +00:00
Luc Teirlinck
1469580218 *** empty log message *** 2005-12-22 19:07:18 +00:00
Richard M. Stallman
30cfcf7fb0 (update-game-score.o): Delete spurious final `\'. 2005-12-22 16:18:46 +00:00
Stefan Monnier
e0be77f6d8 (font-lock-default-fontify-buffer): Try and set-defaults even if font-lock-mode
is non-nil since it may be t without having turned on font-lock-mode-internal.
(font-lock-choose-keywords): Minor optimization.
(font-lock-add-keywords, font-lock-remove-keywords, font-lock-set-defaults):
Don't call make-local-variable on a variable that we know to already be local.
2005-12-22 16:09:32 +00:00
Richard M. Stallman
2e23b82e52 Fix previous change. 2005-12-22 14:44:38 +00:00
Kim F. Storm
6ecca7d1ba *** empty log message *** 2005-12-22 12:46:04 +00:00
YAMAMOTO Mitsuharu
b73e4d84e0 (mac_per_char_metric): Add prototype.
(x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype.
(mac_query_char_extents): New function.
(x_per_char_metric): Use it.
(XLoadQueryFont): Likewise.  Consolidate min/max_bounds calculations.
[USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Use
mac_per_char_metric instead of x_per_char_metric.
(mac_text_extents_16): New function.
(mac_compute_glyph_string_overhangs): Use it.
(mac_unload_font): Free member `bounds' in struct MacFontStruct.
2005-12-22 08:17:30 +00:00
YAMAMOTO Mitsuharu
06505fd848 (XCharStruct): Remove member `valid_p'.
(STORE_XCHARSTRUCT): Don't set member `valid_p'.
(XCharStructRow): New typedef.
(XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): New
macros.
(struct MacFontStruct): Add member `bounds'.  Remove member
`per_char'.  All uses for QuichDraw Text fonts are changed to
`bounds.per_char'.  ATSUI font bounds are represented as an array
`bounds.rows' of XCharStructRow's, each of which consists of a
bitmap of valid entries and an array of char bounds.
2005-12-22 08:17:01 +00:00
YAMAMOTO Mitsuharu
26ab4ea8c4 (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. 2005-12-22 08:16:53 +00:00
Romain Francoise
5e6882903d (lisp-complete-symbol): Don't print progress messages if in the
minibuffer.
2005-12-22 07:41:04 +00:00
Stefan Monnier
9c84131648 (flyspell-check-word-p): Don't quote - in a regexp.
(tex-mode-flyspell-verify, flyspell-get-word)
(flyspell-external-point-words): Don't use point-min/max uselessly.
2005-12-22 01:51:40 +00:00
Stefan Monnier
c1b5a260d6 (lisp-complete-symbol): Mostly undo the change by Kevin Rodgers.
Instead, just hide the completions buffer if we don't need to show it.
2005-12-22 01:48:20 +00:00
Luc Teirlinck
f29cf2b134 (file, directory): Doc fixes for the `define-widget's. 2005-12-22 01:46:34 +00:00
Luc Teirlinck
135db51ad9 *** empty log message *** 2005-12-22 01:44:31 +00:00
Luc Teirlinck
2f04a83552 (atoms): Delete obsolete remark about `file' widget. 2005-12-22 01:35:40 +00:00
Richard M. Stallman
da3863b559 *** empty log message *** 2005-12-22 00:39:46 +00:00
Stefan Monnier
32fa584479 (url-cookie-write-file): Create parent dir. 2005-12-21 20:08:49 +00:00
Stefan Monnier
208d45772d (url-configuration-directory): Use ~/.emacs.d if possible. 2005-12-21 20:04:41 +00:00
Stefan Monnier
398de7181d (lisp-complete-symbol): Don't call delete-windows-on with an inexistent buffer. 2005-12-21 20:02:20 +00:00
Stefan Monnier
a425bd036e (Fdisplay_completion_list): Use XCAR/XCDR.
(Fminibuffer_completion_help): Remove duplicates before display.
2005-12-21 17:33:40 +00:00
Károly Lőrentey
aa0b0cd9bc (print_preprocess): Don't loose print_depth levels while iterating. 2005-12-21 15:37:25 +00:00
Károly Lőrentey
4e8b322fc8 Add note on the multi-tty branch. 2005-12-21 12:35:05 +00:00
YAMAMOTO Mitsuharu
5a61ec1817 (struct mac_output): Remove unused member
menu_command_in_progress.
2005-12-21 12:31:22 +00:00
YAMAMOTO Mitsuharu
4036ffb904 (Qmac_apple_event): Add extern.
(set_frame_menubar, mac_menu_show keymp_panes)
(single_keymap_panes, list_of_panes, list_of_item)
(single_menu_item): Add argument types to prototypes.
(mac_dialog_show) [HAVE_DIALOGS]: Likewise.
(struct skp): New struct (from xmenu.c).
(single_keymap_panes, single_menu_item, list_of_panes)
(list_of_item): Sync with xmenu.c.
(Fx_popup_menu, Fx_popup_dialog): Likewise.  Don't get window from
POSITION if it is mac-apple-event event.
(menubar_selection_callback): Don't use menu_command_in_progress.
(set_frame_menubar): First parse all submenus, then make
widget_value trees from them.  Don't allocate any widget_value
objects until we are done with the parsing.
(parse_single_submenu, digest_single_submenu): New functions.
(single_submenu): Function deleted, replaced by those two.
(install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't
create or dispose of EventHandlerUPP.  Install hander to all submenus.
(mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING
instead of ENCODE_SYSTEM.
(free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for
integer values.
[HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c).
(add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to
format menu item string.  Don't use NULL for integer value.
2005-12-21 12:31:02 +00:00
Nick Roberts
3150fbfcca (gud-tooltip-modes, gud-tooltip-display):
Delete defcustom variable :tag names.
2005-12-21 12:04:26 +00:00
Nick Roberts
39b5238dac *** empty log message *** 2005-12-21 11:59:41 +00:00
Luc Teirlinck
7a32e81fb6 Correct typos. 2005-12-20 23:14:33 +00:00
Luc Teirlinck
ff858549f5 (Type Keywords): Delete xref to "Text help-echo", because it is
confusing.  If the :help-echo keyword is a function, it is not
directly used as the :help-echo overlay property, as the xref seems to
suggest (it does not take the appropriate args).
2005-12-20 23:12:01 +00:00
Luc Teirlinck
a31687ce36 *** empty log message *** 2005-12-20 23:11:01 +00:00
Stefan Monnier
aa230d94e5 (log-view-file-re, log-view-message-re): Use shy groups.
(log-view-font-lock-keywords): Ajust subgroup numbers.
(log-view-current-tag): Don't hard code the number of subgroups.
2005-12-20 21:58:14 +00:00
Juri Linkov
3bdba51db2 *** empty log message *** 2005-12-20 21:50:23 +00:00
Juri Linkov
11cfab98b7 (VC Status): Put P and N near p and n. 2005-12-20 21:50:02 +00:00