Commit graph

1214 commits

Author SHA1 Message Date
Vinicius Jose Latorre
c84b30043d revert-buffer docstring fix 2007-12-12 11:31:52 +00:00
Vinicius Jose Latorre
0dff897520 revert-buffer docstring fix 2007-12-12 11:25:21 +00:00
Vinicius Jose Latorre
2a29c40930 return back entry: revert-buffer should eliminate overlays and the mark 2007-12-12 01:18:26 +00:00
Vinicius Jose Latorre
bb14938c9f revert-buffer eliminates overlays and the mark 2007-12-11 00:26:52 +00:00
Dan Nicolaescu
62a7c35dbc (auto-mode-alist): Recognize verilog files. 2007-12-08 19:39:26 +00:00
Deepak Goel
f6e7ec0248 Fix possibly buggy calls to `message'. 2007-12-06 00:17:56 +00:00
Dan Nicolaescu
73e6adaa14 * international/titdic-cnv.el (dos-8+3-filename):
* obsolete/fast-lock.el (msdos-long-file-names):
* frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-22 01:05:55 +00:00
Dan Nicolaescu
99c715160b * frame.el (msdos-mouse-p):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Undo previous change.
2007-11-21 08:37:31 +00:00
Dan Nicolaescu
e8ffb999b9 * frame.el (msdos-mouse-p):
* generic-x.el (w32-shell-name):
* files.el (msdos-long-file-names, w32-long-file-name)
(msdos-long-file-names, dired-get-filename, dired-unmark)
(dired-do-flagged-delete, dos-8+3-filename, vms-read-directory)
(view-mode-disable):
* term/mac-win.el (mac-code-convert-string, mac-coerce-ae-data)
(mac-resume-apple-event, mac-font-panel-mode)
(mac-atsu-font-face-attributes, mac-ae-set-reply-parameter)
(mac-clear-font-name-table):
* term/pc-win.el (msdos-remember-default-colors)
(w16-set-clipboard-data, w16-get-clipboard-data):
* term/w32-win.el (w32-send-sys-command, w32-select-font)
(set-message-beep):
* w32-fns.el (set-message-beep, w32-get-clipboard-data)
(w32-get-locale-info, w32-get-valid-locale-ids)
(w32-set-clipboard-data):
* help-fns.el (ad-get-advice-info):
* font-lock.el (fast-lock-after-fontify-buffer)
(fast-lock-after-unfontify-buffer, fast-lock-mode)
(lazy-lock-after-fontify-buffer)
(lazy-lock-after-unfontify-buffer, lazy-lock-mode):
* net/browse-url.el (w32-shell-execute):
* dos-fns.el (int86, msdos-long-file-names):
* dos-w32.el (default-printer-name): Declare as functions.
2007-11-21 03:06:01 +00:00
Werner LEMBERG
dddb4597e1 * files.el (set-auto-mode-1): Check second line for -*- if file
starts with '\" (which is used by man pages to identify needed
troff preprocessors).
2007-11-16 08:03:45 +00:00
Carsten Dominik
18d8cb813a * files.el (auto-mode-alist): Select org-mode for files with the
extension ".org".
2007-11-10 17:20:37 +00:00
Juanma Barranquero
d355b27085 (enable-local-variables): Doc fix. 2007-11-09 10:40:32 +00:00
Juanma Barranquero
3f2623c377 (enable-local-variables): Doc fix. 2007-11-09 03:19:27 +00:00
Romain Francoise
3020ee9278 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:03:43 +00:00
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