1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

2665 commits

Author SHA1 Message Date
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
Nick Roberts
6a8a087a3c (gdb-fringe-width): New variable.
(gdb-ann3): Set it.
(gdb-put-breakpoint-icon): Don't take fringe-width from speedbar
frame.
2005-10-06 03:42:24 +00:00
Masatake YAMATO
20ef86730c 2005-10-06 Masatake YAMATO <jet@gyve.org>
* progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Put
	`font-lock-function-name-face'.
	(gdb-info-frames-custom): Put `font-lock-function-name-face'
	and `font-lock-variable-name-face'
	(gdb-registers-font-lock-keywords): New font lock keywords definition.
	(gdb-registers-mode): Use `gdb-registers-font-lock-keywords`.
	(gdb-memory-font-lock-keywords): New font lock keywords definition.
	(gdb-memory-mode): Use `gdb-memory-font-lock-keywords'.
	(gdb-local-font-lock-keywords): New font lock keywords definition.
	(gdb-locals-mode): Use `gdb-local-font-lock-keywords'
	(gdb-threads-font-lock-keywords): New font lock keywords definition.
	(gdb-threads-mode): Use `gdb-threads-font-lock-keywords'.
2005-10-05 17:20:04 +00:00
Stefan Monnier
21c3ef84cc (scheme-mode-syntax-table): Mark ; as being also the
second char of a comment-start sequence.
(scheme-sexp-comment-syntax-table): New var.
(lambda, define): Set their scheme-doc-string-elt property.
(scheme-font-lock-syntactic-face-function): Handle sexp-comments.
Use lisp-font-lock-syntactic-face-function now that it properly
handles |...| symbols.
(scheme-mode-variables): Set lisp-doc-string-elt-property,
parse-sexp-lookup-properties and font-lock-extra-managed-props.
2005-10-05 15:31:44 +00:00
Stefan Monnier
f17ae68f2a (scheme-mode-syntax-table): Move the nesting bit from # to |.
(scheme-font-lock-syntactic-face-function): New function, to
distinguish strings from |...| symbols.
(scheme-mode-variables): Use it.  Also fix up the font-lock-time
syntax-table so that #|...|# is properly highlighted.
2005-10-05 14:23:13 +00:00
Stefan Monnier
6d1f4dc422 (c-basic-common-init): Remove calls to
make-local-variable which we do not need any more.
2005-10-03 21:23:06 +00:00
Stefan Monnier
6c715ec53e (c-setup-paragraph-variables): Make sure we do
not change the global value of those vars.
2005-10-03 21:21:35 +00:00
Chong Yidong
7752250e6b * speedbar.el (speedbar-ignored-path-regexp, speedbar-line-path)
(speedbar-ignored-path-expressions, speedbar-buffers-line-path)
	(speedbar-add-ignored-path-regexp, speedbar-buffers-line-path)
	(speedbar-path-line): Define obsolete aliases.
	(speedbar-line-directory): Doc fix.

	* progmodes/vhdl-mode.el (vhdl-speedbar-initialize)
	(vhdl-speedbar-rescan-hierarchy): Call speedbar-line-directory
	instead of speedbar-line-path.
2005-10-03 20:46:29 +00:00
Richard M. Stallman
b0de446f2b (ebnf-eps-production-list): Use insert-buffer-substring. 2005-10-02 17:39:25 +00:00
Romain Francoise
942c40e3e3 (compile-goto-error): Delete extra paren. 2005-10-02 11:07:01 +00:00
Richard M. Stallman
ae0cc840ad (compilation-buffer-name): New arg MODE-COMMAND.
(compilation-start): Pass new arg to compilation-buffer-name.
(compile-goto-error): Use next-error-internal.
2005-10-02 03:33:18 +00:00
Juri Linkov
fa6674e31f (vhdl-font-lock-prompt-face)
(vhdl-font-lock-attribute-face, vhdl-font-lock-enumvalue-face)
(vhdl-font-lock-function-face, vhdl-font-lock-directive-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-font-lock-translate-off-face, syntax-alist): Remove group
`font-lock-highlighting-faces'.
2005-09-29 22:58:48 +00:00
Juri Linkov
da7422052c (compilation-error, compilation-warning)
(compilation-info, compilation-line-number, compilation-column-number):
Change group from `font-lock-highlighting-faces' to `compilation'.
2005-09-29 22:57:28 +00:00
Richard M. Stallman
f0685ed1d4 (compilation-error-properties): When getting the file from the
previous error message, correctly decode the new data format.
2005-09-26 00:01:27 +00:00
Richard M. Stallman
96fdce72bb (c-electric-paren): Call old-blink-paren only for close-paren. 2005-09-25 23:58:28 +00:00
Romain Francoise
ce5a3ac01e 2005-09-25 Romain Francoise <romain@orebokech.com>
* dired-aux.el (dired-copy-file-recursive):
	* dired.el (dired-delete-file):
	* ediff-mult.el (ediff-dir-diff-copy-file):
	* ediff-util.el (ediff-test-save-region):
	* forms.el (forms-mode):
	* ido.el (ido-file-internal, ido-delete-file-at-head):
	* log-edit.el (log-edit-done):
	* ses.el (ses-yank-resize):
	* play/gomoku.el (gomoku-human-plays, gomoku)
	(gomoku-human-resigns, gomoku-prompt-for-other-game)
	(gomoku-offer-a-draw):
	* play/landmark.el (lm-human-resigns, lm):
	* net/eudcb-ldap.el (eudc-ldap-check-base):
	* play/mpuz.el (mpuz-offer-abort, mpuz-try-letter, mpuz-close-game):
	* progmodes/ebrowse.el (ebrowse-find-pattern):
	* progmodes/idlw-shell.el (idlwave-shell-set-bp-check):
	* textmodes/reftex-index.el (reftex-index-initialize-phrases-buffer):
	End `yes-or-no-p' and `y-or-n-p' prompts with question mark and
	space.

	* vc.el (vc-delete-file):
	* play/gomoku.el (gomoku-terminate-game, gomoku)
	(gomoku-prompt-for-move, gomoku-human-takes-back):
	* play/landmark.el (lm-human-takes-back, lm-prompt-for-move)
	(lm-start-robot, lm-human-plays): Remove extraneous spaces in
	messages.
2005-09-24 23:26:28 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00