all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Davis Herring" <herring@lanl.gov>
To: "David House" <dmhouse@gmail.com>
Cc: David Reitter <david.reitter@gmail.com>,
	Jason Rumney <jasonr@gnu.org>, emacs- devel <emacs-devel@gnu.org>
Subject: Re: *scratch* buffer (was: A wish, a plea)
Date: Thu, 28 Jun 2007 08:04:12 -0700 (PDT)	[thread overview]
Message-ID: <34567.128.165.123.18.1183043052.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <18051.34351.186659.816457@gargle.gargle.HOWL>

>  > There are no keys bound to delete-region by default, and in standard
> Emacs
>  > normal keys like DEL and backspace do not destroy the region under any
>  > circumstances.  We'd need something more reliable than this combo.
>
> It doesn't have to be delete-region, it could be kill-region, which is
> bound to
> C-w.

What we really want here is `erase-buffer', since the point of clearing a
persistent scratch space is not to put its contents somewhere else but
rather to allow it to be used for other things.  And if a prolific user
has written megabytes in *scratch*, putting that both on the undo list and
the kill ring when they really mean for it to be nowhere seems wrong. 
It's not all that important; I just don't want it assumed that
non-standard modes (Transient Mark, Delete Selection, CUA, etc.) obviate
the need for a "true" interface to such a feature.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.

  reply	other threads:[~2007-06-28 15:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-22 10:48 *scratch* buffer (was: A wish, a plea) David Reitter
2007-06-22 11:57 ` Jason Rumney
2007-06-22 14:17   ` David Reitter
2007-06-22 14:58     ` Juanma Barranquero
2007-06-28  1:07     ` Davis Herring
2007-06-28  9:58       ` David House
2007-06-28 15:04         ` Davis Herring [this message]
2007-06-22 21:53 ` Richard Stallman
2007-06-28  1:06 ` Davis Herring
2007-06-29 16:42   ` *scratch* buffer Juri Linkov
2007-07-02 16:16     ` Davis Herring

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

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

  git send-email \
    --in-reply-to=34567.128.165.123.18.1183043052.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=david.reitter@gmail.com \
    --cc=dmhouse@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.