From: Tino Calancha <tino.calancha@gmail.com>
To: Mike Kupfer <mkupfer@alum.berkeley.edu>
Cc: Eli Zaretskii <eliz@gnu.org>,
Stephen Berman <stephen.berman@gmx.net>,
Emacs developers <emacs-devel@gnu.org>
Subject: Re: misbehavior in shell window with ksh
Date: Tue, 2 May 2017 22:03:17 +0900 (JST) [thread overview]
Message-ID: <alpine.DEB.2.20.1705022202110.28349@calancha-pc> (raw)
In-Reply-To: <18024.1493652553@alto>
On Mon, 1 May 2017, Mike Kupfer wrote:
> Stephen Berman wrote:
>> Could this be related to some of your shell customizations?
>
> Having EDITOR set to emacs (or emacsclient) seems to be required for me
> to reproduce the problem.
>
> $ export EDITOR=emacs
> $ emacs -Q -nw
> => problem reproduces
>
> $ emacs -Q -nw (w/o EDITOR set)
> M-x shell RET
> export EDITOR=emacs RET
> ksh RET
> => problem reproduces
>
> $ export EDITOR=emacs
> $ emacs -Q -nw
> M-x shell RET
> unset EDITOR RET
> ksh RET
> => problem does not reproduce
Thanks. I can reproduce the issue if i set EDITOR as you do.
*) Originally, with EDITOR set to
'/home/calancha/bin/edit'
i don't see the bug.
M-x emacs -Q RET
M-x shell RET
$ ksh RET
$ echo $EDITOR
/home/calancha/bin/edit
$ export EDITOR=$EDITOR ; No issue.
**) If i set EDITOR equal to some unexistant file like
'foo', i don't see the bug (but it depends of the name).
M-x emacs -Q RET
M-x shell RET
$ ksh RET
$ [ "" != "$(which emasc)" ] || [ "" != "$(which foo)" ] || echo "Both unset"
Both unset
$ export EDITOR=foo ; no issue
$ export EDITOR=emasc ; no issue
***) If i set EDITOR to some unexistant file containing some keywords,
then i might the issue:
M-x emacs -Q RET
M-x shell RET
$ ksh RET
$ [ "" != "$(which foo-vi)" ] || [ "" != "$(which foo-emacs)" ] || echo "Both unset"
Both unset
$ export EDITOR=foo-vi ; It shows the bug.
$ export EDITOR=foo-emacs ; Same.
****) Once the bug appears, reseting EDITOR to the original value
doesn't help. You must kill the buffer and call again:
M-x shell.
M-x emacs -Q RET
M-x shell RET
$ ksh RET
$ EDITOR_ORIG=$EDITOR
$ export EDITOR=foo-emacs ; It shows the bug.
$ export EDITOR=$EDITOR_ORIG ; It doesn't help.
Regards,
Tino
next prev parent reply other threads:[~2017-05-02 13:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-30 23:12 misbehavior in shell window with ksh Mike Kupfer
2017-05-01 6:49 ` Eli Zaretskii
2017-05-01 10:59 ` Stephen Berman
2017-05-01 11:31 ` Eli Zaretskii
2017-05-01 14:41 ` Stephen Berman
2017-05-01 15:09 ` Eli Zaretskii
2017-05-01 15:52 ` Stephen Berman
2017-05-02 9:03 ` Eli Zaretskii
2017-05-02 12:35 ` Stephen Berman
2017-05-02 16:32 ` Eli Zaretskii
2017-05-02 16:55 ` Stephen Berman
2017-05-03 17:51 ` Eli Zaretskii
2017-05-04 7:54 ` Stephen Berman
2017-05-04 14:42 ` Eli Zaretskii
2017-05-05 3:04 ` Mike Kupfer
2017-05-05 6:13 ` Eli Zaretskii
2017-05-06 18:41 ` Mike Kupfer
2017-05-09 16:36 ` Eli Zaretskii
2017-05-01 15:29 ` Mike Kupfer
2017-05-02 13:03 ` Tino Calancha [this message]
2017-05-01 7:38 ` Tino Calancha
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=alpine.DEB.2.20.1705022202110.28349@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mkupfer@alum.berkeley.edu \
--cc=stephen.berman@gmx.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.