1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00
Commit Graph

4254 Commits

Author SHA1 Message Date
Juanma Barranquero
d88444f292 * speedbar.el (speedbar-item-delete):
* calc/calc-prog.el (calc-kbd-if):
* language/hanja-util.el (hanja-init-load): Fix typos in messages.

* epa.el (epa-key-list-mode-map):
* hi-lock.el (hi-lock-menu): Fix typos in menus.

* progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
(hs-show-hook): Fix typo in docstring.
2009-09-29 02:26:20 +00:00
Chong Yidong
15120dec6b * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
menu.

* ediff-hook.el: Move menu-bar-ediff-misc-menu into
menu-bar-ediff-menu.

* emacs-lisp/lisp-mode.el: Add doc-string-elt property to
define-overloadable-function.

* progmodes/autoconf.el: Provide autoconf as well, so that this
file can be `require'd.

* emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.

* emacs-lisp/autoload.el (generated-autoload-feature)
(generated-autoload-load-name): New vars.
(autoload-rubric, autoload-generate-file-autoloads): Use them.
(make-autoload): Recognize define-overloadable-function and
defclass forms (for EIEIO).

* Makefile.in (update-subdirs): Exclude cedet directory.
2009-09-27 23:25:03 +00:00
Alan Mackenzie
0000ee90eb cc-langs.el (c-nonlabel-token-key): Allow quoted character constants (as
case labels).

cc-engine.el (c-beginning-of-statement-1): Correct buggy bracketing.
2009-09-26 09:18:41 +00:00
Juanma Barranquero
fb652bb5c3 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548) 2009-09-25 00:32:21 +00:00
Alan Mackenzie
0a218d34a2 (c-scan-conditionals): A new function like c-forward-conditionals, but it
doesn't move point and doesn't set the mark.
(c-up-conditional, c-up-conditional-with-else, c-down-conditional)
(c-down-conditional-with-else, c-backward-conditional)
(c-forward-conditional): Refactor to use c-scan-conditionals.
2009-09-24 20:19:58 +00:00
Nick Roberts
9ccd2bb378 Don't require speedbar.
(gdb-jsonify-buffer): Handle case where "=" is part of value string.
2009-09-24 12:30:08 +00:00
Juanma Barranquero
5a0c3f568d Fix typos.
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Nick Roberts
99f3b856f6 (gdb-version): New variable.
(gdb-non-stop-handler): Set gdb-version.
(gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
Condition "--thread" option on gdb-version.
(gdb-invalidate-threads): Remove unused argument.
2009-09-23 23:22:13 +00:00
Nick Roberts
1dd4f2c411 (gud-sentinel): Revert indavertant change. 2009-09-20 05:40:50 +00:00
Chong Yidong
946c009b51 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
indent buffer only if called interactively (Bug#4452).
2009-09-19 19:35:15 +00:00
Nick Roberts
d443acd9b1 (gdb-var-update-handler-1): Include case of
older GDB where there is no has_more field.
2009-09-19 11:45:57 +00:00
Glenn Morris
07eae5c5e0 (js-end-of-defun): Remove malformed and unneeded let. 2009-09-18 07:16:49 +00:00
Nick Roberts
eddbf5ff08 (gud-speedbar-item-info): Adjust for change to
gdb-var-list.
(gud-speedbar-buttons): Make node expandable if expression "has more"
children.
2009-09-18 02:01:26 +00:00
Nick Roberts
9bf3abe682 (gdb-frame-address): New variable.
(gdb-var-list): Add an element for has_more field.
(gdb-non-stop-handler): Enable pretty printing for STL containers.
(gdb-var-create-handler, gdb-var-list-children-handler-1)
(gdb-var-update-handler-1): Parse output of dynamic variable
objects (STL containers).
(gdb-var-delete-1): Pass var1 as an explicit second argument.
(gdb-get-field): Delete alias.  Use bindat-get-field directly.
2009-09-18 02:00:59 +00:00
Chong Yidong
1f5c162635 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change. 2009-09-13 17:09:23 +00:00
Nick Roberts
51908af6af (gdb-var-list-children-regexp): Delete.
(gdb-var-list-children): Use json parsing.
2009-09-12 00:03:29 +00:00
Chong Yidong
34cab3d9c1 * progmodes/js.el (js--proper-indentation): Handle the case where
char-before is null.  Reported by Deniz Dogan.
2009-09-12 00:01:00 +00:00
Nick Roberts
df1bfa9d00 (gdb-var-update-regexp): Delete.
(gdb-var-update-handler): Use json parsing.
2009-09-11 11:55:11 +00:00
Simon South
07db58574f (delphi-tab): Indent region when Transient Mark mode is enabled and
region is active; otherwise indent or insert TAB as usual.
(delphi-mode): Update description of TAB-key binding.
2009-09-11 02:28:50 +00:00
Stefan Monnier
8cb95edf7c * keymap.c (QCadvertised_binding): New constant.
(syms_of_keymap): Initialize it.
(Fwhere_is_internal): Try and use bindings from :advertised-binding
if applicable.

* progmodes/xscheme.el (xscheme-evaluation-commands):
Put a :advertised-binding property rather than using
advertised-xscheme-send-previous-expression.
(advertised-xscheme-send-previous-expression): Declare obsolete.
* emulation/crisp.el (crisp-mode-map): Use `undo' rather than
`advertised-undo'.
(crisp-mode): Add corresponding bindings to
undo's :advertised-binding instead.
* dired.el (dired-mode-map): Put a :advertised-binding property rather
than using dired-advertised-find-file.
(dired-advertised-find-file):
* simple.el (advertised-undo):
* wid-edit.el (advertised-widget-backward): Declare obsolete.
(widget-keymap): Put a :advertised-binding property rather
than using advertised-widget-backward.
* bindings.el (ctl-x-map): Put a :advertised-binding property rather
than using advertised-undo.
* tutorial.el (tutorial--default-keys): Adjust accordingly.
2009-09-11 00:58:59 +00:00
Glenn Morris
2fa207112c Move all safe and risky properties into the defcustoms. 2009-09-10 06:19:53 +00:00
Nick Roberts
17b13e732b Bug#4375 (can't kill killed gud buffer")
(gdb): Revert 2009-08-11 change.  User should detach inferior
manually.
2009-09-10 03:42:13 +00:00
Nick Roberts
72d83b260c Reported in thread for Bug#4375.
* progmodes/gud.el (gud-tooltip-print-command): Use MI command
"-data-evaluate-expression" instead of print.
* progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
(gdb-tooltip-print): Parse output from above MI command.
2009-09-10 03:03:27 +00:00
Juri Linkov
7ae624301e (grep-template): Add "<X>" to docstring.
(grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
the list.  Move "asm" to the bottom.
(grep-find-ignored-directories): Add `choice' with nil value
to empty the list easily.
(grep-find-ignored-files): New option.
(grep-files-history): Set to nil by default instead of '("ch" "el").
(grep-compute-defaults): Add "<X>" to `grep-template'.
(grep-read-files): Bind new local variables `default-alias' and
`default-extension'.  Use a list of default values for the file prompt.
(lgrep): Add `--exclude=' command line options composed from
`grep-find-ignored-files'.
(rgrep): Add `-name' command line options composed from
`grep-find-ignored-files'.  (Bug#4301)
2009-09-10 00:58:15 +00:00
Glenn Morris
f38184aa0f Move all safe properties into the defcustoms.
(f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
2009-09-03 06:41:46 +00:00
Nick Roberts
f6db4734d7 (gdb-current-context-command): Move the
space ...
(gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
no "--thread" option.
(gdb-stopped): Don't print "Switched to thread" message when it is
unchanged.
2009-09-01 23:53:48 +00:00
Glenn Morris
0142e36b61 Mark face aliases with "-face" suffix as obsolete. 2009-09-01 16:26:23 +00:00
Nick Roberts
df78c9e357 (gdb-var-create-handler): Remove redundant
MI command -var-evaluate-expression.
(gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
and tweak for case of string child.
(gdb-var-list-children-handler): Update from handler-1 in
gdb-ui.el.
2009-09-01 10:18:00 +00:00
Glenn Morris
c4f6e489aa Mark face aliases with "-face" suffix as obsolete. 2009-09-01 07:24:13 +00:00
Glenn Morris
d80619faef (etags-goto-tag-location): Use forward-line rather than goto-line. 2009-09-01 03:27:52 +00:00
Glenn Morris
5f68c1b736 Use forward-line rather than goto-line. 2009-09-01 03:18:44 +00:00
Nick Roberts
51f3f21d06 (gdb-breakpoints-list-handler-custom):
Handle watchpoints (bug#4282).
(def-gdb-thread-buffer-command): Enable thread to be selected by
clicking without selecting threads buffer first.
(gdb-current-context-command): Use selected frame so that "up",
"down" etc work in the GUD buffer.
(gdb-update): Find selected frame before rendering stack buffer.
(gdb-frame-handler): Set gdb-frame-number for stack buffer.
2009-08-31 12:35:55 +00:00
Stefan Monnier
4e135dd27f (displayed-completions): Remove.
(symbol-complete): Use minibuffer-complete.
2009-08-31 05:47:06 +00:00
Nick Roberts
d50f7687ce (gdb-control-all-threads)
(gdb-control-current-thread): Force tool bar update.
(gdb-non-stop-handler): New function.
(gdb-init-1): Use it to test if GDB version supports non-stop mode
Remove unused gdbmi buffer type.
2009-08-31 00:28:37 +00:00
Juri Linkov
6830f44933 (grep-read-files): Strip trailing <N> from buffer names
not visiting a file (e.g. cloned buffers).
2009-08-30 23:47:11 +00:00
Glenn Morris
4a948dbfcf (fortran-start-prog-re): New constant, extracted from fortran-current-defun.
(fortran-beginning-of-subprogram): Be more precise about finding the
start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
(fortran-end-of-subprogram): Simplify.
(fortran-current-defun): Use fortran-start-prog-re.
2009-08-30 01:38:09 +00:00
Glenn Morris
2fc50e12d6 Nuke trailing whitespace. 2009-08-29 02:23:18 +00:00
Stefan Monnier
efbc652a8f * progmodes/cc-vars.el (c-comment-continuation-stars):
* progmodes/cc-engine.el (c-looking-at-bos):
* progmodes/cc-cmds.el (c-toggle-auto-state)
(c-forward-into-nomenclature, c-backward-into-nomenclature)
(c-comment-line-break-function): Add version of obsolescence.
2009-08-29 02:07:42 +00:00
Juanma Barranquero
dd4fbf5672 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
Fix typos in docstrings.

* progmodes/js.el (js--macro-decl-re): Doc fix.
  (js--plain-method-re, js--split-name): Refloc docstring.
  (js--class-styles, js--make-merged-item, js--splice-into-items):
  Fix typos in docstrings; reflow docstrings.
  (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
  (js--variable-decl-matcher, js--inside-pitem-p)
  (js--parse-state-at-point, js--get-all-known-symbols)
  (js--symbol-history, js-find-symbol, js--js-references)
  (js--moz-interactor, js--js-encode-value, js--read-tab):
  Fix typos in docstrings.
2009-08-28 18:22:30 +00:00
Stefan Monnier
14acf2f55e * gnus/nnheader.el (nnheader-find-file-noselect):
* gnus/mm-util.el (mm-insert-file-contents):
* org/org-html.el (org-export-as-html):
* org/org-docbook.el (org-export-as-docbook):
* textmodes/reftex.el (reftex-get-file-buffer-force):
* progmodes/verilog-mode.el (verilog-batch-execute-func):
* emulation/viper.el (viper-go-away, viper-set-hooks):
* emacs-lisp/re-builder.el (re-builder-unload-function):
* emacs-lisp/bytecomp.el (byte-compile-file):
* ses.el (ses-unload-function):
* hexl.el (hexl-find-file):
* files.el (normal-mode):
* ehelp.el (with-electric-help):
* autoinsert.el (auto-insert-alist):
* arc-mode.el (archive-mode):
Use (default-value 'major-mode) instead of default-major-mode.
2009-08-28 17:02:53 +00:00
Nick Roberts
7e3242e4fc (gdb-use-separate-io-buffer): Remove
variable ...
(gdb-init-1, gdb-display-separate-io-buffer)
(gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
references to it.
(gdb-inferior-io-mode): Use make-comint-in-buffer.
(gdb-inferior-filter): Use comint-output-filter to stop
echoing and remove ^M characters.
2009-08-28 10:56:13 +00:00
Michael Albinus
458c8d31e4 * progmodes/grep.el (grep-probe): Let-bind `process-file-side-effects' with nil. 2009-08-25 10:11:08 +00:00
Glenn Morris
af62aa887b (top-level): Don't require lucid (and hence run-time cl). 2009-08-25 03:26:40 +00:00
Glenn Morris
fd0076292f Kevin Ryde <user42 at zip.com.au>
Add "languages" keywords: entry.
2009-08-25 03:14:22 +00:00
Dmitry Dzhus
71e036af39 (gdb-mapcar*): Replacement for `mapcar*'
from cl package.
(gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
2009-08-24 19:12:46 +00:00
Glenn Morris
47e8396852 (cperl-imenu-name-and-position): Copy imenu-example--name-and-position
function here for own use.
(cperl-xsub-scan): Use cperl-imenu-name-and-position.
(cperl-time-fontification): Use forward-line rather than goto-line.
2009-08-22 19:39:54 +00:00
Glenn Morris
e6ce8c4239 Use forward-line rather than goto-line. 2009-08-22 19:29:18 +00:00
Glenn Morris
a569b48010 (compilation-error-regexp-alist, compilation-forget-errors): Declare. 2009-08-22 19:21:18 +00:00
Glenn Morris
df1c29a0a0 (makefile-browser-toggle): Use forward-line rather than goto-line.
(makefile-browser-insert-selection): Use goto-char rather than goto-line.
2009-08-22 19:20:27 +00:00
Juri Linkov
32a2cf25a7 (lgrep, rgrep): At the beginning
set `dir' to `default-directory' unless `dir' is a non-nil
readable directory.  (Bug#4052)
(lgrep, rgrep): Change a weird way to report an error
from using `read-string' to using `error'.
Instead of using interactive arguments in the function body,
add new argument `confirm'.
2009-08-22 00:17:56 +00:00