unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: ken <gebser@mousecar.com>
Cc: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: desktop-read usage and syntax ::error, strange character
Date: Wed, 19 Jul 2017 12:11:46 +0100	[thread overview]
Message-ID: <87fudshea5.fsf@skimble.plus.com> (raw)
In-Reply-To: <9bb76a5b-e28b-1c17-e51a-e6b6c925e8d5@mousecar.com> (ken's message of "Tue, 18 Jul 2017 15:29:39 -0400")

[-- Attachment #1: Type: text/plain, Size: 2893 bytes --]

ken <gebser@mousecar.com> writes:

> On 07/18/2017 01:07 PM, Sharon Kimble wrote:
>> ken <gebser@mousecar.com> 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.

Hi Ken, answers in line.

> 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 remember what files I had open before the 'emacs.desktop' corruption
and I then use that memory to help me load them back into emacs. It just
uses brain power and brain memory to tell me what buffers I had open,
and which I therefore need to reload.

Tabbar and tabbar-ruler [fn:1] help you by having each buffers title
shown in tabs at the top of the emacs buffer. These tabs are similar to
the tabs you can find in most internet browsers, think firefox,
chromium, Vivaldi, etc. You can move very easily between them by using
your mouse, or perhaps keyboard but I'm not sure of that. Anyway, every
buffer is a tab, and tabs are grouped together dependant on their major
mode. So all elisp buffers are grouped together, and ditto with
org-mode, etc. Both programs are available from ELPA, and if you're
still using your mouse then they're very worthwhile.

>
> 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.

Its saved my bacon on several occasions! I can recommend it </advert end> :)

Thanks
Sharon.

[fn:1] http://github.com/mlf176f2/tabbar-ruler.el
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.9

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-07-19 11:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18 15:46 desktop-read usage and syntax ::error, strange character ken
2017-07-18 17:07 ` Sharon Kimble
2017-07-18 19:29   ` ken
2017-07-19 11:11     ` Sharon Kimble [this message]
2017-07-20 20:51       ` ken
2017-07-21  8:18         ` Sharon Kimble
2017-07-18 19:59 ` John Mastro
2017-07-18 21:10   ` desktop-read usage and syntax ::error, strange character :: half-SOLVED!!! ken
2017-07-19  6:46     ` Yuri Khan
2017-07-20 22:36       ` ken
2017-07-20 23:00         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fudshea5.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=gebser@mousecar.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).