Jim Blandy
28dbf5014a
* files.el (insert-directory): Undo change of March 23;
...
dereferencing links is inappropriate for dired.
* files.el (abbreviate-file-name): If abbreviated-home-dir ends
with a slash, don't remove the corresponding slash from filename
when we collapse the home directory to ~.
1993-05-03 03:37:22 +00:00
Richard M. Stallman
1770543d43
(find-file-noselect): On VMS, maybe set buffer-file-name
...
to the truename. Depends on find-file-not-true-dirname-list
1993-05-02 12:46:26 +00:00
Richard M. Stallman
1cc2fbeb29
(find-file-noselect): Do set buffer-file-name
...
to the truename, when find-file-visit-truename.
(file-truename): Redo esr's change.
1993-04-30 11:54:04 +00:00
Roland McGrath
59c6a78e58
(file-truename): Undo last change.
1993-04-28 17:33:42 +00:00
Eric S. Raymond
8a5066940a
(file-truename): Do the right thing when /home/gp2/eric = "".
1993-04-27 21:59:41 +00:00
Eric S. Raymond
a91b2e223a
(cd): Handle leading "~" like an absolute filename.
1993-04-26 05:01:41 +00:00
Eric S. Raymond
231c4e102b
(cd): Changed to use to resolve relative cd calls.
...
(cd-absolute): Added. This is actually the old cd code with a changed
doc string.
(parse-colon-path): Added. Path-to-string exploder --- may be useful elsewhere.
1993-04-25 06:14:06 +00:00
Roland McGrath
4269ed64c8
(find-file-noselect): Never set SAME-TRUENAME to a buffer whose
...
buffer-file-name is nil.
1993-04-19 20:36:23 +00:00
Roland McGrath
a292c99fb5
(set-auto-mode): If the buffer begins with "#!", look for -*- in the first
...
two lines, not just the first one.
1993-04-19 20:27:50 +00:00
Richard M. Stallman
4e7afa864d
(find-file-noselect): Verify other buffers' file numbers are still valid.
1993-04-11 21:22:35 +00:00
Noah Friedman
9115e9389c
(find-backup-file-name): delete nothing if overflow in number of files to keep.
1993-03-30 22:21:03 +00:00
Eric S. Raymond
d87f0d7f53
Fixed typo introduced by last patch.
1993-03-28 06:36:19 +00:00
Eric S. Raymond
c80d2575c0
(auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex.
1993-03-28 06:24:44 +00:00
Richard M. Stallman
c9dca4e092
(local-write-file-hooks): New variable.
...
(set-visited-file-name): Kill local-write-file-hooks as local var.
(basic-save-buffer): Use local-write-file-hooks.
1993-03-26 07:28:20 +00:00
Jim Blandy
632c2579f7
* files.el (insert-directory): Do chase symlinks before passing
...
the directory name to ls.
1993-03-23 07:41:49 +00:00
Eric S. Raymond
e41b2db1da
Added or corrected Commentary sections
1993-03-22 03:27:18 +00:00
Jim Blandy
b411d947d8
* files.el (basic-save-buffer): If file-precious-flag is set, and
...
we write the buffer to a temp file and then rename it, don't
neglect to set the new file's modes properly.
1993-03-11 07:04:44 +00:00
Richard M. Stallman
41f48cb1bd
(write-file): Handle directory name as arg.
1993-03-03 05:12:05 +00:00
Jim Blandy
1ab31687d4
* files.el (revert-buffer): Reverse the sense of the first
...
argument, but leave interactive usage the same.
* vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly
appropriate arguments. This seems to be the only file which was
adjusted for the new meaning of the revert-buffer arguments.
1993-02-22 14:17:16 +00:00
Richard M. Stallman
406e12d963
(insert-directory): Doc fix.
1993-02-20 06:23:08 +00:00
Richard M. Stallman
92966e6f18
(find-file-hooks): Delete permanent-local property.
...
(find-file-not-found-hooks): Likewise.
1993-02-15 19:02:55 +00:00
Roland McGrath
2be5e5dbe6
(switch-to-buffer-other-frame): Pass t to pop-to-buffer.
1993-01-14 21:28:18 +00:00
Richard M. Stallman
ffb3a4db3c
(abbreviated-home-dir): New variable.
...
(abbreviate-file-name): Properly convert abbreviated homedir to ~.
1992-12-26 08:46:31 +00:00
Jim Blandy
5dbfdacd20
The find-file-name-handler function in ../src/fileio.c is now
...
callable from lisp; use it instead of writing out its code.
* dired-aux.el (dired-compress-file): Just that.
* dired.el (dired-uncache): Just that.
* files.el (file-local-copy, file-truename,
file-name-sans-versions, make-directory, save-buffers-kill-emacs):
Just that.
* ls-lisp.el (insert-directory): Just that.
1992-12-12 15:21:45 +00:00
Richard M. Stallman
4e43240ad3
(make-directory): Renamed from make-directory-path.
...
Optional argument says whether to create parent dirs.
Invoke file-name handler here.
(after-find-file): Delete code that offers to create dir.
Instead, just print a message.
1992-11-03 07:07:02 +00:00
Richard M. Stallman
6861ad22b2
(set-visited-file-name): Change the auto save file name.
1992-10-23 11:06:14 +00:00
Richard M. Stallman
2916578780
Doc fixes.
1992-10-21 04:52:59 +00:00
Richard M. Stallman
6f176f940e
(file-truename): Check for root by seeing if
...
directory-file-name returns same as DIR.
Look for a file-truename handler for the file name.
1992-10-20 06:39:24 +00:00
Jim Blandy
6d1df4b2a4
* files.el (file-truename): The variable ~ should be considered an
...
absolute pathname; handle it correctly. Concatenate the directory
onto the filename in the correct order.
1992-10-14 16:45:31 +00:00
Richard M. Stallman
f3e2360646
(buffer-file-number): New variable.
...
(find-file-noselect): Record the file's filenum and devnum.
Notify if any buffer has the same values.
(basic-save-buffer): Save new filenum and devnum.
For file-precious-flag, pass real name as VISIT arg of write-region.
(set-visited-file-name): Likewise.
Clear buffer-file-{number,truename} if now visiting no file.
1992-10-12 04:45:53 +00:00
Richard M. Stallman
5792c834cd
Doc fix.
1992-10-09 05:29:15 +00:00
Richard M. Stallman
7984cdcb44
(hack-local-variables): Ignore attempts to bind enable-local-eval.
1992-10-08 06:14:35 +00:00
Richard M. Stallman
46fa307385
(file-relative-name-1): New function split out.
...
(file-relative-name): Use it.
1992-09-28 13:02:52 +00:00
Roland McGrath
71fe1fcc56
(file-relative-name): Rewritten so unrelativizable file names win.
1992-09-27 02:40:49 +00:00
Roland McGrath
ea912aa694
(file-relative-name): Don't lose when DIRECTORY is nil.
1992-09-27 02:27:00 +00:00
Roland McGrath
6c636af99b
(file-relative-name): New function.
1992-09-27 02:25:31 +00:00
Richard M. Stallman
8cfb9d4630
(after-find-file): New arg NOAUTO.
...
(revert-buffer, recover-file): Pass t for that arg.
1992-09-24 07:23:59 +00:00
Richard M. Stallman
ec8be6da94
entered into RCS
1992-09-20 23:59:32 +00:00
Richard M. Stallman
5d68c2c227
*** empty log message ***
1992-09-14 01:39:31 +00:00
Richard M. Stallman
c3554e9565
*** empty log message ***
1992-09-13 04:35:22 +00:00
Richard M. Stallman
65864ae07e
*** empty log message ***
1992-09-12 08:44:18 +00:00
Richard M. Stallman
7adc58e517
*** empty log message ***
1992-09-11 07:05:14 +00:00
Richard M. Stallman
2bba782ce5
*** empty log message ***
1992-09-01 00:26:58 +00:00
Joseph Arceneaux
a61f59b428
*** empty log message ***
1992-08-06 02:56:35 +00:00
Richard M. Stallman
1586b965b9
*** empty log message ***
1992-08-03 02:02:37 +00:00
Richard M. Stallman
df01170b28
*** empty log message ***
1992-08-03 01:04:04 +00:00
Roland McGrath
907482b94c
*** empty log message ***
1992-07-28 23:26:57 +00:00
Richard M. Stallman
2d05139977
*** empty log message ***
1992-07-28 19:38:08 +00:00
Richard M. Stallman
924f0a2420
*** empty log message ***
1992-07-22 23:07:07 +00:00
Eric S. Raymond
3a801d0c71
*** empty log message ***
1992-07-22 04:22:42 +00:00