[Top][All Lists]

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

Re: 22.1.90; desktop-save throws (error "No buffer named <uniquified buf

From: Stefan Monnier
Subject: Re: 22.1.90; desktop-save throws (error "No buffer named <uniquified buffername>")
Date: Fri, 08 Feb 2008 16:17:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> The original problem was that desktop.el saved the uniquified names,
> so afterwards (in subsequent invocations of Emacs) the names were
> "uniquified" but not really managed by uniquify. You started with A/C
> and B/C, saved, reloaded, deleted A/C and still had B/C (instead of
> just C).


> The cleanest fix would be to admit that the info list should have both
> the buffer name and the base name. But that means bumping up the
> version of the desktop file.

Actually, any use of the "base name" will be uniquify-specific as well,
so I'll still say "Yuck!".

But I guess it's difficult to avoid it.  But instead of using uniquify
internal data such as uniquify-managed, please change uniquify.el so it
provides the necessary function, e.g. `uniquify-base-name', with an
explanation of why/where it is used/needed.

Indeed for uniquified buffers, you should only [need to] save the
base-name to disk, so there's no need to change the disk representation
of your data.


reply via email to

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