From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 14:30:15 2014 Received: (at submit) by debbugs.gnu.org; 26 Apr 2014 18:30:15 +0000 Received: from localhost ([127.0.0.1]:59321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We7Mc-0004Fc-Kf for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36895) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We7MZ-0004FR-KP for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We7MP-0007LW-Ct for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:11 -0400 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 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7MP-0007LM-9c for submit@debbugs.gnu.org; Sat, 26 Apr 2014 14:30:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7MH-0000NN-Po for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:30:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1We7MA-0007JF-23 for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:29:53 -0400 Received: from colin.muc.de ([193.149.48.1]:36951 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1We7M9-0007J7-Ov for bug-gnu-emacs@gnu.org; Sat, 26 Apr 2014 14:29:45 -0400 Received: (qmail 7265 invoked by uid 3782); 26 Apr 2014 18:29:43 -0000 Received: from acm.muc.de (pD951A62D.dip0.t-ipconnect.de [217.81.166.45]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 26 Apr 2014 20:29:42 +0200 Received: (qmail 3127 invoked by uid 1000); 26 Apr 2014 18:25:45 -0000 Date: Sat, 26 Apr 2014 18:25:45 +0000 To: bug-gnu-emacs@gnu.org Subject: .emacs.desktop has become unportable between GUI and TTY. Message-ID: <20140426182545.GB2944@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x 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.3 (----) 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.3 (----) Hello, Emacs. I just tried starting a GUI Emacs, and it refused to process my .emacs.desktop, complaining: "Error (frameset): Font `tty' is not defined [7 times] Waraning (frameset): Attempt to delete the sole visible or iconified frame Emacs deleted my .emacs.desktop before I could look at it (see bug #17351). But at a guess, it had recorded the "font" used as "tty" at the close of my last TTY session, and not finding this "font" in the GUI font subsystem gave up. I immediately started a TTY Emacs, and there got some error message something like "Can't open terminal (0.0)". For some reason, this error message wasn't recorded in *Messages*. This lack of portability is a bug. Sharing a desktop file between GUI and TTY sessions is the sort of thing Emacs should be able to do without batting an eylid. The font in use and the particular terminal (?) used to create .emacs.desktop are _not_ essential information. Such information should be regarded by the desktop subsystem as hints, nothing more. My Emacs is the trunk at revision #116992. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 26 16:30:50 2014 Received: (at 17352) by debbugs.gnu.org; 26 Apr 2014 20:30:50 +0000 Received: from localhost ([127.0.0.1]:59342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We9FJ-00082A-IU for submit@debbugs.gnu.org; Sat, 26 Apr 2014 16:30:50 -0400 Received: from mail-yk0-f169.google.com ([209.85.160.169]:36933) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1We9FG-00081z-CV for 17352@debbugs.gnu.org; Sat, 26 Apr 2014 16:30:47 -0400 Received: by mail-yk0-f169.google.com with SMTP id 142so4562836ykq.0 for <17352@debbugs.gnu.org>; Sat, 26 Apr 2014 13:30: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:from:date:message-id:subject:to :cc:content-type; bh=bCThNKsORQ2Ai0GNn1IegENHYL7Sps2CTISWlmay7kU=; b=qmEO/13vC3P9BMaC0EFsKXVgq0NevdITiefrgm0nOvoM8Dwq6M452idLH8KArtQVg1 aRea2h0/tF5OO5Jb0WJLcmXh9B929A7qEQk28hXdIpNRPz1/RVNIJ0M35lmZFPsdn4Jn 8NJjvNcVKRCbwhpnSs7SsyOElebhdRTG3ik8a641WIWFx+vQrf1fV/vsANs7IaHPdzX+ ZCBklo55yvrIC8E/urYHUX6oGojTrWQ2b/dTtTQeX+CjvVOLUoluUEuJrClv5RfM1ZKc MVFOf83Nf8Gt4ZjU8cAh0442uFEd/EyKWmDfbJXy1ASOa+Ua1L8fmxS6gKX8bGkNUzs7 Oukg== X-Received: by 10.236.10.82 with SMTP id 58mr192470yhu.118.1398544245671; Sat, 26 Apr 2014 13:30:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Sat, 26 Apr 2014 13:30:05 -0700 (PDT) In-Reply-To: <20140426182545.GB2944@acm.acm> References: <20140426182545.GB2944@acm.acm> From: Juanma Barranquero Date: Sat, 26 Apr 2014 22:30:05 +0200 Message-ID: Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY. To: Alan Mackenzie Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17352 Cc: 17352@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 Sat, Apr 26, 2014 at 8:25 PM, Alan Mackenzie wrote: > This lack of portability is a bug. Sharing a desktop file between GUI > and TTY sessions is the sort of thing Emacs should be able to do without > batting an eylid. At least in theory, saving&restoring the frameset already takes care of this. If it is failing, that's a bug. If you have a repeatable way to trigger this problem, please report it here so wen can work together to fix it. J From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 05:06:41 2014 Received: (at 17352) by debbugs.gnu.org; 27 Apr 2014 09:06:41 +0000 Received: from localhost ([127.0.0.1]:59597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeL2n-0007QP-9M for submit@debbugs.gnu.org; Sun, 27 Apr 2014 05:06:41 -0400 Received: from colin.muc.de ([193.149.48.1]:38293 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeL2k-0007QD-Ry for 17352@debbugs.gnu.org; Sun, 27 Apr 2014 05:06:39 -0400 Received: (qmail 67798 invoked by uid 3782); 27 Apr 2014 09:06:37 -0000 Received: from acm.muc.de (pD9518658.dip0.t-ipconnect.de [217.81.134.88]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 27 Apr 2014 11:06:35 +0200 Received: (qmail 3594 invoked by uid 1000); 27 Apr 2014 09:02:33 -0000 Date: Sun, 27 Apr 2014 09:02:33 +0000 To: Juanma Barranquero , 17352@debbugs.gnu.org Subject: Re: .emacs.desktop has become unportable between GUI and TTY. Message-ID: <20140427090233.GA3109@acm.acm> References: <20140426182545.GB2944@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140426182545.GB2944@acm.acm> User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 17352 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: -1.4 (-) >> This lack of portability is a bug. Sharing a desktop file between GUI >> and TTY sessions is the sort of thing Emacs should be able to do without >> batting an eylid. >At least in theory, saving&restoring the frameset already takes care >of this. If it is failing, that's a bug. >If you have a repeatable way to trigger this problem, please report it >here so wen can work together to fix it. With a throwaway userid, in a Linux tty (virtual terminal), start Emacs and create a ~/.emacs containing the single line (desktop-save-mode 1) Evaluate this form with C-x C-e. With .emacs in the current window, visit a new file in a new frame with C-x 5 C-f asdf , put some random text into the new buffer and save it with C-x C-s. Exit Emacs with C-x C-c. With the same userid, in X Windows, open a terminal and start Emacs (with no command line arguments). This produces the aforementioned error messages: Error (frameset): Font `tty' is not defined [2 times] Warning (frameset): Attempt to delete the sole visible or iconified frame . Only one frame is currently open. Now close this Emacs session with C-x C-c, and attempt to start another session on the tty. In the *scratch* buffer (apparently) appear the following error messages: (emacs:3488): GConf-WARNING **: Client failed to connect to the D-BUS daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 , the pair being repeated 9 times (for a total of twenty messages). Each one started directly below where the previous one ended (as though a Unix file was being displayed on a device expecting MS-DOS line terminators). This Emacs is unusable, some control characters not being interpreted. For example, on typing M-x, "^[x" gets displayed in the minibuffer region, and the minibuffer is not active. C-x C-c works, however. > J -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 08:30:30 2014 Received: (at 17352) by debbugs.gnu.org; 27 Apr 2014 12:30:30 +0000 Received: from localhost ([127.0.0.1]:59644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeOE0-00068B-R9 for submit@debbugs.gnu.org; Sun, 27 Apr 2014 08:30:29 -0400 Received: from mail-yh0-f46.google.com ([209.85.213.46]:48162) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WeODy-000681-Qm for 17352@debbugs.gnu.org; Sun, 27 Apr 2014 08:30:27 -0400 Received: by mail-yh0-f46.google.com with SMTP id c41so3925619yho.5 for <17352@debbugs.gnu.org>; Sun, 27 Apr 2014 05:30:26 -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=qeBI+Rn+0SdFSI9VpXaLYwFZUhprs+Cha3/kAHtsl/0=; b=wGo482rsSf8eMeSfDu9z8XDW+UZi1CPMITJf0I9PgyQudu4om75KTuMp0BiJsdnlBp 4gxShXRV4opIK1T1gVpfy11aBae5EJdE3PTZAbvN6l53L/AetnCvc1ykO1PoeRJ6I0mu OoA/L/tzO81Uj5XXkyPqqGQA2lE4g9Wtqu7NuDNUvOaJYkgEhP+kRO5f8GDZTxPu0ZYu O1J/L4riCWzEw2+fjwr4JkZZ1MeUNWjx+UqkWga34rxC6bDe9ahxWj+/HaOLfzVpBHKj XwGTVUfhqdIlWAbuZ0CNaK+WY6bjqozzf3gKaIkHuOeuUCebg4RjOmodjwRV2eLjz1rm 8fvA== X-Received: by 10.236.120.66 with SMTP id o42mr29650886yhh.66.1398601825933; Sun, 27 Apr 2014 05:30:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Sun, 27 Apr 2014 05:29:44 -0700 (PDT) In-Reply-To: <20140427090233.GA3109@acm.acm> References: <20140426182545.GB2944@acm.acm> <20140427090233.GA3109@acm.acm> From: Juanma Barranquero Date: Sun, 27 Apr 2014 14:29:44 +0200 Message-ID: Subject: Re: .emacs.desktop has become unportable between GUI and TTY. To: Alan Mackenzie Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17352 Cc: 17352@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 Sun, Apr 27, 2014 at 11:02 AM, Alan Mackenzie wrote: I don't have access to a GNU/Linux system, so let's try to analyze the problem step by step from your side. > With a throwaway userid, in a Linux tty (virtual terminal), start Emacs > and create a ~/.emacs containing the single line > > (desktop-save-mode 1) > > Evaluate this form with C-x C-e. > > With .emacs in the current window, visit a new file in a new frame with > C-x 5 C-f asdf , put some random text into the new buffer and save > it with C-x C-s. Exit Emacs with C-x C-c. After this, please tell me the value of desktop-saved-frameset in the .emacs.desktop file. > With the same userid, in X Windows, open a terminal and start Emacs (with > no command line arguments). This produces the aforementioned error > messages: > > Error (frameset): Font `tty' is not defined [2 times] > Warning (frameset): Attempt to delete the sole visible or iconified frame > > . Only one frame is currently open. > > Now close this Emacs session with C-x C-c Also after this step. > and attempt to start another > session on the tty. In the *scratch* buffer (apparently) appear the > following error messages: > > (emacs:3488): GConf-WARNING **: Client failed to connect to the D-BUS daemon: > Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 > > , the pair being repeated 9 times (for a total of twenty messages). Each > one started directly below where the previous one ended (as though a Unix > file was being displayed on a device expecting MS-DOS line terminators). > This Emacs is unusable, some control characters not being interpreted. > For example, on typing M-x, "^[x" gets displayed in the minibuffer > region, and the minibuffer is not active. C-x C-c works, however. I don't understand why should this happen. Could you also please try your recipe, but in the fist step, put this in your .emacs (setq desktop-restore-frames nil) (desktop-save-mode 1) instead, to make sure that all problems do indeed depend on frameset restoration. Thanks, J From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 27 09:57:42 2014 Received: (at 17352) by debbugs.gnu.org; 27 Apr 2014 13:57:42 +0000 Received: from localhost ([127.0.0.1]:60036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WePaP-0000QG-5I for submit@debbugs.gnu.org; Sun, 27 Apr 2014 09:57:42 -0400 Received: from colin.muc.de ([193.149.48.1]:34834 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WePaK-0000Q1-P8 for 17352@debbugs.gnu.org; Sun, 27 Apr 2014 09:57:38 -0400 Received: (qmail 93969 invoked by uid 3782); 27 Apr 2014 13:57:35 -0000 Received: from acm.muc.de (pD9518658.dip0.t-ipconnect.de [217.81.134.88]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 27 Apr 2014 15:57:34 +0200 Received: (qmail 4842 invoked by uid 1000); 27 Apr 2014 13:53:37 -0000 Date: Sun, 27 Apr 2014 13:53:37 +0000 To: Juanma Barranquero Subject: Re: .emacs.desktop has become unportable between GUI and TTY. Message-ID: <20140427135337.GC3091@acm.acm> References: <20140426182545.GB2944@acm.acm> <20140427090233.GA3109@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 17352 Cc: 17352@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: -1.4 (-) Hi, Juanma. On Sun, Apr 27, 2014 at 02:29:44PM +0200, Juanma Barranquero wrote: > On Sun, Apr 27, 2014 at 11:02 AM, Alan Mackenzie wrote: > I don't have access to a GNU/Linux system, so let's try to analyze the > problem step by step from your side. > > With a throwaway userid, in a Linux tty (virtual terminal), start Emacs > > and create a ~/.emacs containing the single line > > (desktop-save-mode 1) > > Evaluate this form with C-x C-e. > > With .emacs in the current window, visit a new file in a new frame with > > C-x 5 C-f asdf , put some random text into the new buffer and save > > it with C-x C-s. Exit Emacs with C-x C-c. > After this, please tell me the value of desktop-saved-frameset in the > .emacs.desktop file. (setq desktop-saved-frameset [frameset 1 (21341 2076 453651 734000) (deskto= p . "206") "awk@acm.acm" nil nil ((((tty-type . "linux") (tty . "/dev/tty")= (display-type . color) (background-mode . dark) (cursor-color . "white") (= acm-no . 1) (frameset--id . "1C46-838B-D41A-31D0") (frameset--mini t) (fore= ground-color . "unspecified-fg") (background-color . "unspecified-bg") (fon= t . "tty") (height . 67) (width . 240) (modeline . t) (minibuffer . t) (uns= plittable) (menu-bar-lines . 1)) ((min-height . 4) (min-width . 10) (min-he= ight-ignore . 2) (min-width-ignore . 2) (min-height-safe . 1) (min-width-sa= fe . 2) (min-pixel-height . 4) (min-pixel-width . 10) (min-pixel-height-ign= ore . 2) (min-pixel-width-ignore . 2) (min-pixel-height-safe . 1) (min-pixe= l-width-safe . 2)) leaf (pixel-width . 240) (pixel-height . 65) (total-widt= h . 240) (total-height . 65) (normal-height . 1.0) (normal-width . 1.0) (bu= ffer "asdf2" (selected . t) (hscroll . 0) (fringes 0 0 nil) (margins nil) (= scroll-bars 0 0 t nil) (vscroll . 0) (dedicated) (point . 27) (start . 1)))= (((tty-type . "linux") (tty . "/dev/tty") (display-type . color) (backgrou= nd-mode . dark) (foreground-color . "unspecified-fg") (cursor-color . "whit= e") (acm-no . 0) (background-color . "unspecified-bg") (font . "tty") (heig= ht . 67) (width . 240) (modeline . t) (unsplittable) (menu-bar-lines . 1) (= frameset--id . "140A-8053-E59A-D89D") (frameset--mini t) (minibuffer . t)) = ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignor= e . 2) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 4) (m= in-pixel-width . 10) (min-pixel-height-ignore . 2) (min-pixel-width-ignore = =2E 2) (min-pixel-height-safe . 1) (min-pixel-width-safe . 2)) leaf (pixel-= width . 240) (pixel-height . 65) (total-width . 240) (total-height . 65) (n= ormal-height . 1.0) (normal-width . 1.0) (buffer ".emacs" (selected) (hscro= ll . 0) (fringes 0 0 nil) (margins nil) (scroll-bars 0 0 t nil) (vscroll . = 0) (dedicated) (point . 1) (start . 1))))]) > > With the same userid, in X Windows, open a terminal and start Emacs (wi= th > > no command line arguments). This produces the aforementioned error > > messages: > > Error (frameset): Font `tty' is not defined [2 times] > > Warning (frameset): Attempt to delete the sole visible or iconified= frame > > . Only one frame is currently open. > > Now close this Emacs session with C-x C-c > Also after this step. (setq desktop-saved-frameset [frameset 1 (21341 2499 194045 27000) (desktop= . "206") "awk@acm.acm" nil nil ((((font-backend xft x) (font . "-unknown-D= ejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1") (font-para= meter . "Monospace 11") (border-width . 0) (internal-border-width . 0) (rig= ht-divider-width . 0) (bottom-divider-width . 0) (vertical-scroll-bars . ri= ght) (foreground-color . "black") (background-color . "white") (mouse-color= . "black") (border-color . "black") (screen-gamma) (line-spacing) (left-fr= inge . 9) (right-fringe . 9) (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) (display-ty= pe . color) (background-mode . light) (cursor-color . "black") (visibility)= (acm-no . 2) (frameset--id . "6292-372A-DD78-D288") (frameset--mini t) (he= ight . 67) (width . 240) (modeline . t) (minibuffer . t) (unsplittable) (le= ft . 0) (top . 0) (icon-name) (display . ":0.0") (explicit-name)) ((min-hei= ght . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ignore . 6) (m= in-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 72) (min-pixel= -width . 90) (min-pixel-height-ignore . 36) (min-pixel-width-ignore . 54) (= min-pixel-height-safe . 18) (min-pixel-width-safe . 18)) leaf (pixel-width = =2E 2194) (pixel-height . 1188) (total-width . 243) (total-height . 66) (no= rmal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (selected) (hsc= roll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscroll= . 0) (dedicated) (point . 1) (start . 1))) (((font-backend xft x) (font . = "-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1")= (font-parameter . "Monospace 11") (border-width . 0) (internal-border-widt= h . 0) (right-divider-width . 0) (bottom-divider-width . 0) (vertical-scrol= l-bars . right) (foreground-color . "black") (background-color . "white") (= mouse-color . "black") (border-color . "black") (screen-gamma) (line-spacin= g) (left-fringe . 9) (right-fringe . 9) (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) (au= to-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 16) (alpha) = (display-type . color) (background-mode . light) (cursor-color . "black") (= visibility) (acm-no . 1) (frameset--id . "A262-9F94-6E27-1BB1") (frameset--= mini t) (height . 67) (width . 240) (modeline . t) (minibuffer . t) (unspli= ttable) (left . 0) (top . 0) (icon-name) (display . ":0.0") (explicit-name)= ) ((min-height . 4) (min-width . 10) (min-height-ignore . 2) (min-width-ign= ore . 6) (min-height-safe . 1) (min-width-safe . 2) (min-pixel-height . 72)= (min-pixel-width . 90) (min-pixel-height-ignore . 36) (min-pixel-width-ign= ore . 54) (min-pixel-height-safe . 18) (min-pixel-width-safe . 18)) leaf (p= ixel-width . 2194) (pixel-height . 1188) (total-width . 243) (total-height = =2E 66) (normal-height . 1.0) (normal-width . 1.0) (buffer "*scratch*" (sel= ected) (hscroll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t ni= l) (vscroll . 0) (dedicated) (point . 1) (start . 1))) (((font-backend xft = x) (font . "-unknown-DejaVu Sans Mono-normal-normal-normal-*-15-*-*-*-m-0-i= so10646-1") (font-parameter . "Monospace 11") (border-width . 0) (internal-= border-width . 0) (right-divider-width . 0) (bottom-divider-width . 0) (ver= tical-scroll-bars . right) (foreground-color . "black") (background-color .= "white") (mouse-color . "black") (border-color . "black") (screen-gamma) (= line-spacing) (left-fringe . 9) (right-fringe . 9) (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-ty= pe . t) (auto-raise) (auto-lower) (cursor-type . box) (scroll-bar-width . 1= 6) (alpha) (horizontal-scroll-bars . t) (display-type . color) (background-= mode . light) (cursor-color . "black") (sticky) (environment) (acm-no . 0) = (frameset--id . "1619-8E5C-153E-03AD") (frameset--mini t . t) (height . 35)= (width . 80) (modeline . t) (minibuffer . t) (unsplittable) (left . 0) (to= p . 31) (icon-name) (visibility . t) (display . ":0.0") (explicit-name)) ((= min-height . 8) (min-width . 10) (min-height-ignore . 4) (min-width-ignore = =2E 6) (min-height-safe . 2) (min-width-safe . 2) (min-pixel-height . 144) = (min-pixel-width . 90) (min-pixel-height-ignore . 72) (min-pixel-width-igno= re . 54) (min-pixel-height-safe . 36) (min-pixel-width-safe . 18)) vc (pixe= l-width . 754) (pixel-height . 612) (total-width . 83) (total-height . 34) = (normal-height . 1.0) (normal-width . 1.0) (combination-limit) (leaf (pixel= -width . 754) (pixel-height . 306) (total-width . 83) (total-height . 17) (= normal-height . 0.5) (normal-width . 1.0) (buffer ".emacs" (selected . t) (= hscroll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscr= oll . 0) (dedicated) (point . 1) (start . 1))) (leaf (last . t) (pixel-widt= h . 754) (pixel-height . 306) (total-width . 83) (total-height . 17) (norma= l-height . 0.5) (normal-width . 1.0) (buffer "*Warnings*" (selected) (hscro= ll . 0) (fringes 9 9 nil) (margins nil) (scroll-bars 16 2 t nil) (vscroll .= 0) (dedicated) (point . 55) (start . 1)))))]) > > and attempt to start another > > session on the tty. In the *scratch* buffer (apparently) appear the > > following error messages: > > (emacs:3488): GConf-WARNING **: Client failed to connect to the D-B= US daemon: > > Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 > > , the pair being repeated 9 times (for a total of twenty messages). Ea= ch > > one started directly below where the previous one ended (as though a Un= ix > > file was being displayed on a device expecting MS-DOS line terminators). > > This Emacs is unusable, some control characters not being interpreted. > > For example, on typing M-x, "^[x" gets displayed in the minibuffer > > region, and the minibuffer is not active. C-x C-c works, however. > I don't understand why should this happen. Could you also please try > your recipe, but in the fist step, put this in your .emacs > (setq desktop-restore-frames nil) > (desktop-save-mode 1) > instead, to make sure that all problems do indeed depend on frameset > restoration. With that setting, the problems do indeed disappear. So it would appear the frameset(s?) is/are the problem. > Thanks, > J --=20 Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 28 11:21:19 2014 Received: (at 17352) by debbugs.gnu.org; 28 Apr 2014 15:21:19 +0000 Received: from localhost ([127.0.0.1]:44011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WenMt-0006vR-4i for submit@debbugs.gnu.org; Mon, 28 Apr 2014 11:21:19 -0400 Received: from mail-yk0-f179.google.com ([209.85.160.179]:60486) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WenMq-0006vC-SL for 17352@debbugs.gnu.org; Mon, 28 Apr 2014 11:21:17 -0400 Received: by mail-yk0-f179.google.com with SMTP id 9so1827758ykp.24 for <17352@debbugs.gnu.org>; Mon, 28 Apr 2014 08:21:11 -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=ZNz9086Sha6mZctRp9DqZZg1BqeQxdIcUmirQkmnS1k=; b=fi/Q2psAH5SLALVcDsjcFG/nDHm5BLIUpedGRzBq179D69YZODu9BewJHWmyxOtXMr Bnj30slsm+2JNEAU9gv0wqYjCRZe81yxEATxiN9poaNDFhCQRxGsn/jawkpIXVHpi1vw yERLL3nMoj/S56zvHpkfbuK+aejhmkljY/EPa0SyZOFABiYhQ90DAZn3Y3lsC71RVM0+ SwiBNNZRwYjOTaT43DrFfisHBB36Ws4KOJdpLP1u/q/Fu4eF3mgdDPyK/zywfMJxA1er LCM/A5eevgmMt7HQY9tuW/y/57BT1zCXvbNOzrQIBhzgtjkW+Zj6V60A7DTf5AnRNlb7 1ceA== X-Received: by 10.236.62.195 with SMTP id y43mr3473842yhc.137.1398698470981; Mon, 28 Apr 2014 08:21:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.127.66 with HTTP; Mon, 28 Apr 2014 08:20:30 -0700 (PDT) In-Reply-To: <20140427135337.GC3091@acm.acm> References: <20140426182545.GB2944@acm.acm> <20140427090233.GA3109@acm.acm> <20140427135337.GC3091@acm.acm> From: Juanma Barranquero Date: Mon, 28 Apr 2014 17:20:30 +0200 Message-ID: Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY. To: Alan Mackenzie Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17352 Cc: 17352@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 (/) Sorry for the delay, I got the flu and I'm feeling a bit off. I can reproduce at least part of the problem in my Windows setup. so it'll be (hopefully) easier to fix. Meanwhile, a question. What is frame parameter acm-no? J From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 30 14:32:45 2014 Received: (at 17352) by debbugs.gnu.org; 30 Apr 2014 18:32:45 +0000 Received: from localhost ([127.0.0.1]:46730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfZJF-0003h7-8f for submit@debbugs.gnu.org; Wed, 30 Apr 2014 14:32:45 -0400 Received: from colin.muc.de ([193.149.48.1]:13878 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfZJC-0003gw-2C for 17352@debbugs.gnu.org; Wed, 30 Apr 2014 14:32:43 -0400 Received: (qmail 59168 invoked by uid 3782); 30 Apr 2014 18:32:40 -0000 Received: from acm.muc.de (pD9519B10.dip0.t-ipconnect.de [217.81.155.16]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 30 Apr 2014 20:32:39 +0200 Received: (qmail 3642 invoked by uid 1000); 30 Apr 2014 18:28:39 -0000 Date: Wed, 30 Apr 2014 18:28:39 +0000 To: Juanma Barranquero Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY. Message-ID: <20140430182839.GA3248@acm.acm> References: <20140426182545.GB2944@acm.acm> <20140427090233.GA3109@acm.acm> <20140427135337.GC3091@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: 17352 Cc: 17352@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: -1.4 (-) Hi, Juanma. On Mon, Apr 28, 2014 at 05:20:30PM +0200, Juanma Barranquero wrote: > Sorry for the delay, I got the flu and I'm feeling a bit off. Outch! > I can reproduce at least part of the problem in my Windows setup. so > it'll be (hopefully) easier to fix. > Meanwhile, a question. What is frame parameter acm-no? Just a little utility of mine where I've bound the keys F1 - F11 to select a frame. F1 selects frame with property (acm-no . 0), F2 ....., F11 selects frame with property (acm-no . 10). The property gets set in an after-make-frame-functions function. It's a solution to the lack of decent frame-switching functions for Emacs without mice. If you're interested I could send you the code - it's not very long. > J -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 22 09:24:20 2014 Received: (at 17352) by debbugs.gnu.org; 22 Dec 2014 14:24:20 +0000 Received: from localhost ([127.0.0.1]:54398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y33uG-0002VV-HO for submit@debbugs.gnu.org; Mon, 22 Dec 2014 09:24:20 -0500 Received: from maigret.aip.de ([141.33.160.2]:23118 helo=mail0.aip.de) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1Y33uD-0002VL-QB for 17352@debbugs.gnu.org; Mon, 22 Dec 2014 09:24:19 -0500 Received: (qmail 8533 invoked from network); 22 Dec 2014 14:24:16 -0000 Received: from smailout1.aip.de (HELO ssmtp-out.aip.de) (141.33.161.100) by mailout.aip.de with SMTP; 22 Dec 2014 14:24:16 -0000 Received: from knuspertop.site (unknown [141.33.136.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssmtp-out.aip.de (Postfix) with ESMTPSA id 2254E1D8 for <17352@debbugs.gnu.org>; Mon, 22 Dec 2014 15:24:16 +0100 (CET) Date: Mon, 22 Dec 2014 15:24:14 +0100 From: Edmund Christian Herenz To: 17352@debbugs.gnu.org Subject: workaround Message-ID: <20141222142414.GA2849@knuspertop.site> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 17352 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 (/) Hello, I can also reproduce above behaviour. I ran into this bug, since I use both TTY and windowed emacs - sometimes in one session. > (setq desktop-restore-frames nil) > (desktop-save-mode 1) This indeed fixes the warning. I upgraded from Emacs 22.2 to 24.4 recently - and since then I am affected by this bug. Best, CH. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 27 09:02:34 2014 Received: (at 17352) by debbugs.gnu.org; 27 Dec 2014 14:02:34 +0000 Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4rww-0003gF-5q for submit@debbugs.gnu.org; Sat, 27 Dec 2014 09:02:34 -0500 Received: from fely.am-1.org ([78.47.74.50]:46457) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4rwt-0003fw-6a; Sat, 27 Dec 2014 09:02:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=TkkRykcv2ErsmmeAu360jpZmNs9Phc/+NRVR9K43BtM=; b=EdEqzAoHJuqS/4/cdhg7mnUIaXZRISXQ6Nr3AJwhL53xuEjHtA5ZBo5DDAjMaoHnWnw9npmWzTtdxbtQHs42jCNqwxYyMmo3oMyQvWjgJiEsUk13LFmm4dHXt/xBFtS9kW0Tf+YaiUULO28gJkSI81C9ZbB3c3JYWLxKxXE1E0s=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y4rwq-0008Sb-4W; Sat, 27 Dec 2014 14:02:28 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y4rwi-00076B-Rs; Sat, 27 Dec 2014 21:02:20 +0700 From: Ivan Shmakov To: 19453@debbugs.gnu.org, 17352@debbugs.gnu.org, control@debbugs.gnu.org Subject: Re: bug#19453: Bad interaction between daemon mode and desktop-save-mode References: <549EB339.3020902@fiander.info> Mail-Followup-To: 19453@debbugs.gnu.org, 17352@debbugs.gnu.org Date: Sat, 27 Dec 2014 14:02:20 +0000 In-Reply-To: <549EB339.3020902@fiander.info> (David Fiander's message of "Sat, 27 Dec 2014 08:25:13 -0500") Message-ID: <877fxdchsj.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (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: 17352 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 (/) merge 17352 19453 thanks >>>>> David Fiander writes: [=E2=80=A6] > This frame may display the warning > Error (frameset): Font `tty' is not defined AIUI, this has already been reported as #17352. As a workaround, the latter suggests the following setting: (setq desktop-restore-frames nil) The issue isn=E2=80=99t really specific to the daemon mode: loading a desktop file saved from a non-windowed Emacs instance into a windowed produces the same error. > And, according to the modeline, it will claim to be an emailclient > frame, even though it's not. The problem is that the desktop save > file saved the setting > (client . nowait) > In general, I think that the problem is that certain parts of the > emacs state are being saved (or restored, depending on your point of > view) in the desktop file that shouldn't necessarily be, since > they're tied to the method of invocation more than to the user's > specific preferences. Yes. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 16:29:38 2017 Received: (at 17352) by debbugs.gnu.org; 18 Feb 2017 21:29:38 +0000 Received: from localhost ([127.0.0.1]:45423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfCZW-00066j-IV for submit@debbugs.gnu.org; Sat, 18 Feb 2017 16:29:38 -0500 Received: from mail-ua0-f175.google.com ([209.85.217.175]:36471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfCZV-00066T-FN for 17352@debbugs.gnu.org; Sat, 18 Feb 2017 16:29:37 -0500 Received: by mail-ua0-f175.google.com with SMTP id t17so39403189uae.3 for <17352@debbugs.gnu.org>; Sat, 18 Feb 2017 13:29:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=hNTVV/rk9hCVsTruDjxvvq0//Ym1JmZs3wwuqTMLaVk=; b=WQmY+y0BY8juBSrEbSvIO5rnJbdWEdkvj6XlnBOqbJKblw6Jj7VkCYpBB0LxeQ/IY0 oHEGsdcONjRoZtCGC379EGYNFMAMuP5OP4DTzO80JhRYRf67SRBmy5jkMBLaIwzQXO0R txnQcr/Wv1TkXjQqrHBrUrpHJSPF+YdDm7Nze1AlrqfqCivx5hnjrBMAsMYiArpgccfv tT5vT9q2YhkdsuuxIp3YE1hdRExSt73Mkg2fHPFfapdU/fBzEpn11OLMAxVi/6tPF7iI TjdAZV3ESHuVK9abhfPTu7FyJjqJv4TJdaurGsIy+oMqCHFY8hUV9ou00jyNzRFRFZ5k pwIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hNTVV/rk9hCVsTruDjxvvq0//Ym1JmZs3wwuqTMLaVk=; b=flBUrSIJ4EECMVZb1HihsiaELqQXWPtJ2wZFiBa92BARq4mKcu1IedZshBSO/JPxuY c8ka+7k1BB0pZY2RMWGrizmgb49OW/hoz+UJiDCJDhJUPfaeXpFVME8vnlJTnIxZXemp KKUAI02oKu/Dr2afFIEEQt5yHx9iwI/zGRVb8j8AU/Gqalo/whqzNbT083tMubhEmlTZ GSZml9LgDOIkRWz3MxUmbw6A3RcB6rtzGP+gkE2wWU2mqnRmTmI6pFyWRA3XO2xU6rT2 KT6wRBhgKi/69pJ8x0TjkQ7PwIXRUKRgGJkjdnuqo7KP8PzxJwLzjAD8aQGDOVtO/oNm 1SOw== X-Gm-Message-State: AMke39mSXNWB+RKoWaWkUJmQUI3MhND+UmTasAFuzeEzEZOaNDxwRWPehBMTlmb4WZTj+YSDzsYwrvzrFPR0WQ== X-Received: by 10.176.68.65 with SMTP id m59mr7510217uam.85.1487453371567; Sat, 18 Feb 2017 13:29:31 -0800 (PST) MIME-Version: 1.0 From: Kaushal Modi Date: Sat, 18 Feb 2017 21:29:21 +0000 Message-ID: Subject: .emacs.desktop has become unportable between GUI and TTY. To: 17352@debbugs.gnu.org Content-Type: multipart/alternative; boundary=94eb2c083012d516d30548d4b995 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 17352 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 (---) --94eb2c083012d516d30548d4b995 Content-Type: text/plain; charset=UTF-8 Hi all, I see this issue even on the latest build of emacs master as of today (version 26.x). I ended up on this debbugs via here: https://github.com/purcell/emacs.d/issues/259 I happened to start emacs with -nw option. My config saves the desktop when quitting emacs. Then when I opened emacs GUI, I saw this *Warning* buffer: Error (frameset): font `tty' is not defined. -- Kaushal Modi --94eb2c083012d516d30548d4b995 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi all,=

I see this issue even on the latest build of ema= cs master as of today (version 26.x).

I ended up= on this debbugs via here:=C2=A0https://github.com/pur= cell/emacs.d/issues/259

I happened to start em= acs with -nw option. My config saves the desktop when quitting emacs. Then = when I opened emacs GUI, I saw this *Warning* buffer:

Error (frameset): font `tty' is not defined.
--

K= aushal Modi

--94eb2c083012d516d30548d4b995-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 19:27:40 2017 Received: (at control) by debbugs.gnu.org; 19 Feb 2017 00:27:40 +0000 Received: from localhost ([127.0.0.1]:45469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfFLo-0003Sr-Ep for submit@debbugs.gnu.org; Sat, 18 Feb 2017 19:27:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfFLm-0003Se-D1 for control@debbugs.gnu.org; Sat, 18 Feb 2017 19:27:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfFLg-0000oG-BF for control@debbugs.gnu.org; Sat, 18 Feb 2017 19:27:33 -0500 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,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfFLg-0000oC-7v for control@debbugs.gnu.org; Sat, 18 Feb 2017 19:27:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cfFLf-0000W4-UF for control@debbugs.gnu.org; Sat, 18 Feb 2017 19:27:32 -0500 Subject: control message for bug 24655 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Sat, 18 Feb 2017 19:27:31 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) block 24655 by 17352 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 09:03:42 2017 Received: (at 17352) by debbugs.gnu.org; 2 Sep 2017 13:03:42 +0000 Received: from localhost ([127.0.0.1]:41783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do85O-0002CP-DA for submit@debbugs.gnu.org; Sat, 02 Sep 2017 09:03:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35437) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do85N-0002C5-Br for 17352@debbugs.gnu.org; Sat, 02 Sep 2017 09:03:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do85D-0000VM-BY for 17352@debbugs.gnu.org; Sat, 02 Sep 2017 09:03:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do85D-0000VD-8O; Sat, 02 Sep 2017 09:03:31 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2101 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1do85B-0005rg-Sm; Sat, 02 Sep 2017 09:03:31 -0400 Date: Sat, 02 Sep 2017 16:03:16 +0300 Message-Id: <83lglxz20b.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi , Juanma Barranquero In-reply-to: (message from Kaushal Modi on Sat, 18 Feb 2017 21:29:21 +0000) Subject: Re: .emacs.desktop has become unportable between GUI and TTY. References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17352 Cc: 17352@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Kaushal Modi > Date: Sat, 18 Feb 2017 21:29:21 +0000 > > I see this issue even on the latest build of emacs master as of today (version 26.x). > > I ended up on this debbugs via here: https://github.com/purcell/emacs.d/issues/259 > > I happened to start emacs with -nw option. My config saves the desktop when quitting emacs. Then when I > opened emacs GUI, I saw this *Warning* buffer: > > Error (frameset): font `tty' is not defined. Juanma, any progress with this issue? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 22 10:56:59 2017 Received: (at 17352) by debbugs.gnu.org; 22 Sep 2017 14:56:59 +0000 Received: from localhost ([127.0.0.1]:52983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvPNz-00025F-AD for submit@debbugs.gnu.org; Fri, 22 Sep 2017 10:56:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvPNx-000251-DB for 17352@debbugs.gnu.org; Fri, 22 Sep 2017 10:56:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvPNo-0002Pi-VH for 17352@debbugs.gnu.org; Fri, 22 Sep 2017 10:56:52 -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,RP_MATCHES_RCVD, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvPNo-0002Pe-RV; Fri, 22 Sep 2017 10:56:48 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4654 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dvPNo-00028A-37; Fri, 22 Sep 2017 10:56:48 -0400 Date: Fri, 22 Sep 2017 17:56:42 +0300 Message-Id: <83efqydbo6.fsf@gnu.org> From: Eli Zaretskii To: kaushal.modi@gmail.com, lekktu@gmail.com, acm@muc.de, david@fiander.info In-reply-to: <83lglxz20b.fsf@gnu.org> (message from Eli Zaretskii on Sat, 02 Sep 2017 16:03:16 +0300) Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY. References: <83lglxz20b.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17352 Cc: 17352@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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Sat, 02 Sep 2017 16:03:16 +0300 > From: Eli Zaretskii > Cc: 17352@debbugs.gnu.org > > > From: Kaushal Modi > > Date: Sat, 18 Feb 2017 21:29:21 +0000 > > > > I see this issue even on the latest build of emacs master as of today (version 26.x). > > > > I ended up on this debbugs via here: https://github.com/purcell/emacs.d/issues/259 > > > > I happened to start emacs with -nw option. My config saves the desktop when quitting emacs. Then when I > > opened emacs GUI, I saw this *Warning* buffer: > > > > Error (frameset): font `tty' is not defined. > > Juanma, any progress with this issue? I think I fixed this now on the emacs-26 branch, please test. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 29 13:06:55 2017 Received: (at 17352) by debbugs.gnu.org; 29 Sep 2017 17:06:55 +0000 Received: from localhost ([127.0.0.1]:39482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxykZ-00058o-BH for submit@debbugs.gnu.org; Fri, 29 Sep 2017 13:06:55 -0400 Received: from mail-yw0-f179.google.com ([209.85.161.179]:46440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxykW-00058a-Kw for 17352@debbugs.gnu.org; Fri, 29 Sep 2017 13:06:54 -0400 Received: by mail-yw0-f179.google.com with SMTP id v72so191266ywa.3 for <17352@debbugs.gnu.org>; Fri, 29 Sep 2017 10:06:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4q4pSH3MmRjlnIT1v1uuoQrSDv0iVBY8HDRTOcsaXEc=; b=T21SI5Ngy8iwwlrVBWqD7k/+I95j0yN9gMNbnfvxjiUyIb9Ggdn6NygtTir7SuSW7h 5TPrhGYm1D7yNoFmsHPZqWLL8ify7hejQ1gC2iJD/FRRv8YtDjY/YZL5dHG8YUKpJAKE BU8xbO5tvXZyOQ+UWiLoHx2jupVm8YXdS8qCr9CYYNhMESNhr4GNFqnaBVcOLefDp9BB A2YVcWVWDbigH8+HAbgUjdQTahqfUiuXYen5zl1gUT4sHeH6Z7L9mO2wmL9DXG7xmpQM M5LXw284rM2c/aPbHgg+TemhBLmTP6G4/0aYmO9oqU0kAvdzF6CXJExTls4jTpIW8URF vqKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4q4pSH3MmRjlnIT1v1uuoQrSDv0iVBY8HDRTOcsaXEc=; b=DPZXm5Y+5GDjAHRxr1dzFju1L6F9rIXWW9JtbfZWNLxYuW54R1UMrK+An4xYuhSbN/ VYG8uGMq5VxlIrXAtqVuC8vno2CO/pWaSgnuCRneBOjdPsQ+s141zHRAEupxLmVrpqLB xiLc/UdkObXAuvuQbzZgN89OQNl6usUzwUM/vgGWDsWmfEpv+Jg5Mq6NGN0TkJYX6p4r NL/bS9Za7wbqileypLk1V4QnVYxN1GRIg9suElzhPUObXiRSb9wNg3Mjm7Plo1A9d3cW E/D3YWaoWbQkMmOsEGCbA143QjRajb4yjoSInMDv9zs3T/WCvMLudV+Dv0IiqJoCTSzt qq0Q== X-Gm-Message-State: AHPjjUgDL5TK+rtl9VjzdSeJ4/bZc+rpvjyp/ghzFN3DT9PZyg6XM3ha M4oHYAo1eucrCzWUsSgvlwmNaMdfzq3ioQ2ihBM= X-Google-Smtp-Source: AOwi7QAFDOVcj7vzKhghFTlHfdm+K6IBtd17i64MaUOBrXQ12kIf7LnNO/r26khHwlK+Q6afuQ0mIxe9NhIfhw5HZ3o= X-Received: by 10.37.234.15 with SMTP id p15mr6648607ybd.303.1506704806820; Fri, 29 Sep 2017 10:06:46 -0700 (PDT) MIME-Version: 1.0 References: <83lglxz20b.fsf@gnu.org> <83efqydbo6.fsf@gnu.org> In-Reply-To: <83efqydbo6.fsf@gnu.org> From: Kaushal Modi Date: Fri, 29 Sep 2017 17:06:36 +0000 Message-ID: Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY. To: Eli Zaretskii , lekktu@gmail.com, acm@muc.de, david@fiander.info Content-Type: multipart/alternative; boundary="f403045da19ccac168055a570cb0" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 17352 Cc: 17352@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: 0.5 (/) --f403045da19ccac168055a570cb0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Sep 22, 2017 at 10:57 AM Eli Zaretskii wrote: > I think I fixed this now on the emacs-26 branch, please test. > Thank you! I confirm this fix. How I tested: 1. Open emacsclient -nw& 2. Quit (my config saves desktop when quitting) i.e. kill emacs completely 3. Verify that the desktop file got updated 4. Open emacsclient & 5. Starts up without that "Error (frameset): Font =E2=80=98tty=E2=80=99 is = not defined" error I believe you can mark this as done now. --=20 Kaushal Modi --f403045da19ccac168055a570cb0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Sep 22= , 2017 at 10:57 AM Eli Zaretskii <eliz@g= nu.org> wrote:
I think I fix= ed this now on the emacs-26 branch, please test.

<= /div>
Thank you!

I confirm this fix.

How I tested:

1. Open emacsclient = -nw&=C2=A0
2. Quit (my config saves desktop when quitting) i.= e. kill emacs completely
3. Verify that the desktop file got upda= ted
4. Open emacsclient &
5. Starts up without that= "Error (frameset): Font =E2=80=98tty=E2=80=99 is not defined" er= ror

I believe you can mark this as done now.
=
--

Kaushal Modi

--f403045da19ccac168055a570cb0-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 29 14:12:24 2017 Received: (at 17352-done) by debbugs.gnu.org; 29 Sep 2017 18:12:24 +0000 Received: from localhost ([127.0.0.1]:39565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxzlw-0006rF-3K for submit@debbugs.gnu.org; Fri, 29 Sep 2017 14:12:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxzlu-0006r0-JW for 17352-done@debbugs.gnu.org; Fri, 29 Sep 2017 14:12:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxzll-0002qa-3Z for 17352-done@debbugs.gnu.org; Fri, 29 Sep 2017 14:12:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxzlk-0002qU-Vw; Fri, 29 Sep 2017 14:12:13 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1431 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dxzlk-0001DC-DY; Fri, 29 Sep 2017 14:12:12 -0400 Date: Fri, 29 Sep 2017 21:12:05 +0300 Message-Id: <83tvzl5q8a.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Fri, 29 Sep 2017 17:06:36 +0000) Subject: Re: bug#17352: .emacs.desktop has become unportable between GUI and TTY. References: <83lglxz20b.fsf@gnu.org> <83efqydbo6.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 17352-done Cc: lekktu@gmail.com, david@fiander.info, 17352-done@debbugs.gnu.org, acm@muc.de 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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Kaushal Modi > Date: Fri, 29 Sep 2017 17:06:36 +0000 > Cc: 17352@debbugs.gnu.org > > Thank you! > > I confirm this fix. > > How I tested: > > 1. Open emacsclient -nw& > 2. Quit (my config saves desktop when quitting) i.e. kill emacs completely > 3. Verify that the desktop file got updated > 4. Open emacsclient & > 5. Starts up without that "Error (frameset): Font ‘tty’ is not defined" error > > I believe you can mark this as done now. Thanks, done. From unknown Mon Jun 23 04:11:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Oct 2017 11:24:06 +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