Commit graph

1146 commits

Author SHA1 Message Date
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
Miles Bader
c89d0fd415 Merge from emacs--rel--22
Patches applied:

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

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

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

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

2007-07-08  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/cus-start.el (file-coding-system-alist): Fix custom type.

2007-07-08  Chong Yidong  <cyd@stupidchicken.com>

   * lisp/longlines.el (longlines-wrap-region): Avoid marking buffer as
   modified.
   (longlines-auto-wrap, longlines-window-change-function): Remove
   unnecessary calls to set-buffer-modified-p.

2007-07-03  Dan Nicolaescu  <dann@ics.uci.edu>

   * lisp/progmodes/gud.el (auto-mode-alist): Match more valid gdb init
   file names.

2007-07-01  Richard M. Stallman  <rms@gnu.org>

   * lisp/files.el (find-file-visit-truename): Fix safe-local-variable value.

2007-07-04  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-sum.el (gnus-summary-catchup): Don't recognize cached
   articles as unfetched articles.

2007-07-02  Reiner Steib  <Reiner.Steib@gmx.de>

   * lisp/gnus/gnus-start.el (gnus-level-unsubscribed): Improve doc string.

2007-06-26  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-art.el (gnus-article-summary-command-nosave)
   (gnus-article-read-summary-keys): Don't set the 3rd arg of
   pop-to-buffer for XEmacs.

2007-07-02  Reiner Steib  <Reiner.Steib@gmx.de>

   * man/gnus-faq.texi ([3.2]): Fix locating of environment variables in the
   Control Panel.

   * man/gnus.texi (Misc Article): Add index entry for
   gnus-single-article-buffer.

2007-06-27  Andreas Seltenreich  <andreas@gate450.dyndns.org>

   * man/gnus.texi (Starting Up): Fix typo.

2007-06-25  Katsumi Yamaoka  <yamaoka@jpl.org>

   * man/gnus.texi (Asynchronous Fetching): Fix typo.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-806
2007-07-10 02:02:35 +00:00
Michael Albinus
00d6fd04d8 * files.el (file-remote-p): Introduce optional parameter CONNECTED.
* net/tramp.el:
* net/tramp-ftp.el:
* net/tramp-smb.el:
* net/tramp-uu.el:
* net/trampver.el: Migrate to Tramp 2.1.

* net/tramp-cache.el:
* net/tramp-fish.el:
* net/tramp-gw.el: New Tramp packages.

* net/tramp-util.el:
* net/tramp-vc.el: Removed.

* net/ange-ftp.el: Add ange-ftp property to 'start-file-process
(ange-ftp-file-remote-p): Handle optional parameter CONNECTED.

* net/rcompile.el (remote-compile): Handle Tramp 2.1 arguments.

* progmodes/compile.el (compilation-start): Redefine
`start-process' temporarily when `default-directory' is remote.
Remove case of synchronous compilation, this won't happen ever.
(compilation-setup): Make local variable `comint-file-name-prefix'
for remote compilation.
2007-07-08 18:03:20 +00:00
Stefan Monnier
75f6af1928 (find-file-confirm-nonexistent-file): Rename from
find-file-confirm-inexistent-file.  Update users.
2007-07-07 05:28:29 +00:00
Richard M. Stallman
ad3d50ef6d (find-file-confirm-inexistent-file): Make it a defcustom.
Make nil the default.
2007-07-03 02:54:27 +00:00