1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 22:20:24 -08:00
Commit graph

2298 commits

Author SHA1 Message Date
Masatake YAMATO
a6e7bdf171 * progmodes/etags.el (tags-apropos, list-tags): Require apropos. 2004-05-21 07:25:07 +00:00
Stefan Monnier
27149c587c (gud-reset): Use unless & with-current-buffer. 2004-05-19 19:00:02 +00:00
Stefan Monnier
d490ebbe49 (gdb-reset): Use unless. Fix regexp. 2004-05-19 18:58:21 +00:00
Glenn Morris
799dee7ac4 (f90-end-block-re, f90-start-block-re): New constants.
(hs-special-modes-alist): Add an f90-mode entry. This will not be
100% successful, but should handle a sizable majority of code.
2004-05-17 18:52:51 +00:00
Eli Zaretskii
bc3621a08e (compilation-warning-face, compilation-info-face): Use min-colors. 2004-05-15 12:17:22 +00:00
Nick Roberts
68b872d2d3 (gud-mode): Add gud-kill-buffer-hook to kill-buffer-hook here and make it local.
(gud-kill-buffer-hook): Use kill-process for a sure kill.
2004-05-12 20:43:47 +00:00
Daniel Pfeiffer
0e52264f1c (compilation-set-window-height): Use save-excursion to protect against misplaced marker. 2004-05-12 18:46:24 +00:00
Daniel Pfeiffer
c39bf546b9 (compile): Add universal prefix arg.
(compilation-error-regexp-alist-alist): Add edg patterns.
2004-05-10 21:00:00 +00:00
Stefan Monnier
522067b2d4 (help-buffer): Autoload when compiling.
(python-after-info-look): Don't assume Info-goto-node returns non-nil.
(run-python): Prepend to any existing PYTHONPATH.
2004-05-10 18:36:09 +00:00
Nick Roberts
42fd213b0d (gdb-annotation-rules): Add nquery annotation
for pending breakpoints.
2004-05-10 17:53:37 +00:00
Stefan Monnier
07c7712fae (inferior-python-mode-map): Remove erroneous C-c C-z binding. 2004-05-10 15:32:01 +00:00
Miles Bader
f9878c26e8 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-296
Allow restarting an existing debugger session that's exited

2004-05-10  Miles Bader  <miles@gnu.org>

   * lisp/progmodes/gud.el (gud-common-init): Only consider an existing
   buffer an error if the debugger process is actually running.
2004-05-10 08:40:27 +00:00
Juanma Barranquero
3299a03a32 (python-describe-symbol): Pass INTERACTIVE-P argument to `help-setup-xref'. 2004-05-08 16:40:01 +00:00
Nick Roberts
f6a2315e55 Improve/extend documentation strings.
Fit first sentence on one line for apropos-command.
2004-05-06 22:57:13 +00:00
Stefan Monnier
24d5055cef Changes largely merged in from Dave Love's code. Doc fixes.
(python-mode-map): Add python-complete-symbol.
(python-comment-line-p, python-beginning-of-string): Use syntax-ppss.
(python-comment-indent, python-complete-symbol)
(python-symbol-completions, python-partial-symbol)
(python-try-complete): New.
(python-indent-line): Remove optional arg.  Use python-block-end-p.
(python-check): Bind compilation-error-regexp-alist.
(inferior-python-mode): Use rx.  Move keybindings to top level.
Set comint-input-filter.
(python-preoutput-filter): Use rx.
(python-input-filter): Re-introduce.
(python-proc): Start new process if necessary.
Check python-buffer non-nil.
(view-return-to-alist): Defvar.
(python-send-receive): New.
(python-eldoc-function): Use it.
(python-mode-running): Don't defvar.
(python-mode): Set comment-indent-function.
Maybe update hippie-expand-try-functions-list.
(python-indentation-levels): Initialize differently.
(python-block-end-p): New.
(python-indent-line): Use it.
(python-compilation-regexp-alist): Augment.
(run-python): Import `emacs' module to Python rather than loading
code directly.  Set python-buffer differently.
(python-send-region): Use emacs.eexecfile.  Fix orig-start calculation.
Use python-proc.
(python-send-command): Go to end of comint buffer.
(python-load-file): Use python-proc, emacs.eimport.
(python-describe-symbol): Simplify interactive form.
Use emacs.help.  Do use temp-buffer-show-hook.
Call print-help-return-message.
(hippie-exp): Require when compiling.
(python-preoutput-continuation): Use rx.
2004-05-06 20:22:32 +00:00
Stefan Monnier
9a9069c994 (sql-xemacs-p, sql-emacs19-p, sql-emacs20-p): Remove.
(sql-mode-syntax-table): Use shared GNU EMacs/XEmacs syntax.
(sql-builtin-face, sql-doc-face): Remove.
(sql-mode-ansi-font-lock-keywords)
(sql-mode-oracle-font-lock-keywords)
(sql-mode-postgres-font-lock-keywords)
(sql-mode-linter-font-lock-keywords)
(sql-mode-ms-font-lock-keywords)
(sql-mode-mysql-font-lock-keywords): Use standard fonts.
(sql-product-font-lock): Fix font-lock reset when font rules change.
(sql-highlight-product): Remove incorrect font-lock reset logic.
2004-05-04 21:59:40 +00:00
Nick Roberts
294240c35d (gdb-goto-breakpoint): Make buffer display file at breakpoint. 2004-05-03 00:34:50 +00:00
Nick Roberts
2b63b80f24 (gud-watch, gdb-display-buffer)
(gdb-display-source-buffer, gdb-put-breakpoint-icon)
(gdb-remove-breakpoint-icons, gdb-assembler-custom):
Look for window over visible frames.
2004-05-02 23:04:20 +00:00
Stefan Monnier
822001db2a Arch-tags shouldn't be outline headers. 2004-05-02 20:45:51 +00:00
Stefan Monnier
e3bef839dd (compilation-gcpro): New var
(compilation-fake-loc): Use it.
(compilation-forget-errors): Reset it.
2004-05-02 20:44:55 +00:00
Eli Zaretskii
052ca4d1d2 (compilation-start): In the no-async-subprocesses branch, fontify
the buffer explicitly after the process exits.
2004-05-02 17:23:04 +00:00
Eli Zaretskii
cf8f099f0a (compilation-start): In the no-async-subprocesses branch, call
sit-for to give redisplay a chance to show the updated process
status in the mode line.
2004-05-02 15:38:02 +00:00
Stefan Monnier
ee99b45b27 (python-compilation-line-number): Remove.
(python-compilation-regexp-alist): Don't use it any more.
(python-orig-start, python-input-filter): Remove.
(inferior-python-mode): Don't set up comint-input-filter-functions.
(python-send-region): Use compilation-fake-loc.
2004-05-01 21:16:07 +00:00
Stefan Monnier
9b7b51a21e (compilation-messages-start): New var.
(compilation-mode): Don't setup next-error-function here.
(compilation-setup): Set it up here instead (for minor modes as well).
Make compilation-messages-start buffer local.
(compilation-next-error-function): Use it.
(compilation-forget-errors): Set compilation-messages-start.
2004-05-01 21:13:00 +00:00
Glenn Morris
8aa7b879cd (fortran-fill): Use local var `bol' rather than duplicate call to
`line-beginning-position'.
2004-04-30 18:54:44 +00:00
Glenn Morris
718d07060a (f90-get-present-comment-type): Return whitespace, as well as comment
chars, for consistent filling of comment blocks.  Use
`match-string-no-properties'.
(f90-break-line): Do not leave trailing whitespace when filling
comments.
2004-04-30 18:52:11 +00:00
Stefan Monnier
9fd8cb3673 (sql-product-alist): Rename variable `sql-product-support'.
Add Postgres login parameters.
(sql-set-product, sql-product-feature): Update with renamed variable.
(sql-connect-postgres): Add username prompt.
(sql-imenu-generic-expression, sql-mode-font-lock-object-name):
Make patterns less product specific.
(sql-xemacs-p, sql-emacs19-p): Add flags for emacs variants.
(sql-mode-abbrev-table): Modify initialization.
(sql-builtin-face): Add variable.
(sql-keywords-re): Add macro.
(sql-mode-ansi-font-lock-keywords): Update for ANSI-92.
(sql-mode-oracle-font-lock-keywords): Update for Oracle 9i.
(sql-mode-postgres-font-lock-keywords): Update for Postgres 7.3.
(sql-mode-mysql-font-lock-keywords): Update for MySql 4.0.
(sql-mode-linter-font-lock-keywords)
(sql-mode-ms-font-lock-keywords): Use `sql-keywords-re' macro.
(sql-mode-sybase-font-lock-keywords, sql-mode-informix-font-lock-keywords)
(sql-mode-interbase-font-lock-keywords, sql-mode-ingres-font-lock-keywords)
(sql-mode-solid-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
(sql-mode-db2-font-lock-keywords): Default to nil.
(sql-product-font-lock): Always highlight ANSI keywords.
(sql-add-product-keywords): Made similar to `font-lock-add-keywords'.
(sql-send-string): Add function.
2004-04-29 21:55:28 +00:00
Stefan Monnier
56e6d6fecc (python-send-command): New fun.
(python-send-region, python-load-file): Use it.
2004-04-29 20:34:11 +00:00
Stefan Monnier
7d5f942b02 (cfengine-beginning-of-defun, cfengine-end-of-defun):
Ensure progress through buffer.
2004-04-29 19:48:22 +00:00
Stefan Monnier
0ff7f01e85 (compilation-last-buffer): Add var alias. 2004-04-29 19:02:12 +00:00
Juri Linkov
a3a9c080fa (compilation-context-lines): Add nil option to disable compilation output window scrolling.
(compilation-set-window): Use it.
2004-04-29 15:31:38 +00:00
Nick Roberts
8ce7881f12 (gdb-frame-breakpoints-buffer)
(gdb-frame-stack-buffer, gdb-frame-threads-buffer)
(gdb-frame-registers-buffer, gdb-frame-locals-buffer)
(gdb-frame-gdb-buffer, gdb-frame-assembler-buffer): Use
selected-window.
2004-04-28 18:16:07 +00:00
Nick Roberts
5ab26292ec (gud-common-init): Throw an error if program is
already running under gdb.
2004-04-28 18:15:12 +00:00
Richard M. Stallman
cc366e3370 (compilation-context-lines): Default now 0. 2004-04-28 08:36:09 +00:00
Eli Zaretskii
3a69e5ad81 (gud-pdb-command-name): Change default to "pydb". 2004-04-26 11:12:27 +00:00
Daniel Pfeiffer
dbd9767235 (compilation-error-regexp-alist-alist): Also recognize severe Irix et al. messages.
(compilation-normalize-filename, compile-abbreviate-directory): Delete functions.

(compilation-get-file-structure): New function inherits functionality of the two preceding ones.

(compilation-internal-error-properties, compilation-fake-loc): Use it so that different paths to the same file share the same markers.  Also optimize finding adjacent marker slightly.
2004-04-25 12:55:43 +00:00
Andreas Schwab
14116f3caf (sh-leading-keywords) <sh>: Add "!". 2004-04-24 20:58:17 +00:00
Stefan Monnier
f71d34b0a8 (compilation-mode-font-lock-keywords):
Minor sanity check on the `hyperlink' slot.
2004-04-21 22:37:16 +00:00
Kim F. Storm
5d9f0de2de From: Teodor Zlatanov <tzz@lifelogs.com>
(compilation-start): Set next-error-last-buffer so
next-error knows where to jump.
(compilation-setup): Set the buffer-local variable
next-error-function to 'compilation-next-error-function.
(compilation-buffer-p, compilation-buffer-internal-p): Use an
alternate way to find if a buffer is a compilation buffer, for
next-error convenience.
(next-error-no-select, previous-error-no-select, next-error)
(previous-error, first-error): Move to simple.el.
(compilation-find-buffer): Move to next-error-find-buffer in simple.el.
(compilation-last-buffer): Remove.
(compilation-start, compilation-next-error, compilation-setup)
(compilation-next-error-function, compilation-find-buffer):
Remove compilation-last-buffer use.
2004-04-21 21:37:18 +00:00
Stefan Monnier
c3f85d9536 (python-maybe-jython): Don't assume point-min==1. 2004-04-21 20:48:47 +00:00
Richard M. Stallman
0ce7de922c (cperl-putback-char): Delete Emacs 18 definition. 2004-04-21 19:19:44 +00:00
Jan Djärv
7f0d4d298d Undo previous change 2004-04-20 21:41:50 +00:00
Jan Djärv
3faf4eb37f * progmodes/grep.el (grep-mode): Add eval-when-compile. 2004-04-20 21:19:44 +00:00
Stefan Monnier
efb0e677c7 (compilation-error-properties): Split in two.
(compilation-internal-error-properties): New one.
(compilation-compat-error-properties): Use it to fix the non-marker case.
2004-04-20 20:36:43 +00:00
Nick Roberts
95cc50b689 (gdb-frame-parameters): New constant.
(gdb-frame-breakpoints-buffer, gdb-frame-stack-buffer)
(gdb-frame-threads-buffer, gdb-frame-registers-buffer)
(gdb-frame-locals-buffer, gdb-frame-gdb-buffer)
(gdb-frame-assembler-buffer): Improve behaviour with
multiple frames.
(gdb-display-buffer): Extend search to all visible frames.
2004-04-19 23:32:17 +00:00
Juri Linkov
0134151707 * progmodes/cc-cmds.el (c-beginning-of-statement): Use
function `sentence-end' instead of variable `sentence-end'.
2004-04-18 22:09:27 +00:00
Andreas Schwab
fe4dda18f0 (compilation-start): Set window start to
point-min if compilation-scroll-output is nil.
2004-04-18 11:04:24 +00:00
Nick Roberts
b65a2dbf33 (gdb-goto-info): Require 'info.
(gdb-info-breakpoints-custom): Revert previous change.
(gdb-view-assembler): Update assembler if necessary.
(gdb-frame-handler): Parse correctly for gdb-current-frame.
(gdb-display-source-buffer): Update properly when both source and
assembler are visible.
2004-04-17 23:14:17 +00:00
Stefan Monnier
c02484a0f2 (python-compilation-line-number): Fix braindamage.
(python-load-file): Fix python-orig-start setting.
2004-04-16 23:36:13 +00:00
Stefan Monnier
6f5b76274c Doc fixes.
(compilation-error-regexp-alist-alist)
(compilation-mode-font-lock-keywords): Allow non-ASCII where possible.
(compilation-assq): Wrap in eval-when-compile.
(compilation-mode-font-lock-keywords): Don't use list*.
(compilation-start): Avoid warning.
(compilation-compat-error-properties)
(compilation-directory-properties): Add keymap property.
(compilation-parsing-end): Make it a marker for better compatibility.
2004-04-16 23:22:07 +00:00