From unknown Sat Jun 21 03:04:03 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#17589 <17589@debbugs.gnu.org> To: bug#17589 <17589@debbugs.gnu.org> Subject: Status: 24.3.91; lisp/frameset.el Reply-To: bug#17589 <17589@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:04:03 +0000 retitle 17589 24.3.91; lisp/frameset.el reassign 17589 emacs submitter 17589 eg5cue@gmail.com severity 17589 normal tag 17589 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 25 15:46:24 2014 Received: (at submit) by debbugs.gnu.org; 25 May 2014 19:46:24 +0000 Received: from localhost ([127.0.0.1]:59908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WoeND-0001t4-Fo for submit@debbugs.gnu.org; Sun, 25 May 2014 15:46:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39337) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WoeNA-0001sq-Kr for submit@debbugs.gnu.org; Sun, 25 May 2014 15:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoeMz-00007f-7r for submit@debbugs.gnu.org; Sun, 25 May 2014 15:46:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoeMz-00007Y-5L for submit@debbugs.gnu.org; Sun, 25 May 2014 15:46:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoeMt-0001ON-5X for bug-gnu-emacs@gnu.org; Sun, 25 May 2014 15:46:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoeMn-00005P-6h for bug-gnu-emacs@gnu.org; Sun, 25 May 2014 15:46:03 -0400 Received: from mail-we0-x22d.google.com ([2a00:1450:400c:c03::22d]:40441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoeMn-000056-0P for bug-gnu-emacs@gnu.org; Sun, 25 May 2014 15:45:57 -0400 Received: by mail-we0-f173.google.com with SMTP id u57so7245449wes.32 for ; Sun, 25 May 2014 12:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=lq/Jc+fan1biJF59Gu1EA0tx29VbbKODSsdMtpFV/hA=; b=NTOJou2VbfhNplF5BrtTqg8UpsVxRruAhAIOvN5xrbxGmeRgrF0YICAm/mrJxlIzZy FkN7rzz9A6+hcKTpDPMSrnZAUBo7qvEjpWLeTSJFPiAyHWNSG34mm2+YxzUzfEaYqexy 5A0B/ZHzNaNVoaI1pC6ilaNK4mO2JrTpF794R6i1zd2hHv6lw/ZHsaCe6OXXDh0v/W9h SuDazKTnc5YHLNCas3WANXkR69AZHJxcLQpdgyJEy3UXXNlEW+QRN6D9eQka8Atb/9Do +EnPOAVcDWiSckt8zJ5FPNI78xmwwFYYk/Ma5e3tqo+uLssN/MHtfzZetx+7nMFXzw51 2inA== X-Received: by 10.180.188.147 with SMTP id ga19mr20817218wic.54.1401047155804; Sun, 25 May 2014 12:45:55 -0700 (PDT) Received: from vanix.vanixnw ([2.144.159.100]) by mx.google.com with ESMTPSA id ba9sm20645106wib.24.2014.05.25.12.45.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 May 2014 12:45:55 -0700 (PDT) From: eg5cue@gmail.com To: bug-gnu-emacs@gnu.org Subject: 24.3.91; lisp/frameset.el Date: Sun, 25 May 2014 20:49:10 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) cmdline: emacs -Q version: git 24.3.91.1 (branch emacs-24) frame 'a': (C-x r f a) changing buffers and windows ... frame 'b': (C-x r f b) when i want to go back to 'a' (C-x r j a) emacs can't remember the frame and open random buffer instead. (no error) i tried both GUI and terminal versions. In GNU Emacs 24.3.91.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2014-05-25 on XX Windowing system distributor `The X.Org Foundation', version 11.0.11500000 System Description: Gentoo Base System release 2.2 Configured using: `configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --program-suffix=-emacs-24-git --infodir=/usr/share/info/emacs-24-git --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --with-gameuser=games --without-compress-install --with-file-notification=inotify --enable-acl --with-dbus --with-gnutls --with-gpm --without-hesiod --without-kerberos --without-kerberos5 --with-xml2 --without-selinux --with-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --without-gif --without-jpeg --without-png --without-rsvg --without-tiff --with-xpm --without-imagemagick --with-xft --without-libotf --without-m17n-flt --with-x-toolkit=gtk3 GENTOO_PACKAGE=app-editors/emacs-git-24.4.9999 'CFLAGS=-O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Memory information: ((conses 16 185981 8887) (symbols 48 30733 0) (miscs 40 73 106) (strings 32 47584 5705) (string-bytes 1 1463860) (vectors 16 22398) (vector-slots 8 506557 4327) (floats 8 125 71) (intervals 56 301 0) (buffers 960 15) (heap 1024 41524 1001)) From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 13:18:51 2014 Received: (at 17589) by debbugs.gnu.org; 26 May 2014 17:18:51 +0000 Received: from localhost ([127.0.0.1]:60654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WoyXz-0002X3-Bd for submit@debbugs.gnu.org; Mon, 26 May 2014 13:18:51 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:38938) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WoyXw-0002Wl-Lp for 17589@debbugs.gnu.org; Mon, 26 May 2014 13:18:49 -0400 Received: by mail-yk0-f171.google.com with SMTP id 142so6293604ykq.16 for <17589@debbugs.gnu.org>; Mon, 26 May 2014 10:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+acbMVWgeENqlVajZrioGpNk7qyxdZ8ewpXoCgcFF4o=; b=po5c0FKwkN3+CcL3QZPxoN81opBAGyjBOish95cefugI/U3AJgsP8RsPaqB+CIJVGI Dt2mvQ2Z6EUDsqI4gOgEqXqgQxYBEVqL4MNcSSkzl3gZ+fe4eYBNdntN8SwE7B7JxVV+ krMIZUMfuOBbZpazx0v4FklplUSwzTuE/NEDksY6bAU67ZLnQ9xbrVNaEPrD323TG65w fcbiGVP0kcNeqJYtYIud4UnsWZcXYLP9n0cK3FJufyzT3GTpz47k7gx3L93Efld0heHY +fIc0CworKz7VSBKcrpUfU9fVAGvYqjAjRiNHbp7XitAQEdoKHeQucx++7Vb/n2gKx5j QuTg== X-Received: by 10.236.91.170 with SMTP id h30mr4551739yhf.143.1401124722860; Mon, 26 May 2014 10:18:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Mon, 26 May 2014 10:18:02 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 26 May 2014 19:18:02 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: eg5cue@gmail.com Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > when i want to go back to 'a' (C-x r j a) emacs can't remember the frame and > open random buffer instead. (no error) Could you please give a step-by-step recipe starting from emacs -Q and describing the buffers that you do see at each step? TIA, Juanma From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 13:50:00 2014 Received: (at 17589) by debbugs.gnu.org; 26 May 2014 17:50:00 +0000 Received: from localhost ([127.0.0.1]:60666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Woz27-0003LH-NF for submit@debbugs.gnu.org; Mon, 26 May 2014 13:50:00 -0400 Received: from mail-qc0-f181.google.com ([209.85.216.181]:34677) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Woz25-0003Kx-5X for 17589@debbugs.gnu.org; Mon, 26 May 2014 13:49:58 -0400 Received: by mail-qc0-f181.google.com with SMTP id m20so12456338qcx.12 for <17589@debbugs.gnu.org>; Mon, 26 May 2014 10:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=x51GRcJOFVVWHdnSIgeiAGYuPVnxdM3hAa5rgPg1JnM=; b=biM4Y3y6KjTO/hbM/YliAaX/fRXCgoJP4rNrJ6Z+iS7wbBm0lBq5/52Ss5LiztskuE OW/YdIk7oEUaS9bS2M5TJz35fRO8GrqjY5HUBBAQptriffWYQLP4jJd6SBj3En8DQpa1 KneFy7Ci9fzT8QjE3BBlsM/qEBw8CCgzqq2rI+0dket/x1U8WYl3CknphfZoNfMn1ogN Jtss6Ko6SmMs+uQb/kpKnbEJGcbWwd5g0q/TwY+KVHBmZL/9e4dhptlzj6o3EcmHszDt 0dOvlIxyy2zHUcQMXcwT6/8XQi9102M9qgdvB/BMsqq33qHudwy5gz+pl+T1BwjqrG7N DtCg== MIME-Version: 1.0 X-Received: by 10.224.0.70 with SMTP id 6mr6206893qaa.100.1401126591520; Mon, 26 May 2014 10:49:51 -0700 (PDT) Received: by 10.96.228.112 with HTTP; Mon, 26 May 2014 10:49:51 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 May 2014 17:49:51 +0000 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Arash Cue To: Juanma Barranquero Content-Type: multipart/alternative; boundary=047d7bdc96c8c6099e04fa5134ed X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --047d7bdc96c8c6099e04fa5134ed Content-Type: text/plain; charset=UTF-8 sry, now i noticed it only happens when different files with the same name opened in each frame... , here's what i did: emacs -Q opening file a/util.c and a/util.h side by side, save window configuration in register (C-x r f a) then file b/util.c and b/util.h, (C-x r f b) when i want to restore register 'a' (C-x r j a) emacs opens random buffers instead, but register 'b' works. i tried last commit of branch 'emacs-24' today and it still happens, but emacs-24.3 works fine. On Mon, May 26, 2014 at 5:18 PM, Juanma Barranquero wrote: > > when i want to go back to 'a' (C-x r j a) emacs can't remember the frame > and > > open random buffer instead. (no error) > > Could you please give a step-by-step recipe starting from emacs -Q and > describing the buffers that you do see at each step? > > TIA, > > Juanma > --047d7bdc96c8c6099e04fa5134ed Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=
sry, now i noticed it only happens when di= fferent files with the same name opened in each frame... , here's what = i did:

emacs -Q
opening file a/util.c and a/util.h side by si= de, save window configuration in register (C-x r f a)
then file b/util.c and b/util.h, (C-x r f b)

when i want to restore register '= ;a' (C-x r j a) emacs opens random buffers instead, but register 'b= ' works.

i tried las= t commit of branch 'emacs-24' today and it still happens, but emacs= -24.3 works fine.


On Mon= , May 26, 2014 at 5:18 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
> when i want to go back to 'a' (C-x r j a) ema= cs can't remember the frame and
> open random buffer instead. (no error)

Could you please give a step-by-step recipe starting from emacs -Q and
describing the buffers that you do see at each step?

TIA,

=C2=A0 =C2=A0Juanma

--047d7bdc96c8c6099e04fa5134ed-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 15:04:55 2014 Received: (at 17589) by debbugs.gnu.org; 26 May 2014 19:04:55 +0000 Received: from localhost ([127.0.0.1]:60701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp0Cd-00073G-0L for submit@debbugs.gnu.org; Mon, 26 May 2014 15:04:55 -0400 Received: from mail-yh0-f46.google.com ([209.85.213.46]:63196) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp0Ca-00072w-Va for 17589@debbugs.gnu.org; Mon, 26 May 2014 15:04:53 -0400 Received: by mail-yh0-f46.google.com with SMTP id 29so6693142yhl.33 for <17589@debbugs.gnu.org>; Mon, 26 May 2014 12:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cKb3woz5Oea+6vdtDbCI4g0dtBclKXbIcPZWXvFHtcA=; b=OnucAs1mKcSjfdc92EeuS2oZ4uhj9KtCMX5W/L+0jk/m2jYYgPkotVqw8pCuEC4vbu njhSiAYhNG9uKDHgE//Gw7otgw3qdM94DvOxLmQJydP1Pc8OPCtO/ocvpsGRT9rLDCE6 Eoz9jx5slIKaKyxyd+o/FG8p86wa/kQFCRDVBzZMKy9LCF8KoDHFRoiNGPAu9WHHzZD+ i2856LyvbNsg3GlKD1jYyNj6D5fqaYiA1F5kEDns9DJP/mZe6z7Q1ZvFMz3bC3DZpyF/ TQhnQk1YZimUovnDxBpmswBtfGHSKBMvRaP7y81+wJIMqzwJHvdtRTU/DvpnMmMP2tcg V8ZQ== X-Received: by 10.236.226.101 with SMTP id a95mr34440549yhq.88.1401131087192; Mon, 26 May 2014 12:04:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Mon, 26 May 2014 12:04:07 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 26 May 2014 21:04:07 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Arash Cue Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, May 26, 2014 at 7:49 PM, Arash Cue wrote: > sry, now i noticed it only happens when different files with the same name > opened in each frame... Interesting. Saving a frame configuration to a register really does a very low-level saving of the frame, so I suppose it keeps pointers to the buffers even if they are renamed. Framesets (or, really, window states) on the other hand, save the buffer *names*. So if you rename a buffer, as it happens when you visit another file with the same name, the frameset's window state loses the reference to the original buffer. As framesets used in frameset-to-register (C-x r f R) are intended for in-session use only, I suppose I could hook into uniquify or some other hook and dynamically alter the in-memory frameset(s), but it seems quite hackish. I'll have to think about it. J From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 16:32:51 2014 Received: (at 17589) by debbugs.gnu.org; 26 May 2014 20:32:51 +0000 Received: from localhost ([127.0.0.1]:60761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp1Zi-0002fy-IB for submit@debbugs.gnu.org; Mon, 26 May 2014 16:32:50 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:31764) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp1Zg-0002fl-9l for 17589@debbugs.gnu.org; Mon, 26 May 2014 16:32:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64269258" Received: from 75-119-247-212.dsl.teksavvy.com (HELO pastel.home) ([75.119.247.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 26 May 2014 16:32:42 -0400 Received: by pastel.home (Postfix, from userid 20848) id 066E560786; Mon, 26 May 2014 16:32:41 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el Message-ID: References: Date: Mon, 26 May 2014 16:32:41 -0400 In-Reply-To: (Juanma Barranquero's message of "Mon, 26 May 2014 21:04:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Framesets (or, really, window states) on the other hand, save the > buffer *names*. So if you rename a buffer, as it happens when you > visit another file with the same name, the frameset's window state > loses the reference to the original buffer. Saving buffer names is indeed a problem. I think we should try and remember the actual buffer whenever possible (i.e. until we want to print the object), and when printing, we should try and print a description of the buffer, e.g. its file-name if it's visiting a file (I guess the data used in bookmarks would be a good starting point). Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon May 26 16:43:39 2014 Received: (at 17589) by debbugs.gnu.org; 26 May 2014 20:43:39 +0000 Received: from localhost ([127.0.0.1]:60784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp1kA-0002z7-Jt for submit@debbugs.gnu.org; Mon, 26 May 2014 16:43:38 -0400 Received: from mail-yk0-f179.google.com ([209.85.160.179]:45133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wp1k6-0002ya-39 for 17589@debbugs.gnu.org; Mon, 26 May 2014 16:43:35 -0400 Received: by mail-yk0-f179.google.com with SMTP id 19so6417333ykq.10 for <17589@debbugs.gnu.org>; Mon, 26 May 2014 13:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8VgO7wr+RhKcGQxj5RxII5BjCekBJRs9t2pFygDavQs=; b=pAYnp7EgK9dMAza9COKVFqIFPiWU1mMza2Jn4cx43KCXH83a4vCM9RgMkDGDQsvIU0 zlADmiAreQULjauFe4ahtX8VZhLUXN+Z/SHZ7JqF2DHnS5l4084Dg/A3B4+bGyZ4QUIo sH0DXU8uN4fToOLZBpiGOewhln0YrDvsOoAv/v2qUqlCjob+ieovLvYxxVw9MVu/EGMD Ms8vroA8+g4z4M1eSbnFaFqEA9umycwXTBM00YDgGHoeeLxR4vK6sGgZCVmkaVHIZKIG NAyAWqdYBzyhftKAxbFoOQ2S5UaWcFOA/St3Xlf2JkhoIiWMPSW02SDJh20WqkTsXia8 NFRQ== X-Received: by 10.236.124.237 with SMTP id x73mr6389187yhh.137.1401137008292; Mon, 26 May 2014 13:43:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Mon, 26 May 2014 13:42:48 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 26 May 2014 22:42:48 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, May 26, 2014 at 10:32 PM, Stefan Monnier wrote: > Saving buffer names is indeed a problem. I think we should try and > remember the actual buffer whenever possible (i.e. until we want to > print the object) and when printing, we should try and print > a description of the buffer, e.g. its file-name if it's visiting a file Framesets treat window states (from window-state-get) as opaque objects. I'm not sure what kind of changes would be required (in the window state's API, I mean, not framesets) to implement what you suggest. Martin? From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 03:34:35 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 07:34:35 +0000 Received: from localhost ([127.0.0.1]:32915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpBu6-0000Wp-IE for submit@debbugs.gnu.org; Tue, 27 May 2014 03:34:34 -0400 Received: from mout.gmx.net ([212.227.15.15]:63016) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpBu3-0000WT-OE for 17589@debbugs.gnu.org; Tue, 27 May 2014 03:34:32 -0400 Received: from [91.113.0.127] ([91.113.0.127]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MDyFr-1X4Nnr1PG3-00HQMR; Tue, 27 May 2014 09:34:24 +0200 Message-ID: <53843FF8.6040800@gmx.at> Date: Tue, 27 May 2014 09:34:16 +0200 From: martin rudalics MIME-Version: 1.0 To: Juanma Barranquero , Stefan Monnier Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:deFCSPYGU2ntI5Ba+1Bm/CQbaLikWiKFqPRggvNtIMDkWExVtKe mKtk9TQd4Ntq8EeB0g0g4LanNv0qT66mKcyazgPcSnOi98APInaa+CIdC4xKGKkKgSPtJDJ zAbiZ/Ay+sN9AX1VYtseUzp/zCzh6E1K5XwTFE4/1SvxDBeVLcnAdoupTN1BPf5G/aQznUW prk5DgE/fj3W4fsGjyYQQ== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> Saving buffer names is indeed a problem. I think we should try and >> remember the actual buffer whenever possible (i.e. until we want to >> print the object) Indeed. This would help when buffers get renamed in between. > and when printing, we should try and print >> a description of the buffer, e.g. its file-name if it's visiting a file > > Framesets treat window states (from window-state-get) as opaque > objects. I'm not sure what kind of changes would be required (in the > window state's API, I mean, not framesets) to implement what you > suggest. Currently `window-state-put' relies on buffer files names restored to their pre-`window-state-put' values. We probably want a more general solution in desktop.el to restore the connection between files visited and the names of the respective buffers in some unified manner. martin From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 04:32:53 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 08:32:53 +0000 Received: from localhost ([127.0.0.1]:32947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpCoS-0002Qf-K5 for submit@debbugs.gnu.org; Tue, 27 May 2014 04:32:52 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:33669) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpCoN-0002QJ-2L for 17589@debbugs.gnu.org; Tue, 27 May 2014 04:32:47 -0400 Received: by mail-yk0-f171.google.com with SMTP id 142so6856943ykq.30 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 01:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Bl8FDBR4MmdZK2Ne74YPdvKRltf6oNB9VsZ7fzZxYMc=; b=q+aufDthLs8dqwaOIx/n9nI782dtd4u2EBd6XzQi9MzQ5L82wlE9cJTJFoFwirkKAl 3FUEAyGSEte23SbWTABXhgm1QrYoLwOaUq6N3FuDYPlUv6pmnl75s1AsOwLanF5szIzY uzQUKEGMDjuGupcka+l10TG/MmriT4lR2Tez+sjLLqtTdv7jv37ltziptB77Rb4l8wsh YzJZoVeXSHK+hG327+lDXdI7M4KLV6r2xVZBoj9iy1egf/YQqYAGfPjAiIhHL9+obCqy bO/PSzieatLKu+qR4EHMowzn5kih93Wo79YpV+5tlQrjINcr4TkSUIBjOfUyVA1F4/B0 t1Ww== MIME-Version: 1.0 X-Received: by 10.236.61.45 with SMTP id v33mr44090163yhc.20.1401179557438; Tue, 27 May 2014 01:32:37 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 01:32:37 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 01:32:37 -0700 (PDT) In-Reply-To: <53843FF8.6040800@gmx.at> References: <53843FF8.6040800@gmx.at> Date: Tue, 27 May 2014 10:32:37 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Juanma Barranquero To: martin rudalics Content-Type: multipart/alternative; boundary=089e0160a73cc9ab3104fa5d89e9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0160a73cc9ab3104fa5d89e9 Content-Type: text/plain; charset=UTF-8 On May 27, 2014 9:34 AM, "martin rudalics" wrote: > We probably want a more general > solution in desktop.el to restore the connection between files visited > and the names of the respective buffers in some unified manner. That won't help in this particular case, where buffers are live in the same session, just renamed since the call to window-state-get, and desktop.el isn't involved at all. I think we'd need an optional arg to w-s-g to use in live sessions, where it would store refs to live buffers instead of their names (and code in w-s-p to deal with it, of course). --089e0160a73cc9ab3104fa5d89e9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On May 27, 2014 9:34 AM, "martin rudalics" <rudalics@gmx.at> wrote:

> =C2=A0We probably want a more general
> solution in desktop.el to restore the connection between files visited=
> and the names of the respective buffers in some unified manner.

That won't help in this particular case, where buffers a= re live in the same session, just renamed since the call to window-state-ge= t, and desktop.el isn't involved at all.

I think we'd need an optional arg to w-s-g to use in liv= e sessions, where it would store refs to live buffers instead of their name= s (and code in w-s-p to deal with it, of course).

--089e0160a73cc9ab3104fa5d89e9-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 05:14:12 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 09:14:12 +0000 Received: from localhost ([127.0.0.1]:32953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpDSV-0003o6-VU for submit@debbugs.gnu.org; Tue, 27 May 2014 05:14:12 -0400 Received: from mout.gmx.net ([212.227.17.20]:60297) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpDST-0003nn-3s for 17589@debbugs.gnu.org; Tue, 27 May 2014 05:14:10 -0400 Received: from [91.113.0.127] ([91.113.0.127]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MYsEZ-1XKmfi0pAx-00Vk7g; Tue, 27 May 2014 11:14:01 +0200 Message-ID: <53845749.1000706@gmx.at> Date: Tue, 27 May 2014 11:13:45 +0200 From: martin rudalics MIME-Version: 1.0 To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: <53843FF8.6040800@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:HxCvXxOrTc/yZqgTzI6wHbRG5rRGkLEWtXOOuMQJMwJY4cXjYHZ loG4rBjYiM6n5IPydE8GuuvRt3004WgZq2uUWOSF76w0POcsGixLoMJNVBGqEv+D/RYQYoN u00DlgerBsSx6RROkjwn8/uEhSCcrpAerk5PXc9/JcQQmb/PR2nOiJtzd9UQRmPG5j3AcZy qE8se8ZmJvnCCYFBCI5Ag== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> We probably want a more general >> solution in desktop.el to restore the connection between files visited >> and the names of the respective buffers in some unified manner. > > That won't help in this particular case, where buffers are live in the same > session, just renamed since the call to window-state-get, and desktop.el > isn't involved at all. Yes. I meant that in the line before. > I think we'd need an optional arg to w-s-g to use in live sessions WRITABLE? > , where > it would store refs to live buffers instead of their names (and code in > w-s-p to deal with it, of course). Wouldn't `get-buffer' in `window-state-put-2' handle that already? martin From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 05:40:49 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 09:40:49 +0000 Received: from localhost ([127.0.0.1]:32994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpDsC-0004Yd-GY for submit@debbugs.gnu.org; Tue, 27 May 2014 05:40:49 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:40949) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpDs6-0004YG-BM for 17589@debbugs.gnu.org; Tue, 27 May 2014 05:40:39 -0400 Received: by mail-yk0-f171.google.com with SMTP id 142so6899577ykq.30 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 02:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rvgM4jdFVSqaPHoNqmfXjIHQScvyGqMYbf/7JKMT8Dc=; b=RIGeTOGypkjzDTEKabnFq6ht6nY1S5EaxnS2QXszoLm7KnHItT3pfC4vTmvr2CFd9P kO0TicelFqPMwlBK2gRKh9qFjMucy5Fl/ZyLJx4LoSbpKRtC7YCqpbIryhsXnWH0ehQK /1soP60qeP0D5LAQI0FcZ/ttBrg39bkJU2zchgfQLk/xvoBhvGa1GpZQT+4WBBHZfvzs hzdfLMuRHU8vnvD287JJODQq1DiNbaUEWKuiHk/cFmk/eIuYE0dad7RoIkm6YwKjJO/j FyV/f3zpsSk4ixY3CLUFGkmakM+UFvAFzNog2JUrRPoMUKUofxf5GotosX6D+eCvruDQ fXOQ== MIME-Version: 1.0 X-Received: by 10.236.70.101 with SMTP id o65mr12433498yhd.114.1401183632484; Tue, 27 May 2014 02:40:32 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 02:40:32 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 02:40:32 -0700 (PDT) In-Reply-To: <53845749.1000706@gmx.at> References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> Date: Tue, 27 May 2014 11:40:32 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Juanma Barranquero To: martin rudalics Content-Type: multipart/alternative; boundary=089e01681f5eadf03c04fa5e7ca9 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e01681f5eadf03c04fa5e7ca9 Content-Type: text/plain; charset=UTF-8 On May 27, 2014 11:14 AM, "martin rudalics" wrote: > Yes. I meant that in the line before. OK > WRITABLE? Not sure what you mean here. > Wouldn't `get-buffer' in `window-state-put-2' handle that already? Likely, yes. J --089e01681f5eadf03c04fa5e7ca9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On May 27, 2014 11:14 AM, "martin rudalics" <rudalics@gmx.at> wrote:

> Yes. =C2=A0I meant that in the line before.

OK

> WRITABLE?

Not sure what you mean here.

> Wouldn't `get-buffer' in `window-state-put-2= 9; handle that already?

Likely, yes.

=C2=A0=C2=A0=C2=A0 J

--089e01681f5eadf03c04fa5e7ca9-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 06:09:12 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 10:09:12 +0000 Received: from localhost ([127.0.0.1]:33019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpEJf-0005S6-3r for submit@debbugs.gnu.org; Tue, 27 May 2014 06:09:12 -0400 Received: from mout.gmx.net ([212.227.17.20]:57172) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpEJY-0005RX-DM for 17589@debbugs.gnu.org; Tue, 27 May 2014 06:09:05 -0400 Received: from [91.113.0.127] ([91.113.0.127]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MgtWa-1XBB2a3C0u-00M85Z; Tue, 27 May 2014 12:08:52 +0200 Message-ID: <5384642E.5060000@gmx.at> Date: Tue, 27 May 2014 12:08:46 +0200 From: martin rudalics MIME-Version: 1.0 To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:CBQ1qZ9gxq6U0mEpP37vxHozr3BBZalp+2V434wvsdaoPmLiCla +h6nng3jf0+xQ7oBjNbVcfqWKU4IFQkq5dQUPv4Gohf2DQDIZy/0A3ivz8QYsVa+t1MH6WI 7CjVSRsBwjFaTaz6JXIVDh8QpKoORqFOTdFraGEs84PDbnDWVwEpKqFItIBVDmOoJh+rHYz JVPgRWYpFWbFbURzCnDCg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> WRITABLE? > > Not sure what you mean here. If the WRITABLE argument of `window-state-get' is non-nil use the buffer name and the buffer object otherwise. martin From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 06:53:44 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 10:53:44 +0000 Received: from localhost ([127.0.0.1]:33041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpF0p-0006jx-Qo for submit@debbugs.gnu.org; Tue, 27 May 2014 06:53:44 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:49536) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpF0o-0006jl-6J for 17589@debbugs.gnu.org; Tue, 27 May 2014 06:53:43 -0400 Received: by mail-yk0-f172.google.com with SMTP id 79so6931661ykr.3 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 03:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Th2QFKmbQPsPAKHyolTS7k0vIIChYg2mgKLscMIfJwM=; b=Q2kfUGPbJ6/Hp65MVOH9FoQh7Q4ZKVSfnaWEjRRUGXwlP0WAEmILl3sJOOZlavbR/P frCHFIcDOupBRhtsUJQtqapQusJcZTtDNKDyQH5T8BPXcON/V0JP6u0EvTkAfGKrVD0N xf/2FBfgzc+gPn4boheRUc/VZOrA+Aeito09kO3UwSxinYCuTNxgdtZPbtp1hiwZjDU5 a5xguMVTym1FdUxMKXTWxsKzZWPl0i85GroRHGexWhbWxp9rIlZts5DkKjrXqEUS0tQ/ 9LBDhZ0mJ/Qw9ikLUgAZp2NwUq6uv+bLvY44O87U3L7S7gxUXG5fM2WVT0YOU4NsSnm8 PKCA== MIME-Version: 1.0 X-Received: by 10.236.124.237 with SMTP id x73mr12251834yhh.137.1401188016204; Tue, 27 May 2014 03:53:36 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 03:53:35 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 03:53:35 -0700 (PDT) In-Reply-To: <5384642E.5060000@gmx.at> References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> Date: Tue, 27 May 2014 12:53:35 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Juanma Barranquero To: martin rudalics Content-Type: multipart/alternative; boundary=20cf303a332bf8332f04fa5f81f6 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --20cf303a332bf8332f04fa5f81f6 Content-Type: text/plain; charset=UTF-8 On May 27, 2014 12:09 PM, "martin rudalics" wrote: > If the WRITABLE argument of `window-state-get' is non-nil use the > buffer name and the buffer object otherwise. Oh, I see. Yes, that makes sense. --20cf303a332bf8332f04fa5f81f6 Content-Type: text/html; charset=UTF-8


On May 27, 2014 12:09 PM, "martin rudalics" <rudalics@gmx.at> wrote:

> If the WRITABLE argument of `window-state-get' is non-nil use the
> buffer name and the buffer object otherwise.

Oh, I see. Yes, that makes sense.

--20cf303a332bf8332f04fa5f81f6-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 09:09:52 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 13:09:52 +0000 Received: from localhost ([127.0.0.1]:33084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpH8V-000327-Pq for submit@debbugs.gnu.org; Tue, 27 May 2014 09:09:52 -0400 Received: from mout.gmx.net ([212.227.17.22]:55776) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpH8P-00031o-Dy for 17589@debbugs.gnu.org; Tue, 27 May 2014 09:09:46 -0400 Received: from [91.113.0.127] ([91.113.0.127]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MHHZT-1X3Lln2Lat-00E9Du; Tue, 27 May 2014 15:09:32 +0200 Message-ID: <53848E86.1010301@gmx.at> Date: Tue, 27 May 2014 15:09:26 +0200 From: martin rudalics MIME-Version: 1.0 To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:AR99rbbicVbCdKO+B07KP8fELm3EBEbjvPG229QUh5Iset/uU/b GVkfXc/HvrQ2Stz1n1g5u/axEVckLRy4tSGeZRds4TwolFaOSeZ0BE+3s7USg+IpdIgBqzL jYk/2xCGRYM64mGQnxehkOSb4tnWG/DpAdXCxzwK2nQitaI+zwH1SAvKwNQwDVF3GM5kvJC WMFQ/Mi48qL6pjhtIhEZg== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) >> If the WRITABLE argument of `window-state-get' is non-nil use the >> buffer name and the buffer object otherwise. > > Oh, I see. Yes, that makes sense. Could you test it? --- lisp/window.el 2014-05-25 10:06:35 +0000 +++ lisp/window.el 2014-05-27 12:57:50 +0000 @@ -4875,7 +4875,7 @@ (let ((point (window-point window)) (start (window-start window))) `((buffer - ,(buffer-name buffer) + ,(if writable (buffer-name buffer) buffer) (selected . ,selected) (hscroll . ,(window-hscroll window)) (fringes . ,(window-fringes window)) martin From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 09:12:00 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 13:12:00 +0000 Received: from localhost ([127.0.0.1]:33092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpHAZ-000360-RR for submit@debbugs.gnu.org; Tue, 27 May 2014 09:11:59 -0400 Received: from mail-yk0-f180.google.com ([209.85.160.180]:39790) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpHAU-00035g-Tz for 17589@debbugs.gnu.org; Tue, 27 May 2014 09:11:55 -0400 Received: by mail-yk0-f180.google.com with SMTP id q9so7004759ykb.39 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 06:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fx4hYTZRR9ypWsakjQeh/vUduITeSzC9WS7iD8dT6b4=; b=ZNpUH1UiQ/c+g3xK7JMJBJyR66DNlbUan3Skdv87bUC4ZMynwwzxLSKbhXedo1KJkq +PJBtMacGyzG45xgl/O3nt9Xs9XI16YrY/iIvu/dejYuo1nr0nQ+p8OSp/8P6tUj82IB jcjoa7tbE7ESTuoOewe9ZXgWQ4+t+oyNbqGJ4P7kg17GFhF85jwwXWWreip5xnTpypid W002UPB23yRrrOP7e42vKloZI5IR39R4agu9SDlFQhr5ahzPAtyyPM+PYVN/qpKfAYJX ifoAkeSJG8qqekNb44IeL8dZ0HcqfoFbIljPE0rwUCd/noV+KjePePy3kIYWjuW4+LlE vVOQ== MIME-Version: 1.0 X-Received: by 10.236.168.42 with SMTP id j30mr46756191yhl.101.1401196305133; Tue, 27 May 2014 06:11:45 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 06:11:45 -0700 (PDT) Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 06:11:45 -0700 (PDT) In-Reply-To: <53848E86.1010301@gmx.at> References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> Date: Tue, 27 May 2014 15:11:45 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Juanma Barranquero To: martin rudalics Content-Type: multipart/alternative; boundary=20cf305b13de07389704fa6170dc X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --20cf305b13de07389704fa6170dc Content-Type: text/plain; charset=UTF-8 On May 27, 2014 3:09 PM, "martin rudalics" wrote: > Could you test it? Yes, tonight. I don't have access to Emacs right now. J --20cf305b13de07389704fa6170dc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On May 27, 2014 3:09 PM, "martin rudalics" <rudalics@gmx.at> wrote:

> Could you test it?

Yes, tonight. I don't have access to Emacs right now.

=C2=A0=C2=A0=C2=A0 J

--20cf305b13de07389704fa6170dc-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 09:31:08 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 13:31:08 +0000 Received: from localhost ([127.0.0.1]:33102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpHT9-0003as-PD for submit@debbugs.gnu.org; Tue, 27 May 2014 09:31:08 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23905) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpHT6-0003aL-MC for 17589@debbugs.gnu.org; Tue, 27 May 2014 09:31:05 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64368062" Received: from 75-119-247-212.dsl.teksavvy.com (HELO pastel.home) ([75.119.247.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 May 2014 09:30:59 -0400 Received: by pastel.home (Postfix, from userid 20848) id DD3246046C; Tue, 27 May 2014 09:30:58 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el Message-ID: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> Date: Tue, 27 May 2014 09:30:58 -0400 In-Reply-To: (Juanma Barranquero's message of "Tue, 27 May 2014 15:11:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > I don't have access to Emacs right now. Call 911! Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 12:45:34 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 16:45:34 +0000 Received: from localhost ([127.0.0.1]:33593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpKVF-0001PW-Dk for submit@debbugs.gnu.org; Tue, 27 May 2014 12:45:33 -0400 Received: from mail-qg0-f42.google.com ([209.85.192.42]:35688) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpKV6-0001PA-8C for 17589@debbugs.gnu.org; Tue, 27 May 2014 12:45:24 -0400 Received: by mail-qg0-f42.google.com with SMTP id q107so14544823qgd.29 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 09:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TQ6/R8lDBEBBFu/oSDeKV75QBm2UhERLgGKmrbX8Cmk=; b=Q9jkzDvtNuGkTVGoU6jD5SbMTh8MKlvX2sW3GwYPwXb2HSurPpQ073M+NM86lpM3v6 rmez91P/OHJ9wxbeZKLPuHWsRswNhtrpKMdUZ5S2ow1vk7UBb/ZLnldfDow5hlK18N9D uPVoA0UCHgW8L08WYdmDoyubd+YXt/XL9+nYsZ72MIEMyR0KAercVqBkYvqazJ9I0wze SskC1+i/5YIWKxY6RXZ+mC4peT94z4uKMcv+084Jae8XOvZiGoHAnUGnTfPUe4H+ktb5 YDsREiENdtfFBBHGrcHxYK7XbIekjbqgX4sCXWNHcH0bl2dRk/7YuSC1gKUrT6QwngCr iVZw== MIME-Version: 1.0 X-Received: by 10.140.49.76 with SMTP id p70mr41239344qga.86.1401209114355; Tue, 27 May 2014 09:45:14 -0700 (PDT) Received: by 10.96.228.112 with HTTP; Tue, 27 May 2014 09:45:14 -0700 (PDT) In-Reply-To: <53848E86.1010301@gmx.at> References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> Date: Tue, 27 May 2014 16:45:14 +0000 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Arash Cue To: martin rudalics Content-Type: multipart/alternative; boundary=001a11370a34856fd004fa646bf5 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: Juanma Barranquero , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --001a11370a34856fd004fa646bf5 Content-Type: text/plain; charset=UTF-8 i changed this line (if writable (buffer-name buffer) buffer) to (if writable buffer (buffer-name buffer)) and it get fixed. ^_^ On Tue, May 27, 2014 at 1:09 PM, martin rudalics wrote: > >> If the WRITABLE argument of `window-state-get' is non-nil use the > >> buffer name and the buffer object otherwise. > > > > Oh, I see. Yes, that makes sense. > > Could you test it? > > > --- lisp/window.el 2014-05-25 10:06:35 +0000 > +++ lisp/window.el 2014-05-27 12:57:50 +0000 > @@ -4875,7 +4875,7 @@ > (let ((point (window-point window)) > (start (window-start window))) > `((buffer > - ,(buffer-name buffer) > + ,(if writable (buffer-name buffer) buffer) > (selected . ,selected) > (hscroll . ,(window-hscroll window)) > (fringes . ,(window-fringes window)) > > > martin > --001a11370a34856fd004fa646bf5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i changed this line
(if writable (buffer-name buffer) buffer)<= br>
t= o
(if writab= le buffer (buffer-name buffer))
and it get fixed. ^_^


On Tue,= May 27, 2014 at 1:09 PM, martin rudalics <rudalics@gmx.at> wr= ote:
>> If the WRITABLE arg= ument of `window-state-get' is non-nil use the
>> buffer name and the buffer object otherwise.
>
> Oh, I see. Yes, that makes sense.

Could you test it?


--- lisp/window.el =C2=A0 =C2=A0 =C2=A02014-05-25 10:06:35 +0000
+++ lisp/window.el =C2=A0 =C2=A0 =C2=A02014-05-27 12:57:50 +0000
@@ -4875,7 +4875,7 @@
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (let ((point (windo= w-point window))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (start (window-start window)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 `((buffer - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0,(bu= ffer-name buffer)
+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0,(if= writable (buffer-name buffer) buffer)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(selected . ,selected)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(hscroll . ,(window-hscroll window))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0(fringes . ,(window-fringes window))


martin

--001a11370a34856fd004fa646bf5-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 13:14:56 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 17:14:56 +0000 Received: from localhost ([127.0.0.1]:33605 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpKxk-00028P-3l for submit@debbugs.gnu.org; Tue, 27 May 2014 13:14:56 -0400 Received: from mout.gmx.net ([212.227.17.20]:65159) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpKxg-000284-Ou for 17589@debbugs.gnu.org; Tue, 27 May 2014 13:14:53 -0400 Received: from [91.113.0.127] ([91.113.0.127]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M0cs6-1WZBFr1ZU6-00urYe; Tue, 27 May 2014 19:14:45 +0200 Message-ID: <5384C7FE.9010005@gmx.at> Date: Tue, 27 May 2014 19:14:38 +0200 From: martin rudalics MIME-Version: 1.0 To: Arash Cue Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Jup0eOcJXSMhhrrYnNoDrh47spORqP89KKgvw2F77pQ3BTFJHpP mtCCKLsLoz5q64RRmddXNVyECxzBFwXtyEU9vctucVC/8TkKAOyaCPhbC610q9GkYql6ujh eY+7ELW0HTIGXIjImxHcRXU5B9qjixD4wwhR7z2FWy8fyo269EpZ3eUSOWqAX3ljjKv6AaL zVONkBh6wXa2f+8ylMkog== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: Juanma Barranquero , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > (if writable (buffer-name buffer) buffer) > to > (if writable buffer (buffer-name buffer)) > and it get fixed. ^_^ Because `frameset-save' calls `window-state-get' with WRITABLE t. Probably `frameset-save' could use a WRITABLE argument too (passing it on to `window-state-get') and `frameset-to-register' would call `frameset-save' with WRITABLE nil. IIUC this should fix your bug but not the problem of restoring framesets from printed representations. martin From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 18:35:40 2014 Received: (at 17589) by debbugs.gnu.org; 27 May 2014 22:35:40 +0000 Received: from localhost ([127.0.0.1]:33771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpPy7-0002jH-UM for submit@debbugs.gnu.org; Tue, 27 May 2014 18:35:40 -0400 Received: from mail-yh0-f52.google.com ([209.85.213.52]:60844) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpPy3-0002j2-Ok for 17589@debbugs.gnu.org; Tue, 27 May 2014 18:35:36 -0400 Received: by mail-yh0-f52.google.com with SMTP id z6so8051699yhz.11 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 15:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=iV/9gTAO4Hel9/lKK5iKHKhmblJ9FtOhNKqv6UQqBh8=; b=oEMNjzrl/6jOIvEMUCOfowU5E1FATltt2y9QgzE3EHJ3rZPaQfXkvcxnDDhNEQ9mNM aXEWUWcxJl1RYS5chk19wVqKiPGlMjZY4GDy0b7qPi5FLgSJwELRzz7vB/c5t6LyNgHZ Ql5TkhuVN9PXi+SAIe9w2fYKiUJlkS1cbuWRskeiWjfQVB5NFijfBoRk5dEGv/7158Yn xd8pLw9Doy1vnipI7GHggvF45+9ixryTQIZspw8di9n7FY5PCAobVvJaY0vy+0/87lkk 7E1dVlNuV2utrTNZW+3FdUpAL+qK+YDjP4haD2/Uzkqmfl2nkYadM6Hel6nc6JS23wig a2Pw== X-Received: by 10.236.168.42 with SMTP id j30mr51278143yhl.101.1401230129989; Tue, 27 May 2014 15:35:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 15:34:49 -0700 (PDT) In-Reply-To: <5384C7FE.9010005@gmx.at> References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Wed, 28 May 2014 00:34:49 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: martin rudalics Content-Type: multipart/mixed; boundary=20cf305b13de25a22004fa695027 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: Arash Cue , Stefan Monnier , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --20cf305b13de25a22004fa695027 Content-Type: text/plain; charset=UTF-8 On Tue, May 27, 2014 at 7:14 PM, martin rudalics wrote: > Probably `frameset-save' could use a WRITABLE argument too (passing it > on to `window-state-get') and `frameset-to-register' would call > `frameset-save' with WRITABLE nil. Yep, that's the only way I see to solve this. That, or some horrible hack in frameset-to-register which I don't even want to start thinking about. Arash, could you please try with Martin's proposed change to window.el plus the attached patch to frameset.el? TIA, J --20cf305b13de25a22004fa695027 Content-Type: text/plain; charset=US-ASCII; name="17589.diff" Content-Disposition: attachment; filename="17589.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hvps6seg0 PT09IG1vZGlmaWVkIGZpbGUgJ2xpc3AvZnJhbWVzZXQuZWwnDQotLS0gbGlzcC9mcmFtZXNldC5l bAkyMDE0LTAzLTI3IDAxOjAxOjM2ICswMDAwDQorKysgbGlzcC9mcmFtZXNldC5lbAkyMDE0LTA1 LTI3IDIyOjMxOjQ5ICswMDAwDQpAQCAtNzQ4LDcgKzc0OCw4IEBADQogOzs7IyMjYXV0b2xvYWQN CiAoY2wtZGVmdW4gZnJhbWVzZXQtc2F2ZSAoZnJhbWUtbGlzdA0KIAkJCSAma2V5IGFwcCBuYW1l IGRlc2NyaXB0aW9uDQotCQkJICAgICAgZmlsdGVycyBwcmVkaWNhdGUgcHJvcGVydGllcykNCisJ CQkgICAgICBmaWx0ZXJzIHByZWRpY2F0ZSBwcm9wZXJ0aWVzDQorCQkJICAgICAgaW4tc2Vzc2lv bikNCiAgICJSZXR1cm4gYSBmcmFtZXNldCBmb3IgRlJBTUUtTElTVCwgYSBsaXN0IG9mIGZyYW1l cy4NCiBEZWFkIGZyYW1lcyBhbmQgbm9uLWZyYW1lIG9iamVjdHMgYXJlIHNpbGVudGx5IHJlbW92 ZWQgZnJvbSB0aGUgbGlzdC4NCiBJZiBuaWwsIEZSQU1FLUxJU1QgZGVmYXVsdHMgdG8gdGhlIG91 dHB1dCBvZiBgZnJhbWUtbGlzdCcgKGFsbCBsaXZlIGZyYW1lcykuDQpAQCAtNzU4LDEzICs3NTks MTYgQEANCiBgZnJhbWVzZXQtZmlsdGVyLWFsaXN0JyBpcyB1c2VkIGluc3RlYWQuDQogUFJFRElD QVRFIGlzIGEgcHJlZGljYXRlIGZ1bmN0aW9uLCB3aGljaCBtdXN0IHJldHVybiBub24tbmlsIGZv ciBmcmFtZXMgdGhhdA0KIHNob3VsZCBiZSBzYXZlZDsgaWYgUFJFRElDQVRFIGlzIG5pbCwgYWxs IGZyYW1lcyBmcm9tIEZSQU1FLUxJU1QgYXJlIHNhdmVkLg0KLVBST1BFUlRJRVMgaXMgYSB1c2Vy LWRlZmluZWQgcHJvcGVydHkgbGlzdCB0byBhZGQgdG8gdGhlIGZyYW1lc2V0LiINCitQUk9QRVJU SUVTIGlzIGEgdXNlci1kZWZpbmVkIHByb3BlcnR5IGxpc3QgdG8gYWRkIHRvIHRoZSBmcmFtZXNl dC4NCitJTi1TRVNTSU9OLCBpZiBub24tbmlsLCBtZWFucyB0aGF0IHRoZSByZXN1bHRpbmcgZnJh bWVzZXQgaXMgbWVhbnQgdG8gYmUNCit1c2VkIGluIHRoZSBjdXJyZW50IEVtYWNzIHNlc3Npb24g YW5kIG5vdCBzZXJpYWxpemVkIHRvIGFuIGV4dGVybmFsIHN0b3JlLiINCiAgIChsZXQqICgobGlz dCAob3IgKGNvcHktc2VxdWVuY2UgZnJhbWUtbGlzdCkgKGZyYW1lLWxpc3QpKSkNCiAJIChmcmFt ZXNldC0tdGFyZ2V0LWRpc3BsYXkgbmlsKQ0KIAkgKGZyYW1lcyAoY2wtZGVsZXRlLWlmLW5vdCAj J2ZyYW1lLWxpdmUtcA0KIAkJCQkgICAoaWYgcHJlZGljYXRlDQogCQkJCSAgICAgICAoY2wtZGVs ZXRlLWlmLW5vdCBwcmVkaWNhdGUgbGlzdCkNCiAJCQkJICAgICBsaXN0KSkpDQorCSAod3JpdGFi bGUgKG5vdCBpbi1zZXNzaW9uKSkNCiAJIGZzKQ0KICAgICAoZnJhbWVzZXQtLXJlY29yZC1taW5p YnVmZmVyLXJlbGF0aW9uc2hpcHMgZnJhbWVzKQ0KICAgICAoc2V0cSBmcyAoZnJhbWVzZXQtLW1h a2UNCkBAIC03NzksNyArNzgzLDcgQEANCiAJCQkJCQkgIChvciBmaWx0ZXJzDQogCQkJCQkJICAg ICAgZnJhbWVzZXQtZmlsdGVyLWFsaXN0KQ0KIAkJCQkJCSAgdCkNCi0JCQkgICh3aW5kb3ctc3Rh dGUtZ2V0IChmcmFtZS1yb290LXdpbmRvdyBmcmFtZSkgdCkpKQ0KKwkJCSAgKHdpbmRvdy1zdGF0 ZS1nZXQgKGZyYW1lLXJvb3Qtd2luZG93IGZyYW1lKSB3cml0YWJsZSkpKQ0KIAkJICAgICAgIGZy YW1lcykpKQ0KICAgICAoY2wtYXNzZXJ0IChmcmFtZXNldC12YWxpZC1wIGZzKSkNCiAgICAgZnMp KQ0KQEAgLTEyNzcsNyArMTI4MSw4IEBADQogCQkocmVnaXN0ZXJ2LW1ha2UNCiAJCSAodmVjdG9y IChmcmFtZXNldC1zYXZlIG5pbA0KIAkJCQkJOmFwcCAncmVnaXN0ZXINCi0JCQkJCTpmaWx0ZXJz IGZyYW1lc2V0LXNlc3Npb24tZmlsdGVyLWFsaXN0KQ0KKwkJCQkJOmZpbHRlcnMgZnJhbWVzZXQt c2Vzc2lvbi1maWx0ZXItYWxpc3QNCisJCQkJCTppbi1zZXNzaW9uIHQpDQogCQkJIDs7IGZyYW1l c2V0LXNhdmUgZG9lcyBub3QgaW5jbHVkZSB0aGUgdmFsdWUgb2YgcG9pbnQNCiAJCQkgOzsgaW4g dGhlIGN1cnJlbnQgYnVmZmVyLCBzbyByZWNvcmQgdGhhdCBzZXBhcmF0ZWx5Lg0KIAkJCSAoZnJh bWVzZXQtZnJhbWUtaWQgbmlsKQ0KDQo= --20cf305b13de25a22004fa695027-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 20:16:20 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 00:16:20 +0000 Received: from localhost ([127.0.0.1]:33815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpRXY-0005G3-5l for submit@debbugs.gnu.org; Tue, 27 May 2014 20:16:20 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:41850) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpRXV-0005Fn-Um for 17589@debbugs.gnu.org; Tue, 27 May 2014 20:16:18 -0400 Received: by mail-qg0-f47.google.com with SMTP id j107so15481150qga.6 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 17:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=eeFR5KGioqxtJPHXyYId4LvEmng/PmRcOv9ApdF2h3g=; b=GsdxO2431wSQ7NnJIT7efoObDK9Le0ANeEWrRmPyqqRSLGQHACeVIREziURITVu+IZ PyaOWpvADNRVkEt0JeWq0sGHLEmMCcKM33nFP+2awBlu+PjQp7UaR4ImgQApQAvffvhV ZPx0nRBGuNzP9wjibWSZmrSirLGf3ks4q08z3sEHM/CD0AEicRso+6S6CCK5LMBuxPq+ ARYbzFiKVkBFZZ+mKK+YdlQ1FrG1gIeXgm7RmKfbZZGK19KJ/KDG+2JKSec9KNg8cqkC h/s8ymZtPpCbHuP7QvLf1uF3iLEF1CsPk0DKU653L9GUDEKBN+O425Lz5YXgidwJuwPx SBSQ== MIME-Version: 1.0 X-Received: by 10.224.51.72 with SMTP id c8mr48677763qag.82.1401236172327; Tue, 27 May 2014 17:16:12 -0700 (PDT) Received: by 10.96.228.112 with HTTP; Tue, 27 May 2014 17:16:12 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> Date: Wed, 28 May 2014 00:16:12 +0000 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Arash Cue To: Juanma Barranquero Content-Type: multipart/alternative; boundary=089e0160bb6c4c50b204fa6ab8ba X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --089e0160bb6c4c50b204fa6ab8ba Content-Type: text/plain; charset=UTF-8 i applied these changes and it somehow fixed the issue but now i can't restore my frame configurations after saving and reading the session `desktop-save', `desktop-read'. On Tue, May 27, 2014 at 10:34 PM, Juanma Barranquero wrote: > On Tue, May 27, 2014 at 7:14 PM, martin rudalics wrote: > > > Probably `frameset-save' could use a WRITABLE argument too (passing it > > on to `window-state-get') and `frameset-to-register' would call > > `frameset-save' with WRITABLE nil. > > Yep, that's the only way I see to solve this. That, or some horrible > hack in frameset-to-register which I don't even want to start thinking > about. > > Arash, could you please try with Martin's proposed change to window.el > plus the attached patch to frameset.el? > > TIA, > > J > --089e0160bb6c4c50b204fa6ab8ba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
i applied these changes and it somehow fixed the issu= e but now i can't restore my frame configurations after saving and read= ing the session `desktop-save', `desktop-read'.



On Tue,= May 27, 2014 at 10:34 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
On Tue, May 27, 2014 at 7:14= PM, martin rudalics <rudalics@gmx.at= > wrote:

> Probably `frameset-save' could use a WRITABLE argument too (passin= g it
> on to `window-state-get') and `frameset-to-register' would cal= l
> `frameset-save' with WRITABLE nil.

Yep, that's the only way I see to solve this. That, or some horri= ble
hack in frameset-to-register which I don't even want to start thinking<= br> about.

Arash, could you please try with Martin's proposed change to window.el<= br> plus the attached patch to frameset.el?

TIA,

=C2=A0 =C2=A0 J

--089e0160bb6c4c50b204fa6ab8ba-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 27 20:22:22 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 00:22:22 +0000 Received: from localhost ([127.0.0.1]:33820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpRdO-0005Pb-07 for submit@debbugs.gnu.org; Tue, 27 May 2014 20:22:22 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:21904) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpRdK-0005PN-VI for 17589@debbugs.gnu.org; Tue, 27 May 2014 20:22:20 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64493877" Received: from 75-119-247-212.dsl.teksavvy.com (HELO pastel.home) ([75.119.247.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 27 May 2014 20:22:13 -0400 Received: by pastel.home (Postfix, from userid 20848) id 36BAC60094; Tue, 27 May 2014 20:22:13 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el Message-ID: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> Date: Tue, 27 May 2014 20:22:13 -0400 In-Reply-To: (Juanma Barranquero's message of "Wed, 28 May 2014 00:34:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Yep, that's the only way I see to solve this. That, or some horrible > hack in frameset-to-register which I don't even want to start thinking > about. Or to always save window-state in a "non-writable" form, and then provide a separate function to turn this into a writable form. If we can always know right from the start if we'll write the window-state, then we don't need that, but if we may sometimes need a window-state which we may or may not later write to a file, then a separate function would be needed. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 00:51:41 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 04:51:41 +0000 Received: from localhost ([127.0.0.1]:33913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpVq0-0005Pn-Os for submit@debbugs.gnu.org; Wed, 28 May 2014 00:51:41 -0400 Received: from mail-yh0-f47.google.com ([209.85.213.47]:32811) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpVpx-0005PO-Ah for 17589@debbugs.gnu.org; Wed, 28 May 2014 00:51:38 -0400 Received: by mail-yh0-f47.google.com with SMTP id z6so8342047yhz.34 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 21:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nIWeij8ZpOCtD04R3BY7zn/vYhdP9JRJlbCHqtZR+8E=; b=o4hX64MMlix2JAgb+qRcF52iknkyZmQ0MspetO+wEGcnRTm1r1r5MuKNF4jIz2mFah tOgpG4fObfPf2GqKOLTzPBJHY0r5UT9QKQ3NimUdoMRouJ3dfrB4vcATSA3P5L+hONKi l8EZ7dFfpa4O6iSMaRHrF2ApgMpt7WIjLrnRO01b2TVbW7Hzwel1z0RF8cM3hcrFIB+A qlCF9UcCvs2KA+tXduFFmk9TVJU6KDocItZTpDzyUCeN3ZSof2A1h3YNcZjQBzWJY3sG p39lQDoBOPsLZjWHiXtIDT7FJPNRhS61JxBuN/Th5H+OUUmhHRomCjxHJl0dlERorPbn fvLA== X-Received: by 10.236.226.101 with SMTP id a95mr48721923yhq.88.1401252691486; Tue, 27 May 2014 21:51:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 21:50:51 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Wed, 28 May 2014 06:50:51 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Arash Cue Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, May 28, 2014 at 2:16 AM, Arash Cue wrote: > i applied these changes and it somehow fixed the issue but now i can't > restore my frame configurations after saving and reading the session > `desktop-save', `desktop-read'. That's weird, because these changes do not affect deskop saving at all. Did you apply Martin's change, or your reversed (and erroneous) version of Martin's change? J From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 00:55:50 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 04:55:50 +0000 Received: from localhost ([127.0.0.1]:33922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpVu2-0005Yi-6g for submit@debbugs.gnu.org; Wed, 28 May 2014 00:55:50 -0400 Received: from mail-yk0-f182.google.com ([209.85.160.182]:55782) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpVu0-0005YT-1q for 17589@debbugs.gnu.org; Wed, 28 May 2014 00:55:48 -0400 Received: by mail-yk0-f182.google.com with SMTP id 9so7902522ykp.13 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 21:55:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=tre2ftS7by/UNvLWICUJMDpzbyl8P2TAnFQMg0soMWA=; b=zNIt2S9KUTs0YZ8uP9a0rl0ss21PebtzZae2IsdHsZ2FvOVl/wV2xH1pDeUO+2+Q3z xaj5Bgskp3aW7ImeZEF1BXxwfUGp1JXcnc3nZG8UNyrNQh+c8yL1S681yVBPPB6wK1v8 toRoZrJfJ4O6PB+yzWvYHR9N96QwROtGNXF1D+f2+I+QNHRdlmta+QOB4RLnD+ZSoVy9 y9YcoYf6+TCk61ExjWvkpWGoaDj+lsyKUHiDYi8r1qSmuGxke/SuFV+OiHmUCpGrhmoW Ww/T8NV7cKXi1EjG/UHtNxCGG0eKEtp3FL8/5RgPUI/uc2RfeNQjx7bZhUgC4psxe8yl DDzg== X-Received: by 10.236.91.170 with SMTP id h30mr20273081yhf.143.1401252942375; Tue, 27 May 2014 21:55:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 21:55:02 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Wed, 28 May 2014 06:55:02 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, May 28, 2014 at 2:22 AM, Stefan Monnier wrote: > Or to always save window-state in a "non-writable" form, and then > provide a separate function to turn this into a writable form. If we > can always know right from the start if we'll write the window-state, > then we don't need that, but if we may sometimes need a window-state > which we may or may not later write to a file, then a separate function > would be needed. I thought of it, but then that "carries over" to framesets, and suddenly you need a function to make a frameset writable, as they would by default be non-writable (because, as this bug shows, you do not know beforehand if you will want to write a frameset or not). Very ugly, IMO. J From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 01:27:30 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 05:27:30 +0000 Received: from localhost ([127.0.0.1]:33934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpWOg-0006ez-DN for submit@debbugs.gnu.org; Wed, 28 May 2014 01:27:30 -0400 Received: from mail-yh0-f44.google.com ([209.85.213.44]:35804) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpWOd-0006eg-HP for 17589@debbugs.gnu.org; Wed, 28 May 2014 01:27:28 -0400 Received: by mail-yh0-f44.google.com with SMTP id b6so8370784yha.31 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 22:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BRh+dC6Rar9Q9C4E8NKURmU81FQDpKLQxK++MyI/MaQ=; b=wctBDjxJm6/TOVyFRIt98D6LNqa9xKwTpY80oPdLlrIdiaQXhWtGrNz4meCVQYrRAH 7ysjclaLcWNxT1gG6bd0SMHOXpefv8VNUidrIfYOG2ZanVKfYx0JLBiUlt9lsXpaQl4s M9tk+T0G/nWjO1ItEmZdBQZWPmMSoX77QUJ2ZI4zCLnEaC2dUzOZcb8SZjw5YJgGWK0u 8GxIgTrC0jTDa4p4CsvZ6RLTvzu26mpY41BBvjGEzrFmaH9bCDHusCA+xMcftMcvhha8 Sa0s9fVLjwOUq2Hbd90UsgZF/SlcuCsASdfhNyoAs8D2IcnQlotDK9g2S1mRXeUqOoDx zzrw== X-Received: by 10.236.61.45 with SMTP id v33mr53764379yhc.20.1401254841923; Tue, 27 May 2014 22:27:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 22:26:41 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Wed, 28 May 2014 07:26:41 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Arash Cue Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, May 28, 2014 at 6:50 AM, Juanma Barranquero wrote: > That's weird, because these changes do not affect deskop saving at all. Though there's still bug#17090: unusable frameset data is saved to the desktop as part of register-alist. But it shouldn't (and doesn't, in my tests) affect saving and restoring the desktop; it just breaks M-x list-registers. J From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 01:29:12 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 05:29:12 +0000 Received: from localhost ([127.0.0.1]:33938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpWQJ-0006im-Ua for submit@debbugs.gnu.org; Wed, 28 May 2014 01:29:12 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:42942) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpWQH-0006iP-At for 17589@debbugs.gnu.org; Wed, 28 May 2014 01:29:10 -0400 Received: by mail-yk0-f172.google.com with SMTP id 79so7950055ykr.31 for <17589@debbugs.gnu.org>; Tue, 27 May 2014 22:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=oJbpEtN+tcA5aR3xZ2YxP/77d+JKG/Ll9Fn3RlyACAY=; b=Ln2OA9wo9HC5zCU3K59UilIwPpEwt5AdxA6mnedWO+wnTD8p8oXupcggCnIISaPOyR dfN3duNXM9LneySxS2G2l+5cZR3yI0Dm9Cm70EWeiBmYGNVPbaAh5tQk4m5mNF0Zq+s/ 4ZiKouif3EAc/kp7AXaLWWS3PFUrrA9foY/M0tmC2gl5itHmno/4yJi8UY1h24Sb7rGN j2/JZNkovsGAimBp8KY5/xySIQ1DTsNcYTxO4rlBy1+JTVUiTKX60coPO+pSmlo/3JFm QEDxEBYGgkPUMiTsGMO4VPw8Z9rzrxyb7NJL3up+EF9gn+L9lfobiVNiPWHfUHebszHx h/EA== X-Received: by 10.236.61.45 with SMTP id v33mr53777351yhc.20.1401254943926; Tue, 27 May 2014 22:29:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Tue, 27 May 2014 22:28:23 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Wed, 28 May 2014 07:28:23 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, May 28, 2014 at 2:22 AM, Stefan Monnier wrote: > Or to always save window-state in a "non-writable" form, and then > provide a separate function to turn this into a writable form. If we > can always know right from the start if we'll write the window-state, > then we don't need that, but if we may sometimes need a window-state > which we may or may not later write to a file, then a separate function > would be needed. I thought of that, but it doesn't really change the need to have a :in-session arg in frameset-save, unless you also want that frameset-save returns non-writable framesets and add a frameset-writable function, which is very ugly. J From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 07:35:37 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 11:35:38 +0000 Received: from localhost ([127.0.0.1]:34040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wpc8u-0003FK-Tz for submit@debbugs.gnu.org; Wed, 28 May 2014 07:35:37 -0400 Received: from mail-qg0-f43.google.com ([209.85.192.43]:54923) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wpc8q-0003Ew-Lw for 17589@debbugs.gnu.org; Wed, 28 May 2014 07:35:34 -0400 Received: by mail-qg0-f43.google.com with SMTP id 63so17150150qgz.2 for <17589@debbugs.gnu.org>; Wed, 28 May 2014 04:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/Z6Dv8n9NC5S9si1sHIShL1VHmYgdfK/qULso903y2Y=; b=YhQJL02gRO3Fz9OD/ayzBK5hTtoYaTQPrsOnveRxWoGbpa4yAmAzE4UGGg9lY+uK/X VlWla5vSXocjZ7DJuwgohJh9Okn1RIErZE+7o29gkvyS4gl/fIDXXiPnQCf7XvoY92Wl FrcDnXvRHtHACEB/RunQUJ47TmK//MerBLgoxo4hlCvpwWv4KmmN/LQniLoqMBIhG4qy pzz32M5sEp/jWI02KlsOmbU/rMrKrfURTunAPwfFMckZUrDPZHDp5GgruhEIaG/RiUN5 XCWwl8RvJZ6Ad3zBvnX6HU+EZFIYG5eiiVYa+DgquawuXNyoKZH/T5NpRIE92hll1sM3 u9MQ== MIME-Version: 1.0 X-Received: by 10.140.36.105 with SMTP id o96mr49326107qgo.25.1401276927075; Wed, 28 May 2014 04:35:27 -0700 (PDT) Received: by 10.96.228.112 with HTTP; Wed, 28 May 2014 04:35:27 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> Date: Wed, 28 May 2014 11:35:27 +0000 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el From: Arash Cue To: Juanma Barranquero Content-Type: multipart/alternative; boundary=001a11c17334786af504fa74359b X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --001a11c17334786af504fa74359b Content-Type: text/plain; charset=UTF-8 no, i applied Martin's change and your's. On Wed, May 28, 2014 at 4:50 AM, Juanma Barranquero wrote: > On Wed, May 28, 2014 at 2:16 AM, Arash Cue wrote: > > > i applied these changes and it somehow fixed the issue but now i can't > > restore my frame configurations after saving and reading the session > > `desktop-save', `desktop-read'. > > That's weird, because these changes do not affect deskop saving at all. > > Did you apply Martin's change, or your reversed (and erroneous) > version of Martin's change? > > J > --001a11c17334786af504fa74359b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
no, i applied Martin's change and your's.


On Wed, May 28, = 2014 at 4:50 AM, Juanma Barranquero <lekktu@gmail.com> wrote:=
On Wed, May 28, 2014 at 2:16= AM, Arash Cue <eg5cue@gmail.com= > wrote:

> i applied these changes and it somehow fixed the issue but now i can&#= 39;t
> restore my frame configurations after saving and reading the session > `desktop-save', `desktop-read'.

That's weird, because these changes do not affect deskop saving a= t all.

Did you apply Martin's change, or your reversed (and erroneous)
version of Martin's change?

=C2=A0 =C2=A0 J

--001a11c17334786af504fa74359b-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 28 09:06:04 2014 Received: (at 17589) by debbugs.gnu.org; 28 May 2014 13:06:04 +0000 Received: from localhost ([127.0.0.1]:34092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpdYR-00062a-Kp for submit@debbugs.gnu.org; Wed, 28 May 2014 09:06:03 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:9307) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WpdYO-00061y-AJ for 17589@debbugs.gnu.org; Wed, 28 May 2014 09:06:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArYGAIDvNVNLd/fU/2dsb2JhbABZgwaDSr0vgw6BFxd0giUBAQEBAgFWIwULCw4mEhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="64764163" Received: from 75-119-247-212.dsl.teksavvy.com (HELO pastel.home) ([75.119.247.212]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 28 May 2014 09:05:54 -0400 Received: by pastel.home (Postfix, from userid 20848) id 4A0A6601CB; Wed, 28 May 2014 09:05:54 -0400 (EDT) From: Stefan Monnier To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el Message-ID: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> Date: Wed, 28 May 2014 09:05:54 -0400 In-Reply-To: (Juanma Barranquero's message of "Wed, 28 May 2014 07:28:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > :in-session arg in frameset-save, unless you also want that > frameset-save returns non-writable framesets and add a > frameset-writable function, Right, that would be the idea. > which is very ugly. One way to make it less ugly is to fold the "make it writable" thingy directly into the print code. We've already had some discussions about that in the past. For example, we could provide a `print-non-readable-function' which the C printing routines would call when bumping into a non-readable object and which could return either a string to print instead. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu May 29 22:11:42 2014 Received: (at 17589) by debbugs.gnu.org; 30 May 2014 02:11:42 +0000 Received: from localhost ([127.0.0.1]:36691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqCII-0004ZA-BS for submit@debbugs.gnu.org; Thu, 29 May 2014 22:11:42 -0400 Received: from mail-yk0-f169.google.com ([209.85.160.169]:58322) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqCIF-0004Yp-LX for 17589@debbugs.gnu.org; Thu, 29 May 2014 22:11:40 -0400 Received: by mail-yk0-f169.google.com with SMTP id 200so1026364ykr.0 for <17589@debbugs.gnu.org>; Thu, 29 May 2014 19:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=59VQo/s6PKH3UPTkTGtJtrvZeXKvzbq6/3V1+QqKH1w=; b=l3SQGEgTfABYP/3UHhglAJTSOqcIPkB+gyR1bwBKa2PvTPDyiMtNqjqGd19BElFDG4 NL5lGETIfkPLVN/zk2RDZtwzXx5NQJJTm1aW4FidNCyryKvx1yHGPB4pwH3VyEMokHd5 CBQaV0yVkRI2amQDmcQZpiRYi/2Jv69L38fvBWuHt8K6VBPfEN7odKlkUFrQ1Nliz5Lf JH7x3ZF3LSJZS5VxFdMzgUUTTsK3q6YNCGBrgczTk8YGwkpBvVtuaWoJ5s8oK42L3L3M rIBksA076bzGZGqsqob6b+/AnQ0nCNKCeXc6QrZhOc7jWtSI4jZrVCmFksqbsneSioqK 25Fg== X-Received: by 10.236.226.101 with SMTP id a95mr15663587yhq.88.1401415894229; Thu, 29 May 2014 19:11:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Thu, 29 May 2014 19:10:54 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Fri, 30 May 2014 04:10:54 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Arash Cue Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > no, i applied Martin's change and your's. Then please send a recipe to reproduce it, because I can't just with these patches. TIA, Juanma From debbugs-submit-bounces@debbugs.gnu.org Thu May 29 22:18:32 2014 Received: (at 17589) by debbugs.gnu.org; 30 May 2014 02:18:32 +0000 Received: from localhost ([127.0.0.1]:36705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqCOu-0004nw-DS for submit@debbugs.gnu.org; Thu, 29 May 2014 22:18:32 -0400 Received: from mail-yk0-f179.google.com ([209.85.160.179]:39199) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WqCOr-0004ng-Td for 17589@debbugs.gnu.org; Thu, 29 May 2014 22:18:31 -0400 Received: by mail-yk0-f179.google.com with SMTP id 19so1018281ykq.10 for <17589@debbugs.gnu.org>; Thu, 29 May 2014 19:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3xzE1AUDt8Wpl6A27g5GlPID31pGNEwo6hJiMkGuIoA=; b=RIKP9psGFKk/zGZn/5EpmP5DAw93GPqSBt/PszxPyP/DYqC5UWD9+0B3pQnaJPFjAC ePzh/geGF5dklD2xfttvBTqY2DSE5SixtagzoyiU1JtNq1TjxLb3TeR085h/XQ7plhej N9i50cHQkCHy0Se3V6DueC2obcC5UV2SPGdF8BBT/XYIhIiyi+qZaISf0jeo0HWS/pWl RYr5/5vAEEye7klPfMjlSjRI7V8h/VholpwwJ0AKzL44xYOaZjQvSjJIzbAR05mVGrN5 +8m4U2B6rm6x1qpDWLf5+WNUd38lTyFRutXSFkKRKyne4dpVUcexAA3A1apQNwMVMLte k7GA== X-Received: by 10.236.181.232 with SMTP id l68mr754873yhm.143.1401416304204; Thu, 29 May 2014 19:18:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Thu, 29 May 2014 19:17:44 -0700 (PDT) In-Reply-To: References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> From: Juanma Barranquero Date: Fri, 30 May 2014 04:17:44 +0200 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , Arash Cue , 17589@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, May 28, 2014 at 3:05 PM, Stefan Monnier wrote: > Right, that would be the idea. I think the current interfaces (window-state-get|put and frameset-save|restore, with an optional WRITABLE or IN-SESSION arg) are way preferable. Seems messy to introduce frameset-writable (or whatever) when the framesets are intended to be writable and the in-memory-only case is just an exception. > One way to make it less ugly is to fold the "make it writable" thingy > directly into the print code. The difference between a "writable frameset" and a non-writable one is not a matter of how to print some values, in the sense that you can decide how to write it just by looking at the value. Some you have to save in specific ways to be able to restore them. J From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 08:06:28 2020 Received: (at 17589) by debbugs.gnu.org; 9 Sep 2020 12:06:28 +0000 Received: from localhost ([127.0.0.1]:57634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFyrr-0007GY-Vu for submit@debbugs.gnu.org; Wed, 09 Sep 2020 08:06:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFyrq-0007GE-4U for 17589@debbugs.gnu.org; Wed, 09 Sep 2020 08:06:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=w6rzm9QRRQNM5Zj1Hm1EW/b4WfF2IY+aU1UsVDHU3Nc=; b=op44q7ZjoT534fZBxNQ8gnMUX1 a+aLJH9ff9xmeLbKVHjNuscbvDC1JxJVmHtEd9PMPw/ET2nP4Rm60zSjCopgt2qm6KpOgQNOkjZT1 +oRMtzaVonXMUJrjyckXv+2I8Rq/glCv6LcCjiSqWf5Mt7gNXz0nxWebvuE5NDQgUFnc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFyrf-0002Hm-F8; Wed, 09 Sep 2020 14:06:18 +0200 From: Lars Ingebrigtsen To: Juanma Barranquero Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> X-Now-Playing: Xiu Xiu's _Girl with Basket of Fruit_: "Normal Love" Date: Wed, 09 Sep 2020 14:06:13 +0200 In-Reply-To: (Juanma Barranquero's message of "Wed, 28 May 2014 00:34:49 +0200") Message-ID: <871rjbcfyi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juanma Barranquero writes: > Arash, could you please try with Martin's proposed change to window.el > plus the attached patch to frameset.el? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 17589 Cc: martin rudalics , 17589@debbugs.gnu.org, Arash Cue , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Juanma Barranquero writes: > Arash, could you please try with Martin's proposed change to window.el > plus the attached patch to frameset.el? [...] > - filters predicate properties) > + filters predicate properties > + in-session) [...] > +IN-SESSION, if non-nil, means that the resulting frameset is meant to be > +used in the current Emacs session and not serialized to an external store." (This was six years ago.) Martin's patch was applied, but Juanma's wasn't. Arash said that it fixed the observed bug, but there were other issues? The thread isn't quite clear here... Is this still something that should be fixed, or has the bug gone away in the years since this? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 10 18:46:20 2021 Received: (at 17589) by debbugs.gnu.org; 10 Oct 2021 22:46:20 +0000 Received: from localhost ([127.0.0.1]:56010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZhaF-0006fl-JD for submit@debbugs.gnu.org; Sun, 10 Oct 2021 18:46:19 -0400 Received: from mail-pj1-f50.google.com ([209.85.216.50]:55268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZhaD-0006ZT-Aa for 17589@debbugs.gnu.org; Sun, 10 Oct 2021 18:46:18 -0400 Received: by mail-pj1-f50.google.com with SMTP id np13so11773191pjb.4 for <17589@debbugs.gnu.org>; Sun, 10 Oct 2021 15:46:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=YE1TRF9oi9CCvoRFh8u/lv0jyakHMxDGn6Ej5XiHT6M=; b=OpkmLLwe1DxRWUXAef+zzZa/dOwRLnVjWLHhCPN/0BpVMcyWJiGAEeBw6g31IqSvVT jIT+mpsph24Zw//JVMDtoaA0ORoZEYAy5UEVDzJ+AUHC1WHiWgZXuv3A/F4AF+RtvZ8Z IRNqti4/9lEGk2V97F1JgJpJWDLv3MMhoKxWgzgJNT2jD/GkAQ7j3YM6jiOlRIM1l2/M GaIxnKvm2rYeOYtGfq9k8Zc8aUn3a1NTSoHWdcIeK+ZceS7sWCDvtIh5U3Gb9JtY7LhJ OxghYBPrtKKnhZtFF1LCOp/dHEcjjf8AgAj0chWFfRWQoUwmvcVlgrybIDhn9IWXkVqp MVrg== X-Gm-Message-State: AOAM531VQ6QxibwzrxqZc/0PpT1l6vz+PBzmK+R9KPlaxaOng0GAP49W fATvgQI271wTpZW3sWgqRDO8WvaS95XRYndcxZE= X-Google-Smtp-Source: ABdhPJwDZptTfKyRxeOq1thI+t/o62hlafPyJDhGLR26Y6vrG9TiL27283nZ/fqs67oByU/KUtEoEog5GiYWYX0bTkY= X-Received: by 2002:a17:902:b691:b029:12d:2b6:d116 with SMTP id c17-20020a170902b691b029012d02b6d116mr21087219pls.71.1633905971484; Sun, 10 Oct 2021 15:46:11 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 10 Oct 2021 15:46:11 -0700 From: Stefan Kangas In-Reply-To: <871rjbcfyi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 09 Sep 2020 14:06:13 +0200") References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> <871rjbcfyi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Date: Sun, 10 Oct 2021 15:46:11 -0700 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 17589 Cc: Juanma Barranquero , 17589@debbugs.gnu.org, Arash Cue , Stefan Monnier , martin rudalics X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) tags 17589 + patch thanks Lars Ingebrigtsen writes: > Juanma Barranquero writes: > >> Arash, could you please try with Martin's proposed change to window.el >> plus the attached patch to frameset.el? > > [...] > >> - filters predicate properties) >> + filters predicate properties >> + in-session) > > [...] > >> +IN-SESSION, if non-nil, means that the resulting frameset is meant to be >> +used in the current Emacs session and not serialized to an external store." > > (This was six years ago.) > > Martin's patch was applied, but Juanma's wasn't. Arash said that it > fixed the observed bug, but there were other issues? The thread isn't > quite clear here... > > Is this still something that should be fixed, or has the bug gone away > in the years since this? More information was requested, but none was given within 12 months. I guess if Juanma's patch fixes an issue it should be installed though? From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 03:55:30 2021 Received: (at 17589) by debbugs.gnu.org; 11 Oct 2021 07:55:30 +0000 Received: from localhost ([127.0.0.1]:56326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZq9i-0004ys-51 for submit@debbugs.gnu.org; Mon, 11 Oct 2021 03:55:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZq9f-0004yf-Lf for 17589@debbugs.gnu.org; Mon, 11 Oct 2021 03:55:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CIeSCKt8kw9N3roP5s9YxabbbjuqIHcWfCgRAJ4cFw8=; b=UDalsgTWcwQlFUY401CekqV/Xo CX3KRf2ubCMAsBj5WHHnZIyIMkRcecBt0h9dhk0lDDHFmfUFpcS4MHnkqKWrQh93imKBlR/WWrIpm VhACiF3KkvHpuW4BUO6aByTWRrG5TuHEZ1cwRXrrE7PDJmP4pOIs/33Cl41/ebrNw5JQ=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZq9W-0000a4-76; Mon, 11 Oct 2021 09:55:20 +0200 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#17589: 24.3.91; lisp/frameset.el References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> <871rjbcfyi.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXw6dX7+Omqp52D gntFR0T///9bmYzmAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UKCwc2FIFl7LwAAAGgSURBVDjLjZSB ccMgDEUF7gCQLkAFA7igCYz2n6lfgJO0ie+qy3GxniV9JCVE1+bitPkUYgzx2Q0LcJOd5H6DYW6A 8ArgThxfImYdju4FeAPJxTcRjubxt8bUFy9APEEgnzxXzsw5t1YnuHFrTZf1xvg+7xEA9I7GS3GC RMwpa+utIlXyolYdAKodnhrXzChGeUVEitHLoQflVmtj3vpDFfuu+k25tkpc9A5cqKLSkadoohOg BtMQ9eUCNHDW2atgvbMr6B4o9wewGtJFVSq5LBXp8PYC8OKTaNOe/ASz1+bWTq6oVv4YqdbYivay mzbUKiew8XPpOdHZyngCdKtte7qZ6CYGVg1PHjemDT6Tt0Bw50rKI5XJRQkewK9ZPQCn4S/mPpjl rOHHqGs2v3Rv3XUjQoZ8tVPkSOjV3MSb3HMfH6Wmra0L3u7+vH/K7n1b81gAQ08QULFYSs8RVsVj JzqANQnKij4brt5nr7CJtWE5MrYK68bYldXd91t94Q9X4E+qsPr8AmIIAX8Bb8BTqPtXjV8hV/4l Y/643bnLRD/tfnRPPiimNAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMC0xMVQwNzo1NDoyMCsw MDowMBD3brsAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTAtMTFUMDc6NTQ6MjArMDA6MDBhqtYH AAAAAElFTkSuQmCC X-Now-Playing: David Byrne's _Music for The Knee Plays_: "Tree (Doday is an Important Occasion)" Date: Mon, 11 Oct 2021 09:55:17 +0200 In-Reply-To: (Stefan Kangas's message of "Sun, 10 Oct 2021 15:46:11 -0700") Message-ID: <87zgrgj8re.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: >> Martin's patch was applied, but Juanma's wasn't. Arash said that it >> fixed the observed bug, but there were other issues? The thread isn't >> quite clear here... >> >> Is this still something tha [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 17589 Cc: Juanma Barranquero , 17589@debbugs.gnu.org, Arash Cue , Stefan Monnier , martin rudalics X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Stefan Kangas writes: >> Martin's patch was applied, but Juanma's wasn't. Arash said that it >> fixed the observed bug, but there were other issues? The thread isn't >> quite clear here... >> >> Is this still something that should be fixed, or has the bug gone away >> in the years since this? > > More information was requested, but none was given within 12 months. > > I guess if Juanma's patch fixes an issue it should be installed though? Not if it leads to other regressions. :-) Re-skimming this thread, I'm not sure what the conclusion was... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 11 07:41:37 2021 Received: (at 17589-done) by debbugs.gnu.org; 11 Oct 2021 11:41:37 +0000 Received: from localhost ([127.0.0.1]:56774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZtgX-0004wc-1m for submit@debbugs.gnu.org; Mon, 11 Oct 2021 07:41:37 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:46688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZtgV-0004wB-Ag for 17589-done@debbugs.gnu.org; Mon, 11 Oct 2021 07:41:35 -0400 Received: by mail-pf1-f176.google.com with SMTP id t15so912785pfl.13 for <17589-done@debbugs.gnu.org>; Mon, 11 Oct 2021 04:41:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=I7i2n9hxgNbkvEUrn6ZZIvLh9KxQ0CxKApyjzrb/6U8=; b=SZQGJVRfnIPa0fMdPMb7kOjBiIcYslfsk3GPhz27CshCe/Q8ntLZC6ahu9MZ2tQh3F hTIYabY5U9mBZZOkFs8Twmj5zqfKmZ5S/x+NAIrRRbSfAzE5PE6yY3cF16baBgzTrGUE qWTmlkf9T6wMYpyfOs0O2cMoiTl2zIlxSY+IdUxaZ/NwtJcd/H/gILic46G3rQ8HTTRG zxByBgh+PiM0WawvJGFq+2xcXxLUj0F+lsGgbabun9vPO5sF9PJZrYs8/fq5LSHSXvak /wX/Bw2HE3+l8FfrUFxZqO4EooGubiCWdC59d9u4mGSq8cEY/fFo9htKOIdAdaNi/r2o qYqw== X-Gm-Message-State: AOAM5307EKvHkU8uKJPKhq1cD6DwAWTZIKbfL0YRGTC+L1DlpFimLHhH YlSq+zwSZJgCRnUA21/oD7G5Z49AlhRaB0Y/LCE= X-Google-Smtp-Source: ABdhPJyvZRto02Ck+HxaBhlAtAii7T5S7c6K7aIzBrlGbpmKE0L4+NqEyTlwhSH+tnp/SZnWCTJqgVHK7uM5TuS5HPk= X-Received: by 2002:a63:4717:: with SMTP id u23mr17699528pga.359.1633952489621; Mon, 11 Oct 2021 04:41:29 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Oct 2021 04:41:29 -0700 From: Stefan Kangas In-Reply-To: <87zgrgj8re.fsf@gnus.org> References: <53843FF8.6040800@gmx.at> <53845749.1000706@gmx.at> <5384642E.5060000@gmx.at> <53848E86.1010301@gmx.at> <5384C7FE.9010005@gmx.at> <871rjbcfyi.fsf@gnus.org> <87zgrgj8re.fsf@gnus.org> MIME-Version: 1.0 Date: Mon, 11 Oct 2021 04:41:29 -0700 Message-ID: Subject: Re: bug#17589: 24.3.91; lisp/frameset.el To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 17589-done Cc: Juanma Barranquero , Arash Cue , 17589-done@debbugs.gnu.org, Stefan Monnier , martin rudalics X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) Lars Ingebrigtsen writes: >> I guess if Juanma's patch fixes an issue it should be installed though? > > Not if it leads to other regressions. :-) Re-skimming this thread, I'm > not sure what the conclusion was... Given that it's been years, perhaps we should just close this. No one replied back within 12 months. If any of this is still important, it'll come back up. I'm therefore closing this bug report. If this conclusion is incorrect and this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. From unknown Sat Jun 21 03:04:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Nov 2021 12:24:07 +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