From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: desktop-read usage and syntax ::error, strange character Date: Tue, 18 Jul 2017 15:29:39 -0400 Message-ID: <9bb76a5b-e28b-1c17-e51a-e6b6c925e8d5@mousecar.com> References: <6b820ba4-770c-1d87-7b4c-a582f1830dbb@mousecar.com> <87r2xdishp.fsf@skimble.plus.com> Reply-To: gebser@mousecar.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1500406219 5003 195.159.176.226 (18 Jul 2017 19:30:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2017 19:30:19 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 18 21:30:14 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXYCD-0000oY-FN for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jul 2017 21:30:13 +0200 Original-Received: from localhost ([::1]:58255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXYCH-0002FA-Ka for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jul 2017 15:30:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXYBt-0002F4-Bt for help-gnu-emacs@gnu.org; Tue, 18 Jul 2017 15:29:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXYBq-0001ge-5Y for help-gnu-emacs@gnu.org; Tue, 18 Jul 2017 15:29:53 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:59997) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXYBp-0001g8-TK for help-gnu-emacs@gnu.org; Tue, 18 Jul 2017 15:29:50 -0400 Original-Received: from nv.mousecar.net ([96.27.75.237]) by mrelay.perfora.net (mreueus003 [74.208.5.2]) with ESMTPSA (Nemesis) id 0LkiZ8-1e5n0o2nJs-00aXVt for ; Tue, 18 Jul 2017 21:29:46 +0200 In-Reply-To: <87r2xdishp.fsf@skimble.plus.com> Content-Language: en-US X-Provags-ID: V03:K0:CapSaaEC6yjK1Z9M//DYqqRcMhTTeQYemUUDbrFVYXjgBrOdN4b Mo1zOgcV+LpwbuI/7lk+nrh433N33rtnKDMi+Pgg3HspP5IOCToIsS8GhpaleW6e40OoKEF mIP462QznXkJHnhCtPS3Ip4iOK3W1MkYmIYKO9lh8ZYtqT1HFz09Um1PvWLZqAs3f5qmFle 57n1AAVkNUuTEmbaTwxFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:LpAQJsw1XVQ=:GUf55gvGvfL48C/94KbDUy 6O/1asGSSIWC/fkQ8u3UM0YUHifO124YIhu4I45feln2lkUbsFXo53nb5XyNZJRKIT/bx23ha 1MkxAjspQz+XJUqY1OrZ8K32xoPVveSc2pWXBD6ZVMBgYudtKVQpJ8Y8m2zeJxexSzFjsvRju PVxv0UE4AqMXfk6lL9qT8YjSexoLZl1kFXRNxK09IUMU24FzS2SmvQ0oJ03fabtCsk0NHK24e /258tCyCWsAxvZ8D06QBbgor9ZocoZi5NvRrVX2wR+oLMRya2y0oRvJ6DEJYrekqQlL2rsc2j c/r7CYsZerle2EhLIYsN0M47r52ERrvEnMZRK2kmFs6856Vl2uBuVcv6PXgUyBgBBWSY8J9+j 8/AUW0pw97MCYbiIbE2WPn0XVmY5DeEvyW2fr20RHimT8Ioke4xVa2Mu5AgE9ekMYIY1t7kjk 30X/8EMq1hW2Jb/pKX1b2SxP27WD33R6beZwbUwW55iW0d+FNhZ7Bqge3tsT98SNR++S1aPjd SJKc4PliV1ftr83HYJEeG0bbTJAJZk3W+y8esXQoMEEf4Hh9JcjdvjaolrW3M6IlShP9rHHiB P3Ai+ChyACShXUeD84f++iDMIXPdDpN7ExMkxfNVgOPm9oxJkrxOmqxK+CpjnmbdyW8WW7zrU e8xm6njtRLP8chxpC0QuveTVS9JNGQ/GTQumnt2Kv+YnoxT7p5AQ6Oa9aQKCenQ0bjLcyVHQV Hlm7bvu6VuIdumwOHtJgen6ZnLaNYq0j4wvB/rNQvar2qpkhzckAf8Fgy8Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.208.4.196 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113781 Archived-At: On 07/18/2017 01:07 PM, Sharon Kimble wrote: > ken writes: > >> For some reason, when booting after a crash, the desktop isn't loaded; that is, the files which were >> loaded in the previous (crashed) session aren't loaded again. I suspected this was due to >> "~/.emacs/.emacs.desktop.lock", so I deleted it. Then I close emacs and start it again, but still >> the desktop isn't loaded. >> >> So then I try to load it by hand, ie, I run "M-x desktop-read"... this yields the error: >> "eval-buffer: Symbol's value as variable is void: Î". Yes, the last character is a capital "I" with >> a carot above it. If, from the "*scratch*" buffer I run (desktop-read "/home/user/.emacs.d/"), I >> get exactly the same error message. >> >> Anyone know what's going on? > I've had the same problem too, and the only thing that I can do is to > restore my buffers from memory. I use tabbar so its a bit easier as I > have tabs grouped by the major mode that they're using. > > I also back up my 'emacs.desktop' every night at 1800, along with my > config file and my theme too, so its always possible for me to import > any of these files if the original one gets corrupted. > > Thanks > Sharon. Sharon, thanks for your reply. There's a lot there though which I'm not understanding. For instance, what do you meanfur that you 'restore them from memory'? And what is tabbar...? and what are tabs? I also backup my ".emacs.desktop", but just by hand at times that feel appropriate. Maybe I should use a cron job like you do. A cludge I've used in the past to restore my desktop was simple: in emacs I created a macro which searched out the next filename in ~/.emacs.d/.emacs.desktop and then simply did "C-f 5" on it. Because the focus was on the new window/frame, I then had to "Ctrl-Tab" back to the first window/frame and run the macro again for the next filename. Not very streamlined. Also, I lose the last-known location of the cursor in each file opened this way. Does anyone know which number (or whatever) in the stanzas in ~/.emacs.d/.emacs.desktop which represents the point in the buffer of the file? Thanks to any and all with further clues.