From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, Martin Fischer <parozusa@web.de>,
emacs-devel@gnu.org
Subject: Re: 22.1.90; desktop-save throws (error "No buffer named <uniquified buffername>")
Date: Thu, 28 Feb 2008 00:00:57 +0100 [thread overview]
Message-ID: <f7ccd24b0802271500o56996683nd94096df858eaeae@mail.gmail.com> (raw)
In-Reply-To: <jwvejayav23.fsf-monnier+emacs@gnu.org>
On Wed, Feb 27, 2008 at 11:37 PM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
> No, the whole point of the function is to provide a meaningful
> functionality independently from desktop.el.
As there are no other users, we don't know if it is more useful and
general to return nil for empty basenames or to return "".
> Exactly: *to desktop* this is so, but not in general, so the test
> belongs in desktop.el.
There are no general uses of `uniquify-buffer-base-name'. There is no
general definition of a "base name", it is an internal thing of
uniquify; so it is up to us to decide whether an empty basename is a
base name at all or not. For the moment being, the only user (desktop)
is cleaner if an empty basename and no basename at all are equivalent.
Juanma
next prev parent reply other threads:[~2008-02-27 23:00 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-06 16:12 22.1.90; desktop-save throws (error "No buffer named <uniquified buffername>") Martin Fischer
2008-02-07 0:23 ` Juanma Barranquero
2008-02-08 16:59 ` Juanma Barranquero
2008-02-08 18:30 ` Stefan Monnier
2008-02-08 19:00 ` Juanma Barranquero
2008-02-08 21:17 ` Stefan Monnier
2008-02-12 0:44 ` Juanma Barranquero
2008-02-12 3:39 ` Stefan Monnier
2008-02-12 4:15 ` Juanma Barranquero
2008-02-27 12:43 ` Martin Fischer
2008-02-27 12:48 ` Juanma Barranquero
2008-02-27 16:28 ` Juanma Barranquero
2008-02-27 21:18 ` Stefan Monnier
2008-02-27 22:17 ` Juanma Barranquero
2008-02-27 22:37 ` Stefan Monnier
2008-02-27 23:00 ` Juanma Barranquero [this message]
2008-02-28 1:54 ` Stefan Monnier
2008-02-28 9:14 ` Juanma Barranquero
2008-02-28 17:09 ` Stefan Monnier
2008-02-28 13:27 ` Martin Fischer
2008-02-28 16:29 ` Juanma Barranquero
2008-02-29 10:07 ` Martin Fischer
2008-02-29 10:49 ` Juanma Barranquero
2008-02-29 13:17 ` Martin Fischer
2008-02-29 14:24 ` Juanma Barranquero
2008-02-29 14:48 ` Jason Rumney
2008-02-29 15:03 ` Juanma Barranquero
2008-02-29 15:16 ` Lennart Borgman (gmail)
2008-02-29 15:19 ` Juanma Barranquero
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0802271500o56996683nd94096df858eaeae@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=emacs-pretest-bug@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=parozusa@web.de \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.