From unknown Mon Aug 18 00:06:16 2025 X-Loop: don@donarmstrong.com Subject: bug#151: [ziegler@uni-freiburg.de] emacsclient may ignore line-number if called from shell-buffer Reply-To: Sven Joachim , 151@debbugs.gnu.org Resent-From: Sven Joachim Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Sven Joachim , ziegler@uni-freiburg.de, Emacs Bugs Resent-Date: Sun, 20 Apr 2008 13:30:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 151 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.120869772130372 (code B ref -1); Sun, 20 Apr 2008 13:30:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,FOURLA,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Apr 2008 13:22:01 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m3KDLuuj030366 for ; Sun, 20 Apr 2008 06:21:58 -0700 Received: (qmail invoked by alias); 20 Apr 2008 13:21:51 -0000 Received: from p54863D83.dip.t-dialin.net (EHLO debian) [84.134.61.131] by mail.gmx.net (mp052) with SMTP; 20 Apr 2008 15:21:51 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+zJRUjWlmzSSiGEhLK/t9TgX/XE1N8JDp6zJAfrG GenHIQXn8ldRv5 From: Sven Joachim To: submit@debbugs.gnu.org Date: Sun, 20 Apr 2008 15:18:53 +0200 Message-ID: <87ve2cpsua.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 --=-=-= 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 X-From-Line: bounces+20080420-svenjoac=gmx.de@packages.qa.debian.org Sun Apr 20 12:52:57 2008 Return-Path: X-Flags: 1001 Delivered-To: GMX delivery to svenjoac@gmx.de Received: (qmail invoked by alias); 20 Apr 2008 09:34:37 -0000 Received: from master.debian.org (EHLO master.debian.org) [70.103.162.29] by mx0.gmx.net (mx088) with SMTP; 20 Apr 2008 11:34:37 +0200 Received: from qa by master.debian.org with local (Exim 4.63) (envelope-from ) id 1JnVwS-0001W3-05 for svenjoac@gmx.de; Sun, 20 Apr 2008 09:34:36 +0000 Received: from rietz.debian.org ([140.211.166.43]) by master.debian.org with esmtp (Exim 4.63) (envelope-from ) id 1JnVss-0007vB-JX for emacs22@packages.qa.debian.org; Sun, 20 Apr 2008 09:30:55 +0000 Received: from debbugs by rietz.debian.org with local (Exim 4.63) (envelope-from ) id 1JnVs5-00076X-5x; Sun, 20 Apr 2008 09:30:05 +0000 X-Loop: owner@bugs.debian.org Subject: Bug#476931: emacs22: emacsclient may ignore line-number if called from shell-buffer Reply-To: ziegler@uni-freiburg.de, 476931@bugs.debian.org Resent-From: ziegler@uni-freiburg.de Original-Sender: Martin Ziegler Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: ziegler@uni-freiburg.de, Rob Browning Resent-Date: Sun, 20 Apr 2008 09:30:02 +0000 Resent-Message-ID: X-Debian-PR-Message: report 476931 X-Debian-PR-Package: emacs22 X-Debian-PR-Source: emacs22 Received: via spool by submit@bugs.debian.org id=B.120868353523838 (code B ref -1); Sun, 20 Apr 2008 09:30:02 +0000 Received: (at submit) by bugs.debian.org; 20 Apr 2008 09:25:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 (2006-07-26) on rietz.debian.org X-Spam-Status: No, score=-9.5 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE, HEADER_COUNT_CTYPE,NO_REAL_NAME,X_DEBBUGS_CC autolearn=no version=3.1.4-bugs.debian.org_2005_01_02 Received: from email.mathematik.uni-freiburg.de ([132.230.30.5]) by rietz.debian.org with esmtp (Exim 4.63) (envelope-from ) id 1JnVnj-0006C1-4G for submit@bugs.debian.org; Sun, 20 Apr 2008 09:25:35 +0000 Received: from tux00.mathematik.uni-freiburg.de ([132.230.30.32]) by email.mathematik.uni-freiburg.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JnVnS-0007ej-QF; Sun, 20 Apr 2008 11:25:18 +0200 Received: from ziegler by tux00.mathematik.uni-freiburg.de with local (Exim 4.63) (envelope-from ) id 1JnVnT-0002nq-1V; Sun, 20 Apr 2008 11:25:19 +0200 From: ziegler@uni-freiburg.de To: Debian Bug Tracking System Message-ID: Sender: Martin Ziegler Date: Sun, 20 Apr 2008 11:25:19 +0200 Delivered-To: submit@bugs.debian.org Resent-Sender: Debian BTS Resent-Date: Sun, 20 Apr 2008 09:30:05 +0000 Delivered-To: emacs22@packages.qa.debian.org Precedence: list X-Loop: emacs22@packages.qa.debian.org X-PTS-Package: emacs22 X-PTS-Keyword: bts List-Unsubscribe: X-GMX-Antivirus: -1 (not scanned, may not use virus scanner) X-GMX-Htest: 0.5 X-GMX-Antispam: 0 (Mail was not recognized as spam) X-GMX-UID: Qntie2EgeWU3b1l2xm5n+oMrL0tsZg0c Lines: 54 Xref: debian mail.debian.bugs-dist:629 mail.debian.bts:1521 MIME-Version: 1.0 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 --=-=-=-- From unknown Mon Aug 18 00:06:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Sven Joachim Subject: bug#151 closed by Chong Yidong (Re: emacsclient may ignore line-number if called from shell-buffer) Message-ID: References: <87k5dpkx3q.fsf@cyd.mit.edu> <87ve2cpsua.fsf@gmx.de> X-Emacs-PR-Message: they-closed 151 X-Emacs-PR-Package: emacs Reply-To: 151@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1220722204-7704-1" This is a multi-part message in MIME format... ------------=_1220722204-7704-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #151: [ziegler@uni-freiburg.de] emacsclient may ignore line-number if calle= d from shell-buffer It has been closed by Chong Yidong . 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 by replying to this email. --=20 151: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D151 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1220722204-7704-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Sat Sep 6 10:20:10 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.8 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 151-done) by emacsbugs.donarmstrong.com; 6 Sep 2008 17:20:10 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86HK7w2004524 for <151-done@emacsbugs.donarmstrong.com>; Sat, 6 Sep 2008 10:20:09 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id F34D157E18A; Sat, 6 Sep 2008 13:22:49 -0400 (EDT) From: Chong Yidong To: ziegler@uni-freiburg.de, Sven Joachim Cc: 151-done@debbugs.gnu.org Subject: Re: emacsclient may ignore line-number if called from shell-buffer Date: Sat, 06 Sep 2008 13:22:49 -0400 Message-ID: <87k5dpkx3q.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > 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. ------------=_1220722204-7704-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From svenjoac@gmx.de Sun Apr 20 06:22:01 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=AWL,FOURLA,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Apr 2008 13:22:01 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m3KDLuuj030366 for ; Sun, 20 Apr 2008 06:21:58 -0700 Received: (qmail invoked by alias); 20 Apr 2008 13:21:51 -0000 Received: from p54863D83.dip.t-dialin.net (EHLO debian) [84.134.61.131] by mail.gmx.net (mp052) with SMTP; 20 Apr 2008 15:21:51 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+zJRUjWlmzSSiGEhLK/t9TgX/XE1N8JDp6zJAfrG GenHIQXn8ldRv5 From: Sven Joachim To: submit@debbugs.gnu.org Subject: [ziegler@uni-freiburg.de] emacsclient may ignore line-number if called from shell-buffer X-Debbugs-Cc: Sven Joachim , ziegler@uni-freiburg.de Date: Sun, 20 Apr 2008 15:18:53 +0200 Message-ID: <87ve2cpsua.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 --=-=-= 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 X-From-Line: bounces+20080420-svenjoac=gmx.de@packages.qa.debian.org Sun Apr 20 12:52:57 2008 Return-Path: X-Flags: 1001 Delivered-To: GMX delivery to svenjoac@gmx.de Received: (qmail invoked by alias); 20 Apr 2008 09:34:37 -0000 Received: from master.debian.org (EHLO master.debian.org) [70.103.162.29] by mx0.gmx.net (mx088) with SMTP; 20 Apr 2008 11:34:37 +0200 Received: from qa by master.debian.org with local (Exim 4.63) (envelope-from ) id 1JnVwS-0001W3-05 for svenjoac@gmx.de; Sun, 20 Apr 2008 09:34:36 +0000 Received: from rietz.debian.org ([140.211.166.43]) by master.debian.org with esmtp (Exim 4.63) (envelope-from ) id 1JnVss-0007vB-JX for emacs22@packages.qa.debian.org; Sun, 20 Apr 2008 09:30:55 +0000 Received: from debbugs by rietz.debian.org with local (Exim 4.63) (envelope-from ) id 1JnVs5-00076X-5x; Sun, 20 Apr 2008 09:30:05 +0000 X-Loop: owner@bugs.debian.org Subject: Bug#476931: emacs22: emacsclient may ignore line-number if called from shell-buffer Reply-To: ziegler@uni-freiburg.de, 476931@bugs.debian.org Resent-From: ziegler@uni-freiburg.de Original-Sender: Martin Ziegler Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: ziegler@uni-freiburg.de, Rob Browning Resent-Date: Sun, 20 Apr 2008 09:30:02 +0000 Resent-Message-ID: X-Debian-PR-Message: report 476931 X-Debian-PR-Package: emacs22 X-Debian-PR-Source: emacs22 Received: via spool by submit@bugs.debian.org id=B.120868353523838 (code B ref -1); Sun, 20 Apr 2008 09:30:02 +0000 Received: (at submit) by bugs.debian.org; 20 Apr 2008 09:25:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 (2006-07-26) on rietz.debian.org X-Spam-Status: No, score=-9.5 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE, HEADER_COUNT_CTYPE,NO_REAL_NAME,X_DEBBUGS_CC autolearn=no version=3.1.4-bugs.debian.org_2005_01_02 Received: from email.mathematik.uni-freiburg.de ([132.230.30.5]) by rietz.debian.org with esmtp (Exim 4.63) (envelope-from ) id 1JnVnj-0006C1-4G for submit@bugs.debian.org; Sun, 20 Apr 2008 09:25:35 +0000 Received: from tux00.mathematik.uni-freiburg.de ([132.230.30.32]) by email.mathematik.uni-freiburg.de with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JnVnS-0007ej-QF; Sun, 20 Apr 2008 11:25:18 +0200 Received: from ziegler by tux00.mathematik.uni-freiburg.de with local (Exim 4.63) (envelope-from ) id 1JnVnT-0002nq-1V; Sun, 20 Apr 2008 11:25:19 +0200 From: ziegler@uni-freiburg.de To: Debian Bug Tracking System Message-ID: Sender: Martin Ziegler Date: Sun, 20 Apr 2008 11:25:19 +0200 Delivered-To: submit@bugs.debian.org Resent-Sender: Debian BTS Resent-Date: Sun, 20 Apr 2008 09:30:05 +0000 Delivered-To: emacs22@packages.qa.debian.org Precedence: list X-Loop: emacs22@packages.qa.debian.org X-PTS-Package: emacs22 X-PTS-Keyword: bts List-Unsubscribe: X-GMX-Antivirus: -1 (not scanned, may not use virus scanner) X-GMX-Htest: 0.5 X-GMX-Antispam: 0 (Mail was not recognized as spam) X-GMX-UID: Qntie2EgeWU3b1l2xm5n+oMrL0tsZg0c Lines: 54 Xref: debian mail.debian.bugs-dist:629 mail.debian.bts:1521 MIME-Version: 1.0 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 --=-=-=-- ------------=_1220722204-7704-1--