Commit graph

400 commits

Author SHA1 Message Date
Richard M. Stallman
95b5322579 (auto-mode-alist): Handle `.java'. 1996-04-11 14:45:09 +00:00
Richard M. Stallman
cf7e94a0df (file-newest-backup): Return the newest backup for the
exact file name specified, not the newest backup of all files
whose names start with that substring.
1996-04-03 05:55:12 +00:00
Richard M. Stallman
11e314fa73 (set-visited-file-name): Don't call find-buffer-visiting if filename is nil. 1996-03-26 23:57:49 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
7b89d38e9a (set-visited-file-name): Query if there's already another
buffer visiting this file.
1996-03-01 20:29:32 +00:00
Karl Heuer
fa66096961 (find-file-noselect): If after-find-file switches buffers,
return the buffer that it leaves current.
1996-02-21 21:32:35 +00:00
Karl Heuer
dfeadd842f (interpreter-mode-alist): Add mawk.
(set-auto-mode): Allow either space or tab in #! line.
1996-02-19 08:13:10 +00:00
Karl Heuer
5da565f812 (auto-mode-alist): Recognize GNUmakefile. 1996-02-16 00:55:11 +00:00
Karl Heuer
c87c4cda2a (auto-mode-alist): Recognize .itcl and .itk suffixes. 1996-02-16 00:50:22 +00:00
Richard M. Stallman
7458cc352f (auto-mode-alist): .ksh suffix means sh-mode.
(write-file): Interactively, prefix arg means don't confirm.
1996-02-02 18:47:34 +00:00
Richard M. Stallman
5a8a160eb6 (list-directory): Set default-directory better if the
argument is a directory's file name.
1996-01-28 19:27:44 +00:00
Karl Heuer
ba369f54e0 (find-file-noselect): Fix error message style. 1996-01-24 23:25:44 +00:00
Karl Heuer
e1ec01c2f1 (auto-mode-alist): Recognize ".exp" suffix. 1996-01-19 22:50:21 +00:00
Karl Heuer
628b603552 (auto-mode-alist): Use "\\`" instead of "^". 1996-01-17 19:14:20 +00:00
Richard M. Stallman
693f800dd6 (auto-mode-alist): Add sgml-mode and html-mode.
(write-contents-hooks): Doc fix.
1996-01-15 05:08:57 +00:00
Karl Heuer
f82966e4c0 (write-contents-hooks): Call make-variable-buffer-local.
Doc fix.
(local-write-file-hooks, write-file-hooks): Doc fixes.
1996-01-09 23:17:37 +00:00
Richard M. Stallman
d1194c856c (interpreter-mode-alist): Add most shells, with sh-mode.
Add tail, more, less, pg with text-mode.
(auto-mode-alist): Recognize extensions that indicate
shell scripts, as well as common init file names.
1996-01-05 02:34:37 +00:00
Karl Heuer
0225ae5eef (make-directory): Doc fix. 1996-01-04 23:34:55 +00:00
Richard M. Stallman
567c1ca939 (abbrev-file-name): Drive letter can go beyond `Z' under MS-DOS/Novell.
(auto-mode-alist): Support txt and txi like text and texi.
(backup-buffer): Use convert-standard-filename.
(basic-save-buffer-1): Make the name of the temporary file (where
precious files are saved) conform to MS-DOS 8+3 constraints.

(convert-standard-filename): New function.
1996-01-01 22:51:51 +00:00
Richard M. Stallman
4503dacb37 (make-auto-save-file-name): Make name always end in #,
i.e. overwrite third char in extension if required.
1995-12-29 03:36:35 +00:00
Richard M. Stallman
6f4983e6e6 (wildcard-to-regexp): New function.
(recover-session): Bind ls-lisp-support-shell-wildcards to t.
1995-12-28 19:24:16 +00:00
Richard M. Stallman
9a30563f92 (revert-buffer): New arg preserve-modes.
(after-find-file): New arg nomodes.
1995-12-25 21:05:31 +00:00
Roland McGrath
76d5492ba7 (save-some-buffers): Don't give message if we queried. 1995-12-24 09:25:19 +00:00
Richard M. Stallman
ac9650be4d (save-buffer): Doc fix. 1995-12-23 07:34:59 +00:00
Karl Heuer
066327aee3 (make-backup-file-name, backup-file-name-p): Use ~ even
on ms-dos.
1995-12-19 21:30:13 +00:00
Karl Heuer
600a5f71e6 (auto-mode-alist): Recognize .S and .asm extensions. 1995-12-19 20:28:26 +00:00
Karl Heuer
1540e4e9cc (set-auto-mode): Recognize `#!/bin/env INTERPRETER' hack. 1995-12-15 21:11:52 +00:00
Erik Naggum
e1dadc172e (recover-file): Also recover new, unsaved files. 1995-12-06 11:59:55 +00:00
Richard M. Stallman
f76e0cd017 (auto-mode-alist): Don't purecopy the alist elts. 1995-11-29 21:18:05 +00:00
Karl Heuer
4147a3ccb5 (find-file-noselect): Respect the value of
find-file-visit-truename when FILENAME is a directory and
find-file-run-dired is non-nil.
1995-11-10 19:12:42 +00:00
Richard M. Stallman
d0fc03efcf (set-auto-mode): If mode cmds move point, obey them. 1995-11-10 19:08:56 +00:00
Richard M. Stallman
2a47b4f5b4 (set-visited-file-name, basic-save-buffer):
Set buffer-file-number consistently with find-file-noselect.
1995-10-29 20:23:42 +00:00
Richard M. Stallman
8ccdc29ebc (set-visited-file-name): Abbreviate buffer-file-name. 1995-10-24 22:14:39 +00:00
Richard M. Stallman
60eaf370b1 (find-alternate-file-other-window): New function. 1995-10-11 15:39:13 +00:00
Richard M. Stallman
5bcb027863 (recover-session): Use auto-save-list-file-prefix. 1995-10-04 19:42:04 +00:00
Richard M. Stallman
953a03b29c (recover-session-finish): Ask only about files that
have auto-save files now.  Don't put "temp" into temp file names.
1995-10-04 18:34:14 +00:00
Roland McGrath
2121cd9c03 (cd): Fix interactive spec to require match if there is no CDPATH. 1995-09-30 16:35:12 +00:00
Richard M. Stallman
d4f567a13b (interpreter-mode-alist): Handle nawk. 1995-09-28 19:19:08 +00:00
Richard M. Stallman
baf9b8c4a3 (find-alternate-file): Kill any preexisting ` **lose**' buf. 1995-09-17 14:12:02 +00:00
Richard M. Stallman
d23e6f972b (auto-mode-alist): .pl is now Perl. 1995-09-12 21:37:08 +00:00
Richard M. Stallman
bccfd93664 (auto-mode-alist): Handle .f90 files. 1995-09-02 16:36:41 +00:00
Richard M. Stallman
a513a2f85f (list-directory): Set default-directory. 1995-08-30 16:01:39 +00:00
Richard M. Stallman
aaf1750122 (recover-session-finish): Catch erorr in recover-file. 1995-08-28 20:13:56 +00:00
Richard M. Stallman
1cc852cc96 (basic-save-buffer): Doc fix.
(after-save-hook): Add defvar.
1995-08-28 15:15:28 +00:00
Richard M. Stallman
4953086242 (basic-save-buffer): Call vc-after-save. 1995-08-22 19:06:19 +00:00
Richard M. Stallman
6cf85938f4 (auto-mode-alist): Turn on use of makefile-mode. 1995-08-22 19:03:41 +00:00
Richard M. Stallman
182891ef3d (basic-save-buffer): Confirm for overwriting old file
when a file name is specified.
1995-08-19 17:01:27 +00:00
Richard M. Stallman
8909596294 (basic-save-buffer-1): Pass new arg to write-region. 1995-08-14 17:24:21 +00:00
Richard M. Stallman
40dfe94dc5 (insert-file-contents-literally): New function.
(find-file-noselect): Use it if new optional argument `rawfile' is non-nil.
1995-08-14 16:05:46 +00:00
Richard M. Stallman
945e196506 (recover-file): It's ok if the visited file doesn't exist.
(recover-session-finish): Compute "file name" from autosave file
if no visited file.
1995-08-13 16:48:13 +00:00