GNU bug report logs - #151
[ziegler@uni-freiburg.de] emacsclient may ignore line-number if called from shell-buffer

Previous Next

Package: emacs;

Reported by: Sven Joachim <svenjoac <at> gmx.de>

Date: Sun, 20 Apr 2008 13:30:04 UTC

Severity: normal

Found in versions 22.2, 22.2.50, 23.0.60

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 151 in the body.
You can then email your comments to 151 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Sven Joachim <svenjoac <at> gmx.de>, ziegler <at> uni-freiburg.de, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#151; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
New bug report received and forwarded. Copy sent to Sven Joachim <svenjoac <at> gmx.de>, ziegler <at> uni-freiburg.de, Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: submit <at> debbugs.gnu.org
Subject: [ziegler <at> uni-freiburg.de] emacsclient may ignore line-number if called from shell-buffer
Date: Sun, 20 Apr 2008 15:18:53 +0200
[Message part 1 (text/plain, inline)]
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.


[Message part 2 (message/rfc822, inline)]
From: ziegler <at> uni-freiburg.de
To: Debian Bug Tracking System <submit <at> bugs.debian.org>
Subject: Bug#476931: emacs22: emacsclient may ignore line-number if called
 from shell-buffer
Date: Sun, 20 Apr 2008 11:25:19 +0200
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 <at> euro, LC_CTYPE=de_DE <at> 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




Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Sven Joachim <svenjoac <at> gmx.de>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 151-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: ziegler <at> uni-freiburg.de, Sven Joachim <svenjoac <at> gmx.de>
Cc: 151-done <at> debbugs.gnu.org
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.




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 05 Oct 2008 14:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.