From: Glenn Morris <rgm@gnu.org>
To: Chaitanya Koparkar <ckoparkar@live.in>
Cc: Paul Eggert <eggert@cs.ucla.edu>, 23394@debbugs.gnu.org
Subject: bug#23394: generate-new-buffer-name behaviour changed
Date: Fri, 29 Apr 2016 18:46:43 -0400 [thread overview]
Message-ID: <xa1t5orq24.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <SNT150-W391FD9F1126F686B586CABB9650@phx.gbl> (Chaitanya Koparkar's message of "Thu, 28 Apr 2016 06:24:08 -0500")
Chaitanya Koparkar wrote:
> Steps to reproduce:
> * Start emacs and open a buffer named "*scratch*"
> * Run `(generate-new-buffer-name "*scratch*")`
> * The expected return value is "*scratch*<2>" but instead it returns
> "*scratch*<1>"
> I'm guessing, this commit introduced it,
> https://github.com/emacs-mirror/emacs/commit/b4c7869e5e1bb0bb33379b25ff830e721761a7bf.
> Note the `++count` vs just `count`.
Looks to me like you are right.
generate-new-buffer-name is documented to start from <2>, not <1>.
Paul, please could you take a look?
next prev parent reply other threads:[~2016-04-29 22:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-28 11:24 bug#23394: generate-new-buffer-name behaviour changed Chaitanya Koparkar
2016-04-29 22:46 ` Glenn Morris [this message]
2016-04-30 23:38 ` Paul Eggert
2016-05-01 5:54 ` Chaitanya Koparkar
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=xa1t5orq24.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=23394@debbugs.gnu.org \
--cc=ckoparkar@live.in \
--cc=eggert@cs.ucla.edu \
/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.