all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
	emacs-devel@gnu.org, rms@gnu.org, 7260@debbugs.gnu.org
Subject: bug#7260: 24.0.50; DEL screwed up
Date: Sat, 23 Oct 2010 13:54:16 -0400	[thread overview]
Message-ID: <m3aam4bxr3.fsf__22747.6542503156$1287858383$gmane$org@jhcloos.com> (raw)
In-Reply-To: <m3fwvwbz1s.fsf@jhcloos.com> (James Cloos's message of "Sat, 23 Oct 2010 13:26:15 -0400")

[I see my followup got truncated; trying again. -JimC]

>>>>> "JD" == Jan Djarv <jan.h.d@swipnet.se> writes:

JD> FWIW, I often mark a region with the mouse and press DEL to delete it.
JD> It is a habit picked up from other programs.  But then again, I
JD> enabled delsel a long time ago, so I'm used to that behaviour.

Perhaps what would kill :^) the controversy would be a dwim version,
kill-or-delete, which would add the region to the kill buffer if it
is big enough, but not bother if it is small.  Using that for DEL &
C-d may cover both camps' wants.

The C-u prefix arg could invert the choice, in case you really want
to delete a huge region or want to cut-n-paste a small one.

AISI, it would only be useful when the region is active.  C-d should
continue to delete just the single character to the (logical) right
when the region is not active.

Acting based on whether any input events occurred between activating
the region and pressing C-d or DEL may be a reasonable alternative.
In that case, those two keys would only kill if used immediately
after activating the region.

I find that I almost never want to delete (rather than kill) a region.
But only /almost/ never.

I could deal with <activate-region> C-u C-d deleting the region.  But
unless the region is small enough to retype quickly and easily, it would
be painful for C-d on its own to delete the region.

-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6





  reply	other threads:[~2010-10-23 17:54 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4.1287666765.3734.bug-gnu-emacs@gnu.org>
2010-10-21 17:21 ` bug#7260: 24.0.50; DEL screwed up Lars Magne Ingebrigtsen
2010-10-21 18:19   ` Lennart Borgman
2010-10-21 18:26     ` Lars Magne Ingebrigtsen
2010-10-21 18:45   ` Drew Adams
2010-10-21 18:45   ` Drew Adams
2010-10-22 12:22     ` Richard Stallman
2010-10-22 12:22     ` Richard Stallman
2010-10-22 13:52       ` Lars Magne Ingebrigtsen
2010-10-22 15:04         ` Andreas Schwab
2010-10-22 15:04         ` Andreas Schwab
2010-10-22 15:49           ` Miles Bader
2010-10-22 15:49           ` Miles Bader
2010-10-22 16:45             ` David Kastrup
2010-10-22 15:47         ` Miles Bader
2010-10-22 15:47         ` Miles Bader
2010-10-22 16:10           ` Lars Magne Ingebrigtsen
2010-10-21 12:53             ` Richard Stallman
2010-10-22 16:44               ` David Kastrup
2012-02-19  6:09               ` Chong Yidong
2010-10-22 16:42             ` Andreas Schwab
2010-10-22 16:45               ` Lars Magne Ingebrigtsen
2010-10-22 16:45               ` Lars Magne Ingebrigtsen
2010-10-22 18:24                 ` Eli Zaretskii
2010-10-22 18:32                   ` Lars Magne Ingebrigtsen
2010-10-22 18:55                     ` Andreas Röhler
2010-10-22 19:01                     ` Eli Zaretskii
2010-10-23  4:36                     ` Stephen J. Turnbull
2010-10-23  7:05                       ` David Kastrup
2010-10-23 12:53                         ` Stephen J. Turnbull
2010-10-22 18:24                 ` Eli Zaretskii
2010-10-22 16:42             ` Andreas Schwab
2010-10-23  7:46         ` Richard Stallman
2010-10-23  7:46         ` Richard Stallman
2010-10-23  7:46         ` Richard Stallman
2010-10-23  7:46         ` Richard Stallman
2010-10-23  9:38           ` Jan Djärv
2010-10-23  9:38           ` Jan Djärv
2010-10-23 17:26             ` James Cloos
2010-10-23 17:54               ` James Cloos [this message]
2010-10-23 17:54               ` James Cloos
2010-10-24  7:04                 ` David Kastrup
2010-10-23 17:26             ` James Cloos
2010-10-24 16:30           ` Chong Yidong
2010-10-25 12:08             ` Richard Stallman
2010-10-25 12:08             ` Richard Stallman
2010-10-24 16:30           ` Chong Yidong
2010-10-23 11:18         ` Bastien
2010-10-23 11:18         ` Bastien
2010-10-23 14:21           ` David Kastrup
2010-10-23 16:09             ` Lars Magne Ingebrigtsen
2010-10-23 16:09             ` Lars Magne Ingebrigtsen
2010-10-22 13:52       ` Lars Magne Ingebrigtsen
2010-10-22 14:31       ` Helmut Eller
2010-10-22 15:17         ` Jason Rumney
2010-10-22 17:06           ` Andreas Röhler
2010-10-23  4:25             ` Stephen J. Turnbull
2010-10-21 19:39   ` Chong Yidong
     [not found]   ` <mailman.8.1287690197.32629.bug-gnu-emacs@gnu.org>
2010-10-21 20:01     ` Lars Magne Ingebrigtsen
2010-10-21 20:16       ` Chong Yidong
2010-10-21 20:30         ` Lars Magne Ingebrigtsen
2010-10-21 20:30         ` Lars Magne Ingebrigtsen

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='m3aam4bxr3.fsf__22747.6542503156$1287858383$gmane$org@jhcloos.com' \
    --to=cloos@jhcloos.com \
    --cc=7260@debbugs.gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=larsi@gnus.org \
    --cc=rms@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.