Commit graph

512 commits

Author SHA1 Message Date
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
Romain Francoise
942c40e3e3 (compile-goto-error): Delete extra paren. 2005-10-02 11:07:01 +00:00
Richard M. Stallman
ae0cc840ad (compilation-buffer-name): New arg MODE-COMMAND.
(compilation-start): Pass new arg to compilation-buffer-name.
(compile-goto-error): Use next-error-internal.
2005-10-02 03:33:18 +00:00
Juri Linkov
da7422052c (compilation-error, compilation-warning)
(compilation-info, compilation-line-number, compilation-column-number):
Change group from `font-lock-highlighting-faces' to `compilation'.
2005-09-29 22:57:28 +00:00
Richard M. Stallman
f0685ed1d4 (compilation-error-properties): When getting the file from the
previous error message, correctly decode the new data format.
2005-09-26 00:01:27 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Richard M. Stallman
7957baeaaf Don't decide a file's directory
until the user actually tries to go there.
(compilation-next-error-function):
Pass compilation-find-file the directory from the file-struct.
(compilation-internal-error-properties): Separate local FILE-STRUCT
from FILE.  Doc the args better.  Rename arg FMT to FMTS.
(compilation-find-file): Arg DIR renamed to DIRECTORY.
Expand it, and if nil, use default-directory.
(compilation-get-file-structure): Don't mix specified directory
with default directory.  Put specified directory into
file-struct.  Don't make the file name absolute.

(compilation-error-regexp-alist): Doc fix.
(compile-command): Add autoload.
(compilation-disable-input): Add autoload.
2005-09-12 05:01:06 +00:00
Stefan Monnier
7bbbd31fed (compilation-goto-locus): Take into account
iconified frames when determining whether the buffer is already visible.
Don't reset window height if the window already existed.
2005-09-05 15:43:22 +00:00
Stefan Monnier
32eb2c08bc (compilation-start): Ignore errors if the process died before we send eof. 2005-09-02 18:37:55 +00:00
Juanma Barranquero
e623859c96 (font-lock-extra-managed-props, font-lock-keywords, font-lock-maximum-size,
font-lock-support-mode): Add defvars.
2005-08-30 10:39:41 +00:00
Romain Francoise
a24c45d2bd * progmodes/compile.el (compilation-start): Add autoload cookie.
* progmodes/antlr-mode.el: Don't autoload `compilation-start'.
* textmodes/sgml-mode.el: Likewise.
* progmodes/python.el: Likewise.
2005-08-27 14:38:22 +00:00
Romain Francoise
5b317d7498 (compilation-start): Doc fix. 2005-08-26 18:07:25 +00:00
Juri Linkov
bac3a1c9b7 (compilation-disable-input): Doc fix.
(define-compilation-mode): Doc fix and refill.
(kill-compilation): Use `mode-name' in the error message.
(compilation-find-file): Use `compilation-error' in the
read-file-name's prompt.
2005-08-22 19:55:57 +00:00
Richard M. Stallman
93ef35e404 (compilation-disable-input): Default to nil. 2005-08-20 21:47:06 +00:00
Eli Zaretskii
3fa37cd13c (compilation-disable-input): New defcustom.
(compilation-start): If compilation-disable-input is non-nil, send EOF to
the compilation process.
2005-08-20 12:14:24 +00:00
Dan Nicolaescu
e95e5f8193 * mh-customize.el: Do not use face-alias compatibility for
faces that did not appear in the previous Emacs release.

* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +00:00
Juri Linkov
314b410b7e (compilation-mode-font-lock-keywords):
Remove highlighting of "Compilation started".  Highlight only
the word "finished" in "Compilation finished".  Add highlighting
of "interrupt", "killed", "terminated" and the exit code.
(compilation-start): Add newline after header.  Use exactly the
same time stamp format as the finishing message.
(compilation-mode-map): Add ellipsis to "Search Files (grep)".
2005-08-14 06:51:49 +00:00
Eli Zaretskii
a67e5425b3 (compilation-start): Add the line "Compilation started" with compilation
start time.
(compilation-mode-font-lock-keywords): Add `started' to keywords.
2005-08-12 10:18:02 +00:00
Juri Linkov
38dbf92be6 (compilation-mode-font-lock-keywords):
Remove `-text' from face variable names.
(compilation-error-file-name, compilation-warning-file-name)
(compilation-info-file-name): Delete faces.
(compilation-line-number, compilation-column-number):
Remove face underlining.
(compilation-message-face): Set to `underline' value by default.
(compilation-error-face, compilation-warning-face)
(compilation-info-face): Remove `-file-name' from face names.
(compilation-error-text-face, compilation-warning-text-face)
(compilation-info-text-face): Delete face variables.
(compilation-text-face): Delete function.
2005-08-09 21:34:40 +00:00
Juri Linkov
fa947ef393 (compilation-mode-font-lock-keywords):
Use `compilation-text-face', `compilation-info-text-face' and
`compilation-error-text-face' instead of `font-lock-keyword-face'.
(compilation-error): New face.
(compilation-error-file-name): Inherit from
`compilation-error' instead of `font-lock-warning-face'.
(compilation-warning-file-name): Inherit from
`compilation-warning' instead of `font-lock-warning-face'.
(compilation-info, compilation-error-file-name)
(compilation-warning-file-name, compilation-info-file-name)
(compilation-line-number, compilation-column-number): Doc fix.
(compilation-error-text-face, compilation-warning-text-face)
(compilation-info-text-face): New face variables.
(compilation-line-face, compilation-column-face)
(compilation-enter-directory-face)
(compilation-leave-directory-face): Doc fix.
(compilation-text-face): New function.
2005-08-06 01:10:09 +00:00
Juri Linkov
70fec115d4 (compilation-mode-map): Bind TAB to `compilation-next-error'
and [backtab] to `compilation-previous-error'.
2005-08-04 01:36:10 +00:00
Nick Roberts
034babe1e1 Update copyright for release of 22.1 for progmodes directory. 2005-08-01 08:43:45 +00:00
Richard M. Stallman
3bec7ffe70 (compilation-mode-font-lock-keywords):
Don't use compilation-...-face for messages that are not file names.
2005-07-23 22:11:30 +00:00
Juri Linkov
2894bd96e0 (compilation-mode-hook, compilation-mode): Doc fix. 2005-07-09 20:45:26 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Richard M. Stallman
a5f1c37e51 (compilation-next-error-function):
Don't switch buffers; operate on the current buffer.
2005-06-28 18:57:00 +00:00