unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66890: 29.1; buffer-size should also accept the buffer's name as string argument
@ 2023-11-01 16:31 Daniel Nagy
  2023-11-02  6:32 ` Eli Zaretskii
  0 siblings, 1 reply; 13+ messages in thread
From: Daniel Nagy @ 2023-11-01 16:31 UTC (permalink / raw)
  To: 66890

Hello,

The current signature of #'buffer-size is:

    (buffer-size &optional BUFFER)

It can only handle actual buffer objects as the argument. Could it be
made to accept the buffer name as a string as well? So that it's
signature would become:

    (buffer-size &optional BUFFER-OR-NAME)

Other functions, like #'get-buffer already do this.

Thanks,
--
Daniel Nagy





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

end of thread, other threads:[~2023-11-05 23:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-01 16:31 bug#66890: 29.1; buffer-size should also accept the buffer's name as string argument Daniel Nagy
2023-11-02  6:32 ` Eli Zaretskii
2023-11-02 19:38   ` Stefan Kangas
2023-11-02 20:55     ` Daniel Nagy
2023-11-03 13:38       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-04  0:21         ` Stefan Kangas
2023-11-04  6:03           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-04 10:43             ` Stefan Kangas
2023-11-04 20:57         ` Daniel Nagy
2023-11-04 22:12           ` Drew Adams
2023-11-05  5:35           ` Eli Zaretskii
2023-11-05 23:02           ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
     [not found]     ` <87bkcbzy6c.fsf@posteo.de>
2023-11-03  6:46       ` Eli Zaretskii

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