From unknown Tue Jun 17 20:06:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8984 <8984@debbugs.gnu.org> To: bug#8984 <8984@debbugs.gnu.org> Subject: Status: second emacsclient file argument ends up in buried buffer Reply-To: bug#8984 <8984@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:06:39 +0000 retitle 8984 second emacsclient file argument ends up in buried buffer reassign 8984 emacs submitter 8984 jidanni@jidanni.org severity 8984 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 01 18:51:02 2011 Received: (at submit) by debbugs.gnu.org; 1 Jul 2011 22:51:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcmY9-000677-Vd for submit@debbugs.gnu.org; Fri, 01 Jul 2011 18:51:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QcmY6-00066n-J2 for submit@debbugs.gnu.org; Fri, 01 Jul 2011 18:50:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcmY0-0000DM-0g for submit@debbugs.gnu.org; Fri, 01 Jul 2011 18:50:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:47380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcmXz-0000DH-Ux for submit@debbugs.gnu.org; Fri, 01 Jul 2011 18:50:51 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcmXy-0001XV-FH for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2011 18:50:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcmXw-0000Cr-GJ for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2011 18:50:50 -0400 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:37809 helo=homiemail-a2.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcmXv-0000Ce-UW for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2011 18:50:48 -0400 Received: from homiemail-a2.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id 8DE73280063 for ; Fri, 1 Jul 2011 15:50:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=XD7D9BH9Th3+CjUeH5UQHzKAp1PEsHHRCouEOoHaPWdzv/9D6chWYkaYdWeb 6ccF3PbYzjX/gUfnhbuSCL4X5aYk//Yi1RTrYCQewimxyV3FE0oznG8RZfOh/NzZ aO0/GvwYZXvhLTxoXMvf95miKIh4kL0COGpGu9n23uBTKlw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=xYb7bZiR8T4X8D5X9xuN57dS4Qw=; b=ks7QRhFzNv6CUmTs KDeZS+7J5fMlxmxNChaV/073Wyn9jkuIOACzm42D0QTtwOOUJSyKEdkL+2kJclxA q8lPOinuixSb46WKsU7qQhxfIPFpN//iOHWeK0eJ++nt8FVgcGcOJNOCsxitU8a8 dpDawMZvxsCLAN5LR6IOBZhSArs= Received: from jidanni.org (218-163-1-179.dynamic.hinet.net [218.163.1.179]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTPSA id 4007A280061 for ; Fri, 1 Jul 2011 15:50:46 -0700 (PDT) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: second emacsclient file argument ends up in buried buffer Date: Sat, 02 Jul 2011 05:26:20 +0800 Message-ID: <87aacx1ymb.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) Wben one gives more than one filename argument to emacsclient (-n), the second file ends up in a buried buffer. One would instead expect them both to be visible. Well at least the emacsclient man page should document what will happen. I'm trying to say $ emacsclient ... ... should act the same as $ emacs ... ... in how the files end up displayed. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 15:36:20 2011 Received: (at 8984) by debbugs.gnu.org; 6 Jul 2011 19:36:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeXtT-0003fw-Bi for submit@debbugs.gnu.org; Wed, 06 Jul 2011 15:36:19 -0400 Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QeXtR-0003fj-9C for 8984@debbugs.gnu.org; Wed, 06 Jul 2011 15:36:17 -0400 Received: by pwj5 with SMTP id 5so148725pwj.3 for <8984@debbugs.gnu.org>; Wed, 06 Jul 2011 12:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=0b5cs3J3gPvbbbEggkIFYs5CGUElKmCp0DXp19D0Tvs=; b=fojIwbO9pyp3ZSyqh3A5GTzpoq5BsWlAXcK1VW1qecXpbM7YzxtVA/+aUVC3Tr8om3 pyiRZLz5tnP+JBRfZnH/fSFIOoWkwApDOZjaZJhSkr3iPwdwpwnHiYkOxBLA9NteTX8j 4gkXpJOnMUuP1VCPZblhVH8O9C3d2z6GwLJms= Received: by 10.142.234.3 with SMTP id g3mr3906652wfh.423.1309980971133; Wed, 06 Jul 2011 12:36:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.144.4 with HTTP; Wed, 6 Jul 2011 12:35:31 -0700 (PDT) In-Reply-To: <87aacx1ymb.fsf@jidanni.org> References: <87aacx1ymb.fsf@jidanni.org> From: Juanma Barranquero Date: Wed, 6 Jul 2011 21:35:31 +0200 Message-ID: Subject: Re: bug#8984: second emacsclient file argument ends up in buried buffer To: jidanni@jidanni.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8984 Cc: 8984@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Fri, Jul 1, 2011 at 23:26, wrote: > $ emacsclient ... ... > should act the same as > $ emacs ... ... > in how the files end up displayed. How does emacs ... ... acts for you? For me, both 23.3 and trunk do this: - emacs -q A =3D> splits the frame between A and *GNU Emacs* - emacs -q A (B...) Z =3D> splits the frame between Z and *GNU Emacs*, (B...) files are buried - emacs -Q A =3D> displays A - emacs -Q A B =3D> displays B, A is buried - emacs -Q A (B...) Z =3D> splits the frame between Z and *Buffer List*, (B...) are buried. Does it work differently for you? =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 20:04:01 2011 Received: (at 8984) by debbugs.gnu.org; 7 Jul 2011 00:04:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qec4X-0001up-J0 for submit@debbugs.gnu.org; Wed, 06 Jul 2011 20:04:01 -0400 Received: from caiajhbdccah.dreamhost.com ([208.97.132.207] helo=homiemail-a61.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qec4V-0001ue-I6 for 8984@debbugs.gnu.org; Wed, 06 Jul 2011 20:04:00 -0400 Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 9322457806E; Wed, 6 Jul 2011 17:03:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=DUYVltyNQVl/6DxHh18u3JA5SKWlq6eFcj31ckT1lj+0Jx09L vRjxWYMm+5tt2EbS8pOau/NelvmXIL8cHuxb5q4b9797g+xXrWdENaI12+dD2+PQ pDVxPyDSRLiflxZ8cdnguegYfsxolI9MZBS0FHg35oOBtHxErXdK3bKpAE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=rbE7/KVl8ty7LoVu2oRDyGWJXHQ=; b=eXDn1OZ/lFOo2 JgkH+DFiZhgSJ6+WtNJcTxfaIJdx4alFm0fP6O6vcV4c9sg+Ezxc7ptgkFEDTdxe h7kIbJPf4Hw+jZ/sVBiM7EhfJF0R1cqe7rUV0JwWT4olbcfqhkZF9LDKRvsFn4fz YIq1/MZXwO2kVWZp3Parvl/KyboNj4= Received: from jidanni.org (218-163-0-91.dynamic.hinet.net [218.163.0.91]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id 425ED57806C; Wed, 6 Jul 2011 17:03:53 -0700 (PDT) From: jidanni@jidanni.org To: lekktu@gmail.com Subject: Re: bug#8984: second emacsclient file argument ends up in buried buffer References: Date: Thu, 07 Jul 2011 08:03:51 +0800 Message-ID: <87oc17hs7s.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8984 Cc: 8984@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "JB" == Juanma Barranquero writes: JB> How does emacs ... ... acts for you? JB> For me, both 23.3 and trunk do this: JB> - emacs -q A => splits the frame between A and *GNU Emacs* This reveals another big problem that confuses our testing: -nw. If you add -nw, the behavior becomes different once again! From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 20:24:45 2011 Received: (at 8984) by debbugs.gnu.org; 7 Jul 2011 00:24:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QecOa-0002Np-Va for submit@debbugs.gnu.org; Wed, 06 Jul 2011 20:24:45 -0400 Received: from mail-pw0-f44.google.com ([209.85.160.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QecOY-0002Nc-67 for 8984@debbugs.gnu.org; Wed, 06 Jul 2011 20:24:43 -0400 Received: by pwj5 with SMTP id 5so323749pwj.3 for <8984@debbugs.gnu.org>; Wed, 06 Jul 2011 17:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=KVwlaa2jzzttowMty7W4sQPN+a7LDbopUs1eho8U4kM=; b=nezs9xxB2vbW9nGQfaIniInSc5oROWZ121wFWzq05FVf4/SS28yo4l8kL2WZVZqC4J LEvnxkUqoC7rbmR70vi3w/ReMSrScoDlWYdTuK88l43s6OfCG6KphVy3By0+4xFcIDka WTSmU9tMCyqX1AyQWBwLOKNCc82mIhZflDad4= Received: by 10.142.255.18 with SMTP id c18mr104894wfi.24.1309998276086; Wed, 06 Jul 2011 17:24:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.144.4 with HTTP; Wed, 6 Jul 2011 17:23:56 -0700 (PDT) In-Reply-To: <87oc17hs7s.fsf@jidanni.org> References: <87oc17hs7s.fsf@jidanni.org> From: Juanma Barranquero Date: Thu, 7 Jul 2011 02:23:56 +0200 Message-ID: Subject: Re: bug#8984: second emacsclient file argument ends up in buried buffer To: jidanni@jidanni.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 8984 Cc: 8984@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Thu, Jul 7, 2011 at 02:03, wrote: > This reveals another big problem that confuses our testing: -nw. > > If you add -nw, the behavior becomes different once again! The point is that IMHO it's not worth the trouble to try to force server.el to duplicate the behavior of "emacs xxx yyy zzz..." because that behavior depends on several factors. There are already several variables (server-window, server-visit-hook, server-switch-hook, etc.) that can be used to adapt server.el to specific needs. =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 06 21:38:29 2011 Received: (at 8984-done) by debbugs.gnu.org; 7 Jul 2011 01:38:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QedXw-00042Q-Mr for submit@debbugs.gnu.org; Wed, 06 Jul 2011 21:38:28 -0400 Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a6.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QedXu-00042D-9K for 8984-done@debbugs.gnu.org; Wed, 06 Jul 2011 21:38:27 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 2EB3559806B; Wed, 6 Jul 2011 18:38:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=mKvV4cmnH8sSteR5l9dy7wuErmI0XdntrEgLziWSkDwRdDEN7 XRCMXeFslPbgI96ddnV6uZhFrFmDpp2uNvf4vYGIcSprBGvaeCQ+m8cmUDpiRF5U GgYZJaAt9Or570BfHi/EOHL6OIOqNo+9YmjiES7tyNMPimxGSo1Le/qq2c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=hNaE3juanV+X4V/jg+wd5EQkeFY=; b=OSykKxIkhxUkd q91N/U1WOb6FEcQ7EoeAV4jFvemBgxegZa8ucKfLF3cqV3RF94ItKYpQKgzbCKJ3 eCsjc2t2a2f00DZdSu5AiFDPZGlp3lEhwR6TwT6u/a2ps+4/qoQzoqHJaMClcNSt 4FRYJLGDkKpBJ8VCpyap9Xt6oilBbc= Received: from jidanni.org (218-163-0-91.dynamic.hinet.net [218.163.0.91]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id BD5F2598069; Wed, 6 Jul 2011 18:38:19 -0700 (PDT) From: jidanni@jidanni.org To: lekktu@gmail.com Subject: Re: bug#8984: second emacsclient file argument ends up in buried buffer References: Date: Thu, 07 Jul 2011 09:38:16 +0800 Message-ID: <87box6j2ev.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 8984-done Cc: 8984-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "JB" == Juanma Barranquero writes: JB> On Thu, Jul 7, 2011 at 02:03, wrote: >> This reveals another big problem that confuses our testing: -nw. >> >> If you add -nw, the behavior becomes different once again! JB> The point is that IMHO it's not worth the trouble to try to force JB> server.el to duplicate the behavior of "emacs xxx yyy zzz..." because JB> that behavior depends on several factors. There are already several JB> variables (server-window, server-visit-hook, server-switch-hook, etc.) JB> that can be used to adapt server.el to specific needs. OK, agreed. I'll close this bug and open a -nw bug. Thanks. From unknown Tue Jun 17 20:06:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 04 Aug 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator