all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: Copy/paste issue.
Date: Tue, 29 May 2012 01:36:59 +0000 (UTC)	[thread overview]
Message-ID: <jq197r$1pj$3@reader1.panix.com> (raw)
In-Reply-To: mailman.730.1336372071.855.help-gnu-emacs@gnu.org

In article <mailman.730.1336372071.855.help-gnu-emacs@gnu.org>,
Drew Adams <drew.adams@oracle.com> wrote:
>> Now, I'd never hear do delete-selection-mode, so I did a C-h f on it:
>> 
>> Question: what are some of the uses of this mode?  Maybe name 
>> 2 or 3 uses, so I can understand if it's something I should get
>> familiar with.
>
>`delete-selection-mode' is quite similar to what you are (probably) used to
>outside of Emacs: after you select text, what you type replaces the selection.
>And Backspace deletes it.  (To cancel selection, hit `C-g'.)
>
>>From (emacs) `Using Region':
>
>,----
>|    By default, text insertion occurs normally even if the mark is
>| active--for example, typing `a' inserts the character `a', then
>| deactivates the mark.  If you enable Delete Selection mode, a minor
>| mode, then inserting text while the mark is active causes the text in
>| the region to be deleted first.  To toggle Delete Selection mode on or
>| off, type `M-x delete-selection-mode'.
>`----
>
>[IMHO, `delete-selection-mode' should be the default behavior for Emacs.  It
>took a couple decades to get even `transient-mark-mode' accepted as the default.
>(`transient-mark-mode' is a like a neutered `delete-selection-mode'.)  Perhaps
>in a couple more decades `delete-selection-mode' will be accepted. ;-)]
>
>

Thanks!

I'll have to try it -- see if I like it.

One question to make it totally clear.  Without that mode turned on,
how would I accomplish the same thing?  That is, end up with the
same result.

Then maybe, why it's better done WITH the mode.

(Hey, you've already done enough.  Don't answer this unless you want to.
Thanks!)

David




  parent reply	other threads:[~2012-05-29  1:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-31  8:46 Copy/paste issue "Jérôme M. Berger"
2012-03-31  8:51 ` "Jérôme M. Berger"
2012-03-31  9:49   ` Peter Dyballa
2012-03-31 10:24     ` "Jérôme M. Berger"
2012-03-31 10:34   ` Eli Zaretskii
2012-03-31 13:47 ` XeCycle
2012-03-31 15:14   ` Drew Adams
2012-04-01  7:59   ` "Jérôme M. Berger"
     [not found] ` <mailman.189.1333201685.20052.help-gnu-emacs@gnu.org>
2012-05-07  4:19   ` David Combs
2012-05-07  6:27     ` Drew Adams
2012-05-07  7:52     ` Yaoyuan
     [not found]     ` <mailman.730.1336372071.855.help-gnu-emacs@gnu.org>
2012-05-29  1:36       ` David Combs [this message]
     [not found]     ` <mailman.731.1336377127.855.help-gnu-emacs@gnu.org>
2012-05-29  1:40       ` David Combs
2012-05-29 13:53         ` Barry Margolin
  -- strict thread matches above, loose matches on Subject: below --
2012-03-31 15:44 Silvio Levy
2012-03-31 16:03 ` Drew Adams
2012-03-31 16:15 ` Peter Dyballa
     [not found] ` <mailman.205.1333209850.20052.help-gnu-emacs@gnu.org>
2012-05-07  4:46   ` David Combs
2012-05-07  6:09     ` Vladimir Murzin

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='jq197r$1pj$3@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --cc=help-gnu-emacs@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.