1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
aa657fbff9 (auto-revert-buffers): Use buffer-live-p. 2008-03-26 02:38:15 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
David Kastrup
fdc31e1d38 (auto-revert-handler): In `auto-revert-tail-mode',
check only for changed size.
(auto-revert-tail-handler): Get size from caller.  If the file has
shrunk, tail the whole file again (the file presumably has been
rewritten).
2007-09-30 20:26:55 +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
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Glenn Morris
b1ab8c3810 (auto-revert-tail-mode): auto-revert-tail-pos is zero, not nil, when
the library is first loaded.  Check for a file that has been modified
on disk.
2007-08-04 02:35:10 +00:00
Glenn Morris
0917bb33fd (auto-revert-tail-mode): auto-revert-tail-pos is zero, not nil, when
the library is first loaded.  Check for a file that has been modified
on disk.
2007-08-04 02:31:52 +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
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Stefan Monnier
ddd7c23854 (auto-revert-tail-handler): Use inhibit-read-only.
Run before-revert-hook.  Suggested by Denis Bueno <denbuen@sandia.gov>.
Use run-hooks rather than run-mode-hooks.
2007-07-06 12:58:16 +00:00
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