- 10 Dec, 2014 1 commit
-
-
Lars Magne Ingebrigtsen authored
* files.el (directory-files-recursively): Use `file-name-all-completions' instead of `directory-files' for greater speed.
-
- 09 Dec, 2014 1 commit
-
-
Lars Magne Ingebrigtsen authored
* doc/lispref/files.texi (Contents of Directories): Document directory-files-recursively. * etc/NEWS: Mention directory-files-recursively. * lisp/files.el (find-files): New function.
-
- 04 Dec, 2014 1 commit
-
-
Eli Zaretskii authored
-
- 03 Dec, 2014 2 commits
-
-
Eric S. Raymond authored
* files.el (file-tree-walk): Fix docstring.
-
Eric S. Raymond authored
-
- 07 Nov, 2014 1 commit
-
-
Michael Albinus authored
`insert-file-contents' by `unwind-protect', in order to set the buffer's file name anyway. Fixes: debbugs:18891
-
- 16 Oct, 2014 1 commit
-
-
Tom Tromey authored
(bug #18719).
-
- 04 Oct, 2014 1 commit
-
-
Mark Oteiza authored
Fixes: debbugs:18488
-
- 01 Oct, 2014 1 commit
-
-
Stefan Monnier authored
* lisp/emacs-lisp/gv.el (alist-get): Provide expander. * lisp/winner.el (winner-remember): * lisp/tempo.el (tempo-use-tag-list): * lisp/progmodes/gud.el (minor-mode-map-alist): * lisp/international/mule-cmds.el (define-char-code-property): * lisp/frameset.el (frameset-filter-params): * lisp/files.el (dir-locals-set-class-variables): * lisp/register.el (get-register, set-register): * lisp/calc/calc-yank.el (calc-set-register): Use it. * lisp/ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete. * lisp/tooltip.el (tooltip-set-param): Mark as obsolete. (tooltip-show): Use alist-get instead. * lisp/ses.el (ses--alist-get): Remove. Use alist-get instead. * admin/unidata/unidata-gen.el (unidata-gen-table-word-list): Use alist-get and cl-incf.
-
- 29 Sep, 2014 1 commit
-
-
Stefan Monnier authored
Except where we expect to backport the corresponding change.
-
- 29 Aug, 2014 1 commit
-
-
Leo Liu authored
append to minibuffer-setup-hook. Fixes: debbugs:18341
-
- 12 Aug, 2014 1 commit
-
-
Stefan Monnier authored
-
- 11 Aug, 2014 1 commit
-
-
Glenn Morris authored
It causes a more serious problem than the one it solves. This closes bug#18141, and reopens bug#13522. * lisp/files.el (basic-save-buffer-2): Revert 2013-01-31 change. * src/fileio.c: Revert 2013-01-31 change. (choose_write_coding_system): No longer callable from Lisp. Move last piece back here from Fwrite_region. (Fwrite_region, syms_of_fileio): Update for above changes. * test/automated/data/files-bug18141.el.gz: New file. * test/automated/files.el (files-test-bug-18141-file): New variable and test.
-
- 07 Aug, 2014 2 commits
-
-
Reuben Thomas authored
* notes/exit-value: Remove specific discussion of VMS. * doc/emacs/programs.texi (Program Modes): Don't advertise VMS DCL support any more. * doc/misc/ediff.texi (Merging and diff3): Don't mention lack of support for VMS diff, we no longer support VMS. * lisp/progmodes/ada-mode.el: * lisp/net/tramp.el (tramp-handle-file-symlink-p): * lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment about VMS, which we no longer support. * lisp/progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS, and fix a FIXME, using convert-standard-filename in place of removed ada-convert-file-name. * lisp/url/url-handlers.el: Remove a comment about VMS, which we no longer support.
-
Reuben Thomas authored
* README: ``MSDOG'' becomes ``MS-DOS''. * lisp/arc-mode.el: Fix a couple of ``MS-DOG''s missed in the previous commit. * lisp/file-mode.el: ditto. * src/editfns.c: Fix a couple of ``MS-DOG''s missed in the previous commit. * src/xfaces.c: ditto.
-
- 25 Jul, 2014 1 commit
-
-
Glenn Morris authored
* lisp/files.el (toggle-read-only): Re-add basic doc-string. * lisp/vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
-
- 21 Jul, 2014 1 commit
-
-
Glenn Morris authored
* progmodes/hideif.el (hide-ifdef-mode-submap): Also substitute read-only-mode. * bindings.el (mode-line-toggle-read-only): * bs.el (bs-toggle-readonly): * buff-menu.el (Buffer-menu-toggle-read-only): * dired.el (dired-toggle-read-only): * files.el (view-read-only, find-file-read-only) (find-file-read-only-other-window) (find-file-read-only-other-frame): * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only): Doc fixes re toggle-read-only. * view.el: Comment updates.
-
- 11 Jul, 2014 1 commit
-
-
Dmitry Antipov authored
sysinfo failed. Adjust docstring. * doc/lispref/internals.texi (Garbage Collection): Mention memory-info. * lisp/files.el (out-of-memory-warning-percentage): New defcustom. (warn-maybe-out-of-memory): Use it.
-
- 10 Jul, 2014 3 commits
-
-
Eli Zaretskii authored
-
Dmitry Antipov authored
-
Dmitry Antipov authored
Linux 'sysinfo' function and 'struct sysinfo' type. * src/alloc.c (Fmemory_info): New function. * lisp/files.el (warn-maybe-out-of-memory): New function. (find-file-noselect): Use it.
-
- 28 Jun, 2014 1 commit
-
-
Stefan Monnier authored
-
- 25 Jun, 2014 1 commit
-
-
Dmitry Antipov authored
* src/fns.c (validate_subarray): Add prototype. (Fcompare_substring): Use validate_subarray to check ranges. Adjust comment to mention that the semantics was changed. Also see http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html. * lisp/files.el (dir-locals-find-file, file-relative-name): * lisp/info.el (Info-complete-menu-item): * lisp/minibuffer.el (completion-table-subvert): Prefer string-prefix-p to compare-strings to avoid out-of-range errors. * lisp/subr.el (string-prefix-p): Adjust to match strict range checking in compare-strings. * test/automated/fns-tests.el (fns-tests-compare-string): New test.
-
- 12 Jun, 2014 1 commit
-
-
Kevin Ryde authored
Fixes: debbugs:17745
-
- 08 Jun, 2014 1 commit
-
-
Glenn Morris authored
* doc/emacs/buffers.texi (Uniquify): Copyedits. * doc/emacs/files.texi (Visiting): Update for uniquify changes. * doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify. * doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details. * lisp/bookmark.el (bookmark-load): Doc fix. * lisp/uniquify.el (uniquify-buffer-name-style): Doc fix. * lisp/files.el: Comment. * etc/NEWS: Related edit.
-
- 31 May, 2014 1 commit
-
-
Glenn Morris authored
Fixes: debbugs:17641
-
- 21 May, 2014 1 commit
-
-
Daniel Colascione authored
* lisp/files.el (interpreter-mode-alist): Add mksh. * lisp/progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh derivative. (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to mksh. Improve custom spec; allow regular expressions. (sh-shell): Delegate name splitting to `sh-canonicalize-shell'. (sh-after-hack-local-variables): New function. (sh-mode): Use it; respect file-local `sh-shell' variable. (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding the normalization. (sh-canonicalize-shell): Rewrite to support regexes. Fixes: debbugs:17333
-
- 14 May, 2014 1 commit
-
-
Glenn Morris authored
* lisp/subr.el (with-file-modes): New macro. * lisp/printing.el (pr-save-file-modes): * lisp/eshell/esh-util.el (eshell-with-file-modes): Make obsolete. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Add with-file-modes. * lisp/doc-view.el (doc-view-make-safe-dir): * lisp/epg.el (epg--start): * lisp/files.el (locate-user-emacs-file, make-temp-file) (backup-buffer-copy, move-file-to-trash): * printing.el (pr-despool-print, pr-call-process, pr-text2ps): * eshell/esh-util.el (eshell-with-private-file-modes) (eshell-make-private-directory): * lisp/net/browse-url.el (browse-url-mosaic): * lisp/obsolete/mailpost.el (post-mail-send-it): * lisp/obsolete/pgg-pgp.el (pgg-pgp-verify-region): * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-verify-region): * lisp/url/url-util.el (url-make-private-file): Use with-file-modes. * doc/lispref/files.texi (Changing Files): Mention with-file-modes. * etc/NEWS: Mention this.
-
- 09 May, 2014 2 commits
-
-
Glenn Morris authored
* lisp/files.el (file-expand-wildcards): * lisp/man.el (Man-support-local-filenames): * lisp/printing.el (pr-i-directory, pr-interface-directory): * lisp/progmodes/grep.el (lgrep, rgrep): * lisp/textmodes/ispell.el (ispell-call-process) (ispell-call-process-region, ispell-start-process) (ispell-init-process): * lisp/mh-e/mh-e.el (mh-variants): Use file-accessible-directory-p.
-
Glenn Morris authored
rather than executable. This can't be any worse, and may be better in some situations. It may or may not fix bug#17330.
-
- 04 Apr, 2014 1 commit
-
-
Glenn Morris authored
* doc/emacs/arevert-xtra.texi (Supporting additional buffers): * doc/lispref/backups.texi (Reverting): Update for buffer-stale-function also applying to file-buffers. * lisp/autorevert.el (auto-revert-buffers): * lisp/files.el (buffer-stale--default-function) (buffer-stale-function, revert-buffer--default): Doc tweaks. * etc/NEWS: Related edits.
-
- 03 Apr, 2014 1 commit
-
-
Glenn Morris authored
* lisp/files.el (make-backup-file-name-function) (make-backup-file-name, make-backup-file-name--default-function) (make-backup-file-name-1, find-backup-file-name) (revert-buffer-function, revert-buffer-insert-file-contents-function) (buffer-stale--default-function, buffer-stale-function) (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p) (revert-buffer, revert-buffer--default) (revert-buffer-insert-file-contents--default-function): Doc fixes related to defaults no longer being nil. (make-backup-file-name-function): Bump :version. Restore nil as a valid but deprecated custom type. * etc/NEWS: Related edit.
-
- 26 Mar, 2014 1 commit
-
-
Glenn Morris authored
Every platform supports it, and the runtime option `create-lockfiles' replaces it. * configure.ac (CLASH_DETECTION): Remove option. * lisp/files.el (lock-buffer, unlock-buffer, file-locked-p): Remove fallback aliases, since they are always defined now. * src/buffer.c (Frestore_buffer_modified_p, Fkill_buffer): * src/emacs.c (shut_down_emacs): * src/fileio.c (Finsert_file_contents, write_region): * src/filelock.c (top-level, syms_of_filelock): * src/insdel.c (prepare_to_modify_buffer_1): CLASH_DETECTION is always defined now. * admin/CPP-DEFINES: Remove CLASH_DETECTION.
-
- 22 Mar, 2014 2 commits
-
-
Glenn Morris authored
* lisp/help-fns.el (help-fns--interactive-only): New function. (help-fns-describe-function-functions): Add the above function. * lisp/simple.el (beginning-of-buffer, end-of-buffer, insert-buffer) (next-line, previous-line): Remove hand-written interactive-only information from doc strings, it is auto-generated now. * lisp/bookmark.el (bookmark-write): * lisp/epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign) (epa-mail-import-keys): Mark interactive-only, and remove hand-written interactive-only information from doc strings. * lisp/epa.el (epa-decrypt-armor-in-region, epa-verify-region) (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region): * lisp/files.el (not-modified): * lisp/simple.el (mark-whole-buffer): Mark interactive-only. * doc/lispref/commands.texi (Defining Commands): Mention that interactive-only also affects describe-function. * etc/NEWS: Mention this.
-
Glenn Morris authored
* lisp/emacs-lisp/byte-run.el (defun-declarations-alist): Add interactive-only. Doc tweak. (macro-declarations-alist): Doc tweak. * lisp/subr.el (declare): Doc tweak (add xref to manual). * lisp/comint.el (comint-run): * lisp/files.el (insert-file-literally, insert-file): * lisp/replace.el (replace-string, replace-regexp): * lisp/simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char) (delete-forward-char, goto-line, insert-buffer, next-line) (previous-line): Set interactive-only via declare. * doc/lispref/functions.texi (Declare Form): Add interactive-only. * doc/lispref/commands.texi (Defining Commands) Mention declare. * etc/NEWS: Mention this.
-
- 16 Mar, 2014 1 commit
-
-
Martin Rudalics authored
* window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME current (Bug#16816, Bug#17007). (with-current-buffer-window): New macro doing the same as `with-temp-buffer-window' but with BUFFER-OR-NAME current. * help.el (help-print-return-message): Warn in doc-string to not use this in `with-help-window'. (describe-bindings-internal): Call `describe-buffer-bindings' from within help buffer. See Juanma's scenario in (Bug#16816). (with-help-window): Update doc-string. * dired.el (dired-mark-pop-up): * files.el (save-buffers-kill-emacs): * register.el (register-preview): Use `with-current-buffer-window' instead of `with-temp-buffer-window'. * display.texi (Temporary Displays): Rewrite descriptions of `with-output-to-temp-buffer' and `with-temp-buffer-window'. * help.texi (Help Functions): Rewrite description of `with-help-window'.
-
- 10 Mar, 2014 1 commit
-
-
Glenn Morris authored
-
- 05 Mar, 2014 1 commit
-
-
Glenn Morris authored
* lisp/files.el (interpreter-mode-alist): * lisp/progmodes/sh-script.el (sh-ancestor-alist): Add dash. Fixes: debbugs:16938
-
- 04 Mar, 2014 1 commit
-
-
Stefan Monnier authored
-
- 10 Feb, 2014 1 commit
-
-
Lars Ingebrigtsen authored
-