From: Protesilaos Stavrou <info@protesilaos.com>
To: Visuwesh <visuweshm@gmail.com>
Cc: 65039@debbugs.gnu.org
Subject: bug#65039: 30.0.50; [PATCH] Add bookmark handler for M-x shell
Date: Fri, 11 Aug 2023 07:55:06 +0300 [thread overview]
Message-ID: <87il9m2n6d.fsf@protesilaos.com> (raw)
In-Reply-To: <877cqa98q0.fsf@gmail.com>
> From: Visuwesh <visuweshm@gmail.com>
> Date: Fri, 4 Aug 2023 20:05:03 +0530
> [... 20 lines elided]
>> Thank you! This seems reasonable. Have you checked the variable
>> 'shell-file-name'?
>
> Unfortunately, it is not always reliable. I use mksh as my (local)
> shell but I use bash in the remote system. In these remote shells, I
> don't see the correct value being set:
>
> (list major-mode (file-remote-p default-directory) shell-file-name shell--start-prog)
> ⇒ (shell-mode "/ssh:REDACTED@REDACTED:" "/bin/mksh" "bash")
>
> `shell' also has this comment before the prompt for remote shell
> filename:
>
> ;; On remote hosts, the local `shell-file-name' might be useless.
>
> HTH.
I see. Thanks for the explanation! I shall revisit this patch as soon
as I have a way to test ssh myself. Not sure when...
--
Protesilaos Stavrou
https://protesilaos.com
next prev parent reply other threads:[~2023-08-11 4:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 14:41 bug#65039: 30.0.50; [PATCH] Add bookmark handler for M-x shell Protesilaos Stavrou
2023-08-03 15:56 ` Eli Zaretskii
2023-08-04 9:17 ` Protesilaos Stavrou
2023-08-04 10:32 ` Eli Zaretskii
2023-08-04 14:06 ` Protesilaos Stavrou
2023-08-05 9:18 ` Eli Zaretskii
2023-09-03 11:15 ` Stefan Kangas
2023-09-03 11:42 ` Eli Zaretskii
2023-09-05 4:39 ` Protesilaos Stavrou
2023-09-05 6:17 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-18 5:28 ` Protesilaos Stavrou
2023-08-04 14:35 ` Drew Adams
2023-08-03 17:08 ` Visuwesh
2023-08-04 9:20 ` Protesilaos Stavrou
2023-08-04 13:01 ` Visuwesh
2023-08-04 14:13 ` Protesilaos Stavrou
2023-08-04 14:35 ` Visuwesh
2023-08-11 4:55 ` Protesilaos Stavrou [this message]
2023-08-04 17:01 ` Jim Porter
2023-08-06 4:43 ` Protesilaos Stavrou
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87il9m2n6d.fsf@protesilaos.com \
--to=info@protesilaos.com \
--cc=65039@debbugs.gnu.org \
--cc=visuweshm@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).