1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

2681 Commits

Author SHA1 Message Date
Richard M. Stallman
8dfb3e1610 (compilation-internal-error-properties):
save-excursion around the computation of MARKER.
2005-11-07 00:49:17 +00:00
Nick Roberts
36188c5e3a (gdb-var-create-handler, gdb-var-delete)
(gdb-edit-value, gdb-speedbar-expand-node)
(gdb-get-create-buffer,  gdb-breakpoints-mode)
(gdb-toggle-breakpoint, gdb-delete-breakpoint)
(gdb-goto-breakpoint, gdb-frames-mode, gdb-registers-mode)
(gdb-locals-mode, gdb-find-file-hook): Use buffer-local-value.
(gdb-send-item, ): Use buffer-local-value and simplify.
2005-11-06 01:31:24 +00:00
Nick Roberts
6c8909e715 (gdb-buffer-type): Remove duplicate declaration.
(gdb-buffer-type): Make it automatically buffer local...
(gdb-get-create-buffer): ...and set it accordingly.
(gdb-frame-gdb-buffer, gdb-display-gdb-buffer): Make these
actually work.
2005-11-04 02:02:29 +00:00
Nick Roberts
bfd21f547c (gud-watch): Use save-selected-window in
case GUD buffer is not visible.
(gdb-goto-breakpoint): Try to force display in source buffer.
(gdb-frame-gdb-buffer): Copy other similar functions.
(gdb-restore-windows): Don't display source if not asked for.
(gdb-assembler-buffer-name): Don't capitalise.
2005-11-03 22:05:53 +00:00
Stefan Monnier
8b9e43d1ce (perl-font-lock-special-syntactic-constructs):
Rename from perl-font-lock-syntactic-face-function.
Change the calling convention so it can be used as a font-lock MATCHER.
Do the parse-partial-sexp loop outselves.
(perl-font-lock-syntactic-keywords): Use it.
(perl-mode): Don't set font-lock-syntactic-face-function any more.
2005-11-02 17:33:28 +00:00
Nick Roberts
4d7e274115 (gdb-mouse-until): Make it work in the disassembly buffer too.
(gdb-exited): Remove overlay arrows when execution has finished.
(gdb-info-frames-custom, gdb-info-threads-custom)
(gdb-info-registers-custom): Don't add inappropriate text
properties if inferior is not active.
2005-11-02 10:44:00 +00:00
Glenn Morris
7533f3b573 (fortran-blink-match): Use `blink-matching-delay'. 2005-11-02 08:30:45 +00:00
Glenn Morris
c046af9511 From John Mongan <jmongan@mccammon.ucsd.edu> (tiny change)
(f90-match-end): Use `blink-matching-delay'.
2005-11-02 08:30:25 +00:00
Masatake YAMATO
6f9a47abb5 (ld-script-builtins): Add more words: "DATA_SEGMENT_ALIGN",
"DATA_SEGMENT_END",  "DATA_SEGMENT_RELRO_END", "LENGTH", "ORIGIN",
and "SEGMENT_START".
(auto-mode-alist): Accept .ld, .lds, ld.in and .lds.in.
2005-11-01 15:45:32 +00:00
Stefan Monnier
20e3cbfd33 (scheme-mode-variables): Use the default comment-indent-function. 2005-11-01 07:31:15 +00:00
Nick Roberts
671d498f2a (gdb-use-inferior-io-buffer): New function.
(menu, toggle-gdb-use-inferior-io-buffer): Get rid of defadvice.
(gdb-many-windows): Doc fix.
2005-10-31 21:13:15 +00:00
Nick Roberts
2ad0fb7d01 (gud-filter): Use comint-update-fence to delete
old prompt comint-prompt-read-only is t and GDB commands are
issued from tool bar etc.
2005-10-31 09:30:35 +00:00
Nick Roberts
f99cf679b3 (gdb-many-windows): Leave window configuration
intact if there is no gud-comint-buffer.
2005-10-31 09:28:48 +00:00
Nick Roberts
7c8bd6a4a0 (gdb-tooltip-print-1): Fix regexp.
(gdb-registers-font-lock-keywords): Delete.
(gdb-registers-mode): Don't fontify.
(gdb-info-registers-custom): Use text properties instead as, in
future, changed register values will use font-lock-warning-face.
(gdb-local-font-lock-keywords): Rename to...
(gdb-locals-font-lock-keywords): ...for consistency.
2005-10-30 12:10:14 +00:00
Nick Roberts
3cae51964d (gud-menu-map): Only display gud-until icon
when the fringe is not available.
2005-10-26 01:02:31 +00:00
Nick Roberts
9317517c79 (def-gdb-auto-updated-buffer)
(def-gdb-auto-update-trigger): Simplify construction.
(gdb-locals-buffer): Use def-gdb-auto-update-trigger instead of
def-gdb-auto-updated-buffer as gdb-info-locals-handler is
defined explicitly.
(gdb-assembler-buffer): Use def-gdb-auto-update-handler instead of
def-gdb-auto-updated-buffer as gdb-invalidate-assembler is
defined explicitly.
(gdb-info-locals-custom): Remove as it's a no-op.
2005-10-26 01:01:34 +00:00
Nick Roberts
dcc9160601 (gdb-mouse-until): New function.
(gdb-ann3): Bind it to mouse-2 and drag-mouse-1 in left fringe.
2005-10-25 02:30:39 +00:00
Nick Roberts
d12d5866fc (gdb-put-breakpoint-icon): Correct help-echo.
Display hand pointer and help-echo on disabled icon too.
2005-10-25 01:18:56 +00:00
Kim F. Storm
64ef03e90e (gdb-ann3): Bind mouse-3 in left fringe
to gdb-mouse-toggle-breakpoint-fringe.
(gdb-mouse-toggle-breakpoint-margin): Rename from
gdb-mouse-toggle-breakpoint. Fix doc.
(gdb-mouse-toggle-breakpoint-fringe): New defun.
(gdb-put-string): Add optional SPROPS arg.  Add props to string.
(gdb-put-breakpoint-icon): Add gdb-bptno and gdb-enabled
string properties also for fringe breakpoint bitmaps.
2005-10-24 22:06:47 +00:00
Nick Roberts
ea35bfd3bd (gdb-send): Bind inhibit-read-only to t
in case comint-prompt-read-only is set to t.
2005-10-24 08:54:18 +00:00
Nick Roberts
3139e03a40 (gud-filter): Bind inhibit-read-only to t
in case comint-prompt-read-only is set to t.
2005-10-24 08:50:45 +00:00
Juri Linkov
0f518b6bd9 (tags-table-mode): New function.
(tags-verify-table): Replace initialize-new-tags-table with tags-table-mode.
2005-10-21 08:48:04 +00:00
Stefan Monnier
1712cca561 (sh-font-lock-syntactic-keywords): Make $@ and $? into sexps. 2005-10-21 06:32:05 +00:00
Stefan Monnier
9d37a5c0f5 (sh-escaped-line-re): New var.
(sh-here-doc-open-re, sh-font-lock-close-heredoc): Use it.
(sh-font-lock-open-heredoc): Try to properly handle heredoc starters
whose line is either continued or ends with a comment.
2005-10-20 19:43:44 +00:00
Masatake YAMATO
283780dc88 Install to the CVS repository what I forgot to install in my
2005-10-16 changes.

* progmodes/python.el (python-complete-symbol): Pass the common
prefix substring of completion to `display-completion-list'.

* textmodes/org.el (org-complete): Ditto.
2005-10-18 04:31:16 +00:00
Nick Roberts
04d3b870df (gud-menu-map): Correct condition for fringe. 2005-10-18 03:44:25 +00:00
Nick Roberts
695bdd0107 (gdb-var-create-handler): Make watch
expressions display in speedbar for all buffers when debugging.
(gdb-speedbar-expand-node): Ensure node contraction is always
updated.
2005-10-17 21:09:38 +00:00
Stefan Monnier
e5456e7318 (compilation-goto-locus): Display the
compilation buffer first and the source buffer second, in case they're
in overlapping frames.  Don't raise the compilation frame if it was the
selected window upon entry.  Pass the `other-window' arg to
pop-to-buffer.
2005-10-16 14:12:50 +00:00
Masatake YAMATO
f5fab556d4 * message.el (message-expand-group): Pass the common
prefix substring of completion to `display-completion-list'.

* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.

* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.

* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.

* tempo.el (tempo-display-completions): Ditto.

* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.

* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.

* eshell/em-hist.el (eshell-list-history): Ditto.

* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.

* progmodes/etags.el (complete-tag): Ditto.

* progmodes/make-mode.el (makefile-complete): Ditto.

* progmodes/meta-mode.el (meta-complete-symbol): Ditto.

* progmodes/octave-mod.el (octave-complete-symbol): Ditto.

* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.

* textmodes/bibtex.el (bibtex-complete-internal): Ditto.

* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.

* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
Nick Roberts
a1edf96294 (gud-tool-bar-map): Rename the images
appropriately (gud/next, gud/nexti, gud/step, gud/stepi).
(gud-sentinel): Use speedbar-frame to check for speedbar.
2005-10-15 22:58:11 +00:00
Bill Wohler
c7ddd70103 * toolbar/gud-break.*: Moved to etc/images/gud/break.*.
* toolbar/gud-cont.*: Moved to etc/images/gud/cont.*.
* toolbar/gud-down.*: Moved to etc/images/gud/down.*.
* toolbar/gud-finish.*: Moved to etc/images/gud/finish.*.
* toolbar/gud-ni.*: Moved to etc/images/gud/ni.*.
* toolbar/gud-n.*: Moved to etc/images/gud/n.*.
* toolbar/gud-print.*: Moved to etc/images/gud/print.*.
* toolbar/gud-pstar.*: Moved to etc/images/gud/pstar.*.
* toolbar/gud-remove.*: Moved to etc/images/gud/remove.*.
* toolbar/gud-run.*: Moved to etc/images/gud/run.*.
* toolbar/gud-si.*: Moved to etc/images/gud/si.*.
* toolbar/gud-s.*: Moved to etc/images/gud/s.*.
* toolbar/gud-until.*: Moved to etc/images/gud/until.*.
* toolbar/gud-up.*: Moved to etc/images/gud/up.*.
* toolbar/gud-watch.*: Moved to etc/images/gud/watch.*.

* progmodes/gud.el (gud-tool-bar-map): Renamed the images
  appropriately (for example, gud-break to gud/break).
2005-10-15 05:41:11 +00:00
Stefan Monnier
8511877a9f (mixal-operation-codes-alist): Use a constant. 2005-10-13 22:17:58 +00:00
Stefan Monnier
b4a63d75fb (mixal-operation-codes-alist):
Don't waste the byte-compiler's time on constant data.
2005-10-13 13:55:40 +00:00
Stefan Monnier
0471d42690 (mixal-mode-syntax-table): Add \n as end-comment.
(mixal-operation-codes): Remove.
(mixal-operation-codes-alist): Immediately initialize to full value.
(mixal-add-operation-code): Remove.
(mixal-describe-operation-code): Make the arg non-optional.
Use the interactive spec instead.
Use mixal-operation-codes-alist rather than mixal-operation-codes.
(mixal-font-lock-keywords): Don't highlight comments here any more.
(mixal-font-lock-syntactic-keywords): New var.
(mixal-mode): Use it.  Fix comment-start-skip.
2005-10-12 17:29:57 +00:00
Richard M. Stallman
decb2a9e5b (sh-tmp-file): Use mktemp -t. Finish support for es and rc shells. 2005-10-11 22:06:53 +00:00
Stefan Monnier
f8b4fcda05 Sync with version in the GNU MDK project.
Try to fix up minor layout issues like indentation, line break, etc...
(mixal-mode-syntax-table): Don't try to specify comment syntax,
because it doesn't work.
(mixal-operation-codes): Add some more codes.
(mixal-font-lock-keywords): Process comments here.
(mixal-mode): mixasm no longer needs -g option.
2005-10-11 21:22:14 +00:00
Richard M. Stallman
17a3b6da97 (sh-tmp-file): Use mktemp. 2005-10-10 21:24:29 +00:00
Stefan Monnier
29878150b2 (select-tags-table-mode): Don't use selective-display.
(tags-select-tags-table): Pass `button' to the action function.
(select-tags-table): Place the side-info on button properties rather
than in hidden text.  Abbreviate file names.
(select-tags-table-mode-map): Inherit rather than copy buttom-map.
(select-tags-table-select): Add `button' argument.
Get side-info from the button property rather than from hidden text.
2005-10-10 17:49:12 +00:00
Stefan Monnier
86ac52df49 (pascal-mode-map): Move init into declaration.
(pascal-mode-syntax-table): Make (* *) markers same class as { ... }.
(pascal-indent-command): Remove unused var `ind'.
(pascal-indent-case): Remove unused var `oldpos'.
(pascal-outline-map): Don't inherit from pascal-mode-map anymore,
since it's now used as a proper minor mode map.
(pascal-outline): Rename to pascal-outline-mode.
(pascal-outline-mode): Use define-minor-mode.
(pascal-outline-mode, pascal-outline-change): Use overlays rather than
selective-display.
2005-10-10 17:14:02 +00:00
Nick Roberts
974be7ce98 (gdba): Improve diagram.
(def-gdb-auto-update-handler, gdb-info-locals-handler)
(gdb-put-breakpoint-icon, gdb-remove-breakpoint-icons): Call
get-buffer-window once.
2005-10-10 12:26:05 +00:00
Nick Roberts
c35d8f463c (gud-install-speedbar-variables): Add more
bindings.
(gud-speedbar-buttons): Preserve point if possible.
(gud-sentinel): Restore previous speedbar display type.
2005-10-10 12:25:04 +00:00
Nick Roberts
b863eb3594 (gud-last-speedbar-buffer): Remove.
(gud-install-speedbar-variables): Add GUD to speedbar "Displays"
list.
(gud-expansion-speedbar-buttons): New function.
(gud-speedbar-buttons): Check for gud-comint-buffer.
2005-10-09 20:22:43 +00:00
Nick Roberts
8f078ee4a3 (gud-speedbar-menu-items): Use :visible
instead of :active.
2005-10-08 21:19:18 +00:00
Glenn Morris
aff88519c0 Update maintainer email address. 2005-10-08 04:49:48 +00:00
Glenn Morris
9877fcf1d0 (f90-keywords-re, f90-mode): Doc fix.
(f90-font-lock-keywords-2, f90-mode-abbrev-table): Add `double precision'.
2005-10-08 04:47:23 +00:00
Nick Roberts
6bef9fd7e9 (gdb-fringe-width -> gdb-buffer-fringe-width):
Typo.
2005-10-07 02:46:50 +00:00
Nick Roberts
ccd91c0978 (gud-menu-map): Only display un-intuitive
gud-break and gud-remove icons when the fringe is not available.
2005-10-07 02:45:56 +00:00
Juanma Barranquero
8dc8d89594 (gdb-buffer-fringe-width): Add defvar. 2005-10-06 09:25:12 +00:00
Juanma Barranquero
7bf42457a9 (speedbar-attached-frame): Add defvar. 2005-10-06 08:19:57 +00:00
Nick Roberts
475a41c957 (gdb-fringe-width): New variable.
(gdb-ann3): Set it.
(gdb-put-breakpoint-icon): Don't take fringe-width from speedbar
frame.
(gdb-info-frames-custom): Use inverse-video for first five
characters of selected frame only.
(gdb-get-frame-number): Select frame even when point is on frame
number.
2005-10-06 06:06:55 +00:00