unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer...
@ 2022-02-20 21:38 Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-02-21 14:17 ` Lars Ingebrigtsen
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-02-20 21:38 UTC (permalink / raw)
  To: 54081

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

 Currently, pressing the key combination Ctrl-b only states Beginning of buffer. But new users could benefit from also knowing quickly which buffer they are currently editing, so perhaps a phrase like: Beginning of buffer <buffername.extension>, such as: Beginning of buffer mygreatnovel.org could be more helpful to novices?

Just a suggestion,
All the best.

Halcek


[-- Attachment #2: Type: text/html, Size: 664 bytes --]

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

* bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer...
  2022-02-20 21:38 bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-02-21 14:17 ` Lars Ingebrigtsen
  2022-02-21 16:34 ` bug#54081: [External] : " Drew Adams
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-21 14:17 UTC (permalink / raw)
  To: Marek Ľach; +Cc: 54081

Marek Ľach <halcek@tutanota.com> writes:

> Currently, pressing the key combination Ctrl-b only states Beginning of buffer. But
> new users could benefit from also knowing quickly which buffer they are currently
> editing, so perhaps a phrase like: Beginning of buffer <buffername.extension>,
> such as: Beginning of buffer mygreatnovel.org could be more helpful to novices?

We have lots of commands that signal errors like this, and I feel like
adding the buffer name to all of them could just be adding more
cognitive load to the user.  So I don't think we should do this, and I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#54081: [External] : bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer...
  2022-02-20 21:38 bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-02-21 14:17 ` Lars Ingebrigtsen
@ 2022-02-21 16:34 ` Drew Adams
  2022-02-22  5:13 ` Richard Stallman
  2022-02-22 16:03 ` bug#54081: Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
  3 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2022-02-21 16:34 UTC (permalink / raw)
  To: Marek Ľach, 54081@debbugs.gnu.org

> ... only states Beginning of buffer.
> But new users could benefit from also knowing quickly
> which buffer they are currently editing, so perhaps a
> phrase like: Beginning of buffer <buffername.extension>,
> such as: Beginning of buffer mygreatnovel.org could be
> more helpful to novices?

Yes.  See also bug #48798.

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=48798

Unfortunately closed as won't-fix, with the
reason given as "it's distracting, not useful 
information."

Such info can help, and not just novices.
At a minimum, it doesn't hurt.  Which buffer
is current is not always obvious, even when
one might think it is.

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

* bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer...
  2022-02-20 21:38 bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-02-21 14:17 ` Lars Ingebrigtsen
  2022-02-21 16:34 ` bug#54081: [External] : " Drew Adams
@ 2022-02-22  5:13 ` Richard Stallman
  2022-02-22 16:03 ` bug#54081: Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
  3 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2022-02-22  5:13 UTC (permalink / raw)
  To: Marek Ľach; +Cc: 54081

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

   > Currently, pressing the key combination Ctrl-b only states Beginning of buffer. But new users could benefit from also knowing quickly which buffer they are currently editing, so perhaps a phrase like: Beginning of buffer <buffername.extension>, such as: Beginning of buffer mygreatnovel.org could be more helpful to novices?

Is this really a significant problem for beginners?
Do they really get lost in that way?

Normally the buffer name appears in the mode line, which (in simple
cases) is just above the error message.  If you split the window, the mode
line of the selected window will not be so close to the error message;
but at that point you're probably not such a beginner any more.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







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

* bug#54081:
  2022-02-20 21:38 bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
                   ` (2 preceding siblings ...)
  2022-02-22  5:13 ` Richard Stallman
@ 2022-02-22 16:03 ` Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
  3 siblings, 0 replies; 5+ messages in thread
From: Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-02-22 16:03 UTC (permalink / raw)
  To: 54081

[-- Attachment #1: Type: text/plain, Size: 1040 bytes --]

I should clarify, that I do not consider this a very important issue really, but rather a nice-to-have.

It is more of a suggestion for when the name of the buffer doesn’t yet appear in the MODE line, because it hasn’t been saved yet for example (like if a document is being created in a persistant buffer first, but not yet saved...) 
Which makes me think that I should have formulated the suggestion quite a bit better at the start: 

If hitting C-b Beggining of buffer, state it the buffer is not named too, like: Beggining of buffer. <Unknown name>. If the buffer is already saved/named, then perhaps state something like: Beginning of buffer. Saved as: mygreatnovel.org <http://mygreatnovel.org>

As such this functionality wouldn’t be for displaying the name of the buffer per-se, but for displaying the name of the buffer (or perhaps even informing the user about the lack of thereof?), only when certain actions with that buffer are performed, like saving/mamina, renaming/changing extension/switching mode etc...

[-- Attachment #2: Type: text/html, Size: 7425 bytes --]

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

end of thread, other threads:[~2022-02-22 16:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-20 21:38 bug#54081: Hitting C-b should not only say Begging of buffer, but also the name of the buffer Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-02-21 14:17 ` Lars Ingebrigtsen
2022-02-21 16:34 ` bug#54081: [External] : " Drew Adams
2022-02-22  5:13 ` Richard Stallman
2022-02-22 16:03 ` bug#54081: Marek Ľach via Bug reports for GNU Emacs, the Swiss army knife of text editors

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