Commit graph

1350 commits

Author SHA1 Message Date
Romain Francoise
d7a2fd422e 2007-11-02 Drake Wilson <drake@begriffli.ch> (tiny change)
* files.el (hack-local-variables): Fix membership tests to avoid
	treating all variables as safe if `enable-local-variables' is
	set to :safe.
2007-11-02 11:02:13 +00:00
Juanma Barranquero
6daab4eda7 (kill-emacs-query-functions): Doc fix; `save-buffers-kill-emacs'
is no longer bound to a key.
2007-10-26 14:26:18 +00:00
Michael Albinus
5b2e628f4c * files.el (backup-buffer-copy): Call `copy-file' with non-nil
preserve-uid-gid.

* net/ange-ftp.el (ange-ftp-copy-file): Add PRESERVE-UID-GID for
compatibility.  It is not used, though.
2007-10-21 10:48:28 +00:00
Reiner Steib
9a9057825c (auto-mode-alist): Don't use doc-view for PS and EPS. 2007-10-18 19:59:52 +00:00
Juri Linkov
8dd4830b2a (auto-mode-alist): Add \\. before PDF/PS/DVI extensions. Regroup. 2007-10-18 00:17:38 +00:00
Reiner Steib
640602f766 * bindings.el (completion-ignored-extensions): Remove pdf and dvi
extensions since they can be viewed with doc-view.

* files.el (auto-mode-alist): Make doc-view-mode the default mode
for pdf, ps and dvi files.

* doc-view.el: Make doc-view-mode the standard mode for viewing
pdf, [e]ps and dvi files and add binding C-c C-c to toggle between
text and image display.  Add binding C-c C-e to switch to an
editing mode.
(doc-view-ghostscript-options, doc-view-ps->pdf): Add "-dSAFER" to
avoid security problems when rendering files untrusted sources.
2007-10-17 21:34:19 +00:00
Miles Bader
b2529d56b5 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Richard M. Stallman
4b690a8334 (directory-abbrev-alist): Doc fix. 2007-10-13 14:10:21 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Juanma Barranquero
458c46fc13 (cd): Use mapc' rather than mapcar'. 2007-09-25 11:05:46 +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
Stefan Monnier
e7988f0920 (auto-mode-alist): Use archive-mode for .rar files. 2007-09-19 17:26:29 +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
Michaël Cadilhac
90d10f16c8 (file-modes-char-to-who, file-modes-char-to-right)
(file-modes-rights-to-number): Auxiliary functions for symbolic to
numeric notation of file modes.
(file-modes-symbolic-to-number): New.  Convert symbolic modes to its
numeric value.
(read-file-modes): New.  Read either an octal value of a file mode or a
symbolic value, and return its numeric value.
2007-09-10 09:51:44 +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
Michaël Cadilhac
661e8cd19b (create-file-buffer): If the filename sans directory starts with spaces,
remove them.
2007-08-31 13:30:02 +00:00
Martin Rudalics
0f39d2c98b (backup-buffer-copy): Try to overwrite old backup first. 2007-08-30 08:16:55 +00:00
Miles Bader
62fb5e25f4 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 857-862)

   - Update from CVS
   - Merge from emacs--rel--22
   - Update from CVS: lisp/emacs-lisp/avl-tree.el: New file.

 * emacs--rel--22  (patch 97-100)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 246-247)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-38
2007-08-27 09:21:49 +00:00
Juri Linkov
1ae0abbc93 (auto-mode-alist): Move "\\.x[bp]m\\'" to image-mode.el. 2007-08-25 14:09:24 +00:00
Glenn Morris
d3c2b0220d (backup-buffer-copy): Fully revert change. Sigh. 2007-08-24 07:11:54 +00:00
Glenn Morris
a2a32f6f06 (backup-buffer-copy): Fully revert change. Sigh. 2007-08-24 07:10:53 +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
bb1f0d92c2 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:08:13 +00:00
Glenn Morris
46b0d02912 (backup-buffer-copy): Revert 2007-08-22 change. 2007-08-24 03:07:45 +00:00
Glenn Morris
c235792646 (backup-buffer-copy): Revert 2007-08-22 change. 2007-08-24 03:07:35 +00:00
Glenn Morris
78a4bda90f Fix typo in previous change. 2007-08-22 04:36:52 +00:00
Glenn Morris
90b64c0920 (backup-buffer-copy): Check backup directory is writable, to avoid
infloop deleting old backup.
2007-08-22 03:49:45 +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
Miles Bader
aaf34461ff Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 846-851)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 88-92)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 242-244)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-31
2007-08-13 13:51:08 +00:00
Miles Bader
37cc095b6a Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +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
326501005a *** empty log message *** 2007-08-05 12:46:33 +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
Michael Albinus
f1fa5062ef * files.el (set-auto-mode): Handle also remote files wrt
`auto-mode-alist'.
2007-08-05 08:50:52 +00:00
Miles Bader
9899d01a0c Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 824-838)

   - Update from CVS
   - Merge from emacs--rel--22
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Fix void function definition error in cus-edit.el
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * emacs--rel--22  (patch 70-83)

   - Update from CVS
   - Remove lisp/erc/erc-nicklist.el
   - Update some .arch-inventory files
   - Indicate that emacs--devo--0--patch-834 does not need to be applied
   - Merge from gnus--rel--5.10
   - Restore lisp/emacs-lisp/cl-loaddefs.el

 * gnus--rel--5.10  (patch 239-241)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-28
2007-07-31 05:50:45 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Miles Bader
492d9f3e3c Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 814-823)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 59-69)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 237-238)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-26
2007-07-24 01:25:28 +00:00
Nick Roberts
3650f60e8a Mark mode-line-remote as risky. 2007-07-22 23:17:14 +00:00
Stefan Monnier
6b6b99547b (locate-dominating-file): Add comment. 2007-07-20 04:00:37 +00:00
Stefan Monnier
418fd37516 (locate-dominating-file): New function. 2007-07-19 03:29:47 +00:00
Michael Albinus
ac25542d33 * files.el (file-remote-p): Introduce optional parameter
IDENTIFICATION.
2007-07-17 21:07:49 +00:00
Miles Bader
7eb1e4534e Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 803-813)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 51-58)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 233-236)

   - Merge from emacs--devo--0
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--multi-tty--0--patch-25
2007-07-15 02:05:20 +00:00