From: Van Ly <van.ly@sdf.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 53739@debbugs.gnu.org
Subject: bug#53739: 28.0.91; "C-x d" fails when "emacs -Q" starts on NetBSD with plan9/bin on head of PATH
Date: Thu, 3 Feb 2022 13:00:13 +0000 (UTC) [thread overview]
Message-ID: <54a975e-c881-ed1b-45b5-b18d2efe7b4@SDF.ORG> (raw)
In-Reply-To: <83iltw5s9k.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]
On Thu, 3 Feb 2022, Eli Zaretskii wrote:
>
> I guess the version of 'ls' there is incompatible or something? The
> message means that 'ls' exited with a non-zero status for some reason.
> Please investigate more what went wrong there and report here the
> details, so we could decide whether we want to support "plan9/bin"
> idiosyncrasies, whatever they are. Stepping with Edebug through
> insert-directory should help you understand what's going on.
>
I guess plan9/bin contains many commands identical in name to those
GNU Emacs expects from POSIX but they have plan9's reinvention.
One fix is not to put plan9/bin on the head of PATH but at the tail
and GNU Emacs will succeed at "C-x d" or dired. Maybe a response
like how "dired-use-ls-dired" is handled will point the user in the
right direction.
> Also, please explain what you mean by "for the following interactive
> shells".
The interactive shell is either the shell given at login by setting
as follows then logout, login
> usermod -s /path/to/shell username
and that shell is listed for the username in /etc/passwd
or I "exec /path/to/shell" to change the shell; I think
shell-file-name is set to the value listed in /etc/passwd.
I had the shells sh, zsh and rc running interactively at the command prompt.
> How does the interactive shell enter this picture?
The interactive shell is the environment on the command line where I
launch "emacs -Q".
And what
> is the value of shell-file-name in the session where "C-x d" fails?
Two examples of the value for shell-file-name in the session where
"C-x d" fails are as follows:
'''
;; set shell to sh by usermod, logout and login
Its value is "/bin/sh"
Original value was "/usr/pkg/bin/zsh"
;; set shell to rc by usermod, logout and login
Its value is "/usr/local/plan9/bin/rc"
Original value was "/usr/pkg/bin/zsh"
'''
--
vl
prev parent reply other threads:[~2022-02-03 13:00 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-02 22:12 bug#53739: 28.0.91; "C-x d" fails when "emacs -Q" starts on NetBSD with plan9/bin on head of PATH Van Ly
2022-02-03 7:22 ` Eli Zaretskii
2022-02-03 8:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 9:18 ` Eli Zaretskii
2022-02-03 10:01 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 10:31 ` Eli Zaretskii
2022-02-03 11:02 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 11:08 ` Eli Zaretskii
2022-02-03 11:28 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-03 13:20 ` Van Ly
2022-02-03 16:47 ` Eli Zaretskii
2022-02-03 13:12 ` Van Ly
2022-02-03 16:47 ` Eli Zaretskii
2022-02-04 0:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 4:29 ` Van Ly
2022-02-04 4:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 7:18 ` Van Ly
2022-02-04 7:55 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-04 8:05 ` Eli Zaretskii
2022-02-04 8:59 ` Van Ly
2022-02-04 9:26 ` Van Ly
2022-02-04 11:52 ` Eli Zaretskii
2022-02-05 3:07 ` Van Ly
2022-02-05 7:37 ` Eli Zaretskii
2022-02-05 9:04 ` Van Ly
2022-02-05 9:19 ` Eli Zaretskii
2022-02-05 10:57 ` Van Ly
2022-02-05 21:57 ` Lars Ingebrigtsen
2022-02-04 11:50 ` Eli Zaretskii
2022-02-03 13:05 ` Van Ly
2022-02-03 16:45 ` Eli Zaretskii
2022-02-03 13:00 ` Van Ly [this message]
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=54a975e-c881-ed1b-45b5-b18d2efe7b4@SDF.ORG \
--to=van.ly@sdf.org \
--cc=53739@debbugs.gnu.org \
--cc=eliz@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.