On 2012-08-02 19:46:41 +0200, Vincent Lefevre wrote:
> On 2012-07-09 14:24:44 +0200, Vincent Lefevre wrote:
> > A Ctrl-G in an Emacs 24.1 running in a terminal sends a SIGINT to
> > the parent shell. This can be seen with dash, mksh and posh. For
> > instance:
> > 
> > $ dash -c "/usr/bin/emacs24 -Q -nw"
> > 
> > $ echo $?
> > 130
> 
> Upstream regards this problem as a bug in dash. So, I've reported:
> 
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683671
> 
> against dash.

Actually, fixing the problem in dash may be necessary, but is not
always sufficient: if other processes run in the same process group
as Emacs, they will receive the signal. I gave an example here in
the upstream bug report:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11886#35

So, either Emacs should make sure to be in its own process group (when
running in a terminal), like previous versions, or it should implement
Ctrl-G differently, without a signal.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to