Subject: bug#151 closed by Chong Yidong <[email-masked]> (Re: emacsclient may ignore line-number if called from shell-buffer)

From: [email-masked] (Emacs bug Tracking System)

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#151: [[email-masked]] emacsclient may ignore line-number if called from shell-buffer

It has been closed by Chong Yidong <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Chong Yidong <[email-masked]> by
replying to this email.

-- 
151: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=151
Emacs Bug Tracking System
Contact [email-masked] with problems
>From [email-masked] Sat Sep  6 10:20:10 2008
From: Chong Yidong <[email-masked]>
To: [email-masked], Sven Joachim <[email-masked]>
Cc: [email-masked]
Subject: Re: emacsclient may ignore line-number if called from shell-buffer
Date: Sat, 06 Sep 2008 13:22:49 -0400

> emacsclient does not work properly in the following
> situation:
>
> *The emacsclient-server is running ("M-x server-start").
> *The window is split: The upper window displays the
>  file "testfile", the lower window contains a shell-buffer,
>  created by "M-x shell".
> *call "emacsclient -n +17 testfile" in shell-buffer

Sorry for the delay.  I've just checked in a fix into CVS, and the fix
will appear in Emacs 23.

>From [email-masked] Sun Apr 20 06:22:01 2008
From: Sven Joachim <[email-masked]>
To: [email-masked]
Subject: [[email-masked]] emacsclient may ignore line-number if called from shell-buffer
Date: Sun, 20 Apr 2008 15:18:53 +0200

--=-=-=

Package: emacs
Version: 22.2, 22.2.50, 23.0.60

I received the attached message via the Debian bug tracking system.  The
described problem is reproducible in both EMACS_22_BASE and the trunk.

The situation (Emacs does not go to the requested line number) seems to
occur whenever the file given as argument to emacsclient is already in a
buffer that is displayed but not selected.

--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

Subject: Bug#476931: emacs22: emacsclient may ignore line-number if called
 from shell-buffer
Reply-To: [email-masked], [email-masked]
Resent-From: [email-masked]
Original-Sender: Martin Ziegler <[email-masked]>
Resent-To: [email-masked]
Resent-CC: [email-masked], Rob Browning <[email-masked]>
Resent-Date: Sun, 20 Apr 2008 09:30:02 +0000
Resent-Message-ID: <[email-masked]>
From: [email-masked]
To: Debian Bug Tracking System <[email-masked]>
Sender: Martin Ziegler <[email-masked]>
Date: Sun, 20 Apr 2008 11:25:19 +0200
Resent-Sender: Debian BTS <[email-masked]>
Resent-Date: Sun, 20 Apr 2008 09:30:05 +0000
Lines: 54
Xref: debian mail.debian.bugs-dist:629 mail.debian.bts:1521

Package: emacs22
Version: 22.2+1-1
Severity: normal

emacsclient does not work properly in the following
situation:

*The emacsclient-server is running ("M-x server-start").
*The window is split: The upper window displays the
 file "testfile", the lower window contains a shell-buffer,
 created by "M-x shell".
*call "emacsclient -n +17 testfile" in shell-buffer

Then the upper window becomes active, but the point does
NOT move to line 17, as it should. 

The same happens in the tex-shell, where the right behaviour
is very helpful. The bug existed already (for the first time (??))
in 22.1+1-3.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22 depends on:
ii  emacs22-bin-common     22.2+1-1          The GNU Emacs editor's shared, arc
ii  libasound2             1.0.16-2          ALSA library
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libncurses5            5.6+20080308-1    Shared libraries for terminal hand
ii  libpng12-0             1.2.15~beta5-3    PNG library - runtime
ii  libsm6                 2:1.0.3-1+b1      X11 Session Management library
ii  libtiff4               3.8.2-8           Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.0.3-7         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxpm4                1:3.5.7-1         X11 pixmap library
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  xaw3dg                 1.5+E-15          Xaw3d widget set
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

emacs22 recommends no packages.

-- no debconf information

--=-=-=--