Bug#680940: emacs24: Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell

2013-01-20 Thread Rob Browning

tag 680940 +fixed-upstream
thanks

Vincent Lefevre  writes:

> 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.

It looks like they think this has been fixed upstream:

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

  From: Paul Eggert  cs.ucla.edu>
  To: 11886-done  debbugs.gnu.org
  Subject: Re:  24.1; Ctrl-G in an emacs running in a terminal sends a SIGINT
  to the parent shell
  Date: Mon, 26 Nov 2012 14:36:00 -0800

  This bug seems to have been fixed in the Emacs trunk,
  I assume as part of some signal-handling changes,
  so I'm taking the liberty of marking it as done.

And at least from a quick glance, it looks like trunk around then will
be in the next Emacs 24 release.  If so, we should be able to close this
when I upload emacs24 24.3+1-1.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4


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



Bug#680940: emacs24: Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell

2012-10-30 Thread Vincent Lefevre
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  - Web: 
100% accessible validated (X)HTML - 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



Bug#680940: emacs24: Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell

2012-08-02 Thread Vincent Lefevre
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.

This wasn't mentioned in my bug report, but this problem affects
mutt and svn when they run emacs in the terminal (e.g. to compose
a mail for mutt, and to edit a log message for svn).

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - 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



Bug#680940: emacs24: Ctrl-G in an emacs running in a terminal sends a SIGINT to the parent shell

2012-07-09 Thread Vincent Lefevre
Package: emacs24
Version: 24.1+1-2
Severity: normal

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

Emacs 23 didn't have such a problem.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs24 depends on:
ii  emacs24-bin-common  24.1+1-2
ii  gconf-service   3.2.5-1
ii  libasound2  1.0.25-3
ii  libatk1.0-0 2.4.0-2
ii  libc6   2.13-34
ii  libcairo2   1.10.2-7
ii  libdbus-1-3 1.6.2-2
ii  libfontconfig1  2.9.0-6
ii  libfreetype62.4.9-1
ii  libgconf-2-43.2.5-1
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libgif4 4.1.6-9.1
ii  libglib2.0-02.32.3-1
ii  libgnutls26 2.12.20-1
ii  libgomp14.7.1-3
ii  libgpm2 1.20.4-6
ii  libgtk2.0-0 2.24.10-1
ii  libice6 2:1.0.8-2
ii  libjpeg88d-1
ii  libm17n-0   1.6.3-2
ii  libmagickcore5  8:6.7.7.10-2
ii  libmagickwand5  8:6.7.7.10-2
ii  libncurses5 5.9-10
ii  libotf0 0.9.12-2
ii  libpango1.0-0   1.30.0-1
ii  libpng12-0  1.2.49-1
ii  librsvg2-2  2.36.1-1
ii  libselinux1 2.1.9-5
ii  libsm6  2:1.2.1-2
ii  libtiff43.9.6-6
ii  libtinfo5   5.9-10
ii  libx11-62:1.5.0-1
ii  libxft2 2.3.1-1
ii  libxml2 2.8.0+dfsg1-4
ii  libxpm4 1:3.5.10-1
ii  libxrender1 1:0.9.7-1
ii  zlib1g  1:1.2.7.dfsg-13

emacs24 recommends no packages.

Versions of packages emacs24 suggests:
ii  emacs24-common-non-dfsg  24.1+1-1

-- no debconf information



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