unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: "Pascal J. Bourguignon" <pjb@informatimago.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs: Problems of the Scratch Buffer
Date: Sat, 21 Apr 2012 20:45:14 +0530	[thread overview]
Message-ID: <81hawdm7zx.fsf@gmail.com> (raw)
In-Reply-To: <87vcktgmsc.fsf@kuiper.lan.informatimago.com> (Pascal J. Bourguignon's message of "Sat, 21 Apr 2012 16:52:19 +0200")

"Pascal J. Bourguignon" <pjb@informatimago.com> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
>> Arguing that *scratch* should be removed entirely is a non-starter,
>> since a non-negligible portion of users find it useful, but I
>> sincerely don't see why reasonable people would want that, if we can
>> find less extreme ways of getting it out of the way of those who don't
>> need it.
>
> Actually, it's the first time I ever heard something against the
> *scratch* buffer.  But on the contrary, I've myself implemented a M-x
> scratch command and I've seen several other people asking or
> implementing it themselve, to recreate a *scratch* buffer when it has
> been accidentally killed.

M-x emacs-lock-mode RET

Increasingly, I am feeling the need for multiple scratch buffers.  By
default, my scratch buffer is in emacs-lisp mode.  Some times, I switch
that scratch buffer to Org-mode when I create lists, tables or just
copy-paste some plain text from interwebs purely for reasons of
wrapping/filling.

1. Allow multiple scratch buffers one for each mode the user is
   interested in.  The defcustom can have a solitary text-mode entry.  A
   user wanting no scratch buffer at all can null-ify the mode list.  A
   user like me can add emacs-lisp-mode and org-mode to it.

2. Just in case I need a one-off scratch buffer, I need a quick way to
   create it without having to think of (or type) out the full name Or
   confirm my intentions (This latter part is *very* annoying).  

      C-u C-x b can offer to create *scratch-%s* (or %s-scratch) in
      %s-mode.

3. I think it is not the scratch buffer that is idiosyncratic but the
   /name/.  Instead of using scratch one could call it say a notes
   buffer or a temp buffer.

That said I am happy with the way things are.  I know how to kill my
scratch buffer and I also know how to create multiple ones if needed.  I
also know how to type 'y' if prompted :-).
-- 



  reply	other threads:[~2012-04-21 15:15 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 12:00 Emacs: Problems of the Scratch Buffer Xah Lee
2012-04-18 12:31 ` Joe Corneli
2012-04-18 16:57 ` Steinar Bang
2012-04-18 17:33   ` Ludwig, Mark
2012-04-18 18:15     ` Juanma Barranquero
2012-04-18 18:16       ` Juanma Barranquero
2012-04-19 21:08     ` Steinar Bang
     [not found]   ` <mailman.169.1334770417.751.help-gnu-emacs@gnu.org>
2012-04-18 21:11     ` Chiron
2012-04-18 23:56       ` Ludwig, Mark
2012-04-19 10:34         ` Tassilo Horn
2012-04-18 17:01 ` Mark Skilbeck
2012-04-18 19:33 ` Aaron Meurer
2012-04-18 20:22   ` Deniz Dogan
2012-04-19  5:55     ` Kevin Rodgers
2012-04-19  5:58   ` Kevin Rodgers
2012-04-19 20:47 ` Bug Dout
2012-04-19 21:11   ` Chiron
2012-04-19 22:41     ` Ludwig, Mark
     [not found]     ` <mailman.260.1334875302.751.help-gnu-emacs@gnu.org>
2012-04-20  3:27       ` Pascal J. Bourguignon
2012-04-20  3:53         ` Aaron Meurer
2012-04-20 11:08     ` Fritz Wuehler
2012-04-20 11:48     ` Richard Riley
     [not found]     ` <mailman.304.1334922534.751.help-gnu-emacs@gnu.org>
2012-04-21  3:53       ` Chiron
2012-04-21  8:16         ` Joost Kremers
2012-04-21 12:43           ` Chiron
2012-04-21 12:47             ` Jambunathan K
2012-04-21 14:10             ` Eli Zaretskii
     [not found]             ` <mailman.373.1335012467.751.help-gnu-emacs@gnu.org>
2012-04-21 14:42               ` Chiron
2012-04-21 14:49                 ` Joe Corneli
     [not found]                 ` <mailman.381.1335019797.751.help-gnu-emacs@gnu.org>
2012-04-21 15:04                   ` Chiron
     [not found]             ` <mailman.379.1335017454.751.help-gnu-emacs@gnu.org>
2012-04-21 14:46               ` Chiron
2012-04-21 15:34                 ` Eli Zaretskii
2012-04-21 16:15                 ` Dan Espen
2012-04-21 16:58                   ` Chiron
     [not found]                 ` <mailman.389.1335022448.751.help-gnu-emacs@gnu.org>
2012-04-21 16:32                   ` Chiron
2012-04-21 16:52                     ` Eli Zaretskii
     [not found]                     ` <mailman.396.1335027140.751.help-gnu-emacs@gnu.org>
2012-04-21 17:09                       ` Chiron
2012-04-21 17:36                     ` Dan Espen
2012-04-21 23:01                     ` Bastien
2012-04-23 11:52             ` Joost Kremers
2012-04-24  7:40               ` rusi
2012-04-24 11:35                 ` Richard Riley
2012-04-24 13:44                   ` ken
2012-04-25 10:39                     ` Thien-Thi Nguyen
2012-04-25 12:41                       ` ken
2012-04-25 21:51                       ` Jambunathan K
     [not found]                       ` <mailman.42.1335390728.855.help-gnu-emacs@gnu.org>
2012-04-26 17:25                         ` rusi
2012-04-26 17:48                           ` Bastien
     [not found]                     ` <mailman.619.1335350542.751.help-gnu-emacs@gnu.org>
2012-04-26 19:08                       ` Xah Lee
2012-04-24 14:33                 ` Dan Espen
2012-04-24 18:40                   ` PJ Weisberg
2012-04-21  8:36         ` Thien-Thi Nguyen
2012-04-21  9:48           ` Joe Corneli
     [not found]         ` <mailman.362.1334997514.751.help-gnu-emacs@gnu.org>
2012-04-21 12:35           ` Chiron
2012-04-21 13:31             ` Pascal J. Bourguignon
2012-04-21 15:01               ` Chiron
2012-04-21 14:07             ` Eli Zaretskii
     [not found]             ` <mailman.378.1335017298.751.help-gnu-emacs@gnu.org>
2012-04-21 14:52               ` Pascal J. Bourguignon
2012-04-21 15:15                 ` Jambunathan K [this message]
2012-04-21 16:03                   ` Jambunathan K
2012-04-21 14:59               ` Chiron
2012-04-21 15:35                 ` Eli Zaretskii
     [not found]                 ` <mailman.390.1335022565.751.help-gnu-emacs@gnu.org>
2012-04-21 16:47                   ` Chiron
2012-04-21 17:07             ` Thien-Thi Nguyen
     [not found]             ` <mailman.398.1335028190.751.help-gnu-emacs@gnu.org>
2012-04-21 17:14               ` Chiron
2012-04-21 17:47                 ` Juanma Barranquero
     [not found]                 ` <mailman.401.1335030473.751.help-gnu-emacs@gnu.org>
2012-04-21 18:03                   ` Chiron
2012-04-21 21:34             ` Jason Earl
2012-04-21 14:39         ` Stefan Monnier
2012-04-21 15:03           ` Chiron
2012-04-20 11:31 ` Martin
2012-04-21  3:14 ` Stefan Monnier
2012-04-21  3:25   ` Dan Espen
2012-04-21 14:38     ` Stefan Monnier
2012-04-21 16:08       ` Dan Espen
2012-04-21 16:50         ` Chiron
2012-04-21 17:30           ` Dan Espen
2012-04-21 22:13             ` Ludwig, Mark
2012-04-22 10:00           ` Petter Gustad
2012-04-22 10:27             ` Richard Riley
2012-06-12 19:25             ` Nikolai Alekseev
2012-06-12 19:24         ` Nikolai Alekseev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81hawdm7zx.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pjb@informatimago.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).