unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* strange generate-new-buffer-name behaviour
@ 2010-12-11 19:26 Alin Soare
  2010-12-11 20:06 ` Ken Raeburn
  0 siblings, 1 reply; 4+ messages in thread
From: Alin Soare @ 2010-12-11 19:26 UTC (permalink / raw)
  To: Emacs Dev

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

I discovered an error while reading the info page for generating a name for
an unexisting buffer :

In 27.3 Buffer Names I see written so:

          (generate-new-buffer-name "foo")
               => "foo<5>"
          (generate-new-buffer-name "foo" "foo<3>")
               => "foo<3>"
          (generate-new-buffer-name "foo" "foo<6>")
               => "foo<5>"

However, for me all these forms evaluate to "foo"

Did I miss something, or is this an error concerning the second parameter?



Alin

[-- Attachment #2: Type: text/html, Size: 769 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-12  2:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-11 19:26 strange generate-new-buffer-name behaviour Alin Soare
2010-12-11 20:06 ` Ken Raeburn
2010-12-11 22:53   ` Alin Soare
2010-12-12  2:46     ` Ken Raeburn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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