Daniel Pfeiffer [Tue, 17 May 2005 21:37:59 +0000 (21:37 +0000)]
(makefile-macroassign-regex, makefile-make-font-lock-keywords): Also fontify plain strings assigned to variables, mostly so that a colon has a face and is thus not taken as a dependency separator.
(makefile-mode): Cancel `font-lock-support-mode', because blocks to be fontified in one piece can be too long for JIT. Makefiles are never *that* big.
Daniel Pfeiffer [Tue, 17 May 2005 20:45:26 +0000 (20:45 +0000)]
(makefile-dependency-skip): New variable.
(makefile-previous-dependency): Inline the new matcher, because it is too complex to work in both directions.
(makefile-match-dependency): Eliminate `backward' arg (see above). Completely reimplemented so as to not sometimes go into an endless loop. It should also be more efficient, because first it only searches for `:', instead of applying the very complex regexp.
Daniel Pfeiffer [Mon, 16 May 2005 20:13:09 +0000 (20:13 +0000)]
(makefile-dependency-regex): Turn it into a var, and refine it to mask one more level of nested vars.
(makefile-rule-action-regex): Turn it into a var, and refine it so it recognizes backslashed continuation lines as belonging to the same command.
(makefile-macroassign-regex): Refine it so it recognizes backslashed continuation lines as belonging to the same command.
(makefile-var-use-regex): Don't look at the next char, because it might be the same one to be skipped by the initial [^$], leading to an overlooked variable use.
(makefile-make-font-lock-keywords): Remove two parameters, which are now variables that some of the modes set locally. Handle dependency and rule action matching through functions, because regexps alone match too often. Dependency matching now comes last, so it can check, whether a colon already matched something else.
(makefile-mode): Inform that font-lock improves makefile parsing capabilities.
(makefile-match-dependency, makefile-match-action): New functions.
Nick Roberts [Mon, 16 May 2005 06:42:37 +0000 (06:42 +0000)]
(gud-tooltip-mode): Add gud prefix to
tooltip-change-major-mode.
(gud-tooltip-print-command): Remove case where gud-minor-mode
is gdb ("--fullname").
(gud-tooltip-tips): Turn GUD tooltips off for this case and
explain to user.
Nick Roberts [Mon, 16 May 2005 01:07:12 +0000 (01:07 +0000)]
Replace toolbar with "tool bar" for consistency.
(Compilation Mode): Describe compilation-context-lines
and use of arrow in compilation buffer.
(Debugger Operation): Replace help text with variable's value.
Nick Roberts [Mon, 16 May 2005 00:01:46 +0000 (00:01 +0000)]
(compilation-setup): Set local value of
overlay-arrow-string to "" always.
(compilation-set-window): Left fringe then don't scroll. No left
fringe then no arrow and scroll message to top.
(compilation-context-lines): Adjust doc string accordingly.
Kim F. Storm [Sun, 15 May 2005 23:03:36 +0000 (23:03 +0000)]
(ido-magic-forward-char, ido-magic-backward-char)
(ido-magic-delete-char): New commands for C-f, C-b, C-d.
(ido-wide-find-dir-or-delete-dir): New command for M-d.
(ido-define-mode-map): Bind them. Add C-x prefix to fallback commands.
(ido-read-file-name): Handle commands with ido property value
equal to find-file as reading a file name, to allow C-d to enter dired.
(ibuffer-find-file): Add ido property with value find-file.
(font-lock-comment-start-skip): New variable.
(font-lock-comment-end-skip): New variable.
(font-lock-fontify-syntactically-region): Use them if non-nil.
Jay Belanger [Sun, 15 May 2005 05:20:59 +0000 (05:20 +0000)]
(calc-store-value): Return a string rather than display it as a message.
Use calc-var-name for variable name.
(calc-store-into): Add the result of calc-store-value to message.
(calc-copy-variable): Add a message.
(calc-store-exchange): Improve error messages.
(calc-store-binary, calc-store-map): Don't reset the values of special constants.
Luc Teirlinck [Sat, 14 May 2005 16:39:49 +0000 (16:39 +0000)]
(hack-local-variables-confirm): Add STRING argument.
Make the function handle non file visiting buffers correctly.
(hack-local-variables-prop-line, hack-local-variables)
(hack-one-local-variable): Use STRING arg of `hack-local-variables-confirm'.
Luc Teirlinck [Sat, 14 May 2005 16:16:44 +0000 (16:16 +0000)]
(Modes): Update Menu.
(Hooks): Move to beginning of chapter.
(Major Modes): Update Menu.
(Major Mode Basics): New node, split off from `Major Modes'.
(Major Mode Conventions): Correct xref. Explain how to handle
auto-mode-alist if the major mode command has an autoload cookie.
(Auto Major Mode): Major update. Add magic-mode-alist.
(Derived Modes): Major update.
(Mode Line Format): Update Menu.
(Mode Line Basics): New node, split off from `Mode Line Format'.