1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Eli Zaretskii
cceff8d6ea (desktop-save): Insert the coding: tag before desktop-header. 2001-08-13 10:37:02 +00:00
Gerd Moellmann
14d8c7f0c9 (desktop-save): Don't use concat to form a file
name, use expand-file-name.
2001-08-09 15:50:09 +00:00
Gerd Moellmann
7642acca1e (desktop-save): Bind coding-system-for-write to
`emacs-mule' for write-region.
2001-07-31 14:04:50 +00:00
Gerd Moellmann
291e3b68cf (desktop-save): Add `-*- coding: emacs-mule -*-' to
the desktop file.
2001-07-30 06:23:47 +00:00
John Wiegley
b6b70cda7c Added extensible special buffer support to desktop.el. See the
ChangeLog.
2000-10-13 09:11:16 +00:00
Stefan Monnier
80f9f3db87 (desktop-modes-not-to-save): New var.
(desktop-save-buffer-p): Use it.
Also, obey desktop-buffers-not-to-save even for non-file buffers.
(desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2000-10-10 16:42:37 +00:00
Eli Zaretskii
69db7ee70f (desktop-save): Don't look at symbol-value of a
member of minor-mode-alist, unless it is boundp.
2000-08-16 18:19:47 +00:00
Gerd Moellmann
4764024483 (desktop-save): Save list of minor modes.
(desktop-create-buffer): Restore minor modes.
(desktop-minor-mode-table): New user-option.
2000-04-26 17:33:02 +00:00
Dave Love
3ea96cacd5 Fix keywords comment. 2000-02-02 14:05:36 +00:00
Karl Heuer
201006c436 (desktop-save, desktop-create-buffer): Undo 10-22 change. 1998-11-11 19:31:24 +00:00
Richard M. Stallman
581bba23d4 (desktop-buffer-dired): Use dired-maybe-insert-subdir. 1998-10-26 05:00:27 +00:00
Thien-Thi Nguyen
7c3d2af256 (desktop-create-buffer): Handle old (broken) minor mode support. 1998-10-22 06:44:53 +00:00
Thien-Thi Nguyen
9e265777d9 (desktop-save, desktop-create-buffer): Handle all minor modes. 1998-10-20 19:38:09 +00:00
Dan Nicolaescu
cd32a7baa4 *** empty log message *** 1998-04-20 02:34:53 +00:00
Richard M. Stallman
608b9ed2e4 (desktop-buffer-info, desktop-buffer-rmail)
(desktop-buffer-mh, desktop-buffer-dired, desktop-buffer-file):
Return the buffer produced.
(desktop-create-buffer): Use the buffer that was returned.
1998-03-30 04:29:36 +00:00
Richard M. Stallman
478653c95d (desktop-load-default): Add autoload cookie.
(desktop-read): Likewise.
1998-03-28 07:32:50 +00:00
Richard M. Stallman
2f348ca38c (desktop-clear): Don't kill dead buffers. 1998-01-26 03:09:01 +00:00
Richard M. Stallman
813dbb2d58 (desktop-enable): New variable.
(after-init-hook): Add a hook to test desktop-enable.
(desktop-save-hook): Doc fix.
1997-12-29 20:58:19 +00:00
Richard M. Stallman
f9be457422 (desktop-clear-preserve-buffers): New variable.
(desktop-clear): Kill all buffers except internal ones
and those listed in desktop-clear-preserve-buffers.
1997-07-04 00:13:36 +00:00
Richard M. Stallman
21f521c0db (desktop-clear): Don't kill buffers here. 1997-07-02 03:37:27 +00:00
Richard M. Stallman
bbf5eb2805 Add defgroup's; use defcustom for user vars. 1997-04-12 03:18:33 +00:00
Richard M. Stallman
481d6f8707 (desktop-missing-file-warning): Make the default nil. 1997-03-22 03:36:37 +00:00
Richard M. Stallman
fc71550113 (desktop-basefilename): Use convert-standard-filename. 1996-09-01 19:04:28 +00:00
Richard M. Stallman
2699e23efe Global var `misc' renamed.
(desktop-buffer-misc): Renamed from misc.  Add defvar.
1996-03-05 16:42:06 +00:00
Richard M. Stallman
569c754ea9 Global vars mam, fn, bn renamed.
(desktop-buffer-major-mode): Renamed from mam.  Add defvar.
(desktop-buffer-file-name): Renamed from fn.  Add defvar.
(desktop-buffer-name): Renamed from bn.  Add defvar.
(desktop-create-buffer, desktop-buffer): Use new names.
1996-03-05 16:37:03 +00:00
Richard M. Stallman
ed2f7fc80b (desktop-list*): New function.
(desktop-internal-v2s): Generate output using desktop-list*.
1996-03-05 04:22:44 +00:00
Richard M. Stallman
253406b97a (desktop-read): Do nothing in batch mode.
Clear desktop-delay-hook after use.  Simplify.
1996-01-14 23:24:40 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Richard M. Stallman
0e7c861135 (desktop-outvar): Support truncation.
(desktop-globals-to-save): Doc fix.
1995-10-08 19:37:04 +00:00
Richard M. Stallman
f4c73d078f (desktop-save): Use dired-directory as name
of top-level in order to capture wildcards used.
(desktop-buffer-dired): Skip possible wildcard when checking
for directory existance.  Use dired-insert-subdir, not
dired-maybe-insert-subdir.
1995-04-06 20:05:39 +00:00
Richard M. Stallman
95bf6435fc (desktop-internal-v2s): Don't use format to eliminate text properties. 1995-02-17 23:22:51 +00:00
Richard M. Stallman
577ed2b24d Many doc fixes. 1995-01-30 06:14:33 +00:00
Richard M. Stallman
4a091f2a34 (desktop-basefilename): Use emacs.dsk on windows-nt. 1994-11-01 05:46:57 +00:00
Richard M. Stallman
e2247420b1 (desktop-internal-v2s): Remove all text properties from strings. 1994-10-13 21:47:50 +00:00
Richard M. Stallman
e36d00d496 (desktop-buffer-rmail): Handle the situation
where the RMAIL file is locked, mail is waiting, and the
user selects `quit' gracefully.
1994-07-06 19:45:38 +00:00
Karl Heuer
fa37963643 (desktop-files-not-to-save): New variable to exclude certain files -- magic
ftp names by default -- from being put into desktop files.
(desktop-save-buffer-p): Check file name also.
(desktop-save-buffer-p): For directories loaded by dired consider the
directory to be the file name.
(desktop-locals-to-save): Add line-number-mode to be saved when local.
(desktop-remove): In case the desktop file cannot be deleted make sure that
the desktop system is still inactivated.
(desktop-kill): In case an error occurs when saving the desktop, offer to quit
regardless.
(desktop-save-buffer-p): Disregard case when testing file and buffer names
against regexps.
(desktop-buffer-dired): Display a warning if a directory no longer exists.
(desktop-save-hook): New variable.
(desktop-save): Run desktop-save-hook.
(desktop-clear): Clear search history.
(desktop-internal-v2s): Be more explicit when encountering an unprintable
value.
1994-05-01 02:07:27 +00:00
Richard M. Stallman
b4929f755e (desktop-internal-v2s): Default case fixed to return correct quote flag.
Fix cons cell handling to avoid recursion in the cdr part.
1994-04-29 20:13:16 +00:00
Karl Heuer
fbe58183e7 (desktop-internal-v2s): Make structure match docstring. 1994-04-25 19:55:45 +00:00
Richard M. Stallman
014b167871 (desktop-bug-report): Command deleted. 1994-02-07 21:04:46 +00:00
Richard M. Stallman
de9e28289a (desktop-internal-v2s): Allow saving of markers and subrs.
(desktop-delay-hook): New variable.
(desktop-read): Run desktop-delay-hook.
(desktop-globals-to-save): Save register-alist.
Always make desktop-locals-to-save local.
(desktop-value-to-string): Make sure floating point numbers are
output with maximum accuracy.
(desktop-bug-report): New function.

(desktop-internal-v2s): New function.
(desktop-value-to-string): Use above function.

(desktop-buffers-not-to-save): Add regexp for "nn" temporary files.
(desktop-save, <top-level>): Remove support for Emacs 18, because
it's not worth the effort and didn't work anymore, anyway.
(desktop-save): Needn't bind `print-escape-newlines' anymore.
1994-02-05 02:23:44 +00:00
Richard M. Stallman
ec4c6f225a (desktop-buffer-mh): New function for mh mail system.
(desktop-buffer-handlers): Add desktop-buffer-mh.
(desktop-buffer): Correct setting of auto-fill-mode.
Make the compilation silent using (eval-when-compile ...)
(old-kill-emacs): New explicit variable (for Emacs 18 comp.)
(desktop-globals-to-save): Add the history rings for interactive searches.
(postv18): Remove.
(desktop-create-buffer-form): New variable.
(desktop-save): Use desktop-create-buffer-form.
(desktop-value-to-string): New function.
(desktop-outvar): Clean-up using desktop-value-to-string.
(desktop-save): clean-up Using desktop-value-to-string.
(desktop-save): Decide Emacs version at compile time.
(desktop-locals-to-save): New variable.
(desktop-truncate): New function.
1994-01-06 11:34:51 +00:00
Richard M. Stallman
b6105c76ee Add keywords.
(desktop-outvar): clean-up output using fewer quotes and \n for newlines.
(desktop-save): print buffer information using \n for newlines.
(desktop-save-buffer-p): doc fix.
(desktop-save): bug in mark-activity saving.
(desktop-buffer-rmail): doc fix.
(desktop-buffer-rmail, desktop-buffer-dired, desktop-buffer):
Use `eq' instead of `equal'.
(desktop-clear): end up with one window.
1993-12-23 04:59:47 +00:00
Richard M. Stallman
0b9bd5040c Internal clean-up. Save information about current
tags files, don't save the tags buffers (to save reload time).
Don't save desktop-globals-to-save (desktop files must be erased
for this to take effect, sorry.)  Save "mark-activity" and
allow multi-dir direds.
1993-10-07 16:50:26 +00:00
Richard M. Stallman
ab1d55ea31 entered into RCS 1993-06-01 20:11:54 +00:00
Richard M. Stallman
6343ed6163 Initial revision 1993-06-01 20:09:25 +00:00