From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: master 4b488a2: Fix generate-new-buffer-name increment typo
Date: Sun, 01 May 2016 01:50:54 +0200 [thread overview]
Message-ID: <87zisa3bc1.fsf@gnus.org> (raw)
In-Reply-To: <E1aweRj-0001kL-9X@vcs.savannah.gnu.org> (Paul Eggert's message of "Sat, 30 Apr 2016 23:37:11 +0000")
Paul Eggert <eggert@cs.ucla.edu> writes:
> - sprintf (number, "<%"pD"d>", count));
> + sprintf (number, "<%"pD"d>", ++count));
I think you did it the opposite way. :-)
Now
(get-buffer-create (generate-new-buffer-name "foo"))
gives me
#<buffer foo>
#<buffer foo<2>>
#<buffer foo<4>>
#<buffer foo<6>>
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next parent reply other threads:[~2016-04-30 23:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160430233711.6675.73116@vcs.savannah.gnu.org>
[not found] ` <E1aweRj-0001kL-9X@vcs.savannah.gnu.org>
2016-04-30 23:50 ` Lars Ingebrigtsen [this message]
2016-05-01 0:53 ` master 4b488a2: Fix generate-new-buffer-name increment typo Paul Eggert
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=87zisa3bc1.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@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.
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.