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

466 Commits

Author SHA1 Message Date
Mark A. Hershberger
fa2a4e7dac add php error regex for compile mode 2008-02-13 22:26:33 +00:00
Juri Linkov
78dc87a23f (compilation-auto-jump): Call
compile-goto-error only when compilation-auto-jump-to-first-error
is non-nil.
(compilation-scroll-output): Replace :type 'boolean with a choice
that has three options including a third option `first-error'.
Doc fix.
(compilation-start, compilation-forget-errors): Add an alternate
condition comparing compilation-scroll-output with `first-error'
in addition to compilation-auto-jump-to-first-error (to call
compilation-auto-jump in the proper place).
2008-02-12 23:41:59 +00:00
Glenn Morris
3dc4febd47 (compilation-error-regexp-alist-alist): Shorten some names. 2008-02-11 04:11:00 +00:00
Stefan Monnier
250962b3d8 (compilation-next-error): Add clarifying comment. 2008-02-10 03:16:06 +00:00
Stefan Monnier
db0095e0f8 (compilation-error-regexp-alist-alist):
Accept "fatal error" from MSFT.
Reported by Jared Finder <jfinder@crypticstudios.com>.
2008-01-14 15:41:34 +00:00
Glenn Morris
01f179de33 Kevin Ryde <user42 at zip.com.au>:
(compilation-error-regexp-alist-alist): Add entry for two-arg form of
the Test module ok() func.
2008-01-08 08:03:25 +00:00
Glenn Morris
049dcb6f8c Kevin Ryde <user42 at zip.com.au>
(compilation-error-regexp-alist-alist): For perl, allow "during global
destruction" at end.
2008-01-08 07:53:53 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
2d0a22f826 (compilation-start): Set initial visible point properly even when
compilation buffer already current.
2007-12-27 03:31:20 +00:00
Glenn Morris
c34dc850ce John J Foerch <jjfoerch at earthlink.net> (tiny change)
(compilation-start): Don't pass a FRAME argument to display-buffer.
2007-12-19 02:54:53 +00:00
Vinicius Jose Latorre
ddab770590 Insert patterns from compilation-perl.el and compilation-weblint.el files. 2007-11-12 18:29:05 +00:00
Dan Nicolaescu
975460179e * term/x-win.el (x-gtk-stock-map, icon-map-list)
(x-gtk-map-stock): Delete duplicated definitions from merge.

* progmodes/octave-mod.el: Require octave-inf at compile time

* progmodes/compile.el (compilation-skip-to-next-location)
(compilation-skip-threshold, compilation-skip-visited): Move
definitions earlier.

* play/zone.el (zone-fall-through-ws):
* play/landmark.el (lm-move-down, lm-move-up):
* play/handwrite.el (handwrite):
* mail/mspools.el (mspools-visit-spool):
* wdired.el (wdired-next-line, wdired-previous-line):
* tar-mode.el (tar-subfile-save-buffer):
* scroll-lock.el (scroll-lock-next-line)
(scroll-lock-previous-line):
* image-dired.el (image-dired-next-line)
(image-dired-previous-line):
* ediff-help.el (ediff-help-message-line-length): Use
forward-line.

* smerge-mode.el (smerge-auto-refine):
* diff-mode.el (diff-auto-refine): Add :group.

* play/yow.el: Require doctor at compile time.

* vmsproc.el: Provide vmsproc.
(command-send-input): Use forward-line.

* vms-patch.el: Require ps-print and vmsproc at compile time.

* vc-mtn.el (log-view-message-re, log-view-file-re)
(log-view-font-lock-keywords): Pacify byte-compiler.

* vc-hg.el: Require log-view at compile time.
2007-10-20 06:30:18 +00:00
Stefan Monnier
7704151348 (compilation-next-error-function): Fix timestamp
handling, so compilation-fake-loc works again.
2007-10-17 16:24:33 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Stefan Monnier
d40a86f9f6 (compilation-error-regexp-alist-alist):
Recognize gcc's use of "note" for informational messages.
2007-09-20 18:56:19 +00:00
Stefan Monnier
34a9bf20b0 (compilation-get-file-structure): Complete last
change by also using spec-directory in the puthash.
2007-09-07 03:48:30 +00:00
Glenn Morris
e68b184130 (compilation-get-file-structure): Make use of the directory part when
checking for an existing entry, to handle files with same basename in
different directories.
2007-08-17 07:17:45 +00:00
Glenn Morris
912651fc0c (compilation-get-file-structure): Make use of the directory part when
checking for an existing entry, to handle files with same basename in
different directories.
2007-08-17 07:16:17 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
be94710170 (compilation-buffer-name): Don't check compilation-arguments. It is
superfluous, and the variable isn't even set when this function is
called.
2007-08-11 03:02:05 +00:00
Martin Rudalics
0dad3dfecc (compilation-set-window-height): Use window-full-width-p instead of
comparing frame-width and window-width.
(compilation-find-buffer): Remove extra
argument in call to compilation-buffer-internal-p.
2007-08-08 05:57:54 +00:00
Sam Steingold
c94d5f81aa (compilation-start): Pass nil as startfile to comint-exec. 2007-08-07 20:10:15 +00:00
Miles Bader
0896d93184 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 84-87)

   - Update from CVS
   - Change capitalization of VC backend names for new backends

2007-08-02  Richard M. Stallman  <rms@gnu.org>

   * lisp/mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
   to update deleted flag.

   * lisp/cus-edit.el (customize-apropos, customize-apropos-options)
   (customize-apropos-faces, customize-apropos-groups): Improve prompt.

   * lisp/menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.

   * lisp/startup.el (fancy-splash-head, startup-echo-area-message):
   Change message text.

   * lisp/emulation/tpu-edt.el (next-line-internal): Setting deleted.
   All callers use line-move.

   * lisp/progmodes/compile.el (compilation-find-buffer): Return current
   buffer immediately if suitable.
   (compile, compilation-buffer-name, compilation-start): Doc fixes.

2007-07-31  Daiki Ueno  <ueno@unixuser.org>

   * lisp/faces.el (face-normalize-spec): New function.
   (frame-set-background-mode): Normalize face-spec before calling
   face-spec-match-p.

2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>

   * lisp/server.el (server-window): Add switch-to-buffer-other-frame option.

2007-08-03  Richard M. Stallman  <rms@gnu.org>

   * src/fileio.c (Fvisited_file_modtime): Use make_time.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-844
2007-08-03 05:49:59 +00:00
Richard M. Stallman
7d1dad0cbd (compilation-find-buffer): Return current buffer immediately if suitable.
(compile, compilation-buffer-name, compilation-start): Doc fixes.
2007-08-02 17:40:54 +00:00
Stefan Monnier
b956d64f80 (compilation-forget-errors): Reset compilation-auto-jump-to-next. 2007-07-30 17:38:24 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Stefan Monnier
bffa781718 (compilation-error-regexp-alist-alist): Add support for the Maden build tool. 2007-07-25 04:32:23 +00:00
Glenn Morris
1a484753b2 Switch license to GPLv3 or later. 2007-07-25 04:29:40 +00:00
Michael Albinus
a9e1158273 * subr.el (start-file-process-shell-command)
(process-file-shell-command): New defuns.

* progmodes/compile.el (compilation-start): Apply
`start-file-process-shell-command'.
2007-07-24 20:49:18 +00:00
Dan Nicolaescu
765831a074 (compilation-auto-jump-to-first-error): Add
group and version.
2007-07-20 20:25:32 +00:00
Stefan Monnier
091525d5d7 (compilation-start): Remember the original directory in a buffer-local
compilation-directory.
(compile): Set the global value of compilation-directory.
(recompile): Use compilation-directory even if run from the compilation buffer.
2007-07-20 18:54:57 +00:00
Michael Albinus
db8af97395 * progmodes/compile.el (compilation-start): `start-process' must
still be redefined when calling `start-process-shell-command'.

* progmodes/gud.el (gud-file-name): When `default-directory' is a
remote file name, prepend its remote part to the filename.
(gud-common-init): When `default-directory' is a remote file name,
make the filename relative to it.
Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
2007-07-11 19:38:21 +00:00
Michael Albinus
4b29e550e6 * comint.el (make-comint, make-comint-in-buffer)
(comint-exec-1): Replace `start-process' by `start-file-process'.

* progmodes/compile.el (compilation-start): Revert redefining
`start-process'.
2007-07-10 19:52:11 +00:00
Stefan Monnier
813fb3fe82 (compilation-auto-jump-to-first-error,compilation-auto-jump-to-next): New vars.
(compilation-auto-jump): New function.
(compilation-error-properties): Use them to jump to first error.
(compilation-start): Set the var if requested.
2007-07-10 16:01:25 +00:00
Michael Albinus
00d6fd04d8 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
* net/tramp.el:
* net/tramp-ftp.el:
* net/tramp-smb.el:
* net/tramp-uu.el:
* net/trampver.el: Migrate to Tramp 2.1.

* net/tramp-cache.el:
* net/tramp-fish.el:
* net/tramp-gw.el: New Tramp packages.

* net/tramp-util.el:
* net/tramp-vc.el: Removed.

* net/ange-ftp.el: Add ange-ftp property to 'start-file-process
(ange-ftp-file-remote-p): Handle optional parameter CONNECTED.

* net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.

* progmodes/compile.el (compilation-start): Redefine
`start-process' temporarily when `default-directory' is remote.
Remove case of synchronous compilation, this won't happen ever.
(compilation-setup): Make local variable `comint-file-name-prefix'
for remote compilation.
2007-07-08 18:03:20 +00:00
Juanma Barranquero
071d2f097c (compilation-find-file, compilation-handle-exit): Fix typos in docstrings.
(compilation-search-path, compilation-buffer-name-function): Doc fixes.
(compilation-finish-function): Fix typo in obsolescence declaration.
2007-06-04 22:53:06 +00:00
Juanma Barranquero
f441be5b59 (compilation-find-file, compilation-handle-exit): Fix typos in docstrings.
(compilation-search-path, compilation-buffer-name-function): Doc fixes.
(compilation-finish-function): Fix typo in obsolescence declaration.
2007-06-04 01:36:30 +00:00
Sam Steingold
b84acff63c Add TIMESTAMP to LOC to handle "incremental compilation", e.g.,
with `omake -P': the compilation process never terminates and
automatically recompiles modified files.
2007-06-03 18:56:15 +00:00
Glenn Morris
c96e025abb Nikolaj Schumacher <n_schumacher at web.de> (tiny change)
(compilation-handle-exit): `compilation-finish-function' may change
the current buffer.
2007-05-23 08:12:59 +00:00
Glenn Morris
bd40f902ad Nikolaj Schumacher <n_schumacher at web.de> (tiny change)
(compilation-handle-exit): `compilation-finish-function' may change
the current buffer.
2007-05-23 08:09:37 +00:00
Juanma Barranquero
7883a44f5a (compilation-handle-exit): Quote first argument of `run-hook-with-args'. 2007-05-16 15:46:07 +00:00
Juanma Barranquero
7dbf4670d9 (compilation-handle-exit): Quote first argument of `run-hook-with-args'. 2007-05-16 15:37:45 +00:00
Miles Bader
68380acf41 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 13)

   - Update from CVS

2007-05-10  Richard M. Stallman  <rms@gnu.org>

   * lisp/international/iso-cvt.el (iso-cvt-read-only): Ignore arguments.
   (iso-cvt-write-only): Likewise.

   * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
   Fix generated doc string.

   * lisp/startup.el (fancy-splash-text): Add URL of guided tour.
   Adjust horizontal and vertical whitespace.

   * lisp/progmodes/compile.el (compilation-handle-exit):
   Use run-hook-with-args to run compilation-finish-functions.

   * lisp/files.el (file-start-mode-alist): New variable.
   (magic-mode-regexp-match-limit): Doc fix.
   (set-auto-mode): Handle file-start-mode-alist.
   A little cleanup of structure.

2007-05-10  Richard M. Stallman  <rms@gnu.org>

   * lispref/keymaps.texi (Scanning Keymaps): Update where-is-internal example.

   * lispref/help.texi (Keys in Documentation): Add reference to
   Documentation Tips.

   * lispref/files.texi (Format Conversion): TO-FN gets three arguments.

   * lispref/modes.texi (Auto Major Mode): Document file-start-mode-alist.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-743
2007-05-11 04:44:30 +00:00
Richard M. Stallman
e5a7834f45 (compilation-handle-exit):
Use run-hook-with-args to run compilation-finish-functions.
2007-05-10 16:10:27 +00:00
Stefan Monnier
44038dc83b (compilation-find-file): Add a big comment. 2007-05-08 16:02:14 +00:00
Chong Yidong
4b025f4758 Revert 2007-03-25 change. 2007-04-13 15:09:37 +00:00
Nick Roberts
5ae4899796 Change help-echo (again). `Entering directory DIR' visits DIR
but `Leaving directory DIR' visits parent of DIR.
2007-03-26 10:20:27 +00:00
Chong Yidong
98d4c36f4c (compilation-start): Save compilation-directory rather than
default-directory as local var.
(compilation-directory): Mark as safe local var.
2007-03-25 17:52:31 +00:00
Nick Roberts
82a614d15d (compilation-find-file): Revert change
from 2006-07-18 to allow completion of directory names.
Reported by John Carter <john.carter@tait.co.nz>.
2007-03-18 02:49:54 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00