1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
Jason Rumney
ced3c1e229 (find-file-hook, auto-revert-tail-mode):
Use file size in bytes for auto-revert-tail-pos not characters.
2007-03-24 13:39:21 +00:00
Chong Yidong
534a87c49a (auto-revert-tail-handler): Call after-revert-hook. 2007-03-17 20:38:17 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Eli Zaretskii
415053a111 (global-auto-revert-non-file-buffers): Point Info links to the main manual,
not to emacs-xtra.
2006-05-06 14:38:07 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Richard M. Stallman
f373470deb (auto-revert-tail-mode): Use make-local-variable,
not make-variable-buffer-local.
2005-08-09 02:55:00 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Luc Teirlinck
33512cbeb1 (auto-revert-buffers): Use save-match-data. 2005-06-01 20:51:03 +00:00
Lute Kamstra
834b5c1e63 (auto-revert-mode): Specify :group. 2005-04-04 08:51:19 +00:00
Luc Teirlinck
f9478d4d2e (auto-revert-check-vc-info): Minor doc fix. 2005-03-27 03:07:38 +00:00
Luc Teirlinck
8a59305430 (auto-revert-stop-on-user-input): Doc fix. 2005-02-18 00:46:29 +00:00
Luc Teirlinck
6dbbc01d66 (auto-revert-stop-on-user-input): Further doc fix. 2005-02-17 00:58:19 +00:00
Luc Teirlinck
5433e5788e (auto-revert-stop-on-user-input): Doc fix. 2005-02-16 14:14:56 +00:00
Luc Teirlinck
6547d31354 (auto-revert-stop-on-user-input, auto-revert-verbose): Doc fixes. 2005-02-16 05:00:29 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Luc Teirlinck
d918508e05 (auto-revert-tail-handler): Put in undo boundaries. 2004-12-30 23:30:21 +00:00
Luc Teirlinck
9e559f9bda (auto-revert-tail-mode): Doc fix for defvar. 2004-12-30 03:01:28 +00:00
Luc Teirlinck
0a30670032 (auto-revert-tail-mode-text): Add :version keyword. 2004-10-30 20:30:31 +00:00
Richard M. Stallman
7ebc19f979 Comment change. 2004-10-19 16:49:51 +00:00
Luc Teirlinck
90e118abf2 (auto-revert-handler): Bind `buffer-read-only' locally around the call
to `revert-buffer'.
2004-09-03 22:28:10 +00:00
Luc Teirlinck
38f442c625 Add 2004 Copyright. 2004-07-24 15:40:09 +00:00
Luc Teirlinck
2d67776657 Describe Auto Revert Tail Mode' in Commentary' section.
(auto-revert-handler): Do not check `auto-revert-tail-mode' for
non-file buffers.  We know it is nil.
2004-07-17 20:55:57 +00:00
Daniel Pfeiffer
dddc748bec (auto-revert-tail-mode, auto-revert-tail-mode-text, auto-revert-tail-pos): New vars.
(auto-revert-mode): Turn off auto-revert-tail-mode, so we're not in both at the same time.
(auto-revert-tail-mode): New command.
(turn-on-auto-revert-tail-mode, auto-revert-tail-handler): New funs.
(auto-revert-handler): Revert only either tail or whole file.
2004-07-14 21:06:39 +00:00
Richard M. Stallman
d9e4328d52 (global-auto-revert-non-file-buffers): Doc fix. 2004-06-21 03:12:46 +00:00
Luc Teirlinck
9ae0d84f5a (global-auto-revert-non-file-buffers): Update docstring. 2004-06-19 00:36:39 +00:00
Luc Teirlinck
843c51ae4a (global-auto-revert-non-file-buffers): Add hyperlink to emacs-xtra
manual to docstring, as well as an info-link.
2004-06-15 22:03:33 +00:00
Luc Teirlinck
ae229809f7 Update `Commentary' section. 2004-05-30 21:46:34 +00:00
Luc Teirlinck
e7893b534c (auto-revert-handler): Disable auto-reverting of remote files. 2004-05-27 23:45:51 +00:00
Luc Teirlinck
1f41bcba72 (auto-revert-handler): If point (or a window point) is at the end of
the buffer, keep it there after reverting.  This allows to tail a file.
Mention this in the `Commentary'.
2004-04-05 01:09:37 +00:00
Luc Teirlinck
71c8db4cd5 Delete obsolete autoload's and defvar's.
(auto-revert-check-vc-info): New variable.
(auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
(auto-revert-handler-vc): Delete.
(auto-revert-handler): Treat return value `fast' of
buffer-stale-function specially.  Check `auto-revert-check-vc-info'.
2004-04-01 01:37:03 +00:00
Luc Teirlinck
d97c8375b8 (auto-revert-set-timer): Minor doc fix. 2004-03-28 14:02:48 +00:00
Luc Teirlinck
0e5dcfd7b5 (auto-revert-verbose, global-auto-revert-non-file-buffers)
(global-auto-revert-mode, auto-revert-set-timer)
(auto-revert-handler, auto-revert-buffers): Doc fixes.
2004-03-28 03:56:53 +00:00
Luc Teirlinck
c86afc19df (auto-revert-handler): Handle auto-revert-mode.
Call vc-find-file-hook here instead of in auto-revert-buffers.
(auto-revert-buffers): Delete call to vc-find-file-hook.
2004-03-28 01:39:49 +00:00
Luc Teirlinck
633e0363f9 (auto-revert-handler): Print revert message before, rather than after,
reverting.
(buffer-stale-function): Move to files.el.
2004-03-27 01:13:45 +00:00
Luc Teirlinck
d4411cef6e (global-auto-revert-non-file-buffers): Expand doc string.
(buffer-stale-function): New variable.
(auto-revert-list-diff, auto-revert-dired-file-list)
(auto-revert-dired-changed-p, auto-revert-buffer-p): Delete.
(auto-revert-handler): Take over some functionality of deleted functions.
(auto-revert-buffers): Delete call to auto-revert-buffer-p.
2004-03-23 05:24:55 +00:00
Luc Teirlinck
a2ac68f1ee (auto-revert-interval): Make new value take effect immediately when
set through Custom.
(auto-revert-set-timer): Add interactive declaration.
2004-03-21 00:30:12 +00:00
Luc Teirlinck
8a9825f74d (auto-revert-buffer-p): Only revert dired buffers if one of
global-auto-revert-non-file-buffers or autorevert-mode is non-nil.
2004-02-17 02:26:58 +00:00
Eli Zaretskii
4e664f62f0 Autorevert: Add support for VC controlled files.
(eval-when-compile): Defvar dired-directory and vc-mode.
(auto-revert-vc-cvs-file-version, auto-revert-vc-buffer-p)
(auto-revert-handler-vc): New functions.
2004-02-16 13:59:46 +00:00
Eli Zaretskii
0f98bc2350 (auto-revert-dired-file-list): added missing variable file' to let'.
(top level): Byte compiler fixes: defvar `dired-directory' added,
autoload `dired-get-filename' added.
2004-02-16 13:47:39 +00:00
Eli Zaretskii
ed35db71b4 Added support to detect changed dired buffers.
(auto-revert-active-p): New.
(auto-revert-list-diff): New.
(auto-revert-dired-file-list): New.
(auto-revert-dired-changed-p): New.
(auto-revert-handler): New.
(auto-revert-active-p): New.
(auto-revert-buffers): Moved logic to
`auto-revert-handler' and `auto-revert-active-p'
2004-02-16 13:12:21 +00:00
Eli Zaretskii
ad6600754d (auto-revert-interval): Doc fix. 2003-12-29 12:41:49 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Stefan Monnier
0e4f946891 (auto-revert-mode, global-auto-revert-mode):
Use define-minor-mode.
(auto-revert-buffers): Use with-current-buffer.
Avoid changing the minor modes.
2002-04-08 23:05:26 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
bf2150fa22 (global-auto-revert-non-file-buffers): Remove
duplicate defcustom.
2001-03-26 11:13:47 +00:00
Dave Love
6ea3b61f7e (global-auto-revert-mode): Add autoload cookie. 2000-02-02 13:55:46 +00:00
Gerd Moellmann
39d62e7a1f (auto-revert-mode): Return value of auto-revert-mode. 2000-01-04 21:29:59 +00:00
Gerd Moellmann
a468671afc (auto-revert-buffers): Auto-revert mode was turned
off when reverting buffers that contained mode specifiers.
`revert-buffer' is now called with non-nil PRESERVE-MODES
argument.
1999-12-01 16:22:27 +00:00
Gerd Moellmann
afa95caca6 (auto-revert-mode): Make auto-revert-mode permanent-local. 1999-10-19 13:29:18 +00:00