1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-18 14:11:38 -08:00
Commit graph

2747 commits

Author SHA1 Message Date
Stefan Monnier
6df1924164 (flymake-create-temp-with-folder-structure): Use expand-file-name.
(flymake-delete-temp-directory): Use expand-file-name,
file-name-directory, and directory-file-name.
(flymake-strrchr): Delete.
(flymake-start-syntax-check): Don't pass the redundant buffer argument
to the init-f function.
(flymake-init-find-buildfile-dir, flymake-init-create-temp-buffer-copy)
(flymake-init-create-temp-source-and-master-buffer-copy, flymake-perl-init)
(flymake-save-buffer-in-file, flymake-simple-make-init-impl, flymake-xml-init)
(flymake-simple-make-init, flymake-master-make-init, flymake-master-tex-init)
(flymake-master-make-header-init, flymake-simple-make-java-init)
(flymake-simple-ant-java-init, flymake-simple-tex-init):
Remove corresponding redundant buffer argument.
(flymake-allowed-file-name-masks): Remove last elems that are equal to
the default anyway.  Clean up regexps.
2006-01-03 19:59:00 +00:00
Stefan Monnier
5bcef417b1 (flymake-base-dir, flymake-master-file-name, flymake-temp-master-file-name)
(flymake-temp-source-file-name): New buffer-local vars.
(flymake-buffer-data, flymake-get-buffer-value, flymake-set-buffer-value):
Replace those hash-tables by the new buffer-local vars.  Update callers.
2006-01-03 19:05:06 +00:00
Stefan Monnier
43ed65acea (flymake-check-start-time, flymake-check-was-interrupted, flymake-err-info)
(flymake-is-running, flymake-last-change-time, flymake-new-err-info)
(flymake-timer): Move definitions, so we can remove earlier declarations.
(flymake-replace-regexp-in-string, flymake-split-string)
(flymake-get-temp-dir): Use defalias.
(flymake-popup-menu): Remove `pos' argument.  Use posn-at-point.
(flymake-xemacs-window-edges): Remove unused function.
(flymake-get-point-pixel-pos): Move.
(flymake-pid-to-names, flymake-reg-names)
(flymake-get-source-buffer-name, flymake-unreg-names): Remove.
Replace by a simple list flymake-processes and by process-buffer.
Update callers.  Other than simplify the code, it uses buffers rather
than buffer-names so it doesn't get confused by uniquify.
(flymake-buffer-data): The global value should just be nil.
2006-01-03 18:44:42 +00:00
Eli Zaretskii
8c3f3d642d (gud-display-line): Support hl-line in the source buffer. 2005-12-31 13:51:27 +00:00
Stefan Monnier
4dd68f4433 (flymake-copy-buffer-to-temp-buffer): Simplify.
(flymake-parse-output-and-residual): Remove `source-buffer' argument.
(flymake-process-filter): Switch to buffer before calling it instead.
(flymake-post-syntax-check, flymake-highlight-err-lines)
(flymake-delete-own-overlays, flymake-parse-err-lines)
(flymake-start-syntax-check, flymake-start-syntax-check-process)
(flymake-count-lines, flymake-parse-residual): Remove constant buffer argument.
(flymake-start-syntax-check-for-current-buffer): Remove.
Update callers to use flymake-start-syntax-check instead.
(flymake-display-err-menu-for-current-line): Remove unused var `mouse-pos'.
(flymake-restore-formatting): Comment out unused function.
(flymake-report-status, flymake-report-fatal-status): Remove buffer
argument, use current-buffer instead.  Update callers.
2005-12-30 17:28:30 +00:00
Andreas Schwab
f140f4e36c Ignore errors from font-lock-compile-keywords. 2005-12-30 14:00:30 +00:00
Juri Linkov
deefca6496 (glasses-face): Add tag "None" to const nil. 2005-12-30 05:56:39 +00:00
Juri Linkov
446efb6a85 (delphi-other-face): Add tag "None" to const nil. 2005-12-30 05:56:17 +00:00
Nick Roberts
d0b9c14d9f (gdb-tooltip-print, gdb-tooltip-print-1):
Display name of expression instead of convenience variable.
(gdb-post-prompt): Only call gdb-get-changed-registers if needed.
2005-12-29 02:04:36 +00:00
Nick Roberts
cf84aa19f5 (gud-tooltip-dereference): Rename from toggle-gud-tooltip-dereference.
(gud-tooltip-print-command): Move concatenation of "*" to expr to...
(gud-tooltip-tips): ...here when dereferencing.
2005-12-29 02:03:20 +00:00
Richard M. Stallman
2926b5fba6 (glasses-face): More specific custom type. 2005-12-27 23:48:05 +00:00
Richard M. Stallman
618142d989 Remove faces from group `faces'. 2005-12-27 01:06:54 +00:00
Richard M. Stallman
3f264a3af4 (c-emacs-features): Do parse-partial-sexp at point, in case of narrowing. 2005-12-26 04:51:46 +00:00
Richard M. Stallman
6f9de17a61 (delphi-other-face): Allow nil in type. 2005-12-25 19:01:19 +00:00
Richard M. Stallman
6728475c5c (cpp-face-none-list): Use cpp-face instead of face. 2005-12-25 18:59:47 +00:00
Nick Roberts
3150fbfcca (gud-tooltip-modes, gud-tooltip-display):
Delete defcustom variable :tag names.
2005-12-21 12:04:26 +00:00
Chong Yidong
917e8d0ba2 * progmodes/sh-script.el (sh-mode): Add keymap to docstring. 2005-12-18 01:18:45 +00:00
Stefan Monnier
f3725983e7 (c-after-change-check-<>-operators):
After-change-functions should not clobber the match data.
2005-12-16 20:07:49 +00:00
Nick Roberts
c962897d11 (gdb-many-windows): Echo new state in minibuffer. 2005-12-15 21:21:43 +00:00
Juri Linkov
cf717a0d24 (cpp-face): New widget.
(cpp-known-face, cpp-unknown-face, cpp-edit-list): Use it.
2005-12-14 07:48:11 +00:00
Richard M. Stallman
4aede2f281 (compilation-error-regexp-alist): Doc fix. 2005-12-12 05:11:08 +00:00
Nick Roberts
760a716cf7 (gud-tooltip-modes, gud-tooltip-display):
Add the gud groupname.
(gud-tooltip-mode): Add the tooltip groupname. Move in front
of other defcustoms with that groupname.
(gud-tooltip-echo-area): Add the gud groupname. Remove tag to
avoid conflict with tooltip-use-echo-area.
2005-12-10 21:32:22 +00:00
Eli Zaretskii
d9f9aa720f (octave-electric-space): Don't indent comments or strings if
octave-auto-indent is nil.
2005-12-10 10:29:22 +00:00
Nick Roberts
135f440c15 (gud-speedbar-buttons, gud-tooltip-tips):
No need to check gud-comint-buffer is bound.
(gdb): Prevent multiple debugging when first session uses gdba.
2005-12-08 22:10:50 +00:00
Nick Roberts
c05ba08101 (gdb-find-file-unhook): Delete variable.
(gdb-set-gud-minor-mode, gdb-set-gud-minor-mode): Delete functions.
(gdb-set-gud-minor-mode-existing-buffers, gdb-init-2): Use GDB
command "info sources".  Move calls to GDB command "list".
(gdb-find-file-hook): Just use gdb-source-file-list.
(gdb-source-file-regexp): Use regexp for pre-GDB 6.4.
(gdb-source-file-regexp-1): New regexp for GDB 6.4+ only.
(gdb-set-gud-minor-mode-existing-buffers-1): Use it.
(gdb-data-list-register-values-handler): Use correct trigger name.
2005-12-07 23:05:47 +00:00
Nick Roberts
25c7f31583 (gdb-error-regexp, gdb-first-post-prompt)
(gdb-version): New variables.
(gdb-source-file-list, gdb-register-names)
(gdb-changed-registers): New variables for use with GDB 6.4+.
(gdb-ann3): Replace with...
(gdb-init-1, gdb-init-2): ...two new functions.
(gdba, gdb-prompt): Call gdb-init-1.
(gdb-get-version): New function.  Call gdb-init-2 from here.
(gud-watch): Make it work with mouse events too.
(gdb-post-prompt): Don't add to queue until GDB version is known.
(gdb-speedbar-expand-node, gdb-post-prompt, gdb-registers-mode)
(gdb-locals-mode): Use gdb-version.
(gdb-memory-format-map, gdb-memory-unit-map)
(gdb-locals-watch-map): Rename from gdb-*-*-keymap.
(gdb-locals-font-lock-keywords-1)
(gdb-locals-font-lock-keywords-2): New variables.
(gdb-find-file-hook): fgfg.
(gdb-set-gud-minor-mode-existing-buffers-1)
(gdb-var-list-children-1, gdb-var-list-children-handler-1)
(gdb-var-update-1, gdb-var-update-handler-1)
(gdb-data-list-register-values-handler)
(gdb-data-list-register-values-custom)
(gdb-get-changed-registers, gdb-get-changed-registers-handler)
(gdb-stack-list-locals-handler, gdb-get-register-names): New
functions for use with GDB 6.4+.
(gdb-locals-watch-map-1): New variable for use with GDB 6.4+.
(gdb-source-file-regexp, gdb-var-list-children-regexp-1)
(gdb-var-update-regexp-1, gdb-data-list-register-values-regexp)
(gdb-stack-list-locals-regexp)
(gdb-data-list-register-names-regexp): New regexps for use with
GDB 6.4+.
2005-12-06 21:42:54 +00:00
Stefan Monnier
6277435b76 (c-emacs-features): Don't assume point-min==1. 2005-12-06 16:54:20 +00:00
Nick Roberts
564b25a4e2 (gdb-var-create-handler)
(gdb-var-evaluate-expression-handler, gdb-frame-handler)
(gdb-var-list-children-handler, gdb-var-update-handler):
Current buffer is already gdb-partial-output-buffer, don't
make it current again.
2005-12-06 02:31:16 +00:00
Nick Roberts
67afa80d62 (gdb-use-inferior-io-buffer, gdb-speedbar-auto-raise):
Echo new state in minibuffer.
(gdb-var-create-handler, gdb-assembler-custom): Use search-forward
for plain strings.
(gdb-frames-mode): Remove redundant call to font-lock-mode.
(gdb-all-registers): Rename from toggle-gdb-all-registers.  Create
registers buffer if necessary.  Echo new state in minibuffer.
(gdb-registers-mode-map, gdb-registers-mode): Use gdb-all-registers.
2005-12-04 09:12:07 +00:00
Juri Linkov
0f01161d53 (idlwave-shell-electric-debug-mode):
Use define-minor-mode instead of easy-mmode-define-minor-mode.
2005-12-04 02:37:35 +00:00
Juri Linkov
e72b3747dc (global-cwarn-mode): Use define-global-minor-mode
instead of easy-mmode-define-global-mode.
2005-12-04 02:36:43 +00:00
Alan Mackenzie
6faed041c7 Relace a `mapcan' with an "apply (n-conc (mapcar ....... ))". 2005-12-03 11:04:17 +00:00
Alan Mackenzie
0386b551af Update CC Mode to release 5.31. 2005-12-02 12:30:36 +00:00
Nick Roberts
d60d4cd6ef (gud-menu-map): Put gud-finish back on the
tool bar (removed inadvertantly).
2005-12-02 09:15:56 +00:00
Nick Roberts
9f6efa0c78 (gdb-ann3): Bind mouse-2 to gdb-mouse-until in the margin also.
(gdb-breakpoints-mode-map): Use D instead of d for gdb-delete-breakpoint.
(gdb-get-frame-number): Require a number to match on.
(gdb-threads-mode-map): Add follow-link binding.
2005-12-01 02:17:15 +00:00
Nick Roberts
e83637f972 (gud-gdb-marker-filter): When GDB is invoked with a process number, detect it.
(gud-speedbar-buttons): Match regexp more carefully.
2005-11-27 22:17:29 +00:00
Nick Roberts
55cd42a4c1 (gdb-stopped): Detect process when attaching.
(gdb-pre-prompt): Make sure gdb-error is reset.
2005-11-27 22:16:02 +00:00
Stefan Monnier
ec121b9632 (sh-font-lock-syntactic-keywords): \ doesn't escape single quotes. 2005-11-27 20:44:44 +00:00
John Paul Wallington
940ed7e48b (gdb-edit-register-value): Use posn-set-point' instead of mouse-set-point'
because the latter is not fbound when configured without X.
2005-11-27 02:59:52 +00:00
Nick Roberts
53f18ed2c8 (gdb-goto-breakpoint, gdb-frames-select, gdb-threads-select):
Use `posn-set-point' instead of `mouse-set-point' because the
latter is not fbound when configured without X.
2005-11-27 01:17:47 +00:00
Eli Zaretskii
107dd21bca (inferior-octave-startup): Force a non-empty string for secondary prompt PS2. 2005-11-26 10:51:22 +00:00
Chong Yidong
49d11c492a * progmodes/compile.el (compilation-setup): Fix last fix. 2005-11-25 22:07:00 +00:00
Nick Roberts
be1c984450 (gdb-info-breakpoints-custom)
(gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe, gdb-threads-select):
Add gdb-server-prefix to keep out of command history.
(gdb-edit-register-value): New function.
(gdb-registers-mode-map): Bind mouse-2 and RET to it.
(gdb-info-registers-custom): Use above map.
2005-11-25 21:34:03 +00:00
Chong Yidong
963b20402d * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
Use define-minor-mode, and make it a local mode.
	(hi-lock-mode): New global minor mode.
	(turn-on-hi-lock-if-enabled): New function.
	(hi-lock-line-face-buffer, hi-lock-face-buffer)
	(hi-lock-set-pattern): Changed arguments to regexp and face
	instead of a font-lock pattern.  Directly set face property,
	instead of refontifying.
	(hi-lock-font-lock-hook): Check if font-lock is being turned on.
	(hi-lock-find-patterns): Use line-number-at-pos.

	(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode.  Use new
	arguments for hi-lock-set-pattern.
	(hi-lock-find-file-hook, hi-lock-current-line)
	(hi-lock-set-patterns): Deleted unused functions.

	* progmodes/compile.el (compilation-setup): Don't fiddle with
	font-lock-defaults.
2005-11-24 20:52:16 +00:00
Nick Roberts
f3220d3a39 (gdb-var-create-handler, gdb-var-list-children-handler):
Find values for all variable objects.  gud-speedbar-buttons
decides whether to display them.
2005-11-24 20:45:50 +00:00
Nick Roberts
1e906233d4 (gud-speedbar-menu-items): Add gdb-speedbar-auto-raise as radio button.
(gud-speedbar-buttons): Raise speedbar if requested.
Don't match on "char **...".
(gud-speedbar-buttons): Add (pointer) value for non-leaves.
Make it editable.
2005-11-24 00:36:03 +00:00
Nick Roberts
66395e6be0 (gdb-speedbar-auto-raise): New function and variable.
(gdb-var-create-handler, gdb-var-list-children-handler):
Don't match on "char **...".
(gdb-var-update-handler): Find values for all variable objects.
(gdb-info-frames-custom): Identify frames by leading "#".
2005-11-24 00:34:59 +00:00
Nick Roberts
5fdd4cf709 (gdb-locals-watch-keymap): Add "\r" binding to local map. 2005-11-22 03:35:33 +00:00
Nick Roberts
e03a33ea48 (gdb-locals-watch-keymap): New local map.
(gdb-struct-string, gdb-array-string): New constants.
(gdb-info-locals-handler): Use them.
(gdb-reset): Reset gdb-var-list to nil.
2005-11-22 03:10:53 +00:00
Stefan Monnier
bd24684be0 (sh-font-lock-paren): Handle continued lines in patterns. 2005-11-21 22:24:13 +00:00