GNU bug report logs - #66890
29.1; buffer-size should also accept the buffer's name as string argument

Previous Next

Package: emacs;

Reported by: Daniel Nagy <danielnagy <at> posteo.de>

Date: Thu, 2 Nov 2023 05:54:02 UTC

Severity: wishlist

Tags: moreinfo

Found in version 29.1

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 66890 <at> debbugs.gnu.org, Daniel Nagy <danielnagy <at> posteo.de>
Subject: bug#66890: 29.1; buffer-size should also accept the buffer's name as string argument
Date: Sat, 4 Nov 2023 03:43:26 -0700
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> Maybe we should just "de-emphasize" the fact that those functions also
>>> accept strings, and instead insist that you have to go through
>>> `get-buffer` (or `get-buffer-create`).  If that sounds vague and you
>>> don't know what that would mean concretely, well.. you're not alone :-)
>> Perhaps we could recommend against abusing it in `(elisp) Tips'.
>
> It's not as strong a "de-emphasize" as I was picturing, but yes,
> that counts.

Feel free to propose other things we could do.  I just proposed the
first one that came to mind.  :-)




This bug report was last modified 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.