emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#13951: closed ([PATCH] desktop mode corrupts resto


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13951: closed ([PATCH] desktop mode corrupts restored registers)
Date: Tue, 26 Mar 2013 03:42:01 +0000

Your message dated Mon, 25 Mar 2013 23:39:22 -0400
with message-id <address@hidden>
and subject line Re: bug#13951: [PATCH] desktop mode corrupts restored registers
has caused the debbugs.gnu.org bug report #13951,
regarding [PATCH] desktop mode corrupts restored registers
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
13951: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13951
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] desktop mode corrupts restored registers Date: Wed, 13 Mar 2013 21:31:45 -0700 (PDT)
Put in your init.el just (desktop-save-mode 1)
Delete your .emacs.desktop if you already have one.

Start Emacs 24.3, open any file foo, then do point-to-register, and use 
register a. Leave foo open, and open any file bar in the same window so foo is 
no longer displayed, then do point-to-register, and use register b. Leave bar 
open, and open any file baz in the same window. Then do list-registers, and you 
get the right thing: register a points to foo, and b to bar.

Then close Emacs, answer yes to save the desktop, then start Emacs again. Do 
list-registers. Register b has the right position but the wrong buffer (baz), 
and register a either has the same problem (if the position was different from 
the position of b) or has a marker in no buffer (if the position happened to be 
the same as the position of b). The bug is caused by trying to convert the 
saved buffer name to a buffer before the buffer itself has been recreated after 
restarting Emacs.

The attached desktopregisterbug.patch fixes it.

Attachment: desktopregisterbug.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#13951: [PATCH] desktop mode corrupts restored registers Date: Mon, 25 Mar 2013 23:39:22 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
> The attached desktopregisterbug.patch fixes it.

Thanks.  I installed a related patch I had pending which makes this
change along with a more intrusive change of how v2s works.


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]