1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00
Commit Graph

1120 Commits

Author SHA1 Message Date
Martin Rudalics
35e3abe55c (file-truename): Don't raise args-out-of-range error
when filename has no separator on windows-nt.  (Bug#982)
2008-09-15 09:23:45 +00:00
Dan Nicolaescu
c3190aad4b (auto-mode-alist): Use verilog-mode for SystemVerilog files. 2008-09-02 16:10:37 +00:00
Chong Yidong
7e537871ff (auto-save-visited-file-name): Move definition to fileio.c. 2008-08-05 21:41:46 +00:00
Chong Yidong
9b3e808682 (hack-one-local-variable-eval-safep): Handle lisp-indent-function and
scheme-indent-function in addition to the deprecated lisp-indent-hook.
2008-08-05 20:46:42 +00:00
Juanma Barranquero
094eabe407 * files.el (read-file-modes): Fix tpo in docstring. 2008-07-31 21:35:59 +00:00
Chong Yidong
20431da988 (abbreviate-file-name): When replacing $HOME with ~, turn off
case-fold-search.
2008-07-31 21:09:05 +00:00
Juri Linkov
7cb41b3278 (read-file-modes): Set default value to the original
mode string using absolute notation like u=rwx,g=rx,o=rx.
Use it as the `default' arg of `read-string'.
2008-07-31 17:18:06 +00:00
Dan Nicolaescu
7c2fb837ec * bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.

* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.

* message.el (Module):

* gnus-start.el (Module):

* gnus-registry.el (Module):

* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.

* etags.c:
* emacsclient.c: Remove VMS support.

* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.

* ediff.texi: Remove VMS support.

* os.texi:
* intro.texi:
* files.texi: Remove VMS support.

* emacs.texi: Remove VMS support.

* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Chong Yidong
2b8ac025af (normal-mode): Move call to hack-project-variables into
hack-local-variables.
(file-local-variables-alist, before-hack-local-variables-hook):
New vars.
(ignored-local-variables): Add file-local-variables-alist.
(hack-local-variables-filter): Renamed from
hack-local-variables-apply.  Add the result to
file-local-variables-alist, without applying them.
(hack-local-variables): Set file-local-variables-alist to nil.
Call hack-project-variables and before-hack-local-variables-hook.
Apply variables here, instead of hack-local-variables-apply.
Based on a patch by Alan Mackenzie.
2008-07-31 01:22:54 +00:00
Jason Rumney
85d181e19e (file-truename): Get truename of ancestors if file does
not exist on Windows.
2008-07-11 23:08:07 +00:00
Jason Rumney
6cf29fe815 Changes from Toru Tsuneyoshi for using Trash can when deleting files.
* files.el (backup-extract-version): Handle versioned directories.
	(trash-directory): New variable.
	(move-file-to-trash): New function.

	* cus-start.el (delete-by-moving-to-trash): Declare for custom.

        * lisp.h (Qdelete_file, Qdelete_directory): Declare extern.

        * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars.
        (syms_of_fileio): Initialize and export them.
        (Fdelete_directory, Fdelete_file): Optionally delete via trash.

        * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already.
        (Fsystem_move_file_to_trash): New function.
        (syms_of_w32fns): Export it to lisp.
2008-07-02 13:19:07 +00:00
Stefan Monnier
9b106871a4 * emacs-lisp/map-ynp.el (map-y-or-n-p): Add support for other-window-scroll.
* files.el (save-some-buffers-action-alist): Only use recursive-edit
if the user enabled recursive-minibuffers.
2008-06-11 01:47:48 +00:00
Stefan Monnier
5ee66afc6d (hack-local-variables): Don't signal an error if the local
variable section is not properly terminated.
2008-05-28 20:23:06 +00:00
Stefan Monnier
ab1d38354d * progmodes/flymake.el (flymake-save-buffer-in-file):
* shadowfile.el (shadow-copy-file):
* arc-mode.el (archive-*-write-file-member):
* files.el (diff-buffer-with-file):
* subr.el (with-temp-file): Pass nil to write-region.
* jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2008-05-28 17:35:34 +00:00
Stefan Monnier
6b3d752c5d * src/fileio.c (Fwrite_region): Delay the defaulting to beg&z to after
calling build_annotations.
* lisp/files.el (basic-save-buffer-2): Pass nil rather than (point-min)
to write-region.
2008-05-28 12:36:15 +00:00
Stefan Monnier
a77b655d87 (locate-dominating-file): Accept non-existing argument.
(project-find-settings-file): Rewrite, using locate-dominating-file.
2008-05-22 03:09:34 +00:00
Glenn Morris
361edc854f (c-postprocess-file-styles): Declare for compiler. 2008-05-21 03:55:40 +00:00
Michael Olson
360a13492a files.el (project-find-settings-file): Change concat to expand-file-name. 2008-05-20 03:15:16 +00:00
Michael Olson
12a28ea34c lisp/files.el: Remove trailing whitespace. 2008-05-19 22:39:16 +00:00
Michael Olson
1b21ee065d Implement Project-local variables. 2008-05-19 22:36:09 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Stefan Monnier
2bd49e46f4 (minibuffer-with-setup-hook): Allow `fun' expressions rather than only value. 2008-05-02 17:22:04 +00:00
Stefan Monnier
28bb43e10f (read-buffer-to-switch): Avoid making assumptions about `other-buffer'. 2008-04-29 14:47:45 +00:00
Dan Nicolaescu
bfeee9d151 * epa-file.el (auto-encryption-mode): Rename from epa-file-mode.
(epa-file-handler): Put 'safe-magic and 'operations properties.

* epa.el (epa-global-minor-modes, epa-mode, epa-menu)
(epa-menu-items): Remove.

* epa-dired.el (epa-dired-do-decrypt, epa-dired-do-verify)
(epa-dired-do-sign, epa-dired-do-encrypt): Add autoload cookie.
(epa-dired-mode, epa-global-dired-mode): Remove.

* dired.el (dired-mode-map): Bind encryption/decryption commands.

* menu-bar.el (menu-bar-encryption-decryption-menu): New menu item.

* files.el (insert-file-contents-literally): Inhibit epa-file-handler.
2008-04-27 19:49:15 +00:00
Juri Linkov
e4c0cccf13 (read-buffer-to-switch): New function.
(switch-to-buffer-other-window, switch-to-buffer-other-frame):
Change interactive spec to call read-buffer-to-switch instead of
using the letter "B".
2008-04-22 19:48:02 +00:00
Stefan Monnier
e8dab97599 * files.el (locate-file-completion-table): Rename from
locate-file-completion and make it use `pred' in the normal way.
(locate-file-completion): New compatibility wrapper.
(load-library): Use locate-file-completion-table.
* emacs-lisp/find-func.el (find-library): Likewise.
* info.el: Use with-current-buffer and inhibit-read-only.
(Info-read-node-name-2): Change to use `predicate' in the normal way.
(Info-read-node-name-1): Adjust uses accordingly.
2008-04-19 03:33:13 +00:00
Glenn Morris
cd6ef82d85 Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:17:19 +00:00
Juanma Barranquero
afe9998d56 (abort-if-file-too-large): Fix typo in docstring. 2008-04-05 21:15:20 +00:00
Adrian Robert
4954b81b55 files.el: add abort-if-file-too-large and use it in find-file-noselect and insert-file-1 2008-04-05 12:03:23 +00:00
Stefan Monnier
ece2193705 (auto-mode-alist): Use archive-mode for Debian packages. 2008-04-03 20:06:46 +00:00
Stefan Monnier
ae0ece90c6 (make-directory): Docstring fix. 2008-03-14 17:14:09 +00:00
Stefan Monnier
38a79e3315 (display-buffer-other-frame): Eliminate problematic code. 2008-03-11 20:48:57 +00:00
Miles Bader
51fb064bc7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1090
2008-03-01 01:28:31 +00:00
Jason Rumney
ad80c67928 (make-auto-save-file-name): Encode more characters in
non-file buffer names. Use url-encoding.
2008-02-26 16:52:02 +00:00
Chong Yidong
d6d6157455 (shell-quote-wildcard-pattern): Quote ' and " as well. 2008-02-25 17:42:13 +00:00
Chong Yidong
df28b5c176 (shell-quote-wildcard-pattern): Quote ' and " as well. 2008-02-25 17:40:42 +00:00
Miles Bader
ffe832ea68 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1081
2008-02-25 00:21:57 +00:00
Jason Rumney
12f68d3fdf (file-name-invalid-regexp): Fix octal/decimal confusion. 2008-02-24 16:57:51 +00:00
Stefan Monnier
a02bf0c3ee (locate-dominating-file): Fix thinko in last change.
Reported by Bruce Stephens <bruce.stephens@isode.com>.
2008-02-19 02:21:08 +00:00
Stefan Monnier
5ffc4c051f (locate-dominating-file): Remove initial loop because it's
not careful enough.  Detect the uid-change all within the main loop.
2008-02-16 21:39:31 +00:00
Stefan Monnier
8299c8a5ce (file-remote-p): Docstring fix. 2008-01-30 21:25:08 +00:00
Miles Bader
02cbe062be Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1024
2008-01-30 07:11:04 +00:00
Richard M. Stallman
6638102773 (hack-local-variables): Don't query about fake variables. 2008-01-29 14:45:13 +00:00
Miles Bader
1bad168e59 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Dan Nicolaescu
146b3daf07 (safe-local-eval-forms): Mark
(add-hook 'write-file-hooks 'time-stamp) as safe.
2008-01-10 14:01:13 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Thien-Thi Nguyen
cfef87adf1 (cd-absolute): Fix omission bug:
Make `list-buffers-directory' buffer-local.
2007-12-29 12:59:09 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
73936494a3 (conf-mode-maybe): New function.
(auto-mode-alist): Use conf-mode-maybe for .conf etc.
2007-12-26 17:29:34 +00:00