all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: master 4b488a2: Fix generate-new-buffer-name increment typo
       [not found] ` <E1aweRj-0001kL-9X@vcs.savannah.gnu.org>
@ 2016-04-30 23:50   ` Lars Ingebrigtsen
  2016-05-01  0:53     ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 23:50 UTC (permalink / raw)
  To: emacs-devel; +Cc: Paul Eggert

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



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

* Re: master 4b488a2: Fix generate-new-buffer-name increment typo
  2016-04-30 23:50   ` master 4b488a2: Fix generate-new-buffer-name increment typo Lars Ingebrigtsen
@ 2016-05-01  0:53     ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2016-05-01  0:53 UTC (permalink / raw)
  To: Lars Ingebrigtsen, emacs-devel

Lars Ingebrigtsen wrote:
> #<buffer foo>
> #<buffer foo<2>>
> #<buffer foo<4>>
> #<buffer foo<6>>

What, you don't like bleeding-edge Emacs generating buffers twice as fast as
before?  :-)

Anyway, it should be fixed now. Sorry about the glitches.



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

end of thread, other threads:[~2016-05-01  0:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20160430233711.6675.73116@vcs.savannah.gnu.org>
     [not found] ` <E1aweRj-0001kL-9X@vcs.savannah.gnu.org>
2016-04-30 23:50   ` master 4b488a2: Fix generate-new-buffer-name increment typo Lars Ingebrigtsen
2016-05-01  0:53     ` Paul Eggert

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.