From unknown Sat Aug 16 10:43:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14888 <14888@debbugs.gnu.org> To: bug#14888 <14888@debbugs.gnu.org> Subject: Status: 24.3.50; Prompting for theme safety when restoring frames Reply-To: bug#14888 <14888@debbugs.gnu.org> Date: Sat, 16 Aug 2025 17:43:28 +0000 retitle 14888 24.3.50; Prompting for theme safety when restoring frames reassign 14888 emacs submitter 14888 chad severity 14888 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 01:37:38 2013 Received: (at submit) by debbugs.gnu.org; 17 Jul 2013 05:37:38 +0000 Received: from localhost ([127.0.0.1]:59757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzKQj-0000bo-A2 for submit@debbugs.gnu.org; Wed, 17 Jul 2013 01:37:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44963) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzKQg-0000bX-Oj for submit@debbugs.gnu.org; Wed, 17 Jul 2013 01:37:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzKQX-0006BJ-Ab for submit@debbugs.gnu.org; Wed, 17 Jul 2013 01:37:29 -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]:43239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzKQX-0006BF-7S for submit@debbugs.gnu.org; Wed, 17 Jul 2013 01:37:25 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzKQS-0003ff-Rg for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 01:37:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzKQO-00069p-3L for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 01:37:20 -0400 Received: from dmz-mailsec-scanner-2.mit.edu ([18.9.25.13]:43236) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzKQN-00069d-V0 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2013 01:37:16 -0400 X-AuditID: 1209190d-b7f078e000000937-c0-51e62d8a4171 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id FE.27.02359.B8D26E15; Wed, 17 Jul 2013 01:37:15 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id r6H5bERP032514 for ; Wed, 17 Jul 2013 01:37:14 -0400 Received: from [192.168.5.55] ([38.96.222.254]) (authenticated bits=0) (User authenticated as yandros@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id r6H5bBOj001904 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 17 Jul 2013 01:37:13 -0400 From: chad Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 24.3.50; Prompting for theme safety when restoring frames Message-Id: <2CEAD59E-39D4-418B-8C54-E3A4D2063A03@mit.edu> Date: Wed, 17 Jul 2013 00:37:24 -0500 To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBIsWRmVeSWpSXmKPExsUixG6nrtut+yzQ4N8xZovvB6ocGD3appkF MEZx2aSk5mSWpRbp2yVwZbxqeMFa8EGhYu7K1SwNjDukuxg5OSQETCRWfZvMCGGLSVy4t56t i5GLQ0hgH6PEoSsX2UESQgJnGSXOrRSGSBxgkng/cwZTFyMHB5uADFCHBkgNs4CWxI1/L5kg bHmJ7W/nMIPYwgJOEncbH7CB2LwCVhLbT68Hm8kioCqx5c1uMFtEQFLi651WVogaPYml/+Yw goyXEJCV2Pk7aQIj3ywkG2Yh2TALSccCRuZVjLIpuVW6uYmZOcWpybrFyYl5ealFukZ6uZkl eqkppZsYQcHFKcm7g/HdQaVDjAIcjEo8vBPCngYKsSaWFVfmHmKU5GBSEuUVVnsWKMSXlJ9S mZFYnBFfVJqTWnyIUYKDWUmEt1oDKMebklhZlVqUD5OS5mBREud9+vRsoJBAemJJanZqakFq EUxWhoNDSYLXRgeoUbAoNT21Ii0zpwQhzcTBCTKcB2i4KUgNb3FBYm5xZjpE/hSjMUfHg63v GTmez932nlGIJS8/L1VKnDdGG6hUAKQ0ozQPbhosQbxiFAd6Tpg3FKSKB5hc4Oa9AlrFBLSq efZjkFUliQgpqQZGrba7bg3Stw8xG6tp79/g5uDMqj/j0wLugIYrR5cXslQwuXWZPuAt2/CG b0V9mz1zsjJ3YaRYFrvhEUW346Z6rKGKUmxnuNU+Ptdp6G6XuKcv17B2U9UVT4F3gVvuL8nL im0SXbkhx8BstmHtxndVqiYLPu+wthBeHKj/ivGNeMFVnZLsOCWW4oxEQy3mouJEAFjt+/Hr AgAA X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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: -2.4 (--) 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: -2.4 (--) In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39) of 2013-07-16 on protip.local Bzr revision: 109393 yandros@mit.edu-20130716152907-8gapsvc5ipkj17mp Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-ns --enable-checking' Important settings: locale-coding-system: nil default enable-multibyte-characters: t When emacs prompts the user during startup (to ask if a theme is safe to load) while it is trying to restore a previous session's window layout (with the new features in desktop-save-mode), emacs sometimes never actually creates a window. Juanma has already changed the related code, but asked me to file a report so that future versions can be checked. Using today's bzr tip, I do NOT see the problem. Note that the revision info listed in `Bzr revision' above doesn't match the revision that triggers the problem. To reproduce the problem, you will need a theme that emacs does not consider safe. I tested with zenburn and naquadah, but any non-trusted theme will do. Because the problem uses saved theme and desktop state, it can't easily be reproduced with emacs -Q. Once problematic config files are generated, they can be saved and reused later for testing. 1.) Move personal configuration aside, including desktop file and custom file. 2.) Place your non-trusted theme in the clean user-emacs-directory. 3.) M-x customize-variable RET desktop-save-mode RET and enable desktop-save-mode. Save changes for future sessions. 3.) M-x customize-theme RET and enable your untrusted theme. Mark the theme as safe for future sessions. Save changes for future sessions. 4.) Quit emacs. 5.) Manually remove the entry for custom-safe-themes from the clean user-init-file. 6.) Restart emacs. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39) of 2013-07-16 on protip.local Bzr revision: 109393 yandros@mit.edu-20130716152907-8gapsvc5ipkj17mp Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-ns --enable-checking' Important settings: locale-coding-system: nil default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: desktop-save-mode: t icomplete-mode: t which-function-mode: t recentf-mode: t savehist-mode: t delete-selection-mode: t minibuffer-electric-default-mode: t auto-image-file-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t transient-mark-mode: t Features: (shadow sort flyspell ispell nadvice gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-mode hl-line dired vc-git pp eldoc help-fns adaptive-wrap-autoloads debbugs-autoloads info paredit-autoloads zenburn-autoloads package saveplace zenburn-theme cus-edit desktop cus-start cus-load icomplete which-func imenu recentf tree-widget wid-edit cl-loaddefs cl-lib easymenu savehist delsel minibuf-eldef image-file paren pcase y-mac y-modeline y-frame y-keybindings y-hacks time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 17:56:38 2013 Received: (at 14888-done) by debbugs.gnu.org; 17 Jul 2013 21:56:38 +0000 Received: from localhost ([127.0.0.1]:33710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzZiA-0006XO-Az for submit@debbugs.gnu.org; Wed, 17 Jul 2013 17:56:38 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34496 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzZi8-0006XB-Kd for 14888-done@debbugs.gnu.org; Wed, 17 Jul 2013 17:56:36 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UzZi7-0001g3-Pw; Wed, 17 Jul 2013 17:56:35 -0400 From: Glenn Morris To: 14888-done@debbugs.gnu.org Subject: Re: bug#14888: 24.3.50; Prompting for theme safety when restoring frames References: <2CEAD59E-39D4-418B-8C54-E3A4D2063A03@mit.edu> X-Spook: gamma Tony Blair subversive world domination terrorism X-Ran: qof(f*'R82pO`=wy_"XiuASo5#!C#*tdo{nhZb~yT;O6>LDhw]LMQ6bd.k\/A.ky[K}/)~ X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 17 Jul 2013 17:56:35 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 14888-done 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: -5.4 (-----) chad wrote: > Juanma has already changed the related code, but asked me to file > a report so that future versions can be checked. Using today's bzr > tip, I do NOT see the problem. Err, so I guess this report can just be closed. (Sounds like this sould be turned into a test-case, obviously not an automatic one.) From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 17 18:56:46 2013 Received: (at 14888) by debbugs.gnu.org; 17 Jul 2013 22:56:46 +0000 Received: from localhost ([127.0.0.1]:33834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzaeM-0000If-1l for submit@debbugs.gnu.org; Wed, 17 Jul 2013 18:56:46 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:38147) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UzaeJ-0000IJ-F9; Wed, 17 Jul 2013 18:56:43 -0400 Received: by mail-ee0-f45.google.com with SMTP id c1so1344140eek.32 for ; Wed, 17 Jul 2013 15:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Yd/gok/KPjkntzCKfzLKoitrSCvLljssayfGbjot32A=; b=Un3/tD3SYwWXpNFDDbGfScbswJpvOOI+npcNXvbMn5ADcko1SNdXilSUvqpKI19+r8 DjX+oG82Bg20Bb6MA8ZnY5IMH+jFdL2XoQv6ikVYNoNvrgwT+eLsciAM6rvFzvaPl8MN gMJjw/RhPCAaUgnKz2zEIT1Pkf7zruuUt8YyLxIuRiW6B4o032G7UsYZdUDPI70gAdak OTje4Xwvi87VwE8TBT9RrWmNibDu6yszHShw6wZMd1t8Lm7lNBzNmcff/g1PEOxFuQCS 5KBgTLzRuBweP3PNsq9OoF5ASIWPO2y4xNXN5PzMIrIA1lKdhLNJt4Npozr3RZarp/zS +SAQ== X-Received: by 10.15.25.2 with SMTP id k2mr8228542eeu.99.1374101797332; Wed, 17 Jul 2013 15:56:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.142.4 with HTTP; Wed, 17 Jul 2013 15:55:56 -0700 (PDT) In-Reply-To: References: <2CEAD59E-39D4-418B-8C54-E3A4D2063A03@mit.edu> From: Juanma Barranquero Date: Thu, 18 Jul 2013 00:55:56 +0200 Message-ID: Subject: Re: bug#14888: 24.3.50; Prompting for theme safety when restoring frames To: 14888@debbugs.gnu.org, Glenn Morris , Chad Brown Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 14888 Cc: 14888-done@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 (/) > Err, so I guess this report can just be closed. Yes, when I asked chad to file a bug report I didn't know that it would be fixed by my update. :-) > (Sounds like this sould be turned into a test-case, obviously not an > automatic one.) Yep. From unknown Sat Aug 16 10:43:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Aug 2013 11:24:03 +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