Commit graph

923 commits

Author SHA1 Message Date
Richard M. Stallman
4b690a8334 (directory-abbrev-alist): Doc fix. 2007-10-13 14:10:21 +00:00
Dan Nicolaescu
9a3d273767 (file-name-sans-versions): Use [:alnum:] and also allow
#, @, : and ^.
2007-09-23 16:01:40 +00:00
Dan Nicolaescu
b368551b76 (file-name-sans-versions): Also allow `A-Z'. 2007-09-22 17:52:17 +00:00
Andreas Schwab
d2f95fcaf9 (file-name-sans-versions): Also allow `_'. 2007-09-22 08:51:58 +00:00
Dan Nicolaescu
a3f5d84dac * files.el (file-name-sans-versions): Allow - and a-z in version
names.

* log-view.el (log-view-mode-map, log-view-mode-menu): Bind
log-view-annotate-version.
(log-view-beginning-of-defun, log-view-end-of-defun)
(log-view-annotate-version): New functions.
(log-view-mode): Use log-view-beginning-of-defun and
log-view-end-of-defun.
2007-09-22 00:02:52 +00:00
Eli Zaretskii
6f174d7733 (find-file): Fix last change. 2007-09-13 08:49:47 +00:00
Eli Zaretskii
4d4efd30f7 (find-file, find-file-other-window, find-file-other-frame, find-file-existing)
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame, find-alternate-file-other-window)
(find-alternate-file): Doc fixes.
2007-09-13 08:30:45 +00:00
Richard M. Stallman
70b49e5782 (hack-local-variables-confirm): Rename arg VARS to ALL-VARS. Add doc string. 2007-09-01 16:24:03 +00:00
Martin Rudalics
0f39d2c98b (backup-buffer-copy): Try to overwrite old backup first. 2007-08-30 08:16:55 +00:00
Glenn Morris
d3c2b0220d (backup-buffer-copy): Fully revert change. Sigh. 2007-08-24 07:11:54 +00:00
Glenn Morris
dadeaf0502 Ulrich Mueller <ulm at gentoo.org> (tiny change)
(backup-buffer-copy): Don't wrap delete in condition-case, only try to
delete if file exists.
2007-08-24 03:09:33 +00:00
Glenn Morris
c235792646 (backup-buffer-copy): Revert 2007-08-22 change. 2007-08-24 03:07:35 +00:00
Glenn Morris
e6754bfca5 (backup-buffer-copy): Check backup directory is writable, to avoid
infloop deleting old backup.
2007-08-22 03:47:35 +00:00
Stefan Monnier
4aaffda19b (auto-mode-alist): Use the purecopied text (duh!). 2007-08-08 14:06:02 +00:00
Glenn Morris
4837b516ea Replace `iff' in doc-strings and comments. 2007-08-08 07:40:09 +00:00
Michael Albinus
70aa3317c5 *** empty log message *** 2007-08-05 12:48:27 +00:00
Michael Albinus
6435918d3d * net/tramp.el (tramp-handle-file-remote-p): Return a string as
remote identification.
2007-08-05 12:43:06 +00:00
Michael Albinus
212b726841 * files.el (set-auto-mode): Handle also remote files wrt
`auto-mode-alist'.
2007-08-05 08:57:24 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Richard M. Stallman
290c2be548 (find-file-visit-truename): Fix safe-local-variable value. 2007-07-01 03:23:11 +00:00
Chong Yidong
726d9c5bd2 (auto-mode-alist): Open `.asd' files in lisp-mode. 2007-06-05 15:51:01 +00:00
Chong Yidong
9ff10f6165 (auto-mode-alist): Add lower-priority match for names like
ChangeLog.old.
2007-06-05 15:48:44 +00:00
Chong Yidong
407876dad2 (magic-mode-alist): Remove image-type-auto-detected-p.
(magic-fallback-mode-alist): Add image-type-auto-detected-p.
2007-06-04 20:41:15 +00:00
Richard M. Stallman
c022c4c47e (set-auto-mode): Doc fix. 2007-05-22 11:42:31 +00:00
Stefan Monnier
c11781dedc (magic-mode-alist, magic-fallback-mode-alist):
Move the *ml, Postscript, and XmCD entries to the fallback part.
2007-05-16 16:13:12 +00:00
Stefan Monnier
92228a10a2 (magic-fallback-mode-alist): Rename from file-start-mode-alist. 2007-05-16 16:07:15 +00:00
Juanma Barranquero
756c496fd0 (mode-require-final-newline, require-final-newline, enable-local-variables,
enable-local-eval): Doc fixes.
2007-05-14 10:28:06 +00:00
Richard M. Stallman
1477487565 (file-start-mode-alist): New variable.
(magic-mode-regexp-match-limit): Doc fix.
(set-auto-mode): Handle file-start-mode-alist.
A little cleanup of structure.
2007-05-10 14:48:46 +00:00
Glenn Morris
815fde3466 (magic-mode-alist): `<!DOCTYPE HTML' in html-mode. 2007-04-23 07:17:08 +00:00
Glenn Morris
e7d313a0ad (magic-mode-alist): Allow for carriage-returns in sgml-mode entries. 2007-04-23 01:23:12 +00:00
Glenn Morris
efaa82ff8d (magic-mode-alist): Allow for carriage-returns in html-mode entry. 2007-04-23 01:21:11 +00:00
Chong Yidong
4b025f4758 Revert 2007-03-25 change. 2007-04-13 15:09:37 +00:00
Chong Yidong
0c8e847f89 Don't mark default-directory as a safe local var. 2007-03-25 17:54:35 +00:00
David Kastrup
12333e2ba5 (magic-mode-alist): Require literal "%!PS" string for
magic postscript file detection.
2007-03-20 18:36:15 +00:00
Martin Rudalics
8400146f67 (basic-save-buffer): Do not set visited filename when
the corresponding directory does not exist or the specified
filename is that of an existing directory.
2007-03-20 09:37:57 +00:00
Chong Yidong
c412f81ab8 Revert 2006-12-08 change by Kevin Rodgers due to lack of legal papers. 2007-03-19 18:29:56 +00:00
Richard M. Stallman
87c6026097 (default-directory): Mark safe.
(basic-save-buffer-2): Put proper dir name in error message.
2007-03-19 05:40:20 +00:00
Richard M. Stallman
2c5b1db7f5 (find-file-noselect): No error if file no longer exists.
Display a message and avoid other questions.
2007-03-05 18:46:36 +00:00
Chong Yidong
0c7c413c04 (set-auto-mode-0): Use `indirect-function'.
(hack-one-local-variable): Don't reapply current major mode.
2007-03-01 17:06:40 +00:00
Andreas Schwab
f215a02f44 (hack-one-local-variable-eval-safep): Correct handling
of edebug-form-spec property value.  Reported by Johan Bockgård
<bojohan+mail@dd.chalmers.se>.
2007-02-25 09:24:29 +00:00
Juanma Barranquero
96e777e169 (change-major-mode-with-file-name): Fix typo in docstring. 2007-02-11 02:28:57 +00:00
Chong Yidong
a3f83992c5 (magic-mode-alist): Call image-mode instead of image-mode-maybe for
autodetected images.
2007-02-09 16:50:00 +00:00
Jason Rumney
e8a84e5ba2 (magic-mode-alist): Use image-mode-maybe rather than
image-mode.
2007-01-31 12:37:29 +00:00
Michael Albinus
06531fc3fc * files.el (get-free-disk-space): Return nil for remote
directories.

* net/ange-ftp.el (ange-ftp-ls): In case of wildcards, use "ls"
instead of "dir".
2007-01-30 20:23:38 +00:00
Chong Yidong
5340648dac (hack-local-variables-confirm): Don't keep trying to read an event
from an empty kbd macro.
2007-01-27 19:27:53 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Chong Yidong
38fde45ded (find-alternate-file): Revert query message to Emacs 21 version. 2007-01-20 19:00:10 +00:00
Eli Zaretskii
fe4e58ec6f (abbreviate-file-name): Doc fix. 2007-01-06 21:51:04 +00:00
Richard M. Stallman
b98a8e06e6 (find-file-noselect-1, set-visited-file-name):
Allow backup-enable-predicate to be nil.
2007-01-04 22:14:32 +00:00
Juanma Barranquero
93e7eeb4d8 (version-control): Doc fix. 2007-01-02 01:26:20 +00:00