From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Blue track Newsgroups: gmane.emacs.bugs Subject: bug#43645: 26.3; emacsclient -c does not open to correct window Date: Sun, 27 Sep 2020 20:36:05 +1000 Message-ID: References: <83tuvjo82b.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b551e905b0491e91" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14665"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43645@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 27 12:37:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kMU3L-0003j8-U7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Sep 2020 12:37:11 +0200 Original-Received: from localhost ([::1]:51766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMU3L-0006CN-0i for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Sep 2020 06:37:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMU3C-00068E-IK for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 06:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMU3C-0004Ap-8U for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 06:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMU3C-0007gd-5U for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2020 06:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Blue track Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Sep 2020 10:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43645 X-GNU-PR-Package: emacs Original-Received: via spool by 43645-submit@debbugs.gnu.org id=B43645.160120298629505 (code B ref 43645); Sun, 27 Sep 2020 10:37:02 +0000 Original-Received: (at 43645) by debbugs.gnu.org; 27 Sep 2020 10:36:26 +0000 Original-Received: from localhost ([127.0.0.1]:48413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMU2c-0007fo-1I for submit@debbugs.gnu.org; Sun, 27 Sep 2020 06:36:26 -0400 Original-Received: from mail-lf1-f49.google.com ([209.85.167.49]:32964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMU2a-0007fb-0K for 43645@debbugs.gnu.org; Sun, 27 Sep 2020 06:36:24 -0400 Original-Received: by mail-lf1-f49.google.com with SMTP id 77so7787708lfj.0 for <43645@debbugs.gnu.org>; Sun, 27 Sep 2020 03:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FltYy58fciuXAwkcXjRgI7cLPMHTjQHAWFWz0Ved0zk=; b=CFCC4wmqipCFVz8eLcoHbUC0kHdCSuCcL3VNLXsQ4CjVyx2F+6eIaJ68M+I9yfVd5p 7pcbf3YfKgVVqw4vgB4E8Udy5bL3fLXhqEEP4DlE/j4TgopsOzx2/4PAoOWlgBqA8Ib+ 2koqv3mZB8g8TlQ5CuVhqlf98vfwj5Uz4YGF2AoD17otCG1pl4h8WpgexvlL7j55eHVp VgeMTjiwhWrlwFl2f9TJy6U56TUgvn7vKwitSNEn+oD9nL45Ci0Zpa2x2jxAzrx87FZT iidAA+w/b1/8zGSBEJD4v9DKAtcT1Rb9pf02AOG6U7olXFpQqzvTIihC4ccCTqxSV8tS o+/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FltYy58fciuXAwkcXjRgI7cLPMHTjQHAWFWz0Ved0zk=; b=QYQDVjhCTUvCV3HoSxAGtDasIqpMGvEMlFLtIRJLtd7cN9sO5aPQOeyqNAbS02Hzeg lgR+0O06OsQxazKl7bnE05k2ONulo+s6n1Dfe2f4jD8WelrrNgVDvy3OfNjtJpPv6alP /adlhh+IcxuJKk4aOG6zygVOFAhQtY7KquXC3yDqaznTBkDc2N9UAOXaf02O4TXEf65Q hHOZEQGn1gNExLjDdw42ZZJZr1hj/KI4744L5rTTFrKIqskvirwHBG556lxgLsARVnlI MT210CUzfThSp+sTrFWSNTblNOwHJrwJX+6itpH0uxKCDPAVFbVOW97quoRmqd9VWog4 4pjg== X-Gm-Message-State: AOAM530S6ave7Rau6EMj21aPEmD/2cZPnfzY6fiD1aZet7G/kruJObfy a1yAghBKK/r2QyPJn1APAqDUpECRhVCI/rBo2ag= X-Google-Smtp-Source: ABdhPJxqxFkTqQ0o4WBGNq3rgvoWtm78YKEfc5ngUOPsnk6mEhXW3JR01x/vZirw2GDqq594uGQ3YOVLdleEa78kcYQ= X-Received: by 2002:ac2:53ab:: with SMTP id j11mr2214683lfh.470.1601202977851; Sun, 27 Sep 2020 03:36:17 -0700 (PDT) In-Reply-To: <83tuvjo82b.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:189103 Archived-At: --000000000000b551e905b0491e91 Content-Type: text/plain; charset="UTF-8" Thanks for the response, it did not fix the issue. I hope this doesn't sound condescending but did you follow the steps to reproduce? It's a weird behaviour which I think is related to window splits: ``` emacs -Q --daemon echo "Test" > test.txt emacsclient -c test.txt C-x 3 C-x b *scratch* # In new terminal emacsclient -c test.txt # I get a new window with the *scratch* buffer, but under Ubuntu 20.04 the first emacsclient instance is on top also ``` On Sun, 27 Sep 2020 at 19:58, Eli Zaretskii wrote: > > From: Blue track > > Date: Sun, 27 Sep 2020 16:41:31 +1000 > > > > When opening an emacsclient instance to a new intance of a buffer which > > is already open, under some conditions it does not open to the correct > > buffer. > > I think this problem was fixed in Emacs 27.1, so please upgrade and > try again. If the problem persists, please tell the details. > > (I couldn't reproduce this in Emacs 27, FTR.) > > Thanks. > --000000000000b551e905b0491e91 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for the response, it did not fix the issue. I = hope this doesn't sound condescending but did you follow the steps to r= eproduce? It's a weird behaviour which I think is related to window spl= its:

```
emacs -Q --daemon

echo "Te= st" > test.txt
emacsclient -c test.txt
C-x 3
C-x b *scratc= h*

# In new terminal
emacsclient -c test.txt

# I get a new= window with the *scratch* buffer, but under Ubuntu 20.04 the first emacscl= ient instance is on top also
```



<= br>
On Sun,= 27 Sep 2020 at 19:58, Eli Zaretskii <eliz@gnu.org> wrote:
> From: Blue track <bluetrack121@gmail.com>
> Date: Sun, 27 Sep 2020 16:41:31 +1000
>
> When opening an emacsclient instance to a new intance of a buffer whic= h
> is already open, under some conditions it does not open to the correct=
> buffer.

I think this problem was fixed in Emacs 27.1, so please upgrade and
try again.=C2=A0 If the problem persists, please tell the details.

(I couldn't reproduce this in Emacs 27, FTR.)

Thanks.
--000000000000b551e905b0491e91--