Commit graph

569 commits

Author SHA1 Message Date
Richard M. Stallman
bab6eadbfb (small-temporary-file-directory): Fix custom type. 2002-04-29 03:55:57 +00:00
Richard M. Stallman
3c4a7cf326 (make-auto-save-file-name): Specify # as suffix in the non-file-visiting case. 2002-04-28 22:30:22 +00:00
Richard M. Stallman
a74357d4ea (after-find-file): Use %s to output MSG. 2002-04-23 03:45:45 +00:00
Glenn Morris
9211d05383 (auto-mode-alist): .f95 files in f90-mode. 2002-04-21 18:21:47 +00:00
Glenn Morris
a0b60c3317 (auto-save-file-name-transforms): Doc string addition - no effect for
MS-DOS systems without long file names.  Add third element for uniquifying
filenames.
(make-auto-save-file-name): Make a unique filename if indicated by
new element of auto-save-file-name-transforms.
2002-04-20 22:22:57 +00:00
Stefan Monnier
c37adaa5ea (file-name-non-special): Don't mangle the 0'th arg and the
return value of file-name-completion and file-name-all-completions.
2002-04-19 16:27:09 +00:00
Andreas Schwab
7660e38fa5 (file-name-non-special): Handle return value of t from
`file-name-completion'.
2002-04-11 12:13:53 +00:00
Pavel Janík
2bbbe4f6d7 (display-time-string): Fix last change. 2002-04-08 05:01:16 +00:00
Richard M. Stallman
bb230153f2 (display-time-string-forms): Mark as risky. 2002-04-06 22:00:22 +00:00
Richard M. Stallman
ec4ba9e3bc (mode-line-format, mode-line-modified)
(mode-line-mule-info, mode-line-buffer-identification)
(mode-line-modes, mode-line-position): Explicitly mark as risky.
(hack-one-local-variable): Don't recognize "mode-line-..." as risky.
2002-04-04 21:19:32 +00:00
Richard M. Stallman
87a6a5d8d4 (hack-one-local-variable): Clear text props from string value. 2002-04-02 23:14:41 +00:00
Richard M. Stallman
032388f3f7 (file-expand-wildcards): Use save-match-data.
(format-alist): Mark as risky.
2002-04-01 03:45:25 +00:00
Eli Zaretskii
b865c14e76 (auto-save-file-name-transforms): Fix last change. 2002-03-30 07:56:05 +00:00
Eli Zaretskii
747981b0cb (auto-save-file-name-transforms): Don't run "\\2" via expand-file-name. 2002-03-29 14:02:54 +00:00
Richard M. Stallman
7078d9d20f Mark many more variables as risky.
(hack-one-local-variable): Recognize several additional
patterns as risky.
2002-03-28 18:26:07 +00:00
Richard M. Stallman
849051903e (list-directory): Set default-directory at the end. 2002-03-18 04:30:45 +00:00
Kim F. Storm
48a4a1fbe0 (save-buffers-kill-emacs): Also check for active server
processes.  Use process-query-on-exit-flag.  Only list processes
which has the query-on-exit flag set in connection with user query.
2002-03-17 20:30:19 +00:00
Stefan Monnier
2c3d8820e2 (load-completion): New function.
(load-library): Use it.
2002-03-16 02:25:56 +00:00
Eli Zaretskii
1e57a69675 (make-auto-save-file-name): Make sure the produced file
name does not contain characters that are invalid for DOS/Windows
filesystems.
2002-03-06 18:19:43 +00:00
Richard M. Stallman
75244a672a (make-auto-save-file-name): Use make-temp-file. 2002-03-03 21:57:59 +00:00
Richard M. Stallman
c736f678a2 (file-name-non-special): Add special handling for
file-name-sans-versions, file-name-completion, and
file-name-all-completions.
2002-02-06 15:29:29 +00:00
Richard M. Stallman
c9783dfe4f (basic-save-buffer-2): Ignore file-error in delete-file. 2002-01-24 18:55:53 +00:00
Eli Zaretskii
ef59dd3bb8 (find-file-noselect): Don't consider a buffer as
visiting a file literally if it is in hexl-mode.
2002-01-12 13:28:48 +00:00
Richard M. Stallman
0ba5894bf1 (basic-save-buffer): Undo previous change. 2002-01-04 02:13:37 +00:00
Richard M. Stallman
14be1bc202 (basic-save-buffer): If a before-write hook displays
an echo area message, pause before calling basic-save-buffer-1.
2001-12-30 02:39:12 +00:00
Eli Zaretskii
01b26b9070 (directory-free-space-program): Mention
file-system-info in the doc string.
(get-free-disk-space): New function; code moved from insert-directory.
(insert-directory): Call get-free-disk-space to get the amount of free space.
2001-12-21 15:20:42 +00:00
Richard M. Stallman
f4d0467268 (directory-free-space-program): New variable.
(directory-free-space-args): New variable.
(insert-directory): Use those two variables for getting free space.
Use file-system-info instead, if that is defined.

(font-lock-defaults): Add risky-local-variables prop.
(hack-one-local-variable): Treat various font-lock variables as risky.
2001-12-18 19:35:09 +00:00
Richard M. Stallman
2d2ab9da1b (set-auto-mode): Fix previous change. 2001-12-14 03:21:49 +00:00
Richard M. Stallman
e3f9b9c0c5 (set-auto-mode-1): New subroutine, broken out of set-auto-mode.
(set-auto-mode, hack-local-variables-prop-line): Use that.
2001-12-12 00:10:17 +00:00
Eli Zaretskii
02c6a1ccf0 (save-abbrevs, save-some-buffers): Don't ask the user
before saving abbrevs if `save-abbrevs' has the value `silently'.
2001-12-04 18:27:06 +00:00
Richard M. Stallman
ebad92dc85 (insert-directory): If the df output does not look right,
don't try to use it.  Other cleanups in overall code structure.
2001-12-03 00:02:52 +00:00
Richard M. Stallman
388d6ab529 (temporary-file-directory): Use defcustom.
(small-temporary-file-directory): Likewise.
(normal-backup-enable-predicate): Move down in file
after definition of temporary-file-directory.
2001-11-24 23:59:28 +00:00
Richard M. Stallman
eb61b61b26 (temporary-file-directory)
(small-temporary-file-directory): Definitions moved up.
2001-11-21 12:04:17 +00:00
Kai Großjohann
a2899d6cc6 * files.el (auto-save-file-name-transforms): Put remote files in
temporary-file-directory rather than /tmp.
2001-11-21 08:32:57 +00:00
Richard M. Stallman
88b3677644 (save-abbrevs): Default value is t. 2001-11-11 01:53:50 +00:00
Richard M. Stallman
4803e625de (file-newest-backup): Don't pass backup file name
thru file-name-sans-versions, because it never has version numbers.
2001-11-01 20:44:11 +00:00
Richard M. Stallman
e554eeb7ee (find-file-noselect): Offer to change buffer-read-only
only when the file's read-only status has changed from before
as well as disagreeing with the buffer's current status.
(buffer-file-read-only): New var, local in all buffers.
2001-11-01 19:33:52 +00:00
Richard M. Stallman
8767d8666a (find-backup-file-name): Use make-backup-file-name. 2001-10-30 00:23:32 +00:00
Eli Zaretskii
2531b0c39c (file-name-sans-extension, file-name-extension): Don't
count the leading dots in file names as signaling an extension.
2001-10-22 16:11:12 +00:00
Eli Zaretskii
8f9495e70e (auto-mode-alist): Associate .indent.pro with
Fundamental mode.  Suggested by Samuel Padgett
<spadgett1@nc.rr.com>.
2001-10-19 16:32:49 +00:00
Gerd Moellmann
a8d002d2a6 (find-file-noselect): If file's read-only status has
changed on disk, ask if buffer's read-only status should be
changed, unless NOWARN is set.
2001-10-05 12:10:57 +00:00
Eli Zaretskii
15233548ee (make-auto-save-file-name): If long file names are not
supported, truncate the file name to DOS 8+3 limits before
generating an auto-save file name from it.
2001-09-13 12:41:41 +00:00
Gerd Moellmann
e043664a1d (auto-mode-alist): Use nroff-mode for files ending
in `.9'.  From Assar Westerlund  <assar@stacken.kth.se>.
2001-07-25 09:48:04 +00:00
Eli Zaretskii
e55c48639b (auto-mode-alist): Add configure.ac (autoconf). 2001-06-23 19:44:13 +00:00
Eli Zaretskii
4c6a473947 (switch-to-buffer-other-window, switch-to-buffer-other-frame): Add an xref
to display-buffer in the doc string.
2001-05-17 10:59:18 +00:00
Stefan Monnier
5c6d31a48f (auto-mode-alist): Add *.perl and fix the *.<rev> case. 2001-05-11 20:22:46 +00:00
Andreas Schwab
dca5e71d8f (backup-directory-alist): Fix typo. 2001-03-30 11:04:05 +00:00
Dave Love
7e36528557 (insert-file-contents-literally): Bind
inhibit-file-name-handlers and inhibit-file-name-operation, not
jka-compr-compression-info-list.
2001-03-02 23:51:19 +00:00
Gerd Moellmann
b4990dde78 (save-buffer): Don't give message if (buffer-file-name)
returns nil.
2001-01-31 13:53:37 +00:00
Eli Zaretskii
9c2ba08f6e (confirm-kill-emacs): Doc fix. 2001-01-29 17:06:56 +00:00