all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 53644@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#53644: 29.0.50; xref-search-program breaks if programm not installed on a remote host
Date: Tue, 08 Feb 2022 15:59:13 +0100	[thread overview]
Message-ID: <87iltptnem.fsf@gmx.de> (raw)
In-Reply-To: <875ypp624b.fsf@posteo.net> (Philip Kaludercic's message of "Tue,  08 Feb 2022 11:15:16 +0000")

Philip Kaludercic <philipk@posteo.net> writes:

Hi Philip,

> +                            (with-connection-local-variables
> +                             xref-search-program)
> +                          xref-search-program)))
>
> xref--process-file-region takes shell-file-name, that should depend on
> the remote system.  I could use something like
>
>    (with-parsed-tramp-file-name default-directory d
>      (tramp-get-method-parameter d 'tramp-remote-shell))
>
> but it seems that `with-parsed-tramp-file-name' is not used outside of
> tramp, and byte-compiling triggers a warning.  Is there some better way
> to do this?

`shell-file-name' is already handled as connection-local variable, so
you could apply `with-connection-local-variables shell-file-name' as well.






  reply	other threads:[~2022-02-08 14:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-30 23:38 bug#53644: 29.0.50; xref-search-program breaks if programm not installed on a remote host Philip Kaludercic
2022-02-04  2:00 ` Dmitry Gutov
2022-02-04  8:15   ` Michael Albinus
2022-02-04 19:45     ` Dmitry Gutov
2022-02-05 14:38       ` Michael Albinus
2022-02-07  2:57         ` Dmitry Gutov
2022-02-07  9:18           ` Michael Albinus
2022-02-07 18:34             ` Michael Albinus
2022-02-08 11:15           ` Philip Kaludercic
2022-02-08 14:59             ` Michael Albinus [this message]
2022-02-08 17:12               ` Philip Kaludercic
2022-02-08 18:30                 ` Michael Albinus
2022-02-08 21:16                   ` Philip Kaludercic
2022-02-09  7:55                     ` Michael Albinus
2022-02-09  9:17                       ` Philip Kaludercic
2022-02-12  1:04                         ` Dmitry Gutov
2022-02-14 13:57                           ` Philip Kaludercic
2022-02-14 14:40                             ` Dmitry Gutov
2022-02-14 17:32                               ` Philip Kaludercic
2022-02-15  1:27                                 ` Dmitry Gutov
2022-02-15 16:32                                   ` Philip Kaludercic
2022-02-15 16:33                                     ` Dmitry Gutov
2022-02-15 16:37                                     ` Dmitry Gutov

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=87iltptnem.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=53644@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=philipk@posteo.net \
    /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.