all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Retrieve values of variables in remote files
@ 2023-01-06 13:42 André A. Gomes
  2023-01-07 12:20 ` Michael Albinus
  0 siblings, 1 reply; 5+ messages in thread
From: André A. Gomes @ 2023-01-06 13:42 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: michael.albinus

Hi,

I expected that running the following on a remote Tramp buffer would
give me the right value.

--8<---------------cut here---------------start------------->8---
(with-connection-local-variables shell-file-name)
=> "/bin/sh"
--8<---------------cut here---------------end--------------->8---

The right value would be "/data/data/com.termux/files/urs/bin/bash"
since this is a remote buffer on Termux.

I'm a bit surprised since xref-matches-in-files uses
with-connection-local-variables and it always gets the right values.

Any idea?  Thank you.


-- 
André A. Gomes
"You cannot even find the ruins..."



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

end of thread, other threads:[~2023-01-10 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06 13:42 Retrieve values of variables in remote files André A. Gomes
2023-01-07 12:20 ` Michael Albinus
2023-01-10 12:39   ` André A. Gomes
2023-01-10 14:11     ` Michael Albinus
2023-01-10 14:57       ` André A. Gomes

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.