GNU bug report logs - #41108
27.0.91; `register-read-with-preview' delete pre existing window

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Héctor Enríquez Ramón <hector.e.r@HIDDEN>; dated Wed, 6 May 2020 11:23:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 May 2020 11:22:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 06 07:22:03 2020
Received: from localhost ([127.0.0.1]:38727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jWI7j-0001eT-FB
	for submit <at> debbugs.gnu.org; Wed, 06 May 2020 07:22:02 -0400
Received: from lists.gnu.org ([209.51.188.17]:42708)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hector.e.r@HIDDEN>) id 1jWI7h-0001eL-En
 for submit <at> debbugs.gnu.org; Wed, 06 May 2020 07:21:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46068)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <hector.e.r@HIDDEN>)
 id 1jWI7h-0002Mo-7l
 for bug-gnu-emacs@HIDDEN; Wed, 06 May 2020 07:21:57 -0400
Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:34201)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <hector.e.r@HIDDEN>)
 id 1jWI7g-0000pE-8F
 for bug-gnu-emacs@HIDDEN; Wed, 06 May 2020 07:21:56 -0400
Received: by mail-wm1-x32a.google.com with SMTP id v4so4700373wme.1
 for <bug-gnu-emacs@HIDDEN>; Wed, 06 May 2020 04:21:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=IVkQLA49l08cqDO/iQycxZt9K+9WCyTI3ujCKkMf64w=;
 b=nl/Zau2LEuUibararRPSvvq6Cf+nXxdyCgpo33IBewmrLtS0+2MCcuXHdaW6mVrV7B
 8Yt6kZGitAKJeLCB8Yxi/IXTgtnMmwYZ4Xk60cRnu9L1j9hdRwkWx1uPmEjWAfFCQHTF
 zxgYuz6wJie9o9Fo7tH04fVIPDgqLtRJnbto+XrrPC9YENPWKb4Y8kGFrKQpciDiTneh
 96JreipmMU2sslFJs6zt3oIFaRMWhrZ4SsYrLOArk7Dz9+3m56IN/vC7/JIKrBkpxjbI
 TAsp4nBfwbj6mccC6eAOYBwjFExfkTSpY81mFgNNpTPqIDRl1S9Cse/v0p30+SfoaTvN
 7raw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=IVkQLA49l08cqDO/iQycxZt9K+9WCyTI3ujCKkMf64w=;
 b=FTNnyq47LXPlRIL4UPQUtW0fPbPY9ozdJL4xU+B9gZabWAsSlIhGg0Wlc6PED0FBlS
 SyaPwE2JOT+vAsaC71yoIh8vwxkEi5v10i4ngE6NtrfIio34OnYbYzW7vn706b66ySrQ
 8rjLk1jJg1pM2yqQOsHURc//uKqqQNl3GWZ97C+/sDTEQtipq0eNOoVAia26IH3P0EUN
 FIwCvosLCQbVtTdrobyPTrx45DhA1KKI6RA0AoBTtJpUk5TSL5hhVEn9yelhKEhhei1w
 sIQBlh8L3Ce588SJtHujEE8MmIR9bWF/Be40Lpyo8k1Cr1FqFbzTW3zxbHC08cLMOG8n
 +S2Q==
X-Gm-Message-State: AGi0PuYPUIv87lJbmPmf2I6yKXu2bFIXNkPmF7AuOBdzcrXLlVfL4c65
 wKO8A4Ngwm4A1gQoIGFO/8Hx+XDd4P5vzIDQeaAjVuik
X-Google-Smtp-Source: APiQypLSWlgE7AS4mNGHxXjMO66f2+pZBw+AQzB8NBCnPUKvzgBYYVEZN2IulvLZUc3UDLndSVlONakqGhmgVVOuxGY=
X-Received: by 2002:a1c:e0c3:: with SMTP id x186mr3983052wmg.146.1588764113729; 
 Wed, 06 May 2020 04:21:53 -0700 (PDT)
MIME-Version: 1.0
From: =?UTF-8?B?SMOpY3RvciBFbnLDrXF1ZXogUmFtw7Nu?= <hector.e.r@HIDDEN>
Date: Wed, 6 May 2020 13:21:42 +0200
Message-ID: <CAFeiWLYmkP73cVBtWh=wbGtWA2wnzavktT+X5bsWkWy_aACXWQ@HIDDEN>
Subject: 27.0.91; `register-read-with-preview' delete pre existing window
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000a1846105a4f8f8cc"
Received-SPF: pass client-ip=2a00:1450:4864:20::32a;
 envelope-from=hector.e.r@HIDDEN; helo=mail-wm1-x32a.google.com
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 FROM_EXCESS_BASE64=0.979, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--000000000000a1846105a4f8f8cc
Content-Type: text/plain; charset="UTF-8"

 Before `window-configuration-to-register'

 +-------------------+-----------------+
 |                   |                 |
 |                   |                 |
 |                   |                 |
 |                   |                 |
 +-------------------+-----------------+

 After `window-configuration-to-register'

 +-------------------------------------+
 |                                     |
 |                                     |
 |                                     |
 |                                     |
 +-------------------------------------+

 Then last (wrong) window configuration is saved to register.

 ```
 (defun register-read-with-preview (prompt)
 ...
      (let ((w (get-buffer-window buffer)))
        (and (window-live-p w) (delete-window w)))   <=== ### Don't check
 pre existing window ###
      (and (get-buffer buffer) (kill-buffer buffer)))))
 ```

 Thanks. Best regards.


 In GNU Emacs 27.0.91 (build 4, x86_64-pc-linux-gnu, cairo version 1.16.0)
 of 2020-05-06 built on Ubuntu-18
 Repository revision: f8e6cd11b34320999aa72886ece3f32b0a8ad897
 Repository branch: emacs-27
 Windowing system distributor 'The X.Org Foundation', version 11.0.12005000
 System Description: Ubuntu 19.10

 Configured using:
 'configure --with-cairo --with-x-toolkit=no CFLAGS=-O3'

 Configured features:
 XPM JPEG TIFF GIF PNG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
 ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB OLDXMENU X11 XDBE
 XIM MODULES THREADS PDUMPER GMP

 Important settings:
  value of $LC_ALL:
  value of $LANG: es_ES.UTF-8
  locale-coding-system: utf-8
Date: Wed, 06 May 2020 13:11:21 +0200
Message-ID:
<87zhalgvxi.fsf@HIDDEN>

--000000000000a1846105a4f8f8cc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">=C2=A0Before `window-configuration-to-register&#39;<br><br=
>=C2=A0+-------------------+-----------------+<br>=C2=A0| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 |<br>=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 |<br>=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0+-=
------------------+-----------------+<br><br>=C2=A0After `window-configurat=
ion-to-register&#39;<br><br>=C2=A0+-------------------------------------+<b=
r>=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0|=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0| =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>=C2=A0+------------------------=
-------------+<br><br>=C2=A0Then last (wrong) window configuration is saved=
 to register.<br><br>=C2=A0```<br>=C2=A0(defun register-read-with-preview (=
prompt)<br>=C2=A0...<br>=C2=A0 =C2=A0 =C2=A0 (let ((w (get-buffer-window bu=
ffer)))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 (and (window-live-p w) (delete-windo=
w w))) =C2=A0 &lt;=3D=3D=3D ### Don&#39;t check<br>=C2=A0pre existing windo=
w ###<br>=C2=A0 =C2=A0 =C2=A0 (and (get-buffer buffer) (kill-buffer buffer)=
))))<br>=C2=A0```<br><br>=C2=A0Thanks. Best regards.<br><br><br>=C2=A0In GN=
U Emacs 27.0.91 (build 4, x86_64-pc-linux-gnu, cairo version 1.16.0)<br>=C2=
=A0of 2020-05-06 built on Ubuntu-18<br>=C2=A0Repository revision: f8e6cd11b=
34320999aa72886ece3f32b0a8ad897<br>=C2=A0Repository branch: emacs-27<br>=C2=
=A0Windowing system distributor &#39;The X.Org Foundation&#39;, version 11.=
0.12005000<br>=C2=A0System Description: Ubuntu 19.10<br><br>=C2=A0Configure=
d using:<br>=C2=A0&#39;configure --with-cairo --with-x-toolkit=3Dno CFLAGS=
=3D-O3&#39;<br><br>=C2=A0Configured features:<br>=C2=A0XPM JPEG TIFF GIF PN=
G CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY<br>=C2=A0ACL LIBSELINU=
X GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB OLDXMENU X11 XDBE<br>=C2=A0XIM MODU=
LES THREADS PDUMPER GMP<br><br>=C2=A0Important settings:<br>=C2=A0 value of=
 $LC_ALL:<br>=C2=A0 value of $LANG: es_ES.UTF-8<br>=C2=A0 locale-coding-sys=
tem: utf-8<br>Date: Wed, 06 May 2020 13:11:21 +0200<br>Message-ID: &lt;87zh=
algvxi.fsf@HIDDEN&gt;<br>=
</div>

--000000000000a1846105a4f8f8cc--




Acknowledgement sent to Héctor Enríquez Ramón <hector.e.r@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#41108; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 6 May 2020 11:30:02 UTC

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