From unknown Sun Jun 22 07:35:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41007: 26.3; desktop-save and reloading Resent-From: jan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 May 2020 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 41007@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15883601977513 (code B ref -1); Fri, 01 May 2020 19:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2020 19:09:57 +0000 Received: from localhost ([127.0.0.1]:50666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUb2c-0001wq-Gh for submit@debbugs.gnu.org; Fri, 01 May 2020 15:09:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:55184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUb2b-0001wj-74 for submit@debbugs.gnu.org; Fri, 01 May 2020 15:09:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUb2a-0007ia-GC for bug-gnu-emacs@gnu.org; Fri, 01 May 2020 15:09:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUb2Z-0007G0-6K for bug-gnu-emacs@gnu.org; Fri, 01 May 2020 15:09:40 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:55691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUb2Y-0007E9-Pl for bug-gnu-emacs@gnu.org; Fri, 01 May 2020 15:09:38 -0400 Received: by mail-pj1-x1035.google.com with SMTP id a32so261045pje.5 for ; Fri, 01 May 2020 12:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qzFbNmujuit7YhUSKdwormyynu6DVsRJ5EcvW/oBIng=; b=sll2eBZ3us5NijxcePjg53xAbT/QRa31LuE/l9h/V8lkwpwsIj9qw3pztRwKpZgk5b uBKsOylzmVJTLleZoySuWkdcWcEMywzFx8llOuLoFiWBUSknPWlk+sbpbKXskyg/dNJb L3h7K9bbKJMJY9dDeS7Lv+8PC/6RVyo221Jjf7O+TSYZBMi2mHNiTVlE4lWaRhEUzPNH 0eO54sEmyub63MaNKOzKxzVo4yj54bDtZL4sFW1jD2iBFpHAMT1nw1HNHiwGtrmzzpyT iFwuwUmA31P2FTD05rEZswycNf1eazaiCSqjsJ3u+lfSXbz96L/ptV4DtWYUJvZ/1eZ3 uV2A== 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=qzFbNmujuit7YhUSKdwormyynu6DVsRJ5EcvW/oBIng=; b=UJeS8Va1vZO+qwz6QtE0i+bncsov9BpgoAySwkdv1CJ3XBsKMAQryivVuyQLd6P3JP 2dLu/Jy5Vo229FfuvDwMFU9Yd1bMRNA7cBDpJiQ5VPGE+gzNL1Acf0inEy47hF3AYo8x c2gYOaUvxt7oAcYEOfGk8b9jntxBKg6ijiAewYWbj06iOt29G/JBuHfBWYf5A9zPE5T0 xRIlfIKVtfqadCAoQGbztrO8yNehIxUranyyNzovlqzWCvoAuEZUSGyK1pkC8iHuXo8k V6ovQ9Y0lvxgNXQ5aSu1dLqk/r9S7iTO4cPlRdGXV90JJ/AzQ2keHsgnaypXLAHBbz7A mKWg== X-Gm-Message-State: AGi0PuYuMkTemVLMOtm979+fs/966ojP3srGUHqDWXJ5ct4DLO7cc4tb PmXKpsD9SSJ+5q1ooZrfGUWmcF5za/fkYU1tPggEwQ== X-Google-Smtp-Source: APiQypJkxlQrmowV1HsGRW7TYPtsA5yHxBcntfN2HZOkf3Zu1NnQMmdaTaiqIUXGj8SHRerepzlK1tUeOQ8VYt92OT8= X-Received: by 2002:a17:90a:718c:: with SMTP id i12mr1293798pjk.142.1588360176910; Fri, 01 May 2020 12:09:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Fri, 1 May 2020 12:09:36 -0700 (PDT) From: jan Date: Fri, 1 May 2020 20:09:36 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=rtm443x@googlemail.com; helo=mail-pj1-x1035.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::1035 X-Spam-Score: 0.7 (/) 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 (-) Hi, this is trivial, feel free to ignore especially if it's just down to my misunderstanding. I saved my desktop using desktop-save. I could then find no way of restoring it. I looked on the web and found a few others had the same problem. Spent an hour browsing. I then dug a bit more much later and found desktop-read seemed to do this. Problem: I was looking for the obvious complement of desktop-save which would be desktop-load or desktop-restore. Desktop-read is not obviously named. Other problem, and this is likely just unfamiliarity, but if you do desktop-save it asks you where to save it. If you do desktop-read, it doesn't ask. Docs say (desktop-read &optional DIRNAME) but that's not exposed interactively that I can see. Example of some confusion It seemed your're supposed to enable desktop-save-mode which I've done. That's good, it works now, but having obviously named desktop-load or desktop-restore, with an interactive prompt to ask for the location would be good. It would also allow me to save and load *different desktops*, *when I want* rather than at startup and just give me the one it thinks I want. Well, it may well allow that already, I just don't know. Thanks jan In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Recent messages: Warning: desktop file appears to be in use by PID 4996. Using it may cause conflicts. Use it anyway? (y or n) n Desktop file in use; not loaded. completing-read-default: Command attempted to use minibuffer while in minibuffer s is undefined d is undefined Quit Making completion list... Auto-saving...done Type "q" to restore previous buffer. Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Apropos Minor modes in effect: desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils browse-url url-util cl-extra eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree help-mode apropos elec-pair edmacro kmacro desktop frameset cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 139724 9752) (symbols 48 24352 4) (miscs 40 83 262) (strings 32 43608 1497) (string-bytes 1 1185734) (vectors 16 19101) (vector-slots 8 550693 7850) (floats 8 71 236) (intervals 56 300 21) (buffers 992 17)) From unknown Sun Jun 22 07:35:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jan Subject: bug#41007: closed (Re: bug#41007: 26.3; desktop-save and reloading) Message-ID: References: <83ftcjv2t1.fsf@gnu.org> X-Gnu-PR-Message: they-closed 41007 X-Gnu-PR-Package: emacs Reply-To: 41007@debbugs.gnu.org Date: Fri, 01 May 2020 20:06:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1588363562-20849-1" This is a multi-part message in MIME format... ------------=_1588363562-20849-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41007: 26.3; desktop-save and reloading which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41007@debbugs.gnu.org. --=20 41007: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41007 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1588363562-20849-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41007-done) by debbugs.gnu.org; 1 May 2020 20:05:50 +0000 Received: from localhost ([127.0.0.1]:50699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUbuv-0005Pt-Lt for submit@debbugs.gnu.org; Fri, 01 May 2020 16:05:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUbut-0005Pc-Mu for 41007-done@debbugs.gnu.org; Fri, 01 May 2020 16:05:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35135) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUbuo-0000SJ-Fd; Fri, 01 May 2020 16:05:42 -0400 Received: from [176.228.60.248] (port=1534 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUbun-0004Y9-La; Fri, 01 May 2020 16:05:42 -0400 Date: Fri, 01 May 2020 23:05:30 +0300 Message-Id: <83ftcjv2t1.fsf@gnu.org> From: Eli Zaretskii To: jan In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#41007: 26.3; desktop-save and reloading References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41007-done Cc: 41007-done@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: -3.3 (---) > Date: Fri, 1 May 2020 20:09:36 +0100 > From: jan via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I saved my desktop using desktop-save. I could then find no way of > restoring it. I looked on the web and found a few others had the same > problem. Spent an hour browsing. > I then dug a bit more much later and found desktop-read seemed to do this. > > Problem: I was looking for the obvious complement of desktop-save > which would be desktop-load or desktop-restore. Desktop-read is not > obviously named. Thanks, I added the reference to 'desktop-read' to the doc string of 'descktop-save'. > Other problem, and this is likely just unfamiliarity, but if you do > desktop-save it asks you where to save it. If you do desktop-read, it > doesn't ask. Docs say (desktop-read &optional DIRNAME) but that's not > exposed interactively that I can see. The doc string of 'desktop-read' says: Interactively, with prefix arg C-u, ask for DIRNAME. So it _is_ exposed in interactive calls. ------------=_1588363562-20849-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 May 2020 19:09:57 +0000 Received: from localhost ([127.0.0.1]:50666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUb2c-0001wq-Gh for submit@debbugs.gnu.org; Fri, 01 May 2020 15:09:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:55184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUb2b-0001wj-74 for submit@debbugs.gnu.org; Fri, 01 May 2020 15:09:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUb2a-0007ia-GC for bug-gnu-emacs@gnu.org; Fri, 01 May 2020 15:09:41 -0400 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUb2Z-0007G0-6K for bug-gnu-emacs@gnu.org; Fri, 01 May 2020 15:09:40 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:55691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUb2Y-0007E9-Pl for bug-gnu-emacs@gnu.org; Fri, 01 May 2020 15:09:38 -0400 Received: by mail-pj1-x1035.google.com with SMTP id a32so261045pje.5 for ; Fri, 01 May 2020 12:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qzFbNmujuit7YhUSKdwormyynu6DVsRJ5EcvW/oBIng=; b=sll2eBZ3us5NijxcePjg53xAbT/QRa31LuE/l9h/V8lkwpwsIj9qw3pztRwKpZgk5b uBKsOylzmVJTLleZoySuWkdcWcEMywzFx8llOuLoFiWBUSknPWlk+sbpbKXskyg/dNJb L3h7K9bbKJMJY9dDeS7Lv+8PC/6RVyo221Jjf7O+TSYZBMi2mHNiTVlE4lWaRhEUzPNH 0eO54sEmyub63MaNKOzKxzVo4yj54bDtZL4sFW1jD2iBFpHAMT1nw1HNHiwGtrmzzpyT iFwuwUmA31P2FTD05rEZswycNf1eazaiCSqjsJ3u+lfSXbz96L/ptV4DtWYUJvZ/1eZ3 uV2A== 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=qzFbNmujuit7YhUSKdwormyynu6DVsRJ5EcvW/oBIng=; b=UJeS8Va1vZO+qwz6QtE0i+bncsov9BpgoAySwkdv1CJ3XBsKMAQryivVuyQLd6P3JP 2dLu/Jy5Vo229FfuvDwMFU9Yd1bMRNA7cBDpJiQ5VPGE+gzNL1Acf0inEy47hF3AYo8x c2gYOaUvxt7oAcYEOfGk8b9jntxBKg6ijiAewYWbj06iOt29G/JBuHfBWYf5A9zPE5T0 xRIlfIKVtfqadCAoQGbztrO8yNehIxUranyyNzovlqzWCvoAuEZUSGyK1pkC8iHuXo8k V6ovQ9Y0lvxgNXQ5aSu1dLqk/r9S7iTO4cPlRdGXV90JJ/AzQ2keHsgnaypXLAHBbz7A mKWg== X-Gm-Message-State: AGi0PuYuMkTemVLMOtm979+fs/966ojP3srGUHqDWXJ5ct4DLO7cc4tb PmXKpsD9SSJ+5q1ooZrfGUWmcF5za/fkYU1tPggEwQ== X-Google-Smtp-Source: APiQypJkxlQrmowV1HsGRW7TYPtsA5yHxBcntfN2HZOkf3Zu1NnQMmdaTaiqIUXGj8SHRerepzlK1tUeOQ8VYt92OT8= X-Received: by 2002:a17:90a:718c:: with SMTP id i12mr1293798pjk.142.1588360176910; Fri, 01 May 2020 12:09:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:9a86:0:0:0:0 with HTTP; Fri, 1 May 2020 12:09:36 -0700 (PDT) From: jan Date: Fri, 1 May 2020 20:09:36 +0100 Message-ID: Subject: 26.3; desktop-save and reloading To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=rtm443x@googlemail.com; helo=mail-pj1-x1035.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::1035 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit 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 (-) Hi, this is trivial, feel free to ignore especially if it's just down to my misunderstanding. I saved my desktop using desktop-save. I could then find no way of restoring it. I looked on the web and found a few others had the same problem. Spent an hour browsing. I then dug a bit more much later and found desktop-read seemed to do this. Problem: I was looking for the obvious complement of desktop-save which would be desktop-load or desktop-restore. Desktop-read is not obviously named. Other problem, and this is likely just unfamiliarity, but if you do desktop-save it asks you where to save it. If you do desktop-read, it doesn't ask. Docs say (desktop-read &optional DIRNAME) but that's not exposed interactively that I can see. Example of some confusion It seemed your're supposed to enable desktop-save-mode which I've done. That's good, it works now, but having obviously named desktop-load or desktop-restore, with an interactive prompt to ask for the location would be good. It would also allow me to save and load *different desktops*, *when I want* rather than at startup and just give me the one it thinks I want. Well, it may well allow that already, I just don't know. Thanks jan In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Recent messages: Warning: desktop file appears to be in use by PID 4996. Using it may cause conflicts. Use it anyway? (y or n) n Desktop file in use; not loaded. completing-read-default: Command attempted to use minibuffer while in minibuffer s is undefined d is undefined Quit Making completion list... Auto-saving...done Type "q" to restore previous buffer. Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: ENG locale-coding-system: cp1252 Major mode: Apropos Minor modes in effect: desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils browse-url url-util cl-extra eieio-opt speedbar sb-image ezimage dframe find-func help-fns radix-tree help-mode apropos elec-pair edmacro kmacro desktop frameset cus-start cus-load finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 139724 9752) (symbols 48 24352 4) (miscs 40 83 262) (strings 32 43608 1497) (string-bytes 1 1185734) (vectors 16 19101) (vector-slots 8 550693 7850) (floats 8 71 236) (intervals 56 300 21) (buffers 992 17)) ------------=_1588363562-20849-1-- From unknown Sun Jun 22 07:35:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41007: 26.3; desktop-save and reloading Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 May 2020 20:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jan , 41007@debbugs.gnu.org Received: via spool by 41007-submit@debbugs.gnu.org id=B41007.158836545724284 (code B ref 41007); Fri, 01 May 2020 20:38:02 +0000 Received: (at 41007) by debbugs.gnu.org; 1 May 2020 20:37:37 +0000 Received: from localhost ([127.0.0.1]:50765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUcPh-0006Jb-2D for submit@debbugs.gnu.org; Fri, 01 May 2020 16:37:37 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:45008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jUcPe-0006JM-Vo for 41007@debbugs.gnu.org; Fri, 01 May 2020 16:37:35 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 041KXiO2077123; Fri, 1 May 2020 20:37:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=R41+zRj0e+yvouHDRJpp1wZpmGIYr2kHt14l+mZ2hZ4=; b=wq7gP5Zi8kzzD+dcVsB0sgsjWSpgvYchuLI7SsEmooDdWdiEXL3FCfl4/7QEsASzauil XeH2vfyZYDUp33jDoWcy7y779iHCnTjgP5YeuWrZbYNatK0npOxUcMZf9E014+HHS2R5 DoX2hP8x2hni6a+apewRfiOszLtDhfAepYYfvRVLTYeCfLIE5KKRXhHltIVxttiPg3IT TiKnicWcRJ6AlRUcSKBt3amkPEvAtBPoqdUoVDWKPj/cBUTBrycB+73pLQ6u7XUzeuIp MPd9w6dlIXS9ja6/C82ep+L+17v8tg2Dd+n0GKQ7VhrXEYQbv8u8awrGi6ChvvULiW6p pw== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 30r7f5uy0s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 May 2020 20:37:29 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 041KZ5Qx045761; Fri, 1 May 2020 20:37:28 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 30r7fbx327-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 01 May 2020 20:37:28 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 041KbRNM005351; Fri, 1 May 2020 20:37:27 GMT MIME-Version: 1.0 Message-ID: <6d293120-4949-4899-be6c-66709d6ce7bd@default> Date: Fri, 1 May 2020 13:37:26 -0700 (PDT) From: Drew Adams References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4993.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9608 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005010148 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9608 signatures=668687 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 mlxlogscore=999 clxscore=1011 phishscore=0 impostorscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005010148 X-Spam-Score: -2.3 (--) 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 (---) > Other problem, and this is likely just unfamiliarity, but if you do > desktop-save it asks you where to save it. If you do desktop-read, it > doesn't ask. Docs say (desktop-read &optional DIRNAME) but that's not > exposed interactively that I can see. FWIW, and just in case it helps - `desktop-read' is poorly designed, IMHO. Or at least some other read-a-desktop function should be available. desktop.el uses a desktop file to save state, and it reads a desktop file to restore state. But the desktop UI does not provide any function (let alone a command) for reading a desktop file by providing its file name. (That's unusual for Emacs, BTW.) I remedied this long ago for library Bookmark+, by adding command `bmkp-desktop-read`, which does take a desktop file name as argument. This is important for Bookmark+, as it lets you easily create bookmarks to restore any number of desktops, with their files located anywhere (including multiple files in the same directory). But it should be important more generally for Emacs, IMO. The current (and original) design of desktop.el assumes, in effect, that you have at most one desktop file per directory. And it therefore bases its UI on the current directory, not on an arbitrarily located desktop file. IOW, the UI design does not really fit the functional design, in the sense that a desktop _file_ is what is needed. In reality, a desktop file can be anywhere, but nothing in the UI suggests or supports that. If you care about this (and I know it's not directly related to the problem you reported) then you can always copy the code for `bmkp-desktop-read` and use that. There's really nothing in its definition that is particularly bookmark-oriented, so it can trivially be adapted for general use. https://www.emacswiki.org/emacs/BookmarkPlus