1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
Commit Graph

4241 Commits

Author SHA1 Message Date
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
Stefan Monnier
cb5b40ee3b * textmodes/remember.el (remember-buffer):
* progmodes/cperl-mode.el (cperl-vc-header-alist):
* calendar/icalendar.el (icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer): Add version of obsolescence.
2009-08-21 15:09:42 +00:00
Stefan Monnier
5443c9b759 * net/newst-treeview.el (newsticker-groups-filename):
* net/newst-backend.el (newsticker-cache-filename):
* speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
(speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
(speedbar-add-ignored-path-regexp, speedbar-line-path)
(speedbar-buffers-line-path, speedbar-path-line)
(speedbar-buffers-line-path):
* epg.el (epg-passphrase-callback-function, epg-start-sign-keys,epg-sign-keys):
* epa.el (epa-display-verify-result):
* progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2009-08-21 14:59:49 +00:00
Glenn Morris
3e1ea34239 (inferior-moz-process): Fix declaration. 2009-08-21 07:44:58 +00:00
Glenn Morris
d5d105e863 Use help-print-return-message rather than the now obsolete alias. 2009-08-21 07:24:26 +00:00
Stefan Monnier
28930e394d (inferior-prolog-error-regexp-alist): New var.
(inferior-prolog-mode): Use it.
(inferior-prolog-load-file): Reset list of errors.
2009-08-19 17:15:30 +00:00
Chong Yidong
7a55c78b36 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
abbrev (Bug#3943).
2009-08-16 23:20:21 +00:00
Chong Yidong
8c777c8de1 * progmodes/cperl-mode.el: Merge upstream 6.2.
(cperl-mode-syntax-table): Modify syntax entry for ["'`].
(cperl-forward-re): Check cperl-brace-recursing.
(cperl-highlight-charclass): New function.
(cperl-find-pods-heres): Use it.
(cperl-fill-paragraph): Synch to save-excursion placement used
upstream.
(cperl-beautify-regexp-piece): Fix column calculation.
(cperl-make-regexp-x): Handle case where point is between "q" and
"rs".
(cperl-beautify-level): Don't process entire regexp.
(cperl-build-manpage, cperl-perldoc): Bind Man-switches before
calling man.
(cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
(cperl-init-faces): Build a list in the normal way.
2009-08-16 23:08:18 +00:00
Stefan Monnier
556594956b (sql-product-alist): Add :name tag to entries.
(sql-product): Use it.
(sql-mode-menu): Auto-generate the menu based on sql-product-alist.
(sql-set-product): Add completion.
(sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
(sql-highlight-linter-keywords, sql-highlight-ms-keywords)
(sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
(sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
(sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
(sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
(sql-highlight-db2-keywords): Remove.
(sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
(sql-highlight-product): Use derived-mode-p.
(sql-set-sqli-buffer): Use with-current-buffer.
(sql-connect-informix, sql-connect-ingres, sql-connect-oracle): Simplify.
2009-08-16 15:48:15 +00:00
Chong Yidong
1abbe4e531 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
another heredoc if the user adds another < (Bug#3226).
2009-08-16 14:04:25 +00:00
Miles Bader
4989aff370 Add arch tagline 2009-08-15 01:13:18 +00:00
Chong Yidong
2e330adc6c * progmodes/js.el: Edit docstrings throughout to follow Emacs
conventions.
(js-insert-and-indent): Function deleted.
(js-mode-map): Don't bind keys to js-insert-and-indent.
(js-beginning-of-defun): Rename from js--beginning-of-defun.
(js-end-of-defun): Rename from js--end-of-defun.
(js-auto-indent-flag): Variable deleted.
2009-08-15 01:04:14 +00:00
Chong Yidong
17b5d0f707 * progmodes/js2-mode.el: File removed.
* Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.

* speedbar.el (speedbar-supported-extension-expressions): Add .js.

* progmodes/hideshow.el (hs-special-modes-alist): Add js-mode
entry.

* progmodes/js.el: New file.
2009-08-14 23:02:38 +00:00
Nick Roberts
79a1c8a970 (gdb-inferior-io-mode): Use start-process to
create buffer with a pty but no process so that GDB can make the
inferior the controlling process.
2009-08-13 13:22:11 +00:00