Lute Kamstra [Wed, 11 May 2005 23:04:08 +0000 (23:04 +0000)]
(latexenc-find-file-coding-system): Avoid `re-search-forward' when
looking for input encoding because of speed and safety. Better
regular expressions for recognizing input encoding. Limit a search
for TeX-master/tex-main-file to the local variable section.
Kim F. Storm [Wed, 11 May 2005 12:33:44 +0000 (12:33 +0000)]
From Chong Yidong <cyd@stupidchicken.com>
(mouse-sel-follow-link-p): New function.
(mouse-select, mouse-select-internal, mouse-extend-internal):
Use it to implement mouse-1-click-follows-link functionality.
(read-directory-name): Fix previous change.
(hack-local-variables-confirm): New function.
(hack-local-variables-prop-line, hack-local-variables)
(hack-one-local-variable): Use it.
Nick Roberts [Mon, 9 May 2005 21:55:33 +0000 (21:55 +0000)]
(gud-tooltip-mode): Require tooltip to be safe.
(gud-tooltip-print-command): Add gdbmi case.
(gud-tooltip-tips): Call gdb-tooltip-print-1 first if there is
preprocessor info.
Nick Roberts [Mon, 9 May 2005 21:54:47 +0000 (21:54 +0000)]
(gdb-macro-info): New variable.
(gdb-source-info): Check for preprocessor info.
(gdb-tooltip-print-1): New function. Don't print tooltip if it is
a macro for a function.
found (user might have used GDB dir command).
(gdb-info-breakpoints-custom): Try to find file again if not already
(gdb-get-location): Update gdb-location-alist correctly for change
to gdb-info-breakpoints-custom.
Set `find-file-not-found-functions', not `find-file-not-found-hooks'; use
`add-hook'.
(uncompress-while-visiting): Set `write-file-functions', not `write-file-hooks';
use `add-hook'.
Eli Zaretskii [Sat, 7 May 2005 15:06:42 +0000 (15:06 +0000)]
(easy-mmode-pretty-mode-name): Explain
more about the LIGHTER arg's usage in the doc string. Add
commentary to clarify what the code does. Fix the regexp that
strips whitespace from LIGHTER. Quote LIGHTER before using it,
since it could have characters special to regular expressions.
Eli Zaretskii [Sat, 7 May 2005 13:46:42 +0000 (13:46 +0000)]
(occur-1): Bind inhibit-read-only so that erase-buffer doesn't barf
on read-only text properties (likewise for add-text-properties in
occur-engine). Mark buffer as unmodified.
(occur-engine): Don't set buffer-read-only here.
Stefan Monnier [Fri, 6 May 2005 22:19:48 +0000 (22:19 +0000)]
(cvs-mode-commit, cvs-mode-edit-log): Don't fiddle with
list-buffers-directory. This caused the *cvs-commit* buffer to be
sometimes mistakenly reused as a *cvs* buffer.
Nick Roberts [Fri, 6 May 2005 22:12:34 +0000 (22:12 +0000)]
(gdb-tooltip-print): Moved from tooltip.el.
(gdb-cpp-define-alist-flags): Doc fix.
(gdb-set-gud-minor-mode-1): Only prepare GUD tooltips if
gud-tooltip-mode is t.
Nick Roberts [Fri, 6 May 2005 22:11:35 +0000 (22:11 +0000)]
(require): CL no longer needed to compile case.
(tooltip-mode): Do not toggle functions for GUD tooltips.
(tooltip-gud-tips-p): Remove. Replace with minor mode
gud-tooltip-mode in gud.el.
(tooltip-gud-modes, tooltip-gud-display, tooltip-gud-echo-area)
(tooltip-gud-toggle-dereference): Rename in gud.el by replacing
tooltip-gud prefix with gud-tooltip and obsolete.
(tooltip-change-major-mode, tooltip-activate-mouse-motions-if-enabled)
(tooltip-mouse-motions-active, tooltip-activate-mouse-motions)
(tooltip-mouse-motion): Mouse movement functions/variable.
Rename in gud.el by adding gud prefix.
(tooltip-gud-original-filter, tooltip-gud-dereference)
(tooltip-gud-event, tooltip-toggle-gud-tips)
(tooltip-gud-process-output, tooltip-gud-print-command)
(tooltip-gud-tips): GUD tooltip functions/variables. Rename in
gud.el by replacing tooltip-gud prefix with gud-tooltip.
(gdb-tooltip-print): Move to gdb-ui.el.
Nick Roberts [Fri, 6 May 2005 22:10:50 +0000 (22:10 +0000)]
Move code for GUD tooltips from tooltip.el.
(require): CL needed to compile case.
(gud-tooltip-mode): Use to toggle GUD tooltips unstead of
tooltip-gud-tips-p. Make it a minor-mode.
(gud-find-file): Only prepare GUD tooltips if gud-tooltip-mode is t.
(gud-menu-map): GUD tooltips use gud-tooltip-mode now.
(gud-tooltip-modes, gud-tooltip-display, gud-tooltip-echo-area)
(gud-tooltip-change-major-mode)
(gud-tooltip-activate-mouse-motions-if-enabled)
(gud-tooltip-mouse-motions-active, gud-tooltip-activate-mouse-motions)
(gud-tooltip-mouse-motion, gud-tooltip-toggle-dereference)
(gud-tooltip-original-filter, gud-tooltip-dereference)
(gud-tooltip-event, tooltip-toggle-gud-tips)
(gud-tooltip-process-output, gud-tooltip-print-command)
(gud-tooltip-tips): Moved from tooltip.el.
Stefan Monnier [Fri, 6 May 2005 21:24:09 +0000 (21:24 +0000)]
(goto-address-fontify): Make sure the overlays
evaporate if their text is deleted.
(goto-address-at-point): Make it work as a mouse binding as well.
(goto-address-at-mouse): Obsolete it. Update users.