1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 18:10:32 -08:00
Commit graph

574 commits

Author SHA1 Message Date
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
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