all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* auto-revert error on macOS when auto-revert-use-notify is t
@ 2017-12-29  5:08 zhang cc
  2017-12-29 10:02 ` Michael Albinus
  0 siblings, 1 reply; 13+ messages in thread
From: zhang cc @ 2017-12-29  5:08 UTC (permalink / raw
  To: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1553 bytes --]

Emacs: 26.0.90
OS: macOS 10.13.2

1. start Emacs with -Q
2. open a test file (like 1.c)
3. turn on auto-revert-mode by run global-auto-revert-mode
4. add auto-revert-use-notify as a watcher variable by debug-on-variable-change
5. open the test file with vim
6. modify the test file in vim and save it
7. Emacs enter debug with the following msg:

Debugger entered--setting auto-revert-use-notify in buffer 1.c to nil:
  debug--implement-debug-watch(auto-revert-use-notify nil set #<buffer 1.c>)
  auto-revert-notify-handler((13 stopped "/Users/jun/test/1.c"))
  file-notify--rm-descriptor(13)
  file-notify-rm-watch(13)
  #f(compiled-function (key value) #<bytecode 0x40a952e1>)(13 (#<buffer 1.c>))
  maphash(#f(compiled-function (key value) #<bytecode 0x40a952e1>) #<hash-table equal 7/65 0x40e7896d>)
  auto-revert-notify-rm-watch()
  auto-revert-notify-handler((13 stopped "/Users/jun/test/1.c"))
  file-notify--rm-descriptor(13)
  file-notify-rm-watch(13)
  file-notify-callback((13 (rename delete) "/Users/jun/test/1.c"))
  file-notify-handle-event((file-notify (13 (rename delete) "/Users/jun/test/1.c") file-notify-callback))
  funcall-interactively(file-notify-handle-event (file-notify (13 (rename delete) "/Users/jun/test/1.c") file-notify-callback))
  call-interactively(file-notify-handle-event nil [(file-notify (13 (rename delete) "/Users/jun/test/1.c") file-notify-callback)])
  command-execute(file-notify-handle-event nil [(file-notify (13 (rename delete) "/Users/jun/test/1.c") file-notify-callback)] t)



[-- Attachment #2: Type: text/html, Size: 2513 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-03-11  4:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-29  5:08 auto-revert error on macOS when auto-revert-use-notify is t zhang cc
2017-12-29 10:02 ` Michael Albinus
2017-12-29 10:13   ` Eli Zaretskii
2017-12-29 15:45     ` zhang cc
2018-01-02 13:23       ` Michael Albinus
2018-01-05 14:47         ` zhang cc
2018-01-20 15:34           ` Michael Albinus
2018-01-21 11:01             ` zhang cc
2018-01-21 20:16             ` Alan Third
2018-01-22  8:17               ` Michael Albinus
2018-01-22 23:05                 ` Alan Third
2018-03-11  4:26                   ` zhang cc
     [not found]                   ` <18101cae-50ff-44a2-af65-f77b9039f461@Spark>
2018-03-11  4:29                     ` zhang cc

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.