Richard M. Stallman
7defe888a5
(find-file-noselect-1): Return the buffer we created
...
even if it has been killed within `after-find-file'.
(auto-mode-alist): Use ada-mode for .ad[bs].dg files.
2002-05-29 16:34:41 +00:00
Kim F. Storm
5d4d17b823
(read-directory-name): New function.
...
(cd): Use it instead of read-file-name.
2002-05-28 09:08:42 +00:00
Markus Rost
e31cfca5cb
(file-newest-backup): Use file-name-sans-versions.
2002-05-22 23:29:58 +00:00
Miles Bader
257ae3a60a
(find-file-read-args): Don't trash existing value of
...
`minibuffer-setup-hook', just add our hook to it.
2002-05-20 04:40:53 +00:00
Richard M. Stallman
e6f0ff9233
(locate-file): Doc fix.
2002-05-19 15:55:04 +00:00
Richard M. Stallman
ff5c7181b0
(make-auto-save-file-name):
...
Delete the auto-save file after make-temp-file creates it.
2002-05-14 05:36:44 +00:00
Stefan Monnier
21936ea51e
(locate-file): Deprecate integer values for predicate.
2002-05-06 21:11:51 +00:00
Stefan Monnier
38eea7c76f
(locate-file): New fun.
...
(locate-file-completion): Rename from load-completion and generalize.
(load-library): Use it.
(make-auto-save-file-name): Expand caddr.
2002-04-30 01:56:23 +00:00
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
Gerd Moellmann
11f1530569
(confirm-kill-emacs): New user-option.
...
(save-buffers-kill-emacs): Ask for final confirmation before
killing Emacs.
2001-01-10 20:19:16 +00:00
Eli Zaretskii
bc22fd184a
(insert-directory-safely): New function.
...
(recover-file): Use it instead of insert-directory.
2000-12-21 14:44:35 +00:00
Dave Love
9ab80679a3
(load-file): Fix last change.
2000-12-08 14:19:00 +00:00
Dave Love
58195faaf8
(load-file): Fix change of 2000-03-12.
2000-12-06 18:38:47 +00:00
Eli Zaretskii
68875f0e7b
(revert-buffer, recover-file): Bind
...
coding-system-for-read to emacs-mule-unix, not to no-conversion.
2000-12-01 15:30:43 +00:00
Gerd Moellmann
7423978df5
(auto-mode-alist): Add an entry for antlr-mode.
2000-11-29 16:49:08 +00:00
Stefan Monnier
d5798fa707
(find-buffer-visiting): Compare all attributes before
...
declaring two files identical (rather than just their inode-no).
(auto-mode-alist): Use \' rather than $.
2000-11-21 21:12:49 +00:00
Gerd Moellmann
407b432881
(basic-save-buffer): Don't add a newline if
...
find-file-literally is non-nil.
(find-file-literally): Extend doc string.
2000-11-16 17:04:27 +00:00
Gerd Moellmann
648ec2ff27
(find-file-noselect): When we expand a wildcard, return
...
a list of buffers, as we should do according to the doc string.
2000-10-31 16:55:23 +00:00
Gerd Moellmann
fe50b6abd8
(after-find-file): Don't print any warnings if
...
WARN is nil.
2000-10-24 15:18:19 +00:00
Gerd Moellmann
53bb90cad6
(after-find-file): Don't print a message ``New file''
...
if WARN is nil.
2000-10-24 15:06:14 +00:00
Andrew Innes
446c097e30
(make-backup-file-name-1) [windowsnt, ms-dos]: Remove
...
superfluous calls to subst-char-in-string; instead apply
expand-file-name after convert-standard-filename to ensure
expected directory separators are used.
2000-10-23 17:40:16 +00:00
Eli Zaretskii
e854cc22eb
(auto-mode-alist): Add .dif and .pat as diff-mode extensions, for MS-DOS.
2000-10-17 12:36:26 +00:00
Eli Zaretskii
f26d858e50
(find-backup-file-name) [ms-dos]: If support for long
...
file names is not available, behave as if version-control were set
to never.
2000-10-07 18:49:14 +00:00
Stefan Monnier
9ee45b2cc1
(set-auto-mode): Ignore unknown -*- mode -*- rather than
...
raise an error. This way it can still defaults to a sane value.
2000-10-07 03:05:14 +00:00
André Spiegel
ffc0e1caf1
Fix prev change.
2000-10-04 17:16:59 +00:00
André Spiegel
fa5867f6aa
(basic-save-buffer): Call vc-before-save before saving.
2000-10-04 09:55:21 +00:00
Gerd Moellmann
a12bfcd8ab
(auto-mode-alist): Add pattern for `#*mail*...'.
2000-09-30 12:14:46 +00:00
Sam Steingold
a62fb8a013
(find-file-suppress-same-file-warnings): period in doc string
2000-09-26 16:25:29 +00:00
Gerd Moellmann
8fb3df5935
(find-file-suppress-same-file-warnings): New
...
user-option.
(find-file-noselect): Use it.
2000-09-19 15:14:42 +00:00
Andreas Schwab
d2473540a7
(insert-directory): Don't lose original file name,
...
undoing an undocumented change.
2000-08-17 12:08:26 +00:00
Eli Zaretskii
98532b1215
(recover-file): Call insert-directory instead of
...
invoking `ls' directly.
2000-08-10 10:44:49 +00:00
Eli Zaretskii
17ab9c3980
(insert-directory): Don't call access-file on
...
directories on DOS and Windows.
2000-08-09 12:01:09 +00:00
Gerd Moellmann
0720b68be2
(auto-mode-interpreter-regexp): New variable.
...
(set-auto-mode): Use it.
2000-08-08 18:32:10 +00:00
Gerd Moellmann
9facfd265c
(shell-quote-wildcard-pattern): Make sure to return
...
PATTERN, in the Unix case.
2000-08-07 10:06:54 +00:00
Eli Zaretskii
c90596f36f
(shell-quote-wildcard-pattern): New function.
...
(insert-directory): Call it. Only prepend "\" to command on Unix
and GNU/Linux systems.
2000-07-30 13:27:46 +00:00
Andreas Schwab
f1bba07d31
(normal-backup-enable-predicate): Correct
...
interpretation of the return value of compare-strings.
2000-07-26 16:56:22 +00:00
Sam Steingold
34342a07bd
insert-directory: use split-string
2000-07-18 14:18:03 +00:00
Gerd Moellmann
4ff5372025
(basic-save-buffer-2): When temporarily setting
...
file modes, set them to current modes plus 0200, not to 0777.
2000-06-23 07:13:30 +00:00
Eli Zaretskii
b79a846b37
(make-backup-file-name-1): On DOS/Windows, run the
...
backup file name through convert-standard-filename.
2000-06-22 14:58:38 +00:00
Dave Love
d18f678bf0
Rename make-buffer-file-executable-if-script-p.
2000-06-09 09:55:33 +00:00
Dave Love
22ddd29947
(after-save-hook): Customize, with
...
make-buffer-file-executable-if-script-p as an option.
2000-06-09 09:42:05 +00:00
Dave Love
37193ee632
(convert-standard-filename): Doc fix.
...
(normal-backup-enable-predicate): New function.
(backup-enable-predicate): Use it to replace the lambda form.
2000-06-02 18:46:19 +00:00
Eli Zaretskii
41ac433f66
(make-backup-file-name-1): Replace slashes with `!'
...
rather than `|' (which is not allowed on Windows). Replace the
drive letters with a string "drive_X".
2000-05-23 13:19:38 +00:00
Gerd Moellmann
9e451c4436
(interpreter-mode-alist): Add `bash2'.
2000-05-23 11:22:08 +00:00
Dave Love
74654c6507
(parse-colon-path): Doc fix.
...
(auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
(set-auto-mode): Use mapc.
2000-05-22 19:29:04 +00:00
Gerd Moellmann
08fb7a1c66
(auto-mode-alist): Add pattern for `.shrc'.
2000-05-19 11:55:50 +00:00
Gerd Moellmann
063381ab4a
(auto-mode-alist): Change EBROWSE' to
BROWSE'.
2000-05-04 21:50:18 +00:00
Gerd Moellmann
1d18bc3a67
(recover-session): Make directories as necessary
...
if they don't exist yet.
2000-05-02 20:09:21 +00:00
Gerd Moellmann
d564f5b60b
(make-auto-save-file-name):
...
Apply auto-save-file-name-transforms to visited file name
before generating auto save file name.
(auto-save-file-name-transforms): New variable.
(backup-enable-predicate):
Correctly test for a file under a temporary directory.
2000-04-29 13:17:48 +00:00
Gerd Moellmann
e1603a09df
(basic-save-buffer-2): Use a template with `$'
...
instead of `#' for VMS.
2000-04-17 15:24:06 +00:00
Stefan Monnier
84e4ce49e6
(backup-enable-predicate): Unquote the lambda.
2000-04-17 10:36:52 +00:00
Gerd Moellmann
01fae1df89
(auto-mode-alist): Add `EBROWSE'.
2000-04-10 13:32:07 +00:00
Dave Love
86724078ea
(backup-enable-predicate): Use temporary-file-directory,
...
small-temporary-file-directory.
(make-backup-file-name-function, backup-directory-alist): New
variables.
(make-backup-file-name-1): New function.
(make-backup-file-name): Use it.
(find-backup-file-name): Likewise. Use format for clarity, not concat.
(file-newest-backup): Use make-backup-file-name.
2000-04-09 17:18:48 +00:00
Gerd Moellmann
18f183760f
(insert-directory): List the total free space
...
along with the used space.
2000-04-03 19:26:43 +00:00
Dave Love
3957c98213
Doc fixes.
...
(file-truename): Include `[' in wildcard characters.
(automount-dir-prefix): Customize.
(find-file-wildcards): Add :version.
(find-file-noselect): Simplify a mapcar call.
2000-03-26 17:07:06 +00:00
Stefan Monnier
bfb857d81e
(find-file-run-dired): Update docstring.
...
(find-directory-functions): New hook.
(find-file-noselect): Run find-directory-functions rather than
calling dired directly.
2000-03-22 03:10:07 +00:00
Dave Love
a1fe6488ec
(load-file): Allow completion to .elc.
2000-03-12 14:42:35 +00:00
Dave Love
ae3d47c61a
(auto-mode-alist): Add configure.in.
2000-03-07 12:17:34 +00:00
Dave Love
fc25634a20
(user-init-file): Don't declare here -- is primitive.
2000-01-19 15:33:54 +00:00
Carsten Dominik
2c56e4a415
(auto-mode-alist) default mode for extension ".pro" set to `idlwave-mode'
1999-12-20 14:24:13 +00:00
Gerd Moellmann
a390d6c6c8
(after-find-file): Fix previous change.
1999-12-12 12:26:53 +00:00
Gerd Moellmann
365e9bce08
(after-find-file): Use auto-save-visited-file-name if set.
1999-12-09 15:23:31 +00:00
Stefan Monnier
707ad06002
(save-some-buffers): Turn EXITING into the more general
...
PRED argument to allow specifying a subset of buffers.
1999-12-07 06:31:32 +00:00
Richard M. Stallman
f3a4b82fe0
(write-file-hooks): Doc fix.
1999-11-26 17:31:26 +00:00
Stefan Monnier
a9fb0b79ab
(auto-mode-alist): add patterns for diff-mode.
1999-11-19 20:14:12 +00:00
Gerd Moellmann
e178969580
(file-local-copy): Remove optional BUFFER argument
...
because that's not used by anything.
1999-11-10 12:11:55 +00:00
Gerd Moellmann
6fdc7533ac
(auto-mode-alist): Add ps-mode for .eps and .ps, case insensitive.
1999-10-12 14:53:08 +00:00
Dave Love
3c0abb26d3
Recognize temporary crontab files.
1999-10-05 11:41:48 +00:00
Richard M. Stallman
8120f98902
(after-find-file): When visiting a backup file, make it read-only.
1999-09-17 20:57:37 +00:00
Richard M. Stallman
4adcd90506
(find-file-noselect): Catch errors in file-expand-wildcards,
...
and use the initial argument as file name directly.
Likewise if nothing matches.
1999-09-11 21:29:11 +00:00
Richard M. Stallman
2cb28a6046
(backup-by-copying-when-privileged-mismatch): New variable.
...
(backup-buffer): Use it.
1999-09-08 07:37:56 +00:00
Eli Zaretskii
128d940d04
(small-temporary-file-directory): Make it nil except on ms-dos.
1999-09-06 11:47:56 +00:00
Eli Zaretskii
9531ab86d9
(small-temporary-file-directory): New variable.
1999-09-02 12:24:54 +00:00
Dave Love
f8b7c3516f
(find-file): Doc fix.
1999-08-26 17:54:28 +00:00
Dave Love
67271658b3
(interpreter-mode-alist): Add make, guile, clisp.
...
(find-file): Doc fix.
1999-08-16 11:41:29 +00:00
Karl Heuer
114d3e869f
Fix typo in copyright date.
1999-08-10 16:43:08 +00:00
Karl Heuer
c741ccc5c1
(after-find-file): Disable View mode if buffer is no
...
longer read-only.
1999-08-10 16:40:14 +00:00
Dave Love
11cfb745a2
(abbreviated-home-dir): Doc fix.
1999-07-29 21:50:47 +00:00
Karl Heuer
a7aa942a03
Comment fix.
1999-07-13 03:39:33 +00:00
Richard M. Stallman
2df32500ab
(revert-buffer): Don't preserve point here.
...
(revert-buffer-insert-file-contents-function): Doc fix.
1999-07-05 22:49:45 +00:00
Karl Heuer
3078f066a2
(auto-mode-alist): Add pike-mode.
1999-06-22 22:43:36 +00:00
Karl Heuer
7f99999ab4
(write-file): When buffer is not already visiting a file,
...
don't put buffer name in the minibuffer, just make it the default.
Also handle just directory as arg usefully in that case.
1999-06-12 03:57:37 +00:00
Kenichi Handa
1e87edf5ef
(recover-file): Recover buffer-file-coding-system.
1999-05-24 02:09:27 +00:00
Dave Love
9ab1910545
[from rms]
...
(find-file-noselect-1): Use abbreviate-file-name when setting
buffer-file-truename.
1999-05-14 09:46:38 +00:00
Karl Heuer
b120e7136d
(find-file-noselect-1): If buffer-file-name has changed
...
after find-file-not-found-hooks runs, recompute the truename.
And don't use FILENAME after that point.
1999-04-29 20:28:43 +00:00
Andreas Schwab
18b0f8cf6e
(file-expand-wildcards): Never consider .' and
..' a
...
wildcard match. Fix regexp that tests if dirpart contains
wildcard characters.
1999-01-29 11:31:33 +00:00
Richard M. Stallman
5b8ed07bb4
(find-file): If find-file-noselect returns a list,
...
do switch-to-buffer on each element.
(find-file-other-window): Likewise for all but the first element.
(find-file-other-frame): Same.
(find-file-noselect): When we expand a wildcard, return a list of buffers.
1999-01-24 20:12:25 +00:00
Richard M. Stallman
243ce842ce
(find-file-noselect): Do wildcard processing only
...
if new arg WILDCARDS is non-nil.
(find-file, find-file-other-window): New arg WILDCARDS.
Default it to non-nil if interactive.
(find-file-other-frame): Likewise.
(find-file-read-only): Likewise.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
1999-01-24 20:10:30 +00:00
Karl Heuer
481f215b5e
(auto-save-hook): Defvar this.
1999-01-12 22:20:25 +00:00
Richard M. Stallman
c9afd87f08
(auto-mode-alist): Add sql-mode.
1999-01-11 13:55:15 +00:00
Richard M. Stallman
71a3bb4b1e
(save-buffers-kill-emacs): Show the list of current
...
processes before prompting to kill them and exit.
1999-01-06 23:58:41 +00:00
Andreas Schwab
05e076c7ea
(recover-session): Preserve point when inserting
...
explanation.
1999-01-04 11:57:27 +00:00
Richard M. Stallman
f91fe6045d
(find-file-noselect): Let /: suppress wildcard matching.
...
Error if wildcard matches no files.
1999-01-03 15:03:32 +00:00
Richard M. Stallman
4db2a7dec9
(file-expand-wildcards): Handle wildcards in directory name.
...
Be careful about whether to return a relative file name,
and if so, relative to what directory.
1998-12-26 05:14:48 +00:00
Karl Heuer
c04e38a32f
(after-find-file): Message fix.
1998-12-10 02:30:03 +00:00
Richard M. Stallman
abf16d5ee9
(hack-one-local-variable): Cope with non-file buffers.
1998-11-29 15:41:38 +00:00
Karl Heuer
aa5fcebf0d
(hack-local-variables): Test local-enable-local-variables.
...
(hack-local-variables-prop-line): Likewise.
(set-auto-mode): Don't test local-enable-local-variables here.
(enable-local-variables): Doc fix.
(local-enable-local-variables): Doc fix.
(normal-mode): Doc fix.
1998-11-07 02:01:59 +00:00
Richard M. Stallman
d1f04130e0
(revert-buffer): Doc fix.
1998-11-01 08:46:04 +00:00
Richard M. Stallman
1554c03bdd
(auto-mode-alist): Recognize .rpm files.
...
Also .spec and .mspec files.
(revert-buffer-internal-hook): Add defvar.
1998-10-20 18:48:06 +00:00
Richard M. Stallman
5de148a204
(find-file-wildcards): New option.
...
(find-file-noselect): Handle wild cards, if enabled.
(file-expand-wildcards): New function.
1998-10-16 19:20:55 +00:00
Richard M. Stallman
749d2ee6dd
(save-buffer): Doc fix.
1998-10-08 02:20:26 +00:00
Karl Heuer
64e6dfad6b
(find-file-noselect): Switch to the correct buffer
...
before checking find-file-literally, and allow non-nil non-t
rawfile params.
1998-10-06 23:27:28 +00:00
Karl Heuer
4e0c86509d
Comment fix.
1998-10-06 23:22:48 +00:00
Karl Heuer
a2236dc611
(auto-mode-alist): Add snmp-mode patterns.
1998-08-27 15:26:46 +00:00
Andreas Schwab
edfc7f2558
(file-name-invalid-regexp): Fix regex for ms-dos without long file names.
1998-08-24 10:21:51 +00:00
Richard M. Stallman
d6046e457f
(recover-session): Add leading space on added text lines.
1998-08-12 02:58:02 +00:00
Richard M. Stallman
d5637fa549
(auto-mode-alist): Escape dots in some regexps.
...
(auto-mode-alist): Fix previous change in sh-script regexps.
1998-08-01 19:02:22 +00:00
Kenichi Handa
d45da3e19c
(auto-mode-alist): Fix regular expression error for sh-mode.
1998-07-26 14:04:41 +00:00
Dan Nicolaescu
823a266d9a
*** empty log message ***
1998-07-25 00:19:51 +00:00
Richard M. Stallman
d5fe94cca8
(basic-save-buffer-2): New function.
...
(basic-save-buffer-1): Use basic-save-buffer-2,
after perhaps binding coding-system-for-write.
(save-buffer-coding-system): Make it a permanent local.
1998-07-24 10:43:29 +00:00
Dan Nicolaescu
271e0f2c6a
*** empty log message ***
1998-07-24 04:36:09 +00:00
Richard M. Stallman
7af59a4c18
(auto-mode-alist): Recognize shell profiles without dirname.
1998-07-23 07:23:08 +00:00
Richard M. Stallman
7c35fb48ed
(auto-mode-alist): Match .emacs with no directory.
1998-07-20 21:23:28 +00:00
Eli Zaretskii
9959c16e4f
(file-name-invalid-regexp): Fix the part which handles colons in file names.
1998-07-15 10:21:04 +00:00
Richard M. Stallman
e73ec04be6
(find-file-noselect-1): Use kill-local-variable on
...
buffer-file-coding-system, instead of setting it.
(save-buffer): Doc fix.
(basic-save-buffer): Doc fix.
1998-07-12 03:14:44 +00:00
Andreas Schwab
e48807d140
(version-control, delete-old-versions,
...
require-final-newline, enable-local-variables, enable-local-eval):
Use `other' widget type.
1998-06-24 09:08:57 +00:00
Dave Love
86e0d95639
(auto-mode-alist): Map .xml to sgml-mode.
1998-06-23 17:45:10 +00:00
Richard M. Stallman
b296cbd4ab
(find-file-noselect-1): Init buffer-file-coding-system
...
from default-buffer-file-coding-system.
(find-file-noselect-1): Return the buffer that is current
after after-find-file.
(find-file-noselect): Return whatever find-file-noselect-1 returns.
1998-06-23 15:49:54 +00:00
Eli Zaretskii
106a57a4cc
(file-name-invalid-regexp): Add control characters for DOS/Windows
...
as they are disallowed by the filesystem there.
1998-06-14 15:34:02 +00:00
Richard M. Stallman
da09b92be7
(user-init-file): Default value now nil.
...
(local-enable-local-variables): New variable.
(set-auto-mode): Test it.
1998-06-13 06:17:13 +00:00
Richard M. Stallman
666c1d8bab
(find-file-noselect): Delete unused local var `error'.
...
(find-file-noselect-1): Add local var `error'.
1998-06-13 04:44:32 +00:00
Richard M. Stallman
4dd9d86d22
(find-file-noselect): Use find-file-noselect-1
...
after "Save file and revisit literally? ".
1998-06-13 04:34:52 +00:00
Richard M. Stallman
03511cfdaa
(null-device): New variable.
1998-06-09 02:52:41 +00:00
Richard M. Stallman
ddd64da9df
(find-file-noselect-1): New function.
...
(find-file-noselect): If want to visit literally and buffer is
visited the ordinary way, or vice versa, ask user whether
to re-visit, or save and revisit. Use find-file-noselect-1.
1998-06-09 02:49:43 +00:00
Karl Heuer
ca597f41ea
(toggle-read-only): When exiting View mode, locally
...
set view-read-only to t so another toggle will re-enable View mode.
1998-06-03 14:37:00 +00:00
Richard M. Stallman
6a97049b56
(insert-directory): When WILDCARD is nil, expand ~ if necessary.
1998-05-22 03:24:28 +00:00
Eli Zaretskii
3096684711
(file-name-invalid-regexp): New variable, moved here from arc-mode.el
1998-05-21 14:26:10 +00:00
Richard M. Stallman
cdda8f47be
(temporary-file-directory): Renamed from system-tmp-directory.
...
Value is now a directory name, not a file name.
1998-05-19 05:21:42 +00:00
Richard M. Stallman
c11032b95f
(system-tmp-directory): New variable.
...
(recover-session-finish): Unmark the current line
so that the file being used for recovery will not get deleted.
1998-05-16 03:38:20 +00:00
Richard M. Stallman
0516edee5f
(save-buffer-coding-system): New variable.
...
(basic-save-buffer-1): Obey it.
(basic-save-buffer): Set save-buffer-coding-system instead of
buffer-file-coding-system, if save-buffer-coding-system is already non-nil.
1998-05-11 01:33:54 +00:00
Richard M. Stallman
3b9ffb776b
(set-auto-mode): When just-from-file-name is set, don't
...
actually switch modes if the new mode is the same as the current one.
1998-04-26 04:19:28 +00:00
Geoff Voelker
0627db9cd2
(path-separator): Delete variable.
1998-04-17 05:24:27 +00:00
Karl Heuer
26dd83e682
(find-file-noselect): Set buffer-file-coding-system
...
if RAWFILE.
1998-04-14 18:42:32 +00:00
Richard M. Stallman
04d807e6ce
(hack-one-local-variable): Variables named ...-predicate are treated as risky.
...
(write-file): Omit directory part when making default file name.
1998-04-01 03:44:50 +00:00
Karl Heuer
2fa149b63f
(find-file-noselect): Use set-buffer-multibyte
...
instead of setting enable-multibyte-characters.
1998-03-23 00:14:06 +00:00
Richard M. Stallman
b0d2a9e796
Delete junk accidentally left in buffer on 4 March.
1998-03-12 22:44:12 +00:00
Richard M. Stallman
19618231c3
(basic-save-buffer): Use save-current-buffer not save-excursion.
1998-03-05 04:00:53 +00:00
Richard M. Stallman
e13322a0d9
(auto-mode-alist): Recognize zone-mode.
1998-03-05 02:17:48 +00:00
Kenichi Handa
a91733595d
(insert-directory): Bind coding-system-for-write.
...
Don't encode filename here because call-process encodes the
arguments by codign-system-for-write.
1998-03-03 07:17:56 +00:00
Kenichi Handa
73ba53dc85
(insert-directory): Bind coding-system-for-read to
...
file-name-coding-system or default-file-name-coding-system if
enable-multibyte-characters is non-nil
1998-03-03 01:35:39 +00:00
Karl Heuer
4d49551aee
(set-visited-file-name): Don't call backup-enable-predicate
...
when buffer-file-name is nil.
1998-02-27 22:13:26 +00:00
Karl Heuer
798f4b0a3e
(auto-mode-alist): Add vhdl-mode.
1998-01-18 03:21:25 +00:00
Eli Zaretskii
9263121691
(delete-auto-save-files): Say in the doc string that
...
auto-save file will not be deleted if the buffer has unsaved
changes.
1998-01-07 09:41:30 +00:00
Richard M. Stallman
7b3d6b9c1a
(find-file-noselect): Fix previous change.
1997-12-21 02:34:59 +00:00
Richard M. Stallman
944ef99444
(find-file-noselect): Signal error if file is unreadable.
1997-12-21 02:10:01 +00:00
Karl Heuer
3ad08c112c
(auto-mode-alist): Add .am as makefile-mode.
1997-12-11 07:07:42 +00:00
Karl Heuer
ebff6b7d68
(auto-mode-alist): Add more extensions for perl-mode.
...
(interpreter-mode-alist): Add miniperl.
1997-11-23 02:13:26 +00:00
Karl Heuer
6492b55df7
(write-file): Make buffer writable if the new file is.
1997-11-20 22:00:57 +00:00
Karl Heuer
e0df3aef1f
(rename-uniquely): Simplify.
1997-11-07 21:44:16 +00:00
Karl Heuer
5cb1f7280a
(file-name-non-special): For insert-directory operation,
...
ensure that default-directory is an ordinary file name
before turning off file-name-handler-alist.
1997-10-19 21:02:27 +00:00
Karl Heuer
fe4d985204
(file-name-non-special): If "/:" is the entire file
...
name, make it "/" after stripping.
1997-10-19 20:34:22 +00:00