1. 07 May, 2013 1 commit
  2. 05 May, 2013 2 commits
    • Glenn Morris's avatar
      Fix NEWS typo · f8780a05
      Glenn Morris authored
    • Paul Eggert's avatar
      `write-region-inhibit-fsync' defaults to noninteractive. · cbee2131
      Paul Eggert authored
      * cmdargs.texi (Initial Options):
      * files.texi (Customize Save): Document this.
      * etc/NEWS: Document this.
      * src/fileio.c (syms_of_fileio): Implement this.
      * src/filelock.c (create_lock_file): If symbolic links don't work, so
      we use a regular file as a lock file, do not fsync the lock file;
      it's not needed.
      Fixes: debbugs:14273
  3. 04 May, 2013 1 commit
  4. 27 Apr, 2013 1 commit
  5. 25 Apr, 2013 1 commit
  6. 24 Apr, 2013 1 commit
  7. 20 Apr, 2013 1 commit
  8. 18 Apr, 2013 2 commits
    • Leo Liu's avatar
    • Stefan Monnier's avatar
      * lisp/subr.el (with-wrapper-hook): Declare obsolete. · d36ed1c8
      Stefan Monnier authored
      * lisp/simple.el (filter-buffer-substring-function): New hook.
      (filter-buffer-substring): Use it.
      (filter-buffer-substring-functions): Mark obsolete.
      * lisp/minibuffer.el (completion-in-region-function): New hook.
      (completion-in-region): Use it.
      (completion-in-region-functions): Mark obsolete.
      * lisp/mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
      * lisp/abbrev.el (abbrev-expand-function): New hook.
      (expand-abbrev): Use it.
      (abbrev-expand-functions): Mark obsolete.
      * lisp/emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
      and :filter-return.
      * lisp/org/org-agenda.el (org-agenda-mode):
      * lisp/org/org-indent.el (org-indent-mode): Use the `local' arg of
  9. 17 Apr, 2013 1 commit
  10. 15 Apr, 2013 1 commit
  11. 13 Apr, 2013 1 commit
    • Stephen Berman's avatar
      Make `split-window' a non-interactive function. · 0aa3616e
      Stephen Berman authored
      * doc/lispref/windows.texi (Splitting Windows): Change category of
      split-window from a command to a function.
      * etc/NEWS: Mention fixing `split-window' to be non-interactive.
      * window.el (split-window): Remove interactive form, since as a
      command this function is a special case of split-window-below.
      Correct doc string.
  12. 09 Apr, 2013 1 commit
  13. 05 Apr, 2013 1 commit
  14. 30 Mar, 2013 1 commit
  15. 29 Mar, 2013 1 commit
  16. 27 Mar, 2013 2 commits
  17. 23 Mar, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/info.el (info-index-match): New face. · e38e6780
      Juri Linkov authored
      (Info-index, Info-apropos-matches): Add a nested subgroup to the
      main pattern and add text properties with the new face to matches
      in index entries relative to the beginning of the index entry.
      Fixes: debbugs:14015
  18. 12 Mar, 2013 1 commit
    • Stefan Monnier's avatar
      Use locate-user-emacs-file. · 940e5099
      Stefan Monnier authored
      * lisp/type-break.el (type-break-file-name):
      * lisp/textmodes/remember.el (remember-data-file):
      * lisp/strokes.el (strokes-file):
      * lisp/shadowfile.el (shadow-initialize):
      * lisp/saveplace.el (save-place-file):
      * lisp/ps-bdf.el (bdf-cache-file):
      * lisp/progmodes/idlwave.el (idlwave-config-directory):
      * lisp/net/quickurl.el (quickurl-url-file):
      * lisp/international/kkc.el (kkc-init-file-name):
      * lisp/ido.el (ido-save-directory-list-file):
      * lisp/emulation/viper.el (viper-custom-file-name):
      * lisp/emulation/vip.el (vip-startup-file):
      * lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
      * lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
  19. 11 Mar, 2013 2 commits
  20. 10 Mar, 2013 1 commit
  21. 05 Mar, 2013 1 commit
    • Paul Eggert's avatar
      FILE's lock is now always .#FILE and may be a regular file. · 70743157
      Paul Eggert authored
      * etc/NEWS: Document this.
      * nt/inc/unistd.h (O_NOFOLLOW): New macro.
      * src/filelock.c: Include <c-ctype.h>.
      (MAX_LFINFO): New top-level constant.
      (lock_info_type): Remove members pid, boot_time.  Add members at,
      dot, colon.  Change user member to be the entire buffer, not a
      pointer.  This allows us to handle the case where a foreign
      pid or boot time exceeds the local range.  All uses changed.
      (LINKS_MIGHT_NOT_WORK): New constant.
      (FREE_LOCK_INFO): Remove, as the pieces no longer need freeing.
      (defined_WINDOWSNT): Remove.
      (MAKE_LOCK_NAME, file_in_lock_file_name):
      Always use .#FILE (not .#-FILE) for the file lock,
      even if it is a regular file.
      (rename_lock_file): New function.
      (create_lock_file): Use it.
      (create_lock_file, read_lock_data):
      Prefer a symbolic link for the lock file, falling back on a
      regular file if symlinks don't work.  Do not try to create
      symlinks on MS-Windows, due to security hassles.  Stick with
      POSIXish functions (open, read,...
  22. 03 Mar, 2013 1 commit
  23. 02 Mar, 2013 1 commit
    • Paul Eggert's avatar
      The lock for FILE is now .#FILE or .#-FILE. · b5029e23
      Paul Eggert authored
      The old approach, which fell back on DIR/.#FILE.0 through
      DIR/.#FILE.9, had race conditions that could not be easily fixed.
      If DIR/.#FILE is a non-symlink file, Emacs now does not create a
      lock file for DIR/FILE; that is, DIR/FILE is no longer partly
      protected by a lock if DIR/.#FILE is a non-symlink file ("partly"
      because the locking mechanism was never reliable in that case).
      This patch fixes this and other bugs discovered by a code
      inspection that was prompted by
      Also, this patch switches to .#-FILE (not .#FILE) on MS-Windows,
      to avoid interoperability problems between the MS-Windows and
      non-MS-Windows implementations.  MS-Windows and non-MS-Windows
      instances of Emacs now ignore each others' locks.
      * etc/NEWS: Document this.
      * src/filelock.c (defined_WINDOWSNT): New constant.
      (MAKE_LOCK_NAME, fill_in_lock_file_name):
      Don't create DIR/.#FILE.0 through DIR/.#FILE.9.  Instead, create
      DIR/.#FILE symlinks on non-MS-Windows hosts, and DIR/.#-FILE
      regular files on MS-Windows hosts.
      (MAKE_LOCK_NAME, unlock_file, Ffile_locked_p):
      Use SAFE_ALLOCA to avoid problems with long file names.
      (MAX_LFINFO): Now a local constant, not a global macro.
      (IS_LOCK_FILE): Remove.
      (lock_file_1): Don't inspect errno if symlink call succeeds;
      that's not portable.
      (lock_file): Document that this function can return if lock
      creation fails.
      Fixes: debbugs:13807
  24. 01 Mar, 2013 2 commits
  25. 28 Feb, 2013 2 commits
  26. 27 Feb, 2013 1 commit
  27. 25 Feb, 2013 2 commits
    • Eli Zaretskii's avatar
      Implement CLASH_DETECTION for MS-Windows. · 343a2aef
      Eli Zaretskii authored
       src/filelock.c [WINDOWSNT]: Include w32.h.
       (MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime
       function of that name.  Up-case the macro arguments.
       (IS_LOCK_FILE): New macro.
       (fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK.
       (create_lock_file): New function, with body extracted from
       [WINDOWSNT]: Implement lock files by writing a regular file with
       the lock information as its contents.
       (read_lock_data): New function, on Posix platforms just calls
       [WINDOWSNT]: Read the lock info from the file.
       (current_lock_owner): Call read_lock_data instead of calling
       emacs_readlinkat directly.
       (lock_file) [WINDOWSNT]: Run the file name through
       src/w32proc.c (sys_kill): Support the case of SIG = 0, in which case
       just check if the process by that PID exists.
       src/w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is
       also present, as doing so will fail to error out if the file
    • Paul Eggert's avatar
      * NEWS: Document removal of --with-crt-dir. · aec32f66
      Paul Eggert authored
  28. 21 Feb, 2013 2 commits
  29. 16 Feb, 2013 2 commits
    • Glenn Morris's avatar
      Generalize "animated" images to "multi-frame" images · ed8d7fca
      Glenn Morris authored
      * lisp/image.el (image-animated-types): Remove.
      (image-multi-frame-p): Rename from image-animated-p, and generalize.
      (image-animated-p): Make obsolete alias.
      (image-animate, image-nth-frame, image-animate-timeout):
      Use image-multi-frame-p.
      (image-animate-timeout): If no delay, use image-default-frame-delay.
      * lisp/image-mode.el (image-mode, image-toggle-animation):
      Use image-multi-frame-p.
      (image-mode): Adjust startup message for a multi-frame image.
      * lisp/gnus/shr.el (shr-put-image): Only animate images that specify a delay.
      This is consistent with the old image-animated-p behavior.
      * etc/NEWS: Add placeholder for this.
      Fixes: debbugs:10739
    • Glenn Morris's avatar
      Add commands for navigating multi-frame images · c0211c4e
      Glenn Morris authored
      * lisp/image.el (image-nth-frame): New, split from image-animate-timeout.
      (image-animate-timeout): Use image-nth-frame.
      * lisp/image-mode.el (image-goto-frame, image-next-frame)
      (image-previous-frame): New commands.
      (image-mode-map): Add new frame commands.
      * etc/NEWS: Mention this.
  30. 14 Feb, 2013 1 commit
  31. 13 Feb, 2013 1 commit
    • Christopher Schmidt's avatar
      Add dired-hide-details-mode. (Bug#6799) · a2a538b1
      Christopher Schmidt authored
      * locate.el (locate-mode): Set parent mode property to dired-mode.
      * find-dired.el (find-dired): Call dired-insert-set-properties on
      initial information line.  Set process mark on end of buffer.
      Call dired-insert-set-properties on summary.
      * dired.el (dired-hide-details-hide-symlink-targets)
      (dired-hide-details-hide-information-lines): New options.
      Set properties after final treatment of output.
      Set dired-hide-details-* properties.
      (dired-mode-map): Bind dired-hide-details-mode.
      (dired-mode): Set buffer-invisibility-spec to a list.
      (dired-next-line): Skip hidden lines.
      (dired-previous-line): Use dired-next-line.
      (dired-hide-details-mode): New minor mode.
      (dired-hide-details-update-invisibility-spec): New function.