Daniel Pfeiffer
bb72b9d0b5
(grep-error-screen-columns): New variable.
...
(grep-regexp-alist): Give it the full functionality of gnu style compilation messages with line and column ranges. Ask me for the perl script I'm working on, that uses these.
2004-06-23 23:11:23 +00:00
Daniel Pfeiffer
186ac3d480
(grep-regexp-alist): Match columns and column ranges, if present.
2004-06-18 23:01:30 +00:00
Daniel Pfeiffer
c0090c20f8
(compilation-error-properties): Store one more than end-col, if present, so
...
that transient-mark-mode will highlight last char too.
2004-06-18 23:00:46 +00:00
Eli Zaretskii
cebe0988ca
(python-open-block-statement-p): Fix
...
indentation after a block opening that contains a comment.
2004-06-12 10:26:37 +00:00
Daniel Pfeiffer
b3ef54c5fa
(compilation-set-window-height): Rearrange the save-* functions because a buffer can have several current point in different windows.
...
(compilation-error-regexp-alist-alist): Recognize {standard input} GNU messages (for gcc --pipe) and more kinds of Oracle messages.
2004-06-08 21:36:37 +00:00
Nick Roberts
f2f82fa491
(gdb-current-frame, gud-watch)
...
(gdb-locals-mode, gdb-frame-handler): Display current frame in the
modeline of the locals buffer.
(gdb-goto-breakpoint): Handle gdbmi.
(gdb-get-frame-number): Change for gdbmi.
2004-05-30 00:09:37 +00:00
Miles Bader
e1b46e0cc0
Changes from arch/CVS synchronization
2004-05-29 21:02:20 +00:00
Eli Zaretskii
4bcbcb9df3
New file.
2004-05-29 12:55:24 +00:00
Stefan Monnier
eeb3ede408
(compilation-error-regexp-alist): Use expand-file-name and data-directory.
2004-05-28 21:11:41 +00:00
Stefan Monnier
f833e227cb
(grep-tree): Rework previous fix.
2004-05-28 21:07:47 +00:00
Nick Roberts
39043abb83
(gdb-var-update, gdb-var-update-handler, gdb-var-delete)
...
(gdb-edit-value, gdb-speedbar-expand-node): Handle new value for
gud-minor-mode (gdbmi).
2004-05-24 21:59:08 +00:00
Nick Roberts
9f438d8064
(gdb-breakpoints-mode, gdb-frames-mode)
...
(gdb-locals-mode): Check gud-minor-mode in gud-comint-buffer.
2004-05-24 18:14:13 +00:00
Nick Roberts
129adb6f35
(gud-menu-map, gud-speedbar-menu-items)
...
(gud-speedbar-buttons, gud-sentinel, gud-display-line)
(gud-basic-call): Handle new value for gud-minor-mode (gdbmi) for
a new mode. The file (gdb-mi.el) for this mode will be included
with the GDB distribution (6.2 onwards) and will use GDB/MI as its
primary interface.
2004-05-23 20:29:44 +00:00
Nick Roberts
2cec1d1ae4
(gdb-server-prefix): New variable.
...
(gud-watch, gdb-send-item, gdb-breakpoints-mode, gdb-frames-mode)
(gdb-locals-mode, gdb-send-item, gdb-toggle-breakpoint)
(gdb-delete-breakpoint, gdb-frames-select, gdb-threads-buffer)
(gdb-registers-buffer, gdb-reset, gdb-assembler-buffer): Handle
new value for gud-minor-mode (gdbmi).
(gdb-buffer-type, gdb-input-queue, gdb-prompting)
(gdb-output-sink, gdb-current-item, gdb-pending-triggers): Change
from local to global gdb variable set.
(gdb-ann3): Initialise above gdb variable set.
(gdb-var-update, gdb-var-update-handler, gdb-enqueue-input)
(gdb-dequeue-input, gdb-source, gdb-pre-prompt, gdb-prompt)
(gdb-subprompt, gdb-starting, gdb-stopping, gdb-frame-begin)
(gdb-stopped, gdb-post-prompt, gdb-concat-output)
(def-gdb-auto-update-trigger, def-gdb-auto-update-handler)
(gdb-info-locals-handler, gdb-invalidate-assembler)
(gdb-get-current-frame, gdb-frame-handler): Handle gdb variable
set as global variables.
(gdb-get-create-buffer): Don't make gud-comint buffer-local.
Handle gdbmi.
(gdb-info-breakpoints-custom): Fix regexp.
(def-gdb-var): Delete.
2004-05-23 20:28:47 +00:00
Jesper Harder
f5340e292c
(grep-tree): Ensure that DIR argument is
...
interpreted as a directory.
2004-05-23 19:08:48 +00:00
Richard M. Stallman
c2fb641564
Use assoc-string, not assoc-ignore-case.
2004-05-22 21:51:17 +00:00
Richard M. Stallman
fe93c80378
(idlwave-shell-get-object-class): Use assoc-string, not assoc-ignore-case.
2004-05-22 21:50:03 +00:00
Masatake YAMATO
46de1c5a15
(etags-tags-completion-table): Show parsing progress.
2004-05-21 08:36:46 +00:00
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