1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 16:40:45 -08:00
Commit graph

537 commits

Author SHA1 Message Date
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
Daniel Pfeiffer
250540cd0f Add handling for makepplog. 2007-01-19 23:06:10 +00:00
Chong Yidong
060d5dc139 (compilation-loop): New arg limit. Handle case where the first error
is at point-min.
(compilation-next-error): New arg to compilation-loop call.
2007-01-19 02:25:48 +00:00
Richard M. Stallman
8f72171b5b (compile): Doc fix. 2007-01-09 03:12:53 +00:00
Juanma Barranquero
4fffd73b30 Space/tab mixup. 2006-11-24 11:22:05 +00:00
Chong Yidong
e725507a30 (compilation-start): Set EMACS and INSIDE_EMACS to t. 2006-11-18 21:01:11 +00:00
Glenn Morris
434520fa3d (compilation-directory-matcher): Improve previous doc fix. 2006-11-11 04:01:58 +00:00
Glenn Morris
14b6e3bb48 (compilation-directory-matcher): Doc fix (Nil -> nil). 2006-11-10 09:10:58 +00:00
Richard M. Stallman
63522e3ade (compilation-goto-locus-delete-o): New fn.
(compilation-goto-locus): Use compilation-goto-locus-delete-o
to delete the overlay.  Put it on pre-command-hook.
2006-09-24 20:42:08 +00:00
Chong Yidong
d25593b77e * progmodes/compile.el (compilation-error-regexp-alist-alist):
Disallow filenames containing " -" to avoid confusion with libtool
	compilation messages.
2006-09-15 15:37:58 +00:00
Paul Eggert
4b1aaa8b07 * etc/NEWS: In terminal-oriented subshells, the EMACS environment
variable now defaults to Emacs's absolute file name, instead of
to "t".
* etc/PROBLEMS: Adjust tcsh advice for this.
* make-dist (EMACS): Exit and fail if the EMACS environment
variable is set to something other than an absolute file name.
* lisp/comint.el (comint-exec-1): Set EMACS to the full name of Emacs,
not to "t".
* lisp/progmodes/compile.el (compilation-start): Likewise.
* lisp/progmodes/idlwave.el (idlwave-rescan-asynchronously):
Don't use expand-file-name on invocation-directory, since this
might mishandle special characters in invocation-directory.
* man/faq.texi (Escape sequences in shell output): EMACS is now set
to Emacs's absolute file name, not to "t".
(^M in the shell buffer): Likewise.
* man/misc.texi (Interactive Shell): Likewise.
2006-09-12 16:43:25 +00:00
Nick Roberts
ee9812b1fe (compilation-directory-properties):
Doc fix for help-echo.
2006-09-12 10:00:38 +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
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
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
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
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
Romain Francoise
47f9708416 (compilation-mode-font-lock-keywords): Don't highlight start/end markers
as compilation messages.
2006-07-09 15:17:05 +00:00
Stefan Monnier
8decc87fd4 (compilation-error-regexp-alist-alist) <gnu>:
Use shy regexp.  Fix incorrect backref to potentially unmatched group.
2006-07-07 15:17:35 +00:00
Masatake YAMATO
eb3d96092a (compilation-error-regexp-alist-alist::gcov-*): Almost rewrite. Underlines over all lines of gcov output are too uncomfortable to read. 2006-06-02 02:38:53 +00:00
Masatake YAMATO
206e215ecd (compilation-error-regexp-alist-alist::gcov-called-line):
Don't put face on `-' lines in gcov file. Suggested by Dan Nicolaescu.
2006-05-31 07:21:10 +00:00
Daniel Pfeiffer
d14fd70ce9 (compilation-error-regexp-alist-alist): Add makepp diagnostic. 2006-05-30 07:02:00 +00:00
Reiner Steib
631c8020a5 Move `safe-local-variable' declarations to the respective files. 2006-05-11 15:01:41 +00:00
Richard M. Stallman
f4beca066c (compilation-message-face): Make it defcustom. 2006-04-02 20:21:11 +00:00
Nick Roberts
d91362c9e0 Update copyright for 2006. 2006-02-10 09:00:31 +00:00
Richard M. Stallman
4aede2f281 (compilation-error-regexp-alist): Doc fix. 2005-12-12 05:11:08 +00:00
Chong Yidong
49d11c492a * progmodes/compile.el (compilation-setup): Fix last fix. 2005-11-25 22:07:00 +00:00
Chong Yidong
963b20402d * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
Use define-minor-mode, and make it a local mode.
	(hi-lock-mode): New global minor mode.
	(turn-on-hi-lock-if-enabled): New function.
	(hi-lock-line-face-buffer, hi-lock-face-buffer)
	(hi-lock-set-pattern): Changed arguments to regexp and face
	instead of a font-lock pattern.  Directly set face property,
	instead of refontifying.
	(hi-lock-font-lock-hook): Check if font-lock is being turned on.
	(hi-lock-find-patterns): Use line-number-at-pos.

	(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode.  Use new
	arguments for hi-lock-set-pattern.
	(hi-lock-find-file-hook, hi-lock-current-line)
	(hi-lock-set-patterns): Deleted unused functions.

	* progmodes/compile.el (compilation-setup): Don't fiddle with
	font-lock-defaults.
2005-11-24 20:52:16 +00:00
Richard M. Stallman
8dfb3e1610 (compilation-internal-error-properties):
save-excursion around the computation of MARKER.
2005-11-07 00:49:17 +00:00
Stefan Monnier
e5456e7318 (compilation-goto-locus): Display the
compilation buffer first and the source buffer second, in case they're
in overlapping frames.  Don't raise the compilation frame if it was the
selected window upon entry.  Pass the `other-window' arg to
pop-to-buffer.
2005-10-16 14:12:50 +00:00