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
Karl Heuer
d6e8ea6f54
(basic-save-buffer): Set buffer-file-coding-system to
...
the coding system actually used for saving.
1997-10-19 20:20:15 +00:00
Karl Heuer
a0d809f20e
(revert-without-query): Fix customize type.
1997-10-02 02:57:16 +00:00
Richard M. Stallman
ab85f1b124
(insert-directory): Encode the file name.
1997-09-08 09:56:52 +00:00
Richard M. Stallman
6c4fd4363d
(auto-mode-alist): Handle .m4 and .mc files.
1997-09-06 22:18:47 +00:00
Geoff Voelker
b1667e6c86
(file-truename) [windows-nt]: Use the canonicalized
...
long file name as the truename.
(auto-mode-alist): Use archive-mode for Java JAR files.
(recover-file) [windows-nt]: Don't try to list directory.
1997-09-02 19:38:31 +00:00
Richard M. Stallman
5b4dd2e27e
Fix indentation.
1997-09-01 21:29:44 +00:00
Kenichi Handa
3fa0a9aafd
(hack-local-variables-prop-line): Ignore coding: tag.
...
(hack-one-local-variable): Likewise.
1997-09-01 07:17:07 +00:00
Richard M. Stallman
b9aa953735
(find-file-literally): Doc fix.
1997-08-27 17:25:46 +00:00
Kenichi Handa
b77d82114f
(revert-buffer): Read a file without any code
...
conversion if we are reverting from an auto-saved file.
1997-08-26 11:45:49 +00:00
Kenichi Handa
da30bf98df
(append-to-file): Doc-string fixed.
1997-08-19 10:59:47 +00:00
Richard M. Stallman
9b8ef27ded
(insert-file-literally): New command.
1997-08-11 22:32:01 +00:00
Richard M. Stallman
3e06294d6d
(insert-file-contents-literally): Doc fix.
1997-08-07 02:43:11 +00:00
Richard M. Stallman
31c691c1a1
(cd-absolute): Add missing arg to `error'.
1997-08-05 05:49:10 +00:00
Richard M. Stallman
cb2fdcfa49
(basic-save-buffer-1): Add missing argument for error.
1997-08-04 18:56:42 +00:00
Richard M. Stallman
e65db7b8cf
(insert-file-contents-literally):
...
Bind coding-system-for-read and coding-system-for-write,
and bind jka-compr-compression-info-list instead of
file-name-handler-alist.
(find-file-literally): Simplify and use insert-file-contents-literally.
1997-08-04 03:07:28 +00:00
Richard M. Stallman
16cb44ddb3
(auto-mode-alist): Add ".mf" and ".mp" for meta-mode.el.
...
Add ".clo" for latex-mode.
1997-07-23 20:56:12 +00:00
Richard M. Stallman
7c24fbd234
(find-file-literally): Temporarily remove tar-mode and
...
archive-mode from auto-mode-alist.
1997-07-21 06:16:33 +00:00
Richard M. Stallman
24813e1335
(auto-mode-alist): Recognize .emacs in MSDOG syntax.
1997-07-19 05:39:06 +00:00
Richard M. Stallman
83c6f44650
(set-auto-mode): If -*- line specifies a mode,
...
then even if we don't use it because of just-from-file-name,
still let it prevent taking the mode from a file name.
(basic-save-buffer-1): Clarify error message.
(cd-absolute): Likewise.
1997-07-16 05:30:34 +00:00
Richard M. Stallman
5fc196afb0
(find-file-literally): New function.
1997-07-08 09:57:37 +00:00
Richard M. Stallman
9695aac625
(file-chase-links): When handling .., make newname absolute.
...
Simplify several places.
(file-relative-name): Handle directory names as well as file names.
Don't get fooled by empty directory names, etc.
1997-06-27 09:04:14 +00:00
Richard M. Stallman
ad37509224
(require-final-newline): Fix custom :type.
1997-06-20 02:59:38 +00:00
Richard M. Stallman
b36c3da622
(ctl-x-map): Delete the C-x C-q binding for toggle-read-only.
1997-06-18 20:19:32 +00:00
Richard M. Stallman
2a9fe1e256
(backup, find-file): Make `files' their parent.
...
(view-read-only): New option variable. If
non-nil then buffers visiting files read-only, do it in view mode.
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Call toggle-read-only
instead of setting buffer-read-only explicitly.
(toggle-read-only, after-find-file): Handle view-read-only.
(save-some-buffers): Use second argument of view-buffer
instead of setting view-exit-action.
1997-06-18 17:24:59 +00:00
Richard M. Stallman
feaec97dd4
(file-name-non-special): Handle
...
file-name-completion and file-name-all-completions.
1997-06-08 03:26:07 +00:00
Richard M. Stallman
18b9dced5b
(file-name-non-special): Special handling for
...
substitute-in-file-name operation.
1997-05-30 06:38:56 +00:00
Kenichi Handa
912192d19a
(find-file): Delete the facility of handling a prefix
...
argument.
(find-file-other-window, find-file-read-only): Likewise.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
(find-alternate-file-other-window, find-alternate-file): Likewise.
(write-file, insert-file, append-to-file): Likewise.
1997-05-28 03:35:36 +00:00
Richard M. Stallman
db8c4866b4
(path-separator, parse-colon-path): Doc fixes.
...
(revert-without-query): Renamed from
find-file-revert-without-query.
(find-file-noselect): Use new option.
(revert-buffer): Check the option here too.
1997-05-20 05:27:50 +00:00
Richard M. Stallman
e2b307720f
(backup-extract-version-start): New variable.
...
(find-backup-file-namem, backup-extract-version):
Rename bv-length to backup-extract-version-start.
(file-relative-name): Bind the variable fname.
1997-05-10 05:44:56 +00:00
Richard M. Stallman
f89cbd61d3
(auto-mode-alist): Shuffle a few elements,
1997-05-10 05:36:01 +00:00
Richard M. Stallman
2154059726
Use defgroup and defcustom.
1997-05-05 22:04:00 +00:00
Richard M. Stallman
8609911b97
Doc fix.
1997-05-05 17:06:10 +00:00
Richard M. Stallman
9de9b6a200
(set-auto-mode): New arg JUST-FROM-FILE-NAME.
...
(hack-local-variables): New arg MODE-ONLY.
(set-visited-file-name): Alter the major mode based on new file name.
(change-major-mode-with-file-name): New variable.
1997-05-05 04:38:26 +00:00
Richard M. Stallman
ffa7ab703c
(recover-file): Fix error message.
1997-04-21 04:48:47 +00:00
Richard M. Stallman
c2c84cd793
(auto-mode-alist): Add .dsl and .dsssl for dsssl-mode.
1997-04-12 19:20:07 +00:00
Richard M. Stallman
2d6562a572
(file-relative-name): Expand both args before
...
checking for device mismatch.
(file-relative-name): Handle differing drive letters on Microsoft systems.
1997-04-11 01:47:41 +00:00
Richard M. Stallman
c3348e101b
(make-auto-save-file-name): Replace both / and \
...
with sequences starting with %.
1997-03-29 00:32:54 +00:00
Richard M. Stallman
7b3478a5e8
(recover-session): Add `t' to switches.
1997-03-22 03:42:32 +00:00
Karl Heuer
82d0954a23
(find-file, find-file-other-window,
...
find-file-read-only, find-file-read-only-other-window,
find-file-read-only-other-frame, find-alternate-file-other-window,
find-alternate-file): With a prefix argument, enable users to
specify a coding system interactively.
(find-file-noselect): Describe optional arguments NOWARN and
RAWFILE in the doc-string.
(write-file, insert-file, append-to-file): Accept a prefix
argument to enable users to specify a coding system interactively.
(revert-buffer): Read an auto-saved file without any code
conversion.
1997-02-20 05:44:24 +00:00
Erik Naggum
96c188b08c
(file-relative-name): Protect the match-data.
1997-02-05 01:32:44 +00:00
Richard M. Stallman
f36012a669
(set-visited-file-name): New arg ALONG-WITH-FILE.
1997-02-03 09:42:56 +00:00
Richard M. Stallman
467ff69234
(switch-to-buffer-other-frame)
...
(switch-to-buffer-other-window): New arg NORECORD.
1997-01-05 02:55:09 +00:00