Stefan Monnier [Thu, 7 Nov 2002 22:51:28 +0000 (22:51 +0000)]
(fill-paragraph): Consider a comment-start as
a paragraph starter when filling non-comments.
(fill-comment-paragraph): Use comment-search-forward.
Recognize paragraph starters and separators within comments.
Use adaptive-fill-prefix when it works. Don't narrow while doing the fill.
Stefan Monnier [Thu, 7 Nov 2002 19:16:15 +0000 (19:16 +0000)]
(grep-default-command): New fun.
(grep): Use it.
(compilation-menu-map): New var.
(compilation-minor-mode-map, compilation-shell-minor-mode-map): Use it.
(compilation-mode-map): Simplify.
(compilation-shell-minor-mode, compilation-minor-mode):
Use define-minor-mode.
Markus Rost [Thu, 7 Nov 2002 17:05:01 +0000 (17:05 +0000)]
(grep-compute-defaults): Undo previous change.
(grep-command, grep-find-command, grep-tree-command): Allow value nil.
Do not declare :get property.
(grep-use-null-device): Doc fix. Fix type. Do not declare :get
property.
Dave Love [Wed, 6 Nov 2002 23:42:16 +0000 (23:42 +0000)]
Use keyboard-translate-table coding
system property, not translation-table-for-input, for
vietnamese-viscii & al.
(translation-table-for-input): Set,
don't defvar, and make permanent-local.
(ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Add/remove
set-buffer-major-mode-hook, not quail-activate-hook.
(ucs-set-table-for-input): Renamed from ucs-quail-activate.
(ucs-unify-8859, ucs-unify-8859, ucs-fragment-8859): Setup
keyboard-translate-table, not translation-table-for-input.
Modify set-buffer-major-mode-hook, not quail-activate-hook.
(ucs-fragment-8859): Don't use translation-table-for-input coding
system property.
(ucs-quail-activate): Deleted.
(ucs-set-table-for-input): New.
(ucs-minibuffer-setup): Use it.
Kim F. Storm [Tue, 5 Nov 2002 22:39:07 +0000 (22:39 +0000)]
(Info-fontify-node): Fixed hiding of *note references
with embedded file names like (xxx.yyy).
Avoid making any lines visibly longer if hiding newlines inside
note references by wrapping line after references if it contained
a newline (unfortunaly this makes more lines appear "shorter").
Properly reindent multi-line menu entry descriptions.
(find-buffer-visiting): Accept new optional PREDICATE argument to return only a
buffer that satisfies the predicate.
(insert-file-1): New function.
(insert-file-literally): Use it.
(insert-file): Use it.
(Fcall_interactively): New local filter_specs.
(Fcall_interactively): Check for progn as well as let.
Add a gcpro.
(Qprogn): New variable.
(syms_of_callint): Staticpro and init Qprogn.
Stefan Monnier [Sun, 3 Nov 2002 12:01:33 +0000 (12:01 +0000)]
(Info-streamline-headings): New var.
(Info-dir-remove-duplicates): New fun.
(Info-insert-dir): Use it. Simplify the code with push,mapc,dolist.
(Info-select-node): Simplify handling of Info-header-line.
(Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
(Info-mode): Set header-line-format once and for all.
(Info-fontify-node): Accept bogus first line with `File:' missing.
Only make first line invisible if Info-use-header-line.
Don't use `intangible': it's evil. Use inhibit-read-only.
(Info-follow-reference, Info-next-reference, Info-prev-reference)
(Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
since we don't use intangible any more.
Stefan Monnier [Sat, 2 Nov 2002 05:29:13 +0000 (05:29 +0000)]
(server-sentinel): Kill buffers if applicable.
(server-temp-file-p): Make arg optional.
(server-done): Use it to simplify.
(server-switch-buffer): If server-window is a function, use it.
Kim F. Storm [Fri, 1 Nov 2002 22:48:12 +0000 (22:48 +0000)]
(Info-hide-note-references): nil value now does no
reformatting at all. New choice 'tag reformats tag but shows
the section reference.
(Info-fontify-node): Use it.
Stefan Monnier [Fri, 1 Nov 2002 20:13:54 +0000 (20:13 +0000)]
(unuse_menu_items): New fun.
(menu_items_inuse): New var.
(syms_of_xmenu): Initialize it.
(init_menu_items): Use it to detect re-entrance.
(Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset it when done.
(Fx_popup_menu): Remove spurious XSETFRAME.
Kim F. Storm [Thu, 31 Oct 2002 22:08:03 +0000 (22:08 +0000)]
(Info-follow-reference, Info-next-reference)
(Info-prev-reference, Info-try-follow-nearest-node): Bind
inhibit-point-motion-hooks to t while parsing reference.
(Info-fontify-node): When font-lock-mode is enabled, display
"*note" and "* menu" references in a more user friendly format.
Stefan Monnier [Thu, 31 Oct 2002 00:30:36 +0000 (00:30 +0000)]
(fill-move-to-break-point): Skip white space
_before_ checking to see if we're hitting the margin.
(fill-region-as-paragraph): Don't fiddle with the undo-list any more:
it's now done by the C primitives. Don't use narrowing.
Reorganize the line-breaking part of the code to simplify the control
flow and make it work in the absence of narrowing.
(fill-region): Don't use narrowing.