From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 19 16:47:00 2014 Received: (at submit) by debbugs.gnu.org; 19 Dec 2014 21:47:00 +0000 Received: from localhost ([127.0.0.1]:51899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y25Nz-000529-DA for submit@debbugs.gnu.org; Fri, 19 Dec 2014 16:47:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44252) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y25Nv-00051w-MU for submit@debbugs.gnu.org; Fri, 19 Dec 2014 16:46:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y25Nq-0006kU-0z for submit@debbugs.gnu.org; Fri, 19 Dec 2014 16:46:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y25Np-0006kQ-Uv for submit@debbugs.gnu.org; Fri, 19 Dec 2014 16:46:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y25Nk-0003ul-Gb for bug-gnu-emacs@gnu.org; Fri, 19 Dec 2014 16:46:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y25Nf-0006gF-2Z for bug-gnu-emacs@gnu.org; Fri, 19 Dec 2014 16:46:44 -0500 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:62814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y25Ne-0006fH-Kh for bug-gnu-emacs@gnu.org; Fri, 19 Dec 2014 16:46:38 -0500 Received: by mail-la0-f53.google.com with SMTP id gm9so1542120lab.26 for ; Fri, 19 Dec 2014 13:46:37 -0800 (PST) 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 :content-transfer-encoding; bh=dRqYiEeHa8CzacsMjj1XQwl8mU1GH1KGxVNagcvpQBE=; b=RLLVyNyKKCeYNh98FndkhWIn6P+KWN/Ov2DwzlW8MwPNM/XrlQuqqDct+Mi4E3I+T3 6OTXgTiIIJ5aU62uVDpnuJKHGrz0NmhjxYnXk2EIoIlavV80iSIUopwtHY5BhiTMXbCK 6VM44ysMoPYnbsOUQGyAENZA2I0vOxFrJNCT4gVOCuu+GBpu+Z0Yr6IUYGDBZAfGlooA I0Z8llcZTyonsIazulFsVoqqyb+whR7ATOYwaFLNwB4WzNSC5VSNKbKjSgg9e9cV70Qh wXxKAJBPxEYVjriQCCZDd+o0ZyIKhJ9wxZosZ3Uudwcw1ntJ5419+hgqCeEmZQuFq1u9 7o7Q== X-Received: by 10.152.28.71 with SMTP id z7mr10005357lag.60.1419025597106; Fri, 19 Dec 2014 13:46:37 -0800 (PST) Received: from desktop.home.int ([46.211.79.104]) by mx.google.com with ESMTPSA id zo3sm3048858lbb.10.2014.12.19.13.46.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Dec 2014 13:46:36 -0800 (PST) From: Oleksandr Gavenko To: bug-gnu-emacs@gnu.org Subject: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. Date: Fri, 19 Dec 2014 23:46:34 +0200 Message-ID: <87h9wrqpmt.fsf@gavenkoa.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 (----) I upgrade Emacs on Debian to 24.4.1. New changes for desktop-save-mode: *** Desktop now saves and restores the frame/window configuration. To disable this, set `desktop-restore-frames' to nil. I don't set desktop-restore-frames previously. When I use Fvwm `WindowShade` command on Emacs window it hided, only titleb= ar shown. If I close Emacs in shaded state and run again it gain sticky attribute (so= it shown on every page/desktop, follow my page/desktop switching). So with "emacs -q" and only "(desktop-save-mode 1)" this behavior reproduce= d. (setq desktop-restore-frames nil) fix issue. Here ~/.emacs.desktop which hold data that lead to sticky attribute: (setq desktop-saved-frameset [frameset 1 (21652 39439 387790 976000) (deskt= op . "206") "user@desktop.home.int" nil nil ((((font-backend xft x) (font .= "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1") (font-param= eter . "-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1") (border-wid= th . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divid= er-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (= background-color . "white") (mouse-color . "black") (border-color . "black"= ) (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (scr= oll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1)= (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-posi= tion . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (= scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type .= color) (background-mode . light) (cursor-color . "black") (environment) (f= rameset--id . "0B83-6D5C-17FD-9D99") (frameset--mini t . t) (modeline . t) = (minibuffer . t) (unsplittable) (icon-name) (visibility . t) (display . ":0= ") (explicit-name) (sticky) (height . 35) (width . 80) (left . 0) (top . 0)= ) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ign= ore . 8) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 56)= (min-pixel-width . 70) (min-pixel-height-ignore . 28) (min-pixel-width-ign= ore . 56) (min-pixel-height-safe . 14) (min-pixel-width-safe . 14)) leaf (p= ixel-width . 597) (pixel-height . 476) (total-width . 85) (total-height . 3= 4) (normal-height . 1.0) (normal-width . 1.0) (buffer ".emacs-my" (selected= . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t n= il) (vscroll . 0) (dedicated) (point . 24) (start . 1))))]) Here X window properties that is on newly running sticky Emacs: $ xprop -id 0x200001b _NET_WM_STATE(ATOM) =3D _NET_WM_STATE_STICKY _MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) =3D 0x6c, 0x0, 0x5, = 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 XdndAware(ATOM) =3D BITMAP WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _WIN_AREA(CARDINAL) =3D 0, 0 _WIN_WORKSPACE(CARDINAL) =3D 1 _WIN_LAYER(CARDINAL) =3D 4 _WIN_STATE(CARDINAL) =3D 1 _NET_FRAME_EXTENTS(CARDINAL) =3D 6, 6, 22, 6 _KDE_NET_WM_FRAME_STRUT(CARDINAL) =3D 6, 6, 22, 6 _NET_WM_ALLOWED_ACTIONS(ATOM) =3D _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_= ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET= _WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_= WM_ACTION_SHADE, _NET_WM_ACTION_STICK _NET_WM_DESKTOP(CARDINAL) =3D 4294967295 _NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) =3D "emacs@desktop.home.int" _NET_WM_VISIBLE_NAME(UTF8_STRING) =3D "emacs@desktop.home.int =C2=ABEmacs= :emacs=C2=BB" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x2000293 bitmap id # of mask for icon: 0x2000299 window id # of group leader: 0x2000001 _NET_WM_OPAQUE_REGION(CARDINAL) =3D 7, 0, 1892, 7, 0, 7, 1906, 1153 _NET_WM_WINDOW_TYPE(ATOM) =3D _NET_WM_WINDOW_TYPE_NORMAL _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) =3D 33554460, 33554461 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x200001b WM_CLIENT_LEADER(WINDOW): window id # 0x2000001 _NET_WM_PID(CARDINAL) =3D 13282 WM_LOCALE_NAME(STRING) =3D "en_US.UTF-8" WM_CLIENT_MACHINE(STRING) =3D "desktop" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 51 by 96 program specified resize increment: 7 by 14 program specified base size: 44 by 82 window gravity: NorthWest WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_P= ING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "emacs@desktop.home.int" _NET_WM_ICON_NAME(UTF8_STRING) =3D "emacs@desktop.home.int" WM_NAME(STRING) =3D "emacs@desktop.home.int" _NET_WM_NAME(UTF8_STRING) =3D "emacs@desktop.home.int" In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.3) of 2014-10-25 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11601000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/va= r/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/= info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-li= sp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/= info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-li= sp:/usr/share/emacs/site-lisp --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS= =3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-z,relro' --=20 Best regards! From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 19 16:52:45 2014 Received: (at 19413) by debbugs.gnu.org; 19 Dec 2014 21:52:45 +0000 Received: from localhost ([127.0.0.1]:51916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y25TZ-0005Bf-8w for submit@debbugs.gnu.org; Fri, 19 Dec 2014 16:52:45 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:39812) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y25TW-0005BW-RD for 19413@debbugs.gnu.org; Fri, 19 Dec 2014 16:52:43 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NGU00B00NBHPL00@a-mtaout20.012.net.il> for 19413@debbugs.gnu.org; Fri, 19 Dec 2014 23:52:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGU00BI6NFSKQ40@a-mtaout20.012.net.il>; Fri, 19 Dec 2014 23:52:41 +0200 (IST) Date: Fri, 19 Dec 2014 23:52:40 +0200 From: Eli Zaretskii Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. In-reply-to: <87h9wrqpmt.fsf@gavenkoa.example.com> X-012-Sender: halo1@inter.net.il To: Oleksandr Gavenko Message-id: <83k31ns3x3.fsf@gnu.org> References: <87h9wrqpmt.fsf@gavenkoa.example.com> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19413 Cc: 19413@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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 (+) > From: Oleksandr Gavenko > Date: Fri, 19 Dec 2014 23:46:34 +0200 > > I upgrade Emacs on Debian to 24.4.1. > > New changes for desktop-save-mode: > > *** Desktop now saves and restores the frame/window configuration. > To disable this, set `desktop-restore-frames' to nil. > > I don't set desktop-restore-frames previously. > > When I use Fvwm `WindowShade` command on Emacs window it hided, only titlebar > shown. > > If I close Emacs in shaded state and run again it gain sticky attribute (so it > shown on every page/desktop, follow my page/desktop switching). > > So with "emacs -q" and only "(desktop-save-mode 1)" this behavior reproduced. AFAIR, Debian has a lot of stuff hiding in site-init files, and -q doesn't disable that. Does the same problem happen with -Q or --no-site-file? From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 19 17:35:26 2014 Received: (at 19413) by debbugs.gnu.org; 19 Dec 2014 22:35:26 +0000 Received: from localhost ([127.0.0.1]:51952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y268r-0006Er-4M for submit@debbugs.gnu.org; Fri, 19 Dec 2014 17:35:25 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:46321) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y268h-0006EZ-Bp for 19413@debbugs.gnu.org; Fri, 19 Dec 2014 17:35:22 -0500 Received: by mail-lb0-f178.google.com with SMTP id f15so1704013lbj.37 for <19413@debbugs.gnu.org>; Fri, 19 Dec 2014 14:35:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=OerjgUFvJXx8zYk4lRbPwhMDhN4Pxw/WE/WTAmDcnJ0=; b=fjHzjWTdMAzn05bHoHAS8yYOtfysZQEaz/S09jimsvvYGS1JBtc/AyQK/fB7t+U1OA z1tCPmE8Z6WIyrPQP4SCSxqAVZBauboMhAkbUsdUDS0azgEIkHHeR+Cgl7VHlfwH8t9G dL2LF1tAg3NrJ20rmxClMYlh8J3N+9falk7e9c0pMzSfHGpoUhiHZEsuW+5CT/C1fKsm vtMIkF8Me0g557vZUXS6ngYb4WNSufs56tx+BKIs8yw7S99LGwOra0VZXYs0aLX6kXlZ yU+0FWuCdcsgEgix2Hyky9lULT/bCJC3Pulm3q/4yGHTce+J5SBRgaHiRaJfNPZFadTp PF4A== X-Received: by 10.152.42.169 with SMTP id p9mr10103470lal.94.1419028514263; Fri, 19 Dec 2014 14:35:14 -0800 (PST) Received: from desktop.home.int ([46.211.79.104]) by mx.google.com with ESMTPSA id h7sm3075752lbl.41.2014.12.19.14.35.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Dec 2014 14:35:13 -0800 (PST) From: Oleksandr Gavenko To: Eli Zaretskii Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net References: <87h9wrqpmt.fsf@gavenkoa.example.com> <83k31ns3x3.fsf@gnu.org> Date: Sat, 20 Dec 2014 00:35:12 +0200 In-Reply-To: <83k31ns3x3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 19 Dec 2014 23:52:40 +0200") Message-ID: <87wq5nnu8v.fsf@gavenkoa.example.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19413 Cc: 19413@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 2014-12-19, Eli Zaretskii wrote: >> When I use Fvwm `WindowShade` command on Emacs window it hided, only tit= lebar >> shown. >>=20 >> If I close Emacs in shaded state and run again it gain sticky attribute = (so it >> shown on every page/desktop, follow my page/desktop switching). >>=20 >> So with "emacs -q" and only "(desktop-save-mode 1)" this behavior reprod= uced. > > AFAIR, Debian has a lot of stuff hiding in site-init files, and -q > doesn't disable that. Does the same problem happen with -Q or > --no-site-file? Ok. I reproduce with --no-site-file and clean ~/.emacs with only: (desktop-save-mode 1) But one correction - I lay about "-q". Evaluation of (desktop-save-mode 1) = in non-startup stage works different. For example it doesn't read ~/.emacs.desktop file (or just doesn't rearrange frame geometry) and when I leave Emacs - it prompt for place for .emacs.desktop. With --no-site-file a= nd above ~/.emacs I am not asked for savefile and bug reproduced. Here X window properties for shaded Emacs: $ xprop -id 0x200001a _NET_WM_STATE(ATOM) =3D _NET_WM_STATE_SHADED _MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) =3D 0x6c, 0x0, 0x5, = 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 XdndAware(ATOM) =3D BITMAP WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _WIN_AREA(CARDINAL) =3D 0, 0 _WIN_WORKSPACE(CARDINAL) =3D 2 _WIN_LAYER(CARDINAL) =3D 4 _WIN_STATE(CARDINAL) =3D 32 _NET_FRAME_EXTENTS(CARDINAL) =3D 6, 6, 22, 6 _KDE_NET_WM_FRAME_STRUT(CARDINAL) =3D 6, 6, 22, 6 _NET_WM_ALLOWED_ACTIONS(ATOM) =3D _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_= ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET= _WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_= WM_ACTION_SHADE, _NET_WM_ACTION_STICK _NET_WM_DESKTOP(CARDINAL) =3D 2 _NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) =3D "EMACS desktop.home.int: *unse= nt wide reply to Eli Zaretskii*" _NET_WM_VISIBLE_NAME(UTF8_STRING) =3D "EMACS desktop.home.int: *unsent wi= de reply to Eli Zaretskii* =C2=ABEmacs:emacs=C2=BB" WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x200097e bitmap id # of mask for icon: 0x2000984 window id # of group leader: 0x2000001 _NET_WM_ICON(CARDINAL) =3D Icon (48 x 48): _NET_WM_OPAQUE_REGION(CARDINAL) =3D 7, 0, 1894, 7, 0, 7, 1908, 1165 _NET_WM_WINDOW_TYPE(ATOM) =3D _NET_WM_WINDOW_TYPE_NORMAL _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) =3D 33554460, 33554461 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x200001b WM_CLIENT_LEADER(WINDOW): window id # 0x2000001 _NET_WM_PID(CARDINAL) =3D 19038 WM_LOCALE_NAME(STRING) =3D "en_US.UTF-8" WM_CLIENT_MACHINE(STRING) =3D "desktop" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 0 by 0 program specified base size: 0 by 0 window gravity: NorthWest WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_P= ING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) =3D "emacs", "Emacs" WM_ICON_NAME(STRING) =3D "EMACS desktop.home.int: *unsent wide reply to E= li Zaretskii*" _NET_WM_ICON_NAME(UTF8_STRING) =3D "EMACS desktop.home.int: *unsent wide = reply to Eli Zaretskii*" WM_NAME(STRING) =3D "EMACS desktop.home.int: *unsent wide reply to Eli Za= retskii*" _NET_WM_NAME(UTF8_STRING) =3D "EMACS desktop.home.int: *unsent wide reply= to Eli Zaretskii*" I see difference in value: _NET_WM_STATE(ATOM) =3D _NET_WM_STATE_SHADED vs: _NET_WM_STATE(ATOM) =3D _NET_WM_STATE_STICKY Is desktop-save code incorrectly recognise _NET_WM_STATE_SHADED ? --=20 Best regards! From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 20 05:10:59 2014 Received: (at 19413) by debbugs.gnu.org; 20 Dec 2014 10:10:59 +0000 Received: from localhost ([127.0.0.1]:52134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2Gzz-0007tC-12 for submit@debbugs.gnu.org; Sat, 20 Dec 2014 05:10:59 -0500 Received: from mout.gmx.net ([212.227.17.20]:61997) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2Gzx-0007t4-Gw for 19413@debbugs.gnu.org; Sat, 20 Dec 2014 05:10:57 -0500 Received: from [178.190.22.249] ([178.190.22.249]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MJWAZ-1Y4jhc0mcN-0039CR; Sat, 20 Dec 2014 11:10:55 +0100 Message-ID: <54954B26.2000200@gmx.at> Date: Sat, 20 Dec 2014 11:10:46 +0100 From: martin rudalics MIME-Version: 1.0 To: Oleksandr Gavenko , 19413@debbugs.gnu.org Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. References: <87h9wrqpmt.fsf@gavenkoa.example.com> In-Reply-To: <87h9wrqpmt.fsf@gavenkoa.example.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:nG774mx9L6mDeocNRtx/VXaReB+RWkA9LDPUBvhhKBN8j8itc2j lHg32nfivL8h3PUsf9jOBtxIfkuVLF7O3V874/9tS2EKMoqlrFMQZhPcMXcvfARb6EtpgKd PXUWIQ8zvDYFsKBBwWRE2F8H+N54QdIQDdKPKheWth9kzpKGEbZOiiAKinjQwuclrcniipS omAztKvmyUOsKJzAgM3Ow== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19413 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 (/) > (setq desktop-saved-frameset [frameset 1 (21652 39439 387790 976000) (desktop . "206") "user@desktop.home.int" nil nil (((... (sticky) ... )))]) `sticky' is nil here. When in the restored frame you evaluate (frame-parameter nil 'sticky) what do you get? martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 20 07:33:55 2014 Received: (at 19413) by debbugs.gnu.org; 20 Dec 2014 12:33:55 +0000 Received: from localhost ([127.0.0.1]:52209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2JEI-0004NP-2Y for submit@debbugs.gnu.org; Sat, 20 Dec 2014 07:33:54 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:58651) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2JEG-0004NG-8w for 19413@debbugs.gnu.org; Sat, 20 Dec 2014 07:33:53 -0500 Received: by mail-lb0-f182.google.com with SMTP id f15so2202433lbj.41 for <19413@debbugs.gnu.org>; Sat, 20 Dec 2014 04:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=kCkZcuNuHI1KNSTUDDM68a4kyjN+Lx+VBIvbngV5xBs=; b=lwvc7ALkHA+rKNFveV0flll1NevBweqzl8UoAMY4wty/Gozr5jBWEoYU0uoteUdpo8 /n4xGJ98O0zK71nYrRuVUJPLbE0N8qotj5DqCe1S/+UMvK2LLCOXUfOri0elolcQlTbi w6kBrgJ+2gBbPwgpEF7m9MhvYlVEPV/YpmZq3isTqW4y3OJP0Vn8NHaZVsnahACpwME7 erCtRb8nSn7bz92gCU2K6A7nVOqqisHOT9Orq8AqOAP35mMEWPG8oz3HCfIL1tkU0/y4 J0qBXwuF8pPO338RqfrNGBG2WOEqOZNylHPzTZZhobt2Hzb3YOR+NotPH/qonkrYZPCg XMvQ== X-Received: by 10.152.19.7 with SMTP id a7mr12528335lae.16.1419078831320; Sat, 20 Dec 2014 04:33:51 -0800 (PST) Received: from desktop.home.int ([46.211.79.104]) by mx.google.com with ESMTPSA id n6sm3533253laj.16.2014.12.20.04.33.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Dec 2014 04:33:50 -0800 (PST) From: Oleksandr Gavenko To: martin rudalics Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> Date: Sat, 20 Dec 2014 14:33:48 +0200 In-Reply-To: <54954B26.2000200@gmx.at> (martin rudalics's message of "Sat, 20 Dec 2014 11:10:46 +0100") Message-ID: <87oaqy5wlv.fsf@gavenkoa.example.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19413 Cc: 19413@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 2014-12-20, martin rudalics wrote: >> (setq desktop-saved-frameset [frameset 1 (21652 39439 387790 976000) (de= sktop . "206") "user@desktop.home.int" nil nil (((... (sticky) ... )))]) > > `sticky' is nil here. When in the restored frame you evaluate > > (frame-parameter nil 'sticky) > > what do you get? > When frame sticky (Fvwm decorate it especially) I get "t". For non-sticky I get "nil". I check what file used as desktop save file (two last line from output when= I C-x C-c from Emacs): $ strace -f -eopen emacs --no-site-file 2>&1 | grep -v 'ENOENT\|python' ... [pid 9179] open("/home/user/.emacs.desktop", O_WRONLY|O_CREAT|O_TRUNC|O_= CLOEXEC, 0666) =3D 14 [pid 9179] open("/home/user/.emacs.d/auto-save-list/.saves-9179-desktop.= home.int~", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) =3D 14 With only .emacs: (desktop-save-mode 1) and "emacs --no-site-file" and ~/.emacs.desktop: (setq desktop-saved-frameset [frameset 1 (21653 23984 363080 668000) (deskt= op . "206") "user@desktop.home.int" nil nil ((((font-backend xft x) (font .= "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1") (font-param= eter . "-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1") (border-wid= th . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divid= er-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (= background-color . "white") (mouse-color . "black") (border-color . "black"= ) (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (scr= oll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1)= (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-posi= tion . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (= scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type .= color) (background-mode . light) (cursor-color . "black") (environment) (f= rameset--id . "A948-AB72-D73D-287C") (frameset--mini t . t) (modeline . t) = (minibuffer . t) (unsplittable) (icon-name) (visibility . t) (display . ":0= ") (explicit-name) (height . 35) (width . 80) (left . 1240) (top . 28)) ((m= in-height . 8) (min-width . 10) (min-height-ignore . 4) (min-width-ignore .= 8) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height . 112) (mi= n-pixel-width . 70) (min-pixel-height-ignore . 56) (min-pixel-width-ignore = . 56) (min-pixel-height-safe . 28) (min-pixel-width-safe . 14)) vc (pixel-w= idth . 597) (pixel-height . 476) (total-width . 85) (total-height . 34) (no= rmal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-wi= dth . 597) (pixel-height . 238) (total-width . 85) (total-height . 17) (nor= mal-height . 0.5) (normal-width . 1.0) (buffer "mc.ext" (selected) (hscroll= . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (vscroll .= 0) (dedicated) (point . 5457) (start . 5293))) (leaf (last . t) (pixel-wid= th . 597) (pixel-height . 238) (total-width . 85) (total-height . 17) (norm= al-height . 0.5) (normal-width . 1.0) (buffer "*Messages*" (selected . t) (= hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (vs= croll . 0) (dedicated) (point . 284) (start . 1)))))]) I always get normally started Emacs unless I shaded Emacs window. When I cl= ose shaded Emacs ~/.emacs.desktop changed to: (setq desktop-saved-frameset [frameset 1 (21653 24375 351017 568000) (deskt= op . "206") "user@desktop.home.int" nil nil ((((font-backend xft x) (font .= "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1") (font-param= eter . "-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1") (border-wid= th . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divid= er-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (= background-color . "white") (mouse-color . "black") (border-color . "black"= ) (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (scr= oll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1)= (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-posi= tion . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (= scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type .= color) (background-mode . light) (cursor-color . "black") (environment) (f= rameset--id . "A948-AB72-D73D-287C") (frameset--mini t . t) (modeline . t) = (minibuffer . t) (unsplittable) (icon-name) (visibility . t) (display . ":0= ") (explicit-name) (sticky) (height . 35) (width . 80) (left . 1240) (top .= 28)) ((min-height . 8) (min-width . 10) (min-height-ignore . 4) (min-width= -ignore . 8) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height .= 112) (min-pixel-width . 70) (min-pixel-height-ignore . 56) (min-pixel-widt= h-ignore . 56) (min-pixel-height-safe . 28) (min-pixel-width-safe . 14)) vc= (pixel-width . 597) (pixel-height . 476) (total-width . 85) (total-height = . 34) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf = (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-height .= 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "mc.ext" (selected)= (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (= vscroll . 0) (dedicated) (point . 5457) (start . 5293))) (leaf (last . t) (= pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-height . = 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "*Messages*" (select= ed . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t= nil) (vscroll . 0) (dedicated) (point . 284) (start . 1)))))]) You can see difference in "(sticky)" above. New "emacs --no-site-file" open= ed as sticky and when I close Emacs ~/.emacs.desktop changed to: (setq desktop-saved-frameset [frameset 1 (21653 24557 165658 111000) (deskt= op . "206") "user@desktop.home.int" nil nil ((((font-backend xft x) (font .= "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1") (font-param= eter . "-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1") (border-wid= th . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divid= er-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (= background-color . "white") (mouse-color . "black") (border-color . "black"= ) (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (scr= oll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1)= (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-posi= tion . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (= scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type .= color) (background-mode . light) (cursor-color . "black") (environment) (f= rameset--id . "A948-AB72-D73D-287C") (frameset--mini t . t) (modeline . t) = (minibuffer . t) (unsplittable) (icon-name) (visibility . t) (display . ":0= ") (explicit-name) (sticky . t) (height . 35) (width . 80) (left . 1240) (t= op . 28)) ((min-height . 8) (min-width . 10) (min-height-ignore . 4) (min-w= idth-ignore . 8) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-heig= ht . 112) (min-pixel-width . 70) (min-pixel-height-ignore . 56) (min-pixel-= width-ignore . 56) (min-pixel-height-safe . 28) (min-pixel-width-safe . 14)= ) vc (pixel-width . 597) (pixel-height . 476) (total-width . 85) (total-hei= ght . 34) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (l= eaf (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-heig= ht . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "mc.ext" (selec= ted) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t ni= l) (vscroll . 0) (dedicated) (point . 5457) (start . 5293))) (leaf (last . = t) (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-heigh= t . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "*Messages*" (se= lected . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16= 3 t nil) (vscroll . 0) (dedicated) (point . 284) (start . 1)))))]) You can see difference in "(sticky . t)" above. Next rerun leave ~/.emacs.desktop without changes. As shown strace Emacs load ~/.emacs.d/elpa/* so I rename this dir. Evaluation of "(desktop-save-mode 1)" in "emacs -Q" (not from ~/.emacs) pro= mpt me on exit: Current desktop was not loaded from a file. Overwrite this desktop file?= (yes or no) If leave Emacs with shaded window (pressing X button in titlebar) I get GTK file selection dialogs about .emacs.desktop file. After leaving "(sticky)" seen in ~/.emacs.desktop. I check value of: after-init-hook is a variable defined in `startup.el'. Its value is (#[0 "..." [command-line-args desktop-save-mode desktop-restore-frames initial-= window-system inhibit-startup-screen "--no-desktop" delete 0 daemonp deskto= p-read t] 4 "\n\n(fn)"] x-wm-set-size-hint) and if load "emacs -Q" and then evaluate (desktop-read) with "(sticky)" in ~/.emacs.desktop I get sticky Emacs window. So there are two problems: 1) Emacs instead saving shaded window attribute add "(sticky)" to ~/.emacs= .desktop 2) (desktop-read) wrongly apply (sticky), and (sticky . t) and (sticky . n= il) - as always sticky. I check /src/xterm.h: /* Atoms dealing with EWMH (i.e. _NET_...) */ Atom Xatom_net_wm_state, Xatom_net_wm_state_fullscreen, Xatom_net_wm_state_maximized_horz, Xatom_net_wm_state_maximized_vert, Xatom_net_wm_state_sticky, Xatom_net_wm_state_hidden, Xatom_net_frame_extents, Xatom_net_current_desktop, Xatom_net_workarea; There are no _NET_WM_STATE_SHADED that defined in: http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317598= 336 _NET_WM_STATE which say: Possible atoms are: _NET_WM_STATE_MODAL, ATOM _NET_WM_STATE_STICKY, ATOM _NET_WM_STATE_MAXIMIZED_VERT, ATOM _NET_WM_STATE_MAXIMIZED_HORZ, ATOM _NET_WM_STATE_SHADED, ATOM _NET_WM_STATE_SKIP_TASKBAR, ATOM _NET_WM_STATE_SKIP_PAGER, ATOM _NET_WM_STATE_HIDDEN, ATOM _NET_WM_STATE_FULLSCREEN, ATOM _NET_WM_STATE_ABOVE, ATOM _NET_WM_STATE_BELOW, ATOM _NET_WM_STATE_DEMANDS_ATTENTION, ATOM --=20 Best regards! From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 20 09:50:36 2014 Received: (at 19413) by debbugs.gnu.org; 20 Dec 2014 14:50:36 +0000 Received: from localhost ([127.0.0.1]:52252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2LMZ-0007wO-T3 for submit@debbugs.gnu.org; Sat, 20 Dec 2014 09:50:36 -0500 Received: from mout.gmx.net ([212.227.15.19]:52259) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2LMW-0007wF-Q7 for 19413@debbugs.gnu.org; Sat, 20 Dec 2014 09:50:34 -0500 Received: from [188.23.121.89] ([188.23.121.89]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MGSgq-1Y6nKK3Xqi-00DGo2; Sat, 20 Dec 2014 15:50:25 +0100 Message-ID: <54958CA6.9020201@gmx.at> Date: Sat, 20 Dec 2014 15:50:14 +0100 From: martin rudalics MIME-Version: 1.0 To: Oleksandr Gavenko Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> <87oaqy5wlv.fsf@gavenkoa.example.com> In-Reply-To: <87oaqy5wlv.fsf@gavenkoa.example.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:upmeXXkBcLNvgtWLG3iPF+ADRKvwQlrKUMlj2Zb2M7VB2mdK9kU cHHKSxbhhvTZKX59KTVIqnt/HeWZkA66W+ScpM/xjI+1alpTcV/GjhU+IS4xMxwaF5bcdlj uPKo7cNVEit6YucTCupWEKWQydlGodzt4yo675fwXCPDHqEpfyGQH67pGjEL7iq74GhiDgC Hi3k9TocmITXUFFzEzHiw== X-UI-Out-Filterresults: notjunk:1; X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19413 Cc: 19413@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 (/) > When frame sticky (Fvwm decorate it especially) I get "t". For non-sticky I > get "nil". So the value of sticky corresponds to what you see on screen. Correct? > I always get normally started Emacs unless I shaded Emacs window. When I close > shaded Emacs ~/.emacs.desktop changed to: > > (setq desktop-saved-frameset [frameset 1 (21653 24375 351017 568000) (desktop . "206") "user@desktop.home.int" nil nil ((((font-backend xft x) (font . "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1") (font-parameter . "-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1") (border-width . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (background-color . "white") (mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (scroll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-position . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "black") (environment) (frameset--id . "A948 -AB72-D73D-287C") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (icon-name) (visibility . t) (display . ":0") (explicit-name) (sticky) (height . 35) (width . 80) (left . 1240) (top . 28)) ((min-height . 8) (min-width . 10) (min-height-ignore . 4) (min-width-ignore . 8) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height . 112) (min-pixel-width . 70) (min-pixel-height-ignore . 56) (min-pixel-width-ignore . 56) (min-pixel-height-safe . 28) (min-pixel-width-safe . 14)) vc (pixel-width . 597) (pixel-height . 476) (total-width . 85) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-height . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "mc.ext" (selected) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (vscroll . 0) (dedicated) (point . 5457) (start . 5293))) (leaf (last . t) (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-height . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "*Messages*" (selected . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (vscroll . 0) (dedicated) (point . 284) (start . 1)))))]) > > You can see difference in "(sticky)" above. New "emacs --no-site-file" opened > as sticky and when I close Emacs ~/.emacs.desktop changed to: > > (setq desktop-saved-frameset [frameset 1 (21653 24557 165658 111000) (desktop . "206") "user@desktop.home.int" nil nil ((((font-backend xft x) (font . "-Misc-Fixed-normal-normal-normal-*-14-*-*-*-c-70-iso10646-1") (font-parameter . "-misc-fixed-medium-r-normal-*-14-*-*-*-c-*-iso10646-1") (border-width . 0) (internal-border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars . right) (foreground-color . "black") (background-color . "white") (mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fringe . 10) (right-fringe . 11) (scroll-bar-foreground) (scroll-bar-background . "grey75") (menu-bar-lines . 1) (tool-bar-lines . 1) (title) (wait-for-wm . t) (fullscreen) (tool-bar-position . top) (icon-type . t) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 16) (alpha) (horizontal-scroll-bars . t) (display-type . color) (background-mode . light) (cursor-color . "black") (environment) (frameset--id . "A948 -AB72-D73D-287C") (frameset--mini t . t) (modeline . t) (minibuffer . t) (unsplittable) (icon-name) (visibility . t) (display . ":0") (explicit-name) (sticky . t) (height . 35) (width . 80) (left . 1240) (top . 28)) ((min-height . 8) (min-width . 10) (min-height-ignore . 4) (min-width-ignore . 8) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height . 112) (min-pixel-width . 70) (min-pixel-height-ignore . 56) (min-pixel-width-ignore . 56) (min-pixel-height-safe . 28) (min-pixel-width-safe . 14)) vc (pixel-width . 597) (pixel-height . 476) (total-width . 85) (total-height . 34) (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-height . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "mc.ext" (selected) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (vscroll . 0) (dedicated) (point . 5457) (start . 5293))) (leaf (last . t) (pixel-width . 597) (pixel-height . 238) (total-width . 85) (total-height . 17) (normal-height . 0.5) (normal-width . 1.0) (buffer "*Messages*" (selected . t) (hscroll . 0) (fringes 10 11 nil) (margins nil) (scroll-bars 16 3 t nil) (vscroll . 0) (dedicated) (point . 284) (start . 1)))))]) > > You can see difference in "(sticky . t)" above. Next rerun leave > ~/.emacs.desktop without changes. To get it right: You first close Emacs with a shaded frame and if you afterwards look at the desktop file it has (sticky) in it. If you now restart Emacs and close it again, the desktop file has (sticky . t). > So there are two problems: > > 1) Emacs instead saving shaded window attribute add "(sticky)" to ~/.emacs.desktop So if you do not have a desktop file initially but enable `desktop-save-mode' and then (1) close Emacs with a shaded frame, and (2) close Emacs with an unshaded frame the difference is a (sticky) entry for (1) and no such entry for (2). Is that correct? > 2) (desktop-read) wrongly apply (sticky), and (sticky . t) and (sticky . nil) > - as always sticky. This sounds like a reasonable explanation. x_net_wm_state has /** store_frame_param (f, Qsticky, sticky ? Qt : Qnil); **/ without any further comment, maybe it's related. Does Emacs process (set-frame-parameter nil 'sticky ...) correctly on your system without desktop saving involved? > I check /src/xterm.h: > > /* Atoms dealing with EWMH (i.e. _NET_...) */ > Atom Xatom_net_wm_state, Xatom_net_wm_state_fullscreen, > Xatom_net_wm_state_maximized_horz, Xatom_net_wm_state_maximized_vert, > Xatom_net_wm_state_sticky, Xatom_net_wm_state_hidden, > Xatom_net_frame_extents, > Xatom_net_current_desktop, Xatom_net_workarea; > > There are no _NET_WM_STATE_SHADED that defined in: > > http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317598336 > _NET_WM_STATE > > which say: > > Possible atoms are: > > _NET_WM_STATE_MODAL, ATOM > _NET_WM_STATE_STICKY, ATOM > _NET_WM_STATE_MAXIMIZED_VERT, ATOM > _NET_WM_STATE_MAXIMIZED_HORZ, ATOM > _NET_WM_STATE_SHADED, ATOM > _NET_WM_STATE_SKIP_TASKBAR, ATOM > _NET_WM_STATE_SKIP_PAGER, ATOM > _NET_WM_STATE_HIDDEN, ATOM > _NET_WM_STATE_FULLSCREEN, ATOM > _NET_WM_STATE_ABOVE, ATOM > _NET_WM_STATE_BELOW, ATOM > _NET_WM_STATE_DEMANDS_ATTENTION, ATOM We have to possibilities to deal with these: Either we wait for Jan to return from his voyage or you fix these issues yourself. Given your findings above I'm quite confident that you could do it. martin From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 20 12:33:47 2014 Received: (at 19413) by debbugs.gnu.org; 20 Dec 2014 17:33:47 +0000 Received: from localhost ([127.0.0.1]:53252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2NuT-0003yl-Ug for submit@debbugs.gnu.org; Sat, 20 Dec 2014 12:33:46 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:61792) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2NuR-0003yb-J3 for 19413@debbugs.gnu.org; Sat, 20 Dec 2014 12:33:44 -0500 Received: by mail-la0-f46.google.com with SMTP id q1so2324154lam.19 for <19413@debbugs.gnu.org>; Sat, 20 Dec 2014 09:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=L1ytK03eptn9zpiHccbuFEkZ3DWw5lJb2pRdu2ml2tI=; b=OqkMsuw9Sbqa0rXPyV+uj+FJ/Qb0eMdK4Kr7DdBzkQs0bdy9V3sfJBArpAqiqa2y3w Zb3Kvg/qiCh9j0nw9GNXGTj5aSTRtXoYW6jv3Wu/hvzmyO2YFocZud77vR7hv2Ulq56X HDz/9zcImMFYSBLmLHChoVbYBaNhbby4o4bzG4OTt3FqndXNyKdWpvvXc8f5DMbyyP9D 2Cb3vDXDY1H4CXdLODuQEkWORhJTuTiveC3tf484W4hTiLNeWmpFKgvlk9lt62D1Qs7O Hurfo4cLTHPgyb9exXNZqAPrwNYnIOuAz6Q6M1pOG738c1yxkNJhmEX62jQXN1TNOL6j a9cg== X-Received: by 10.152.234.35 with SMTP id ub3mr13728366lac.70.1419096822657; Sat, 20 Dec 2014 09:33:42 -0800 (PST) Received: from desktop.home.int ([46.211.79.104]) by mx.google.com with ESMTPSA id uj5sm3691286lbc.16.2014.12.20.09.33.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Dec 2014 09:33:41 -0800 (PST) From: Oleksandr Gavenko To: martin rudalics Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> <87oaqy5wlv.fsf@gavenkoa.example.com> <54958CA6.9020201@gmx.at> Date: Sat, 20 Dec 2014 19:33:40 +0200 In-Reply-To: <54958CA6.9020201@gmx.at> (martin rudalics's message of "Sat, 20 Dec 2014 15:50:14 +0100") Message-ID: <87k31m5iq3.fsf@gavenkoa.example.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19413 Cc: 19413@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 2014-12-20, martin rudalics wrote: >> When frame sticky (Fvwm decorate it especially) I get "t". For non-stick= y I >> get "nil". > > So the value of sticky corresponds to what you see on screen. Correct? Yes. > To get it right: You first close Emacs with a shaded frame and if you > afterwards look at the desktop file it has (sticky) in it. If you now > restart Emacs and close it again, the desktop file has (sticky . t). Yes. >> So there are two problems: >> >> 1) Emacs instead saving shaded window attribute add "(sticky)" to ~/.e= macs.desktop > > So if you do not have a desktop file initially but enable > `desktop-save-mode' and then > > (1) close Emacs with a shaded frame, and > > (2) close Emacs with an unshaded frame > > the difference is a (sticky) entry for (1) and no such entry for (2). > Is that correct? Yes. >> 2) (desktop-read) wrongly apply (sticky), and (sticky . t) and (sticky= . nil) >> - as always sticky. > > This sounds like a reasonable explanation. x_net_wm_state has > > /** store_frame_param (f, Qsticky, sticky ? Qt : Qnil); **/ > > without any further comment, maybe it's related. Does Emacs process > > (set-frame-parameter nil 'sticky ...) > > correctly on your system without desktop saving involved? Any of: (set-frame-parameter nil 'sticky t) (set-frame-parameter nil 'sticky nil) (set-frame-parameter nil 'sticky 1) (set-frame-parameter nil 'sticky -1) make clean "emacs -Q" sticky. Seems that issue here. It is possible Fvwm bug but I don't know how to distinct. In FvwmConsole I run: WindowId 0x2400013 Stick false WindowId 0x2400013 Stick true and Emacs window change stickness exactly to command. >> I check /src/xterm.h: >> >> /* Atoms dealing with EWMH (i.e. _NET_...) */ >> Atom Xatom_net_wm_state, Xatom_net_wm_state_fullscreen, >> Xatom_net_wm_state_maximized_horz, Xatom_net_wm_state_maximized_ver= t, >> Xatom_net_wm_state_sticky, Xatom_net_wm_state_hidden, >> Xatom_net_frame_extents, >> Xatom_net_current_desktop, Xatom_net_workarea; >> >> There are no _NET_WM_STATE_SHADED that defined in: >> >> http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#idm14013031= 7598336 >> _NET_WM_STATE >> >> which say: >> >> Possible atoms are: >> >> _NET_WM_STATE_MODAL, ATOM >> _NET_WM_STATE_STICKY, ATOM >> _NET_WM_STATE_MAXIMIZED_VERT, ATOM >> _NET_WM_STATE_MAXIMIZED_HORZ, ATOM >> _NET_WM_STATE_SHADED, ATOM >> _NET_WM_STATE_SKIP_TASKBAR, ATOM >> _NET_WM_STATE_SKIP_PAGER, ATOM >> _NET_WM_STATE_HIDDEN, ATOM >> _NET_WM_STATE_FULLSCREEN, ATOM >> _NET_WM_STATE_ABOVE, ATOM >> _NET_WM_STATE_BELOW, ATOM >> _NET_WM_STATE_DEMANDS_ATTENTION, ATOM > > We have to possibilities to deal with these: Either we wait for Jan to > return from his voyage or you fix these issues yourself. Given your > findings above I'm quite confident that you could do it. xterm.c and elisp frame handling code are complicate to me. I just can summarise investigation:=20 * (set-frame-parameter nil 'sticky ...) doesn't work, it always set _NET_WM_STATE(ATOM) to _NET_WM_STATE_STICKY regardless passed value. * Emacs code base know nothing about _NET_WM_STATE_SHADED value of _NET_WM_STATE(ATOM). * There are no "shaded" (info "(elisp)Window Frame Parameters"). I see: =E2=80=98sticky=E2=80=99, =E2=80=98visibility=E2=80=99, =E2=80=98fullscr= een=E2=80=99 (maximized, fullboth, fullwidth, fullheight). * Closing shaded Emacs with "(desktop-save-mode 1)" add (stick) parameter = to ~/.emacs.desktop --=20 Best regards! From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 22 03:52:29 2014 Received: (at 19413) by debbugs.gnu.org; 22 Dec 2014 08:52:29 +0000 Received: from localhost ([127.0.0.1]:54248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2yj6-0008L4-Nl for submit@debbugs.gnu.org; Mon, 22 Dec 2014 03:52:28 -0500 Received: from mailfe01.swip.net ([212.247.154.1]:59498 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2yj4-0008Kw-Px for 19413@debbugs.gnu.org; Mon, 22 Dec 2014 03:52:27 -0500 X-T2-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_40 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 551399366; Mon, 22 Dec 2014 09:52:24 +0100 Message-ID: <5497DBC8.4030408@swipnet.se> Date: Mon, 22 Dec 2014 09:52:24 +0100 From: =?UTF-8?B?SmFuIERqw6Rydg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Oleksandr Gavenko , martin rudalics Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> <87oaqy5wlv.fsf@gavenkoa.example.com> <54958CA6.9020201@gmx.at> <87k31m5iq3.fsf@gavenkoa.example.com> In-Reply-To: <87k31m5iq3.fsf@gavenkoa.example.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19413 Cc: 19413@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 (/) Den 2014-12-20 18:33, Oleksandr Gavenko skrev: > > I just can summarise investigation: > > * (set-frame-parameter nil 'sticky ...) doesn't work, it always set > _NET_WM_STATE(ATOM) to _NET_WM_STATE_STICKY regardless passed value. (set-frame-parameter nil 'sticky nil) does the right thing on non-buggy window managers. Yours is not onw of them it seems. > > * Emacs code base know nothing about _NET_WM_STATE_SHADED value of > _NET_WM_STATE(ATOM). No. > > * There are no "shaded" (info "(elisp)Window Frame Parameters"). I see: > ‘sticky’, ‘visibility’, ‘fullscreen’ (maximized, fullboth, fullwidth, > fullheight). We don't support shaded. > > * Closing shaded Emacs with "(desktop-save-mode 1)" add (stick) parameter to > ~/.emacs.desktop > This is the same as (set-frame-parameter nil 'sticky nil), which triggers a bug in your window manager. Thats the whole problem. Jan D. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 16:17:03 2022 Received: (at 19413) by debbugs.gnu.org; 30 Jan 2022 21:17:03 +0000 Received: from localhost ([127.0.0.1]:37821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHZG-0002ko-Nx for submit@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHZC-0002k8-Ts for 19413@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=VC6QVD3MJBU5sECh1Yh/E1nBTn+BZUUE7TL8NkGFB0A=; b=PH6QZoSboDl0QKu54Gi2n4Elca NavcHifVO09JA6i3ftI0ZgpE8Q/jAZk6mZRwen8zREgTcwBMqMx7DXYlMHaC/khbSpHxtBJD/oK3z A5TJa+xQ/8wDGaCXwnuGoG+71I1xglPUNcI8EYp4QLlDNFE2PFlHXUIuy/umuM/pAmqg=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEHZ3-0002Sg-03; Sun, 30 Jan 2022 22:16:51 +0100 From: Lars Ingebrigtsen To: Jan =?utf-8?Q?Dj=C3=A4rv?= Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> <87oaqy5wlv.fsf@gavenkoa.example.com> <54958CA6.9020201@gmx.at> <87k31m5iq3.fsf@gavenkoa.example.com> <5497DBC8.4030408@swipnet.se> X-Now-Playing: Ida's _Lovers Prayers_: "The Love Below" Date: Sun, 30 Jan 2022 22:16:48 +0100 In-Reply-To: <5497DBC8.4030408@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Mon, 22 Dec 2014 09:52:24 +0100") Message-ID: <87zgnc7wlb.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; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Jan Djärv writes: >> * Closing shaded Emacs with "(desktop-save-mode 1)" add (stick) parameter to >> ~/.emacs.desktop >> > > This is the same as (set-frame-parameter nil 'sticky nil), which > triggers a bug in your win [...] 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: 19413 Cc: martin rudalics , 19413@debbugs.gnu.org, Oleksandr Gavenko 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 (---) Jan Dj=C3=A4rv writes: >> * Closing shaded Emacs with "(desktop-save-mode 1)" add (stick) parame= ter to >> ~/.emacs.desktop >> > > This is the same as (set-frame-parameter nil 'sticky nil), which > triggers a bug in your window manager. Thats the whole problem. (I'm going through old bug reports that unfortunately weren't resolved at the time.) Skimming this bug report, it's not clear whether the problem is in Emacs or in the window manager. Is there something to be done here on the Emacs side (if indeed this is still a problem in the current Emacs/wm versions)? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 30 16:17:06 2022 Received: (at control) by debbugs.gnu.org; 30 Jan 2022 21:17:06 +0000 Received: from localhost ([127.0.0.1]:37824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHZK-0002l4-0d for submit@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:06 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEHZI-0002kI-5J for control@debbugs.gnu.org; Sun, 30 Jan 2022 16:17:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cZ+OFRB64A0+AgX8lFDubsPPcfZBDNBhvS4pvoVfW6M=; b=XbIEkQZlHEduGIJAq/bojtdjnu ZMypxb+gwNlxhU0XrT2gMHB6V/ofdOG/UU6Xbv5e/r3A70q0juwc95Eu5PX0LOD6ZG74vzOgTO1OO 0W4k1PFETrJxPDwbYaXltY7VngBKpJnDNrAzV9tu7XQRAlmIZTgJz157B9WQbNUeaa54=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEHZ9-0002Sr-VD for control@debbugs.gnu.org; Sun, 30 Jan 2022 22:16:58 +0100 Date: Sun, 30 Jan 2022 22:16:53 +0100 Message-Id: <87y22w7wl6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19413 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: tags 19413 + moreinfo quit 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: control 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 (---) tags 19413 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 01:13:43 2022 Received: (at 19413) by debbugs.gnu.org; 5 Feb 2022 06:13:43 +0000 Received: from localhost ([127.0.0.1]:33474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGEKN-0002ln-FZ for submit@debbugs.gnu.org; Sat, 05 Feb 2022 01:13:43 -0500 Received: from sonic313-10.consmr.mail.ne1.yahoo.com ([66.163.185.33]:34388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGEKM-0002lZ-9S for 19413@debbugs.gnu.org; Sat, 05 Feb 2022 01:13:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644041615; bh=mfua+EURTEbIH3dT6BUm1XlS+xw7Zw6ipre+mXLWIyw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=UFQT12pMj4ix2lYANnYZxloFxDzO3mcLPOJ6Jhp519rAVAGDNonrCeT7mf2hFvnxtYpjIXeV05FMYzmLX/e878x2eAA4X8hn8n6EBtPTnCwgJ6LvwWtSJQetSHooqZAgBJxLQvIBr9pwKQlqyZ6Jx2TV0EAR91JxcO/Y+XLpVu+FQQJ3orQlujEss8pfUr6cUNoQYV9cpDecOLiVnGLq4jsBR+ZDstfk3dMsRlZEG36rLZKxizvk/PblUb3u5lLmAUUr61SlyCO+LnWu5Z5x4IU9kb8PecMAcIaAyVoHVY1DADlsglOS1aDNMIwdV1Mwg54uBrSKyv8eUU9FZCYvTw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644041615; bh=NwfnaskWZxhnoNcIr03WB9nX+9jKSXhtmhX9WHcnmod=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=joLNO96o4c4zal5mX/vQhdMkaM4KOD5+56rBofh+g241GxsQlP73xzJPpDQlJ+Dm59jGkTeRlA5iweAsnHthqG35AU3kztlT9c7jE0gEX5dEYxQEoZAYg9ELYAR4+I0FFEHbmNWPYZsQsELLX4jRppH/IdNGonIN+kkr4VUEaUMBjxwZK+bfrHVF+n5g5FGbbiC34GAI4BRYRrX4xsboBNbhlGbIssGcOHygzuMtjmzT05Scpr9UoVHk3uJZL5KV6NUTHLi05d7Bd07ne47kIoaQpbVqqLfOTkzWF50mYw0luj7GrNDE6OAjBddq0ePn6SFGeseOtBxwPkwy8XJRFQ== X-YMail-OSG: Q9OQ6tgVM1mYro7NXbMZ8o2yWmcB3DBF.1MyigJ8AK5_imZEp2FiqxKGfoSOq1r 9yWkQG14rOoVfLtkwgh0Q6XUR22ElUkkm9XXyG27E_Q3HQ5crON8skHJFqHbXilsX.Y60ET4laBU relXIQND5cUWNRrEhU3g1SjWMAV9J76W54H_3UvCqGhKZ4.xFPafLjZEScndhZXFPeSDSRaeuIVi TKSweSR3bY7QF.21ZYilFpQNkvZjL1LPV3zNKjCpmzkG1EKI_DGeqd00uPJugsW1hopo_jutBJCC gyBcpixpoFsfnQS7F9eNyF1hrEZrf0ssqi9DbY2lJo7JWG9HD5sSNgQET8Oho.3oENMQZPnGZnH6 3aM2M5tRKunsNFA3WIA3juSkvJ92xmOJ3qRwOUXbni4ZJEOIgN.mY1xQRNqAaqP3fe_nvkK0OI5W speqn5adP70InHlTuzPa7zUnef1cwH3r770FmDMKmrprjQ0hpsdv7Y9Rr3XQG8CL_uBG7VtzYXd8 zrwHkg8ktZXnpmjYufff3NpI1xhb5Z1sgyJUibtO9U8RTv2we91DI.yb6RWuUt_a8xsnlqRXo3nd l4e19MwLvjT34D4GHr4goDMVazp90Q8zCUbkFzkV88SaHdNLVpDCW3wIZqyfECd6u2svugdPIP_N L0O7COx14.aIzbW90ibmbllETPEVlh.mmpE5dMupSZfdDbG9cnVtD16Ru49lowmz3DfcOhJvwrPT YaApeI1VGFk_l_eq5DnvSnhgK2pOzEF5Dl1r6JXwY06.f6AfPcmuTz3jszPgzpbJRbXZRhcKrgxi td4TLvdcU7bOk4BL6v90zouEpyFJoZvUl.Pwe_lrHPFIliVSROvAuyZ33J_BH8FvVfehtk.cme_5 y9EADzSnqbvhllxtLI9b.At.kUcyACHeGhM8Wd3z1j9H.se0xFM1Gsst4YogMlD5BDQgoSSdUarE Ywq2CCHNo.wcImrEGBZYUlrrYIcgcxqBLIbn2rJKFuF2IdqpHhPKbcRbYtNZ7jDKoUUL2x7CTf6F ybIwe9Osm5.FnmOiTk1jGzK5_zkU4OrP.6VIxCvSvyBlfhZiJtC2hLfTRdGRsYdeBPzYqNeX_TDS gXtnh6DQfMjkYeZdBwpV7D7KzJowjj24nFMzns1iPVsosdPwo_VbOCCJd0Mzs9I.0a0tZ6.3Y9SV FugJX.5RTF4ukaklkD.8vJRhKoMe.HvGEqr.vkUVkzQV5AjZx0.wiNp_Zuj9hjJL8huB1fLveedf 6Ivaj5wG8t_m1_tq.UzDmCy2PiRwQlC1izfXuC3n5RR054yqY3QiPWc1nmG8D0R3k1xk4IaHWBzu E2kjqYJgQ4.x7RCkBBT7z6f8BmxF_qlbNJkEoj.XBxslUVjdibWGmNDYHRq.R91xBMRXPASPw7U2 AtZ53TxHyHgdjL2udtiuER6xuokCMgs1VlLQQrYl1Z40vo7cxAuz1sVtuAftgeA32p4NIAlUWuqS tYbP7w4VJ5f2pWtVp1ZE0HV_nGjH09lstvgXA6L638SKHz2u6Gdigb1zvEwI0w0Wd87nELds7iyx DYsfvh.hDNZMs8cDjJcRcSQ1CH4zTh2ItOEdZIHfu6ryFta.FaOsPajccgXefSSd3V6imoEsjDcr Dz4PjzhSEiymQdoqRxGGkyp6OR5fd9O_otaebjnxbAI9G92gkOhrodKnRKgQZnC53qgnZZlDzQaK eeN0M_B6u3I2wIhsPk3zj2d5Jd.9wi69_6xqKxHuZ4uO2OT_t7BD0iNoTl.4UejLpgNNcF7grJrM wXupf7AHjADOQD7tYWh5EkvhQnRwwq.ILvHVougLU9fJtg93d83j7Ggv1h.T6SaFfe1Z_ZY2D5uW hPyQmI1LYQYccYS8ItkzavnDmDJMshLidmYmXewPmqVnubGQ0euQXZ2U.pM4MfO5FE91VPCMvKV4 B4JkTD8InVJGmV_xuQd5WFdePJYXFxWJg5Zl8o8o5tHOAD2NVCDP_wrjG.koPUNCNwW2dR93EyAi N735.yjbHS3ME9ueOmzQtWwwSTZBYOtuT44iA2pdZ.Ym52E3kVEJ3ptYeN04fWvAioL14rd2sQCV Nck9KRpjYThgluDkkyTxUudNVeJe7sEW3ICsSDlg.lVEhqPJj8HdiIIw8NSg.gVmUu1eCSwTsOoQ u2uP4dH53ftgO8J5nU2p2DOQWdrLk43hgwDLIOwfseU95yHvQEugB9dnUug3_Y7Z9ELdN3mb7Tv5 C67BGAkLvMvF7Bg7Mbc5rdRppHh3pmbMxBZdKgWbkw7UVAKE- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ne1.yahoo.com with HTTP; Sat, 5 Feb 2022 06:13:35 +0000 Received: by kubenode517.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 921f9b13927c4e25f500ac253019996f; Sat, 05 Feb 2022 06:13:30 +0000 (UTC) From: Po Lu To: Lars Ingebrigtsen Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> <87oaqy5wlv.fsf@gavenkoa.example.com> <54958CA6.9020201@gmx.at> <87k31m5iq3.fsf@gavenkoa.example.com> <5497DBC8.4030408@swipnet.se> <87zgnc7wlb.fsf@gnus.org> Date: Sat, 05 Feb 2022 14:13:25 +0800 In-Reply-To: <87zgnc7wlb.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 30 Jan 2022 22:16:48 +0100") Message-ID: <8735kx3koq.fsf@yahoo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19711 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 396 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19413 Cc: martin rudalics , Jan =?utf-8?Q?Dj=C3=A4rv?= , Oleksandr Gavenko , 19413@debbugs.gnu.org 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 (-) Lars Ingebrigtsen writes: > Skimming this bug report, it's not clear whether the problem is in Emacs > or in the window manager. Is there something to be done here on the > Emacs side (if indeed this is still a problem in the current Emacs/wm > versions)? I think not, the reporter should switch to a more well-behaved window manager if the problem is still present. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 21:35:46 2022 Received: (at 19413) by debbugs.gnu.org; 6 Mar 2022 02:35:46 +0000 Received: from localhost ([127.0.0.1]:49550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQgkM-0003Cn-5l for submit@debbugs.gnu.org; Sat, 05 Mar 2022 21:35:46 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQgkK-0003CX-0W for 19413@debbugs.gnu.org; Sat, 05 Mar 2022 21:35:45 -0500 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=dZq1QBO3buQWZ9osKOVGHyyDkzlCZ8pfXxRImwG1ZnU=; b=aJEfsy5OCftumKHQ6EmPMlEDIF nYBSQHToT1OobkTukT9R2t5neK8Y+GJ16EkQS32H+nWw57+oWBmOYGGzmhfIimiopfPyi8m8Rh5dp ItFToePNgfG+5i1iTIq0rI1WtzWy2s26YjY5DPeB/xEbm8jgJUhgHjy+X1bFPLH3+ywE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nQgkB-0008MW-62; Sun, 06 Mar 2022 03:35:37 +0100 From: Lars Ingebrigtsen To: Po Lu Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue. References: <87h9wrqpmt.fsf@gavenkoa.example.com> <54954B26.2000200@gmx.at> <87oaqy5wlv.fsf@gavenkoa.example.com> <54958CA6.9020201@gmx.at> <87k31m5iq3.fsf@gavenkoa.example.com> <5497DBC8.4030408@swipnet.se> <87zgnc7wlb.fsf@gnus.org> <8735kx3koq.fsf@yahoo.com> X-Now-Playing: The Cure's _Faith (1)_: "The Drowning Man" Date: Sun, 06 Mar 2022 03:35:34 +0100 In-Reply-To: <8735kx3koq.fsf@yahoo.com> (Po Lu's message of "Sat, 05 Feb 2022 14:13:25 +0800") Message-ID: <87o82jerk9.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: Po Lu writes: >> Skimming this bug report, it's not clear whether the problem is in Emacs >> or in the window manager. Is there something to be done here on the >> Emacs side (if indeed this is still a problem in t [...] 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: 19413 Cc: martin rudalics , Jan =?utf-8?Q?Dj=C3=A4rv?= , 19413@debbugs.gnu.org, Oleksandr Gavenko 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 (---) Po Lu writes: >> Skimming this bug report, it's not clear whether the problem is in Emacs >> or in the window manager. Is there something to be done here on the >> Emacs side (if indeed this is still a problem in the current Emacs/wm >> versions)? > > I think not, the reporter should switch to a more well-behaved window > manager if the problem is still present. And there was no further response in a month, so I think this is the conclusion, and I'm therefore closing this bug report. If there's more to be done here, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 05 21:35:53 2022 Received: (at control) by debbugs.gnu.org; 6 Mar 2022 02:35:53 +0000 Received: from localhost ([127.0.0.1]:49553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQgkT-0003D7-Du for submit@debbugs.gnu.org; Sat, 05 Mar 2022 21:35:53 -0500 Received: from quimby.gnus.org ([95.216.78.240]:39702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQgkR-0003Cu-UT for control@debbugs.gnu.org; Sat, 05 Mar 2022 21:35:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EJoNRZBHsVqJjwBUY7C+0673s9plwbdvNo+rNzLfou8=; b=CheVcZUxUtn3XrVYieSYQq7h2b o1WJIsqnV4YawAQgyk9EoPigo3Z7i2tsPfnVVc09zvkzXcIpUuiDEKRB9EjteXzeyNXZwtlGMkjz/ 3CXaeWgzfXNQ+XLQ3s2Pl434g6HlXVdLStcXzOy+cOug/ofEcPD4QFS6DEExb+i/d26k=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nQgkK-0008Mj-Bi for control@debbugs.gnu.org; Sun, 06 Mar 2022 03:35:46 +0100 Date: Sun, 06 Mar 2022 03:35:40 +0100 Message-Id: <87mti3erk3.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19413 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: close 19413 quit 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: control 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 (---) close 19413 quit From unknown Sun Aug 17 22:11:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 03 Apr 2022 11:24:04 +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