From: "T.V Raman" <raman@google.com>
To: David Ponce <da_vid@orange.fr>
Cc: Emacs Devel <emacs-devel@gnu.org>, Eli Zaretskii <eliz@gnu.org>
Subject: Re: file-remote-p being called too often?
Date: Wed, 17 Jan 2024 13:18:09 -0800 [thread overview]
Message-ID: <p9134uv64mm.fsf@google.com> (raw)
In-Reply-To: <0eaa7499-dc5e-4bc5-828d-2465b23bc586@orange.fr> (David Ponce's message of "Wed, 17 Jan 2024 20:57:12 +0100")
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)
--
next prev parent reply other threads:[~2024-01-17 21:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 19:57 file-remote-p being called too often? David Ponce
2024-01-17 20:34 ` [External] : " Drew Adams
2024-01-17 21:01 ` T.V Raman
2024-01-17 21:04 ` T.V Raman
2024-01-17 21:18 ` T.V Raman [this message]
2024-01-18 5:41 ` Eli Zaretskii
2024-01-18 14:43 ` T.V Raman
2024-01-17 21:56 ` T.V Raman
2024-01-18 5:56 ` Eli Zaretskii
2024-01-18 7:30 ` Michael Albinus
2024-01-18 14:44 ` T.V Raman
2024-01-18 15:07 ` Eli Zaretskii
2024-01-18 15:57 ` T.V Raman
2024-01-18 16:28 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2024-01-16 21:17 T.V Raman
2024-01-17 11:54 ` Michael Albinus
2024-01-17 14:55 ` T.V Raman
2024-01-17 15:28 ` Michael Albinus
2024-01-17 18:15 ` T.V Raman
2024-01-17 12:00 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=p9134uv64mm.fsf@google.com \
--to=raman@google.com \
--cc=da_vid@orange.fr \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.