GNU bug report logs - #11298
24.0.95; (WISH) Re-look scratch buffers

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Sat, 21 Apr 2012 15:57:02 UTC

Severity: wishlist

Merged with 1109

Found in version 24.0.95

Done: Jambunathan K <kjambunathan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Jambunathan K <kjambunathan <at> gmail.com>
Cc: 11298 <at> debbugs.gnu.org
Subject: bug#11298: Recipe to surface *code-conversion-work* buffer
Date: Tue, 24 Apr 2012 13:39:25 +0200
>> This is my little excursion in to killing *scratch* (to death?)
>
> Now I am wondering whether:
> 1. *scratch* buffer re-generates itself

It does because Emacs needs at least one buffer it can display.

> 2. Why some buffers like *code-conversion-work* (and other internal
>    buffers like "Minibuf", "Echo Area") gets /surfaced/ in some buffer
>    listings, but totally disappears in the next buffer listing.

Usually they are not displayed because their names start with a space.

> For want of better place to put this, I am attaching it to *scratch*
> buffer bug report.
>
> Read on.
>
> Steps to reproduce:
> ------------------
>
> 1. Emacs -Q
> 2. C-x b TAB gives me
>     ,----
>     | Click <mouse-2> on a completion to select it.
>     | In this buffer, type RET to select the completion near point.
>     |
>     | Possible completions are:
>     | *Messages*
>     `----
> 3. C-g. Now you are in *scratch*
> 4. Kill *scratch* => *Messages* shows up
> 5. Kill *Messages* => *Completions* shows up
> 6. Kill *Completions* => *scratch* shows up
>
>    Now I get confused.  Why does *scratch* show up again. Didn't I kill
>    it before?

Because when you killed the last other buffer whose name didn't start
with a space, *scratch* got regenerated.

> 7. C-x b TAB TAB gets me this
>     ,----
>     | Click <mouse-2> on a completion to select it.
>     | In this buffer, type RET to select the completion near point.
>     |
>     | Possible completions are:
>     |  *Echo Area 0* 	 *Echo Area 1*
>     |  *Minibuf-0* 	 *Minibuf-1*
>     |  *code-conversion-work*
>     `----
>
>    I choose to examine *code-conversion-work*.  The name seems
>    interesting.  This is what I see there when I visit it:
>
>     ,----
>     | c:/Program Files/emacs-24.0.95/lisp/emacs-lisp/easymenu.elc
>     `----
>

Usually, buffers whose names start with a space are not proposed.  But
since you killed all other buffers what do you want Emacs to propose?

> 8. C-x b TAB now shows
>     ,----
>     | Click <mouse-2> on a completion to select it.
>     | In this buffer, type RET to select the completion near point.
>     |
>     | Possible completions are:
>     | *Completions*
>     | *Messages*
>     | *scratch*
>     `----
>
>    Note that special buffers that show up in step 7 has disappeared.

Because these buffer have been recreated in the meantime.

Is there anything bad about the behavior you observed?

martin




This bug report was last modified 11 years and 187 days ago.

Previous Next


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