* bug#9998: emacs 22.3 (and later) breaks C-d (comint-delchar-or-maybe-eof) in shell mode
@ 2011-11-08 23:42 Nelson H. F. Beebe
2011-11-09 8:35 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Nelson H. F. Beebe @ 2011-11-08 23:42 UTC (permalink / raw)
To: 9998; +Cc: beebe
A user (who works at another university with independently-managed
computer systems) just reported to me that C-d does not end input in
shell mode in an emacs session.
I verified the problem locally with emacs 22.3 and 23.3 and 24.0.91.
It works correctly in 22.1.
Was this an intentional change?
The command documentation describes this expected behavior:
C-d runs the command comint-delchar-or-maybe-eof
which is an interactive compiled Lisp function in
`/home/share/emacs/22.1/lisp/comint.elc'.
It is bound to C-d.
(comint-delchar-or-maybe-eof ARG)
Delete ARG characters forward or send an EOF to subprocess.
Sends an EOF only if point is at the end of the buffer and there
is no input.
My tests were done with commands like this:
/usr/local/bin/emacs-22.1 -q --no-site-file &
so as to avoid any influence from private or local startup files.
A temporary workaround in recent emacs versions is a shell HERE-document:
% cat << EOF > outfile
a
b
c
EOF
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu -
- 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#9998: emacs 22.3 (and later) breaks C-d (comint-delchar-or-maybe-eof) in shell mode
2011-11-08 23:42 bug#9998: emacs 22.3 (and later) breaks C-d (comint-delchar-or-maybe-eof) in shell mode Nelson H. F. Beebe
@ 2011-11-09 8:35 ` Glenn Morris
2011-12-06 8:43 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2011-11-09 8:35 UTC (permalink / raw)
To: Nelson H. F. Beebe; +Cc: 9998
"Nelson H. F. Beebe" wrote:
> computer systems) just reported to me that C-d does not end input in
> shell mode in an emacs session.
>
> I verified the problem locally with emacs 22.3 and 23.3 and 24.0.91.
> It works correctly in 22.1.
It works for me in Emacs 22, 23, and current trunk, on both Debian and
RHEL with the bash shell. Perhaps you could give details of your system
and shell. Also, what actually happens when you press C-d?
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#9998: emacs 22.3 (and later) breaks C-d (comint-delchar-or-maybe-eof) in shell mode
2011-11-09 8:35 ` Glenn Morris
@ 2011-12-06 8:43 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-12-06 8:43 UTC (permalink / raw)
To: 9998-done
tag 9998 wontfix
stop
This bug is being closed because it could not be reproduced and there
was no response to a request for more information.
If you reply with the requested information it can be reopened if needed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-12-06 8:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-08 23:42 bug#9998: emacs 22.3 (and later) breaks C-d (comint-delchar-or-maybe-eof) in shell mode Nelson H. F. Beebe
2011-11-09 8:35 ` Glenn Morris
2011-12-06 8:43 ` Glenn Morris
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).