Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +00:00
Michael Olson
afa29d95ee
* saveplace.el: fix a typo in the commentary section.
...
Signed-off-by: Xavier Maillard <xma@gnu.org>
2008-03-23 22:03:11 +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
Karl Fogel
6054cc87fe
* lisp/saveplace.el (save-place-alist-to-file): Save with 'emacs-mule'
...
coding system. This ports 2007-12-02T21:15:22Z!kfogel@red-bean.com and 2007-12-02T21:24:38Z!kfogel@red-bean.com over to the
EMACS_22_BASE branch, but with the right coding system for Emacs 22
to reliably record filenames. Suggested by Eli Zaretskii.
2007-12-04 06:11:29 +00:00
Karl Fogel
bedb08d44f
* emacs-cvs/lisp/saveplace.el (save-place-quiet): Remove, reverting 2007-12-02T19:54:46Z!kfogel@red-bean.com.
...
(save-place-alist-to-file, load-save-place-alist-from-file): Don't
print non-error messages at all, there's really no need. Do print
if there's a problem, and clarify message in that case.
2007-12-03 21:37:30 +00:00
Karl Fogel
e1970249e4
* lisp/saveplace.el (save-place-alist-to-file): Set coding-system-for-write
...
once and refer to it throughout. Based on a patch by David Reitter
<dreitter{_AT_}inf.ed.ac.uk>.
2007-12-02 21:24:38 +00:00
Karl Fogel
82115f7bfc
* lisp/saveplace.el (save-place-alist-to-file): Use `utf-8' coding system
...
when writing, and set it in the first-line file variables.
Based on a patch by David Reitter <dreitter{_AT_}inf.ed.ac.uk> and a
suggestion by Juanma Barranquero.
2007-12-02 21:15:22 +00:00
Karl Fogel
dad9356322
Offer option for saveplace to be quiet about loading and saving.
...
Suggested by: David Reitter <dreitter{_AT_}inf.ed.ac.uk>
* lisp/saveplace.el (save-place-quiet): New customizable boolean.
(save-place-alist-to-file, load-save-place-alist-from-file): Use it
to determine whether to print loading/saving messages.
2007-12-02 19:54:46 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Romain Francoise
c7abb1824c
(load-save-place-alist-from-file): Use expanded name in both messages.
2006-09-16 18:22:01 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +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
Richard M. Stallman
cfde584f6d
(save-place-alist-to-file): Write the file using write-region.
2005-05-29 08:36:26 +00:00
Richard M. Stallman
06e24ef705
(save-place-to-alist): Use with-no-warnings.
2005-04-23 16:40:24 +00:00
Richard M. Stallman
6b98170fcf
(save-place-alist-to-file): Catch errors writing file.
2005-04-10 23:32:00 +00:00
Richard M. Stallman
c73dca2540
(save-place): Doc fix.
2004-11-16 17:11:00 +00:00
Karl Fogel
5f29a6c8cc
* saveplace.el (save-place-alist-to-file): Bind `print-length'
...
and `print-level' to nil when writing out `save-place-alist'.
Thanks to Kai Grossjohann <kai@emptydomain.de> for enlightenment.
2004-06-08 00:36:04 +00:00
Eli Zaretskii
467997b7f3
(save-place-forget-unreadable-files)
...
(save-place-save-skipped, save-place-skip-check-regexp): New defcustoms.
(save-place-forget-unreadable-files): New function.
(save-place-alist-to-file): Use it to filter out files that are
no longer readable.
2004-02-21 14:07:11 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Stefan Monnier
1a4914f340
Use find-file-hook instead of find-file-hooks.
2002-08-15 00:48:20 +00:00
Gerd Moellmann
d749f559b2
(save-place): Require `saveplace'.
2001-10-21 23:03:27 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Karl Fogel
19a448e357
Update maintainer email address.
2001-06-28 16:31:51 +00:00
Karl Fogel
939d701903
* saveplace.el (save-place-alist-to-file): Removed no-effect code
...
that inserted file content only to delete it immediately.
Probably a cut-and-paste bug. Thanks to Juanma Barranquero
<lektu@uol.com.br> for the patch.
2001-04-19 22:55:19 +00:00
Karl Heuer
a59f6ba35e
(save-place-to-alist): Optimize out the degenerate
...
case when point is 1.
1997-09-25 01:01:05 +00:00
Richard M. Stallman
a4ce5edeb5
(save-place-version-control): Make nil the default.
1997-09-25 00:53:39 +00:00
Richard M. Stallman
20606f3dac
Add defgroup; use defcustom for user vars.
1997-04-15 20:33:18 +00:00
Richard M. Stallman
91eac6dae8
(load-save-place-alist-from-file): Delete spurious t's.
1997-01-28 22:22:10 +00:00
Richard M. Stallman
6f96f4c9e7
Undo previous change.
...
Delete the version number entirely;
fix up whitespace that was changed before.
1996-05-08 20:37:19 +00:00
Karl Fogel
cf3a09b258
Merged cosmetic differences between FSF version and local copy. In
...
the future, diffmon will make this unnecessary.
(save-place-version): new var; init to 1.4.
(save-place-limit): init to nil.
1996-05-08 20:02:29 +00:00
Richard M. Stallman
18b1fecd4a
(save-place-kill-emacs-hook): Always call save-places-to-alist.
1996-03-06 06:28:39 +00:00
Richard M. Stallman
52b9a93170
(save-place-kill-emacs-hook): Don't save
...
if we never loaded the save-place-file.
1996-03-05 04:22:25 +00:00
Karl Heuer
44a75d487a
(toggle-save-place): Fix message text.
1996-01-25 06:19:47 +00:00
Karl Heuer
b483a3c1bc
(toggle-save-place, save-place-alist-to-file, load-save-place-alist-from-file): Delete format call inside message.
1996-01-25 01:03:10 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
0d448e33d4
(save-place-file): Use convert-standard-filename.
1996-01-01 23:41:30 +00:00
Richard M. Stallman
6cf025703d
(save-place-limit): New variable.
...
(load-save-place-alist-from-file): Obey it.
Fix "done" message.
(save-place-alist-to-file): Fix "done" message.
1995-11-30 00:51:26 +00:00
Richard M. Stallman
19d0c48ab7
(save-place-to-alist): Handle hexl-mode specially.
1995-11-20 05:39:19 +00:00
Richard M. Stallman
47c5a4719a
(save-place-find-file-hook): Check after-find-file-from-revert-buffer.
1994-09-06 02:16:33 +00:00
Richard M. Stallman
4d2c9a1076
(save-place-kill-emacs-hook): Fix typo.
1994-04-14 12:04:19 +00:00
Richard M. Stallman
b6ace92757
(save-place-find-file-hook, save-place-kill-emacs-hook): New functions.
...
(hooks for find-file-hooks,kill-emacs-hook): Use those new functions.
1994-04-06 05:04:40 +00:00
Richard M. Stallman
e7dc77f65f
(save-place-version-control): New var, for determining
...
how to back up the master saved-places file.
(save-place-alist-to-file): Bind version-control depending on
`save-place-version-control'.
(hook for find-file-hooks): Specify the APPEND arg to add-hook.
1994-04-04 01:05:07 +00:00
Richard M. Stallman
722074ef87
entered into RCS
1993-08-13 01:08:54 +00:00