emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file-remote-p being called too often?


From: T.V Raman
Subject: Re: file-remote-p being called too often?
Date: Wed, 17 Jan 2024 13:18:09 -0800
User-agent: Gnus/5.13 (Gnus v5.13)

As one more means to chasing down the culprit:

mM-x debug-on-entry
file-remote-p

Above gets invoked when emacspeak plays a local audio file as an earcon
using a shell command; there should be no reason to run file-remote-p in
this case.

Debugger entered--entering a function:
* (file-remote-p "/home/raman/emacs/lisp/emacspeak/sounds/" localname)
  (file-local-name "/home/raman/emacs/lisp/emacspeak/sounds/")
  (executable-find "pactl")
  (emacspeak-sounds-get-file process-active)
  (emacspeak-play-auditory-icon process-active)
  (emacspeak-auditory-icon process-active)
  (emacspeak-speak-mode-line nil)
  (#<subr funcall-interactively> emacspeak-speak-mode-line nil)
  (apply #<subr funcall-interactively> emacspeak-speak-mode-line nil)
  (ad-Advice-funcall-interactively #<subr funcall-interactively> 
emacspeak-speak-mode-line nil)
  (apply ad-Advice-funcall-interactively #<subr funcall-interactively> 
(emacspeak-speak-mode-line nil))
  (funcall-interactively emacspeak-speak-mode-line nil)
  (#<subr call-interactively> emacspeak-speak-mode-line nil nil)
  (apply #<subr call-interactively> emacspeak-speak-mode-line (nil nil))
  (call-interactively@ido-cr+-record-current-command #<subr call-interactively> 
emacspeak-speak-mode-line nil nil)
  (apply call-interactively@ido-cr+-record-current-command #<subr 
call-interactively> (emacspeak-speak-mode-line nil nil))
  (call-interactively emacspeak-speak-mode-line nil nil)
  (command-execute emacspeak-speak-mode-line)

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]