1. 11 Dec, 2016 1 commit
    • Michael Albinus's avatar
      Fix Bug#25162 · 467768f6
      Michael Albinus authored
      * doc/emacs/files.texi (Reverting): Document
      auto-revert-remote-files and auto-revert-verbose.
      
      * lisp/autorevert.el (auto-revert-verbose, auto-revert-mode)
      (auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.
      467768f6
  2. 18 Apr, 2016 1 commit
    • Michael Albinus's avatar
      Fix Bug#23276 · 5a0cbe51
      Michael Albinus authored
      * lisp/autorevert.el (auto-revert-handler): Ignore errors
      coming from `revert-buffer'.  (Bug#23276)
      5a0cbe51
  3. 08 Mar, 2016 1 commit
  4. 28 Feb, 2016 1 commit
  5. 24 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-icalendar.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox.el:
      * lisp/play/gamegrid.el:
      * lisp/play/gomoku.el:
      * lisp/progmodes/antlr-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/vhdl-mode.el:
      * lisp/strokes.el:
      * lisp/textmodes/ispell.el:
      * lisp/tree-widget.el:
      * lisp/vc/pcvs.el:
      * lisp/window.el:
      * src/lisp.h:
      * src/w32.c:
      * src/w32heap.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfaces.c:
      
      Replace solecisms like "This allow to do something" with a correct
      alternative, such as "This allow you to do something", "This allows
      something to be done" or "This allows the doing of something".
      fbce4757
  6. 01 Jan, 2016 1 commit
  7. 15 Nov, 2015 1 commit
  8. 28 Oct, 2015 1 commit
  9. 27 Oct, 2015 1 commit
    • Michael Albinus's avatar
      Fall back to polling in autorevert when needed · 838023d4
      Michael Albinus authored
      * lisp/autorevert.el (auto-revert-notify-handler): When a
      `stopped' event arrives from file notification, fall back to polling.
      
      * test/automated/file-notify-tests.el
      (file-notify-test03-autorevert): Extend test for polling when file
      notification ceases to work.
      838023d4
  10. 25 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Prefer directed to neutral quotes · 875a5d0e
      Paul Eggert authored
      Prefer directed to neutral quotes in docstings and diagnostics.
      In docstrings, escape apostrophes that would otherwise be translated
      to curved quotes using the newer, simpler rules.
      * admin/unidata/unidata-gen.el (unidata-gen-table):
      * lisp/align.el (align-region):
      * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
      * lisp/bookmark.el (bookmark-default-annotation-text):
      * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
      * lisp/calc/calc-lang.el (math-read-giac-subscr)
      (math-read-math-subscr):
      * lisp/calc/calc-misc.el (report-calc-bug):
      * lisp/calc/calc-prog.el (calc-fix-token-name)
      (calc-read-parse-table-part):
      * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
      * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
      * lisp/dabbrev.el (dabbrev-expand):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      * lisp/emacs-lisp/elint.el (elint-get-top-forms):
      * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
      * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
      * lisp/erc/erc-button.el (erc-nick-popup):
      * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
      * lisp/eshell/em-dirs.el (eshell/cd):
      * lisp/eshell/em-glob.el (eshell-glob-regexp):
      * lisp/eshell/em-pred.el (eshell-parse-modifiers):
      * lisp/eshell/esh-arg.el (eshell-parse-arguments):
      * lisp/eshell/esh-opt.el (eshell-show-usage):
      * lisp/files-x.el (modify-file-local-variable):
      * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
      (filesets-update-pre010505):
      * lisp/find-cmd.el (find-generic, find-to-string):
      * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
      * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
      (gnus-agent-fetch-headers):
      * lisp/gnus/gnus-int.el (gnus-start-news-server):
      * lisp/gnus/gnus-registry.el:
      (gnus-registry--split-fancy-with-parent-internal):
      * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
      * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
      * lisp/gnus/gnus-topic.el (gnus-topic-rename):
      * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
      * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
      * lisp/gnus/spam.el (spam-check-blackholes):
      * lisp/mail/feedmail.el (feedmail-run-the-queue):
      * lisp/mpc.el (mpc-playlist-rename):
      * lisp/net/ange-ftp.el (ange-ftp-shell-command):
      * lisp/net/mairix.el (mairix-widget-create-query):
      * lisp/net/tramp-cache.el:
      * lisp/obsolete/otodo-mode.el (todo-more-important-p):
      * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
      * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
      * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
      * lisp/org/ob-core.el (org-babel-goto-named-src-block)
      (org-babel-goto-named-result):
      * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
      * lisp/org/ob-ref.el (org-babel-ref-resolve):
      * lisp/org/org-agenda.el (org-agenda-prepare):
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
      (org-clock-resolve):
      * lisp/org/org-feed.el (org-feed-parse-atom-entry):
      * lisp/org/org-habit.el (org-habit-parse-todo):
      * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
      (org-mouse-context-menu):
      * lisp/org/org-table.el (org-table-edit-formulas):
      * lisp/org/ox.el (org-export-async-start):
      * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
      (dun-rooms, dun-endgame-questions):
      * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
      * lisp/progmodes/ada-xref.el (ada-find-executable):
      * lisp/progmodes/antlr-mode.el (antlr-options-alists):
      * lisp/progmodes/flymake.el (flymake-parse-err-lines)
      (flymake-start-syntax-check-process):
      * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
      * lisp/progmodes/sql.el (sql-comint):
      * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
      * lisp/server.el (server-get-auth-key):
      * lisp/subr.el (version-to-list):
      * lisp/textmodes/reftex-ref.el (reftex-label):
      * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
      * lisp/vc/ediff-diff.el (ediff-same-contents):
      * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
      * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
      Use directed rather than neutral quotes in diagnostics.
      875a5d0e
  11. 16 Jul, 2015 1 commit
    • Michael Albinus's avatar
      Fix Bug#20943. · fa5a880f
      Michael Albinus authored
      * lisp/autorevert.el (auto-revert-handler): Do not check for
      `buffer-modified-p'.
      
      * lisp/files.el (buffer-stale--default-function): Check for
      `buffer-modified-p'.
      
      * test/automated/auto-revert-tests.el
      (auto-revert-test02-auto-revert-mode-dired): Adapt test.
      fa5a880f
  12. 22 May, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/autorevert.el: Use lexical-binding. Fix hook usage. · 9e41e0bc
      Stefan Monnier authored
      (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
      (auto-revert-notify-watch-descriptor): Use defvar-local.
      (find-file-hook, auto-revert-tail-mode, )
      (auto-revert-notify-add-watch): Use setq-local.
      (auto-revert-notify-add-watch): Don't call make-local-variable on
      kill-buffer-hook (bug#20601).
      9e41e0bc
  13. 04 Mar, 2015 1 commit
  14. 21 Feb, 2015 2 commits
  15. 19 Feb, 2015 1 commit
  16. 01 Jan, 2015 2 commits
  17. 29 Dec, 2014 1 commit
  18. 04 Apr, 2014 1 commit
    • Glenn Morris's avatar
      Doc updates for buffer-stale-function now applying to file buffers too · 8a1d24b1
      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.
      8a1d24b1
  19. 01 Jan, 2014 1 commit
  20. 09 Dec, 2013 2 commits
  21. 12 Sep, 2013 1 commit
  22. 04 Sep, 2013 1 commit
  23. 01 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/files.el: Use lexical-binding. · 76dc5996
      Stefan Monnier authored
      (dir-locals-read-from-file): Remove unused `err' variable.
      (hack-dir-local-variables--warned-coding): New var.
      (hack-dir-local-variables): Use it to avoid repeated warnings.
      (make-backup-file-name--default-function): New function.
      (make-backup-file-name-function): Use it as default.
      (buffer-stale--default-function): New function.
      (buffer-stale-function): Use it as default.
      (revert-buffer-insert-file-contents--default-function): New function.
      (revert-buffer-insert-file-contents-function): Use it as default.
      (insert-directory): Avoid add-to-list.
      * lisp/autorevert.el (auto-revert-handler): Simplify.
      Use buffer-stale--default-function.
      76dc5996
  24. 24 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el (file-notify-supported-p): · d5d3c58a
      Michael Albinus authored
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      Remove functions.
      
      * autorevert.el (auto-revert-use-notify):
      (auto-revert-notify-add-watch):
      * net/tramp.el (tramp-file-name-for-operation):
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Remove `file-notify-supported-p' entry.
      d5d3c58a
  25. 18 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el (file-notify--library): Renamed from · e06ec67f
      Michael Albinus authored
      `file-notify-support'.  Do not autoload.  Adapt all uses.
      (file-notify-supported-p): New defun.
      
      * autorevert.el (auto-revert-use-notify): Use
      `file-notify-supported-p' instead of `file-notify-support'.  Adapt
      docstring.
      (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
      
      * net/tramp.el (tramp-file-name-for-operation):
      Add `file-notify-supported-p'.
      
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      New defun.
      (tramp-sh-file-name-handler-alist): Add it as handler for
      `file-notify-supported-p '.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Add `ignore' as handler for `file-notify-*' functions.
      e06ec67f
  26. 04 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el: New package. · 864c58ca
      Michael Albinus authored
      * autorevert.el (top): Require filenotify.el.
      (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
      instead.
      (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
      (auto-revert-notify-handler): Use `file-notify-*' functions.
      
      * subr.el (file-notify-handle-event): Move function to filenotify.el.
      
      * net/tramp.el (tramp-file-name-for-operation): Handle
      `file-notify-add-watch' and `file-notify-rm-watch'.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
      for `file-notify-add-watch' and `file-notify-rm-watch'.
      (tramp-process-sentinel): Improve trace.
      (tramp-sh-handle-file-notify-add-watch)
      (tramp-sh-file-notify-process-filter)
      (tramp-sh-handle-file-notify-rm-watch)
      (tramp-get-remote-inotifywait): New defuns.
      864c58ca
  27. 05 Jun, 2013 1 commit
  28. 03 Jun, 2013 1 commit
    • Michael Albinus's avatar
      * configure.ac (file-notification): New option, replaces inotify option. · c9628c79
      Michael Albinus authored
      (HAVE_W32): Remove w32notify.o.
      (with_file_notification): Add checks for glib and w32. Adapt check
      for inotify.
      (Summary): Add entry for file notification.
      
      * autogen/config.in: Add entries for HAVE_GFILENOTIFY,
      HAVE_W32NOTIFY and USE_FILE_NOTIFY.
      
      * lisp/autorevert.el (auto-revert-notify-enabled)
      (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
      (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
      (auto-revert-notify-handler): Handle also gfilenotify.
      
      * lisp/subr.el: (file-notify-handle-event): New defun. Replacing ...
      (inotify-event-p, inotify-handle-event, w32notify-handle-event):
      Removed.
      
      * src/Makefile.in (NOTIFY_OBJ): New variable.
      (base_obj): Replace inotify.o by $(NOTIFY_OBJ).
      
      * src/emacs.c (main): Use HAVE_W32NOTIFY to wrap respective code.
      Call syms_of_gfilenotify.
      
      * src/gfilenotify.c: New file.
      
      * src/keyboard.c (Qfile_notify): New variable.  Replaces Qfile_inotify
      and Qfile_w32notify.
      (top): Wrap respective code by HAVE_GFILENOTIFY, HAVE_INOTIFY,
      HAVE_W32NOTIFY and USE_FILE_NOTIFY.
      
      * src/lisp.h: Declare syms_of_gfilenotify.
      
      * src/termhooks.h (e): Wrap enum by USE_FILE_NOTIFY.
      c9628c79
  29. 22 May, 2013 1 commit
  30. 05 Apr, 2013 1 commit
  31. 16 Feb, 2013 1 commit
  32. 30 Jan, 2013 1 commit
  33. 29 Jan, 2013 1 commit
  34. 27 Jan, 2013 1 commit
  35. 25 Jan, 2013 1 commit
    • Michael Albinus's avatar
      * autorevert.el (auto-revert-remote-files) · ef3544f6
      Michael Albinus authored
      (auto-revert-notify-exclude-dir-regexp): New defcustoms.
      (auto-revert-notify-enabled, auto-revert-use-notify)
      (auto-revert-notify-watch-descriptor-hash-list)
      (auto-revert-notify-modified-p, auto-revert-notify-event-p)
      (auto-revert-notify-event-descriptor)
      (auto-revert-notify-event-action)
      (auto-revert-notify-event-file-name): Doc fix.
      (global-auto-revert-mode): Reorder checks.
      (auto-revert-notify-rm-watch): Respect changed values of
      `auto-revert-notify-watch-descriptor-hash-list'.
      (auto-revert-notify-add-watch): Check for
      `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
      `inotify-add-watch'.  Watch `default-directory' instead of
      `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
      has a changed meaning now.  (Bug#13540)
      (auto-revert-notify-handler): Change implementation wrt events
      returning from a directory.
      (auto-revert-handler): Reorder implementation for checks of remote
      files.
      (auto-revert-buffers): Fix parentheses error.
      ef3544f6
  36. 17 Jan, 2013 2 commits