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

2961 Commits

Author SHA1 Message Date
Stefan Monnier
23f2d048b5 (inferior-prolog-flavor): New var left out of previous commit.
(inferior-prolog-guess-flavor): New fun left out of previous commit.
(prolog-consult-region-and-go): Don't hard code "*prolog*" and don't
burp in dedicated windows.
(inferior-prolog-self-insert-command): New command.
(inferior-prolog-mode-map): Use it.
2006-09-07 16:18:06 +00:00
Stefan Monnier
d364dee6ba Remove * in docstrings.
(prolog-program-name): Add SWI prolog.
(prolog-mode-menu): New menu.
(prolog-mode): Set comment-add.
(prolog-indent-line): Simplify.  Use indent-line-to.
(inferior-prolog-buffer): New var.
(inferior-prolog-run, inferior-prolog-process): New funs.
(run-prolog, switch-to-prolog): Rewrite, using them.
(prolog-consult-region): Use inferior-prolog-buffer.
(inferior-prolog-load-file): New function.
(prolog-mode-map): Add bindings for load-file and switch-to-prolog.
2006-09-06 17:34:12 +00:00
Nick Roberts
8687849bab (gdb-var-list-children-regexp)
(gdb-var-list-children-regexp-1): Tweak regexps to catch full
string values.
2006-09-06 02:45:03 +00:00
Chong Yidong
6e1a95973d * progmodes/compile.el (compilation-error-regexp-alist-alist):
Process the `gcc-include' after the `gnu' rule.
2006-09-05 14:53:24 +00:00
Nick Roberts
ce22ee0163 (gdb-var-list-children-regexp)
(gdb-var-list-children-regexp): Make type field optional.
2006-09-05 03:41:24 +00:00
Nick Roberts
d4bc9efd83 (gud-speedbar-buttons): Allow for no type
e.g public, protected in C++.
2006-09-05 03:40:54 +00:00
Stefan Monnier
132579d3e8 (python-eldoc-function): Re-enable quit while waiting for process. 2006-08-30 21:10:10 +00:00
Stefan Monnier
e2ac11eba7 (python-send-command): Simplify.
(run-python): Don't generate a new buffer unless `new' was specified.
Make sure we send `import emacs' to the proper process.
2006-08-28 21:58:27 +00:00
Stefan Monnier
6cc91c85a0 (python-send-command): Don't wait for the command
to terminate.  Don't fiddle with compilation-parsing-end.
2006-08-28 21:13:34 +00:00
Stefan Monnier
426348643a (python-send-receive): Wait in the process's buffer so as to check the right
buffer-local variables.
2006-08-26 14:39:16 +00:00
Stefan Monnier
1c1095bfeb (python-preoutput-skip-next-prompt): New var.
(python-preoutput-continuation): Remove.
(python-preoutput-filter): Simplify correspondingly.
Remove handling of _emacs_ok.  Make sure we skip _emacs_out's prompts.
Loop around to catch embedded _emacs_out output.
(run-python): Send the import&print command on a single line.
(python-send-command): Send command&print on a single line.
(python-send-string): Only add double \n if needed.
(python-send-receive): Loop until the result comes.
(python-mode-running): Defvar it.
(python-setup-brm): Remove unused var `menu'.
Only bind py-mode-map and `features' around brm-init.
(python-calculate-indentation): Remove unused var `point'.
(python-beginning-of-defun): Remove unused var `def-line'.
2006-08-25 22:49:14 +00:00
Kim F. Storm
84d797c949 (grep-find-use-xargs): Use explicit value `exec'
to mean "use find -exec"; nil now unambiguously means auto-detect.
(grep-compute-defaults): Set grep-find-use-xargs to `exec' if not `gnu'.
Use shell-quote-argument to build grep-find-command and grep-find-template.
(rgrep): Use shell-quote-argument to properly quote arguments to find.
Reported by Tom Seddon.
2006-08-23 23:23:02 +00:00
Nick Roberts
31af85eb57 (gdb-starting): Reset gdb-signalled to nil. 2006-08-23 03:10:02 +00:00
Nick Roberts
b2f5a4ac93 (gdb-frame-memory-buffer): Make frame
a bit wider and remove fringes to fit initial output on line.
2006-08-21 23:06:09 +00:00
Stefan Monnier
65a16bef23 Remove * in defcustom docstrings.
(run-python, python-proc, python-try-complete): Use derived-mode-p.
(python-mode): Set tab-width and indent-tabs-mode.
2006-08-20 18:14:50 +00:00
Stefan Monnier
c7e8d385a2 Update to Dave Love's latest version.
(python-font-lock-keywords, python-mode): Don't use
font-lock-syntax-table, but match symbol elements explicitly instead.
(python-mode-map): Add help, and a few more key bindings.
(python-skip-comments/blanks): Move out of comments as well.
(python-continuation-line-p): Behave better with unbalanced parens.
(python-blank-line-p): New fun.
(python-open-block-statement-p): Don't use a heuristic.
(python-outdent-p): Better handle blocks-in-the-same-line.
(python-calculate-indentation): Misc improvements.
(python-comment-indent): Remove.
(python-block-pairs): New var.
(python-first-word): New fun.
(python-indentation-levels): Handle more common cases.
(python-indent-line-1): Add `leave' argument.
(python-indent-region): New fun.
(python-skip-out): New fun.
(python-beginning-of-statement, python-end-of-statement): Use it.
(python-next-statement): Return correct count even at eob.
(python-end-of-block): Fix paren-typo.
(python-imenu-create-index): Add module variables.
(run-python): Add `new' arg.  Check we're at a prompt before returning.
(python-send-command): Move to end of buffer.  Wait for prompt to return.
(python-set-proc): New fun.
(python-imports): New var.
(python-describe-symbol): Use it.  Adjust to new interface of `ehelp'.
(python-eldoc-function): Try to move out of arg list.
(python-outline-level): Offset by 1.
(python-find-imports): New fun.
(python-symbol-completions): Use python-imports.
(python-module-path, ffap-alist): Add support for ffap.
(python-skeletons, python-mode-abbrev-table, def-python-skeleton)
(pythin-insert-*, python-default-template, python-expand-template):
Add templates/skeletons.
(python-setup-brm): Support for Bicycle Repair Man.
(python-abbrev-syntax-table): New var.
(python-abbrev-pc-hook, python-pea-hook): New funs.
2006-08-20 17:55:16 +00:00
Romain Francoise
bfe0c147d5 (gdb-edit-locals-value): Balance parens. 2006-08-17 17:56:57 +00:00
Nick Roberts
38a52690e0 (gdb-locals-watch-map, gdb-locals-watch-map-1): Suppress keymap first.
(gdb-edit-locals-map-1): New variable.
(gdb-edit-locals-value): New function.
(gdb-stack-list-locals-handler): Use them.
2006-08-17 11:44:40 +00:00
Nick Roberts
9143202cb6 (gdb-info-stack-custom): Indicate selected frame with fringe arrow.
Suggested by Simon Marshall <simon.marshall@misys.com>.
(gdb-stack-position): New variable.
(gdb-starting, gdb-exited): Reset gdb-stack-position to nil.
(gdb-frames-mode): Set gdb-stack-position to nil.  Add to
overlay-arrow-variable-list
(gdb-reset): Delete gdb-stack-position from above list.
2006-08-15 00:01:16 +00:00
Nick Roberts
7443a63845 (gdb-frame-separate-io-buffer)
(gdb-use-separate-io-buffer, menu): Avoid using `inferior' in text.
(gdb-memory-mode, gdb-locals-watch-map): Don't quote lambda
expressions.
(gdb-info-breakpoints-custom): Use gdb-breakpoint-regexp.
Only search till end of line.
Add face to function names in case of no filename.
Add face to variable names of watchpoints.
2006-08-13 01:09:11 +00:00
Stefan Monnier
4c7c5c7e48 (sh-quoted-subshell): Make sure we don't mistake a closing " for an opening one. 2006-08-08 15:09:26 +00:00
Stefan Monnier
402adebf69 (gdb-script-font-lock-syntactic-keywords):
Correctly mark the end-of-docstring char.
2006-08-03 18:30:13 +00:00
Nick Roberts
a6c7c026a4 (gdb-find-source-frame): Make nil the default value.
(gdb-find-source-frame): New function.
(menu): Add to menu bar.
2006-08-01 23:16:00 +00:00
Nick Roberts
c534076ccd (gdb-set-hollow): Check for gud-last-last-frame. 2006-08-01 02:49:47 +00:00
Richard M. Stallman
f8262222a6 (vhdl-speedbar-display-directory, vhdl-speedbar-display-projects):
Update old obsolete speedbar variable names.
2006-07-31 18:43:42 +00:00
Nick Roberts
2b63aedbe1 (gdb-find-source-frame): New option.
(gdb-stopped): Use it.
2006-07-31 06:13:18 +00:00
Richard M. Stallman
13eb1bded1 (grep-default-command): Catch errors from wildcard-to-regexp. 2006-07-29 02:03:21 +00:00
Kim F. Storm
bcdf86fb51 (grep-read-files): Use car of grep-files-history or grep-files-aliases
as default if nothing else applies.
2006-07-28 23:20:21 +00:00
Kim F. Storm
7cb0d0ef5a (grep-tag-default): New function.
(grep-default-command, grep-read-regexp): Use it.
2006-07-28 23:03:18 +00:00
Nick Roberts
a9502111b2 (gdb-info-breakpoints-custom): Use different faces for enable character. 2006-07-28 12:11:09 +00:00
Nick Roberts
dfed8466d3 (which-function): Fix documentation/comment typo. 2006-07-27 12:18:03 +00:00
Masatake YAMATO
75ee40bece (ld-script-keywords) (ld-script-font-lock-keywords, ld-script-builtins): Update keywords and add comments. 2006-07-25 11:49:04 +00:00
Nick Roberts
303b246dbe (gdb-set-gud-minor-mode-existing-buffers)
(gdb-resync, gdb-prompt, gdb-starting, gdb-exited, gdb-stopped)
(gdb-set-gud-minor-mode-existing-buffers-1): Use different faces
for status indicator.
2006-07-25 05:18:11 +00:00
Eli Zaretskii
5b01aef2db (delphi-fill-comment): Use save-restriction. 2006-07-22 11:08:55 +00:00
Stefan Monnier
3a723c3afa (sh-quoted-subshell): Further fix last change. 2006-07-20 21:23:48 +00:00
Alan Mackenzie
26b8f810d0 * progmodes/cc-langs.el (c-emacs-variable-inits): new variable.
(c-lang-setvar): new macro.
(c-make-init-lang-vars-fun): Use the initialization forms in
c-emacs-variable-inits in addition to those in c-lang-variable-inits.
(comment-start, comment-end, comment-start-skip): Change these from
c-lang-defvar's to c-lang-setvar's.

* progmodes/cc-mode.el (c-make-emacs-variables-local): new macro,
which calls make-local-variable on the elements of
c-emacs-variable-inits.
(c-init-language-vars-for): Call this new macro.
2006-07-20 09:48:09 +00:00
Stefan Monnier
0ab31e4a9f (compilation-error-regexp-alist-alist) <gnu>:
Try to rule out false positives due to time stamps.
(compilation-mode-font-lock-keywords): Remove rules made redundant
because of the above change.  Add `segmentation fault' to the known and
highlighted compilation termination messages.
2006-07-19 19:20:11 +00:00
Kim F. Storm
ee87a9f988 (grep-find-ignored-directories): Add .svn and _darcs to list. 2006-07-19 11:19:27 +00:00
Stefan Monnier
a97a33cb2a (sh-quoted-subshell): Fix last change. 2006-07-19 04:31:41 +00:00
Stefan Monnier
c6b7104550 (sh-font-lock-keywords-1): Revert inadvertently installed patch hunk. 2006-07-18 21:03:59 +00:00
Stefan Monnier
f65b9df2d7 (compilation-find-file): Handle the
cases where the user selects a non-existent file.
2006-07-18 14:40:29 +00:00
Stefan Monnier
69c6ad8391 (sh-quoted-subshell): Don't match escaped . Use cond', push', and `dolist'. 2006-07-17 21:07:23 +00:00
J.D. Smith
aed1976425 Fix menu typo. 2006-07-17 17:10:32 +00:00
Chong Yidong
b5f02314a0 * progmodes/compile.el (compilation-mode-font-lock-keywords):
Don't highlight "Compiling file" messages as error.
2006-07-17 04:07:49 +00:00
Thien-Thi Nguyen
072cb54a86 (ada-mode): Rewrite ff-special-constructs init. 2006-07-16 21:12:46 +00:00
Nick Roberts
8d39ce5e92 (gud-display-line): Use gdb-display-buffer. Set gdb-source-window. 2006-07-13 21:57:05 +00:00
Nick Roberts
d138996e00 (gdb-display-buffer): Check for gdb-source-window. Add dedicated argument.
(gdb-display-separate-io-buffer, gdb-append-to-inferior-io)
(gdb-display-breakpoints-buffer, gdb-display-stack-buffer)
(gdb-display-threads-buffer, gdb-display-memory-buffer)
(gdb-display-locals-buffer): Use it.
2006-07-13 21:56:26 +00:00
Richard M. Stallman
f911a4454a (grep-last-buffer): Doc fix. 2006-07-12 16:05:19 +00:00
Chong Yidong
ce4746a36a * progmodes/ebrowse.el (ebrowse-display-member-buffer): Avoid
using with-output-to-temp-buffer, which clobbers local vars.
2006-07-11 16:39:50 +00:00
Stefan Monnier
b8fa0ffd0c (compilation-error-regexp-alist-alist): Fix ambiguity introduced by last change.
(compilation-find-file): Move save-excursion to where it may make sense.
Fix a left over `find-file'.
2006-07-11 15:08:33 +00:00