unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: chad <yandros@MIT.EDU>
To: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
Cc: Emacs devel <emacs-devel@gnu.org>
Subject: Re: draft for DEL key poll
Date: Thu, 29 Sep 2011 17:04:30 -0700	[thread overview]
Message-ID: <3B5A1AFD-3139-4B15-B6AE-E6A29B2E217F@mit.edu> (raw)
In-Reply-To: <CALa-7vztuCO63XkTeAL3f+E3hx3n00kQ9Bm8qZcwh2i0bo1mMA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1607 bytes --]

On Sep 29, 2011, at 4:17 PM, Andrew W. Nosenko wrote:
> On Thu, Sep 29, 2011 at 20:56, chad <yandros@mit.edu> wrote:
>> On Sep 29, 2011, at 3:49 AM, Richard Stallman wrote:
>>> 
>>> Perhaps because you wanted to go to the other side of it with C-x C-x,
>>> is the usual reason in my case. […]
>> 
>> […] The C-x C-x case happens to me also, but rarely, and I find that
>> `C-x C-x C-x C-x' is comfortable enough in those cases.

> How repeating C-x C-x helps you to deactivate region (and thus help it
> to survive after DEL)?  In my case it still to be activated regardless
> on the amount of "C-x C-x" repeatings.

My apologies; I was still using some experimental code that deactivated
the region on any C-x C-x but the first (as a side-effect to allowing a prefix
arg to toggle transient-mark-mode). Mea culpa.

> About "rarely": do you understand that now, with current defaults, it
> is only one way to safe using DEL in the macro -- explicitly mark the
> intended to be deleted character by region and only then delete it?
> Otherwise there my occur already activated region and you will delete
> not the single character but the whole half of buffer.  Just by
> occasion and the Murphy Law.

I assume that you mean keyboard macro here, yes?  This usage had not 
occurred to me, as I use elisp far more often than keyboard macros, and
don't use macros for destructive things like DEL.  Perhaps this is why the 
new code works on delete-char-forward and delete-char-backward but 
explicitly not delete-char?  (I admit that I was puzzled by that choice.)

*Chad





[-- Attachment #2: Type: text/html, Size: 2658 bytes --]

  reply	other threads:[~2011-09-30  0:04 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26  3:57 Emacs pretest 24.0.90 Chong Yidong
2011-09-26  4:46 ` Leo
2011-09-26 18:43   ` Chong Yidong
2011-09-26 23:21     ` Leo
2011-09-26  7:43 ` Eli Zaretskii
2011-09-26  8:23   ` Glenn Morris
2011-09-26 23:05   ` Juanma Barranquero
2011-09-26 11:12 ` Neal Becker
2011-09-26 11:36   ` Eli Zaretskii
2011-10-13  4:50     ` Kevin Rodgers
2011-10-13  8:58       ` Eli Zaretskii
2011-09-26 16:53 ` Lars Magne Ingebrigtsen
2011-09-26 17:14   ` Eli Zaretskii
2011-09-26 17:39     ` Lars Magne Ingebrigtsen
2011-09-26 18:50       ` Chong Yidong
2011-09-26 17:07 ` Bastien
2011-09-26 17:26 ` Rasmus
2011-09-26 21:12 ` draft for DEL key poll Richard Stallman
2011-09-26 21:38   ` Karl Fogel
2011-09-26 22:02     ` Kim F. Storm
2011-09-27  6:30       ` Stefan Reichör
2011-09-27 16:34       ` Richard Stallman
2011-09-28 22:48         ` Kim F. Storm
2011-09-29  2:53           ` Stefan Monnier
2011-09-30  3:42             ` Richard Stallman
2011-09-27 16:34     ` Richard Stallman
2011-09-26 22:38   ` disable delete-selection-mode? (was: Re: draft for DEL key poll) chad
2011-09-26 23:10     ` disable delete-selection-mode? Glenn Morris
2011-09-27 16:34     ` disable delete-selection-mode? (was: Re: draft for DEL key poll) Richard Stallman
2011-09-27  0:08   ` draft for DEL key poll Juri Linkov
2011-09-27 16:34     ` Richard Stallman
2011-09-27  0:52   ` Chong Yidong
2011-09-27 16:34     ` Richard Stallman
2011-09-27 18:49     ` James Cloos
2011-09-28  7:54     ` Alan Mackenzie
2011-09-28  8:26       ` Tassilo Horn
2011-09-28  9:53         ` Lennart Borgman
2011-09-28 17:44       ` chad
2011-09-29 10:49         ` Richard Stallman
2011-09-29 17:56           ` chad
2011-09-29 23:17             ` Andrew W. Nosenko
2011-09-30  0:04               ` chad [this message]
2011-09-30 21:03             ` Richard Stallman
2011-09-30 21:22               ` Eli Zaretskii
2011-10-01  6:03                 ` Andreas Röhler
2011-09-27  0:59   ` Chong Yidong
2011-09-27 16:34     ` Richard Stallman
2011-09-26 23:00 ` Emacs pretest 24.0.90 Ota, Takaaki
2011-09-26 23:58   ` Glenn Morris
2011-09-27  0:30     ` Ota, Takaaki
2011-10-01  0:22 ` Drew Adams
2011-10-03 16:11   ` Drew Adams
2011-10-03 22:56     ` Christoph Scholtes
2011-10-03 23:42       ` Drew Adams
2011-10-03 23:43         ` Christoph Scholtes
2011-10-12 10:18     ` Dani Moncayo
2011-10-12 10:25       ` Eli Zaretskii
2011-10-12 11:28         ` Dani Moncayo
2011-10-12 11:37           ` Juanma Barranquero
2011-10-12 12:07             ` Dani Moncayo
2011-10-12 12:18               ` Juanma Barranquero
2011-10-12 12:27                 ` Dani Moncayo
2011-10-12 12:29                   ` Juanma Barranquero
2011-10-12 12:31                     ` Dani Moncayo
2011-10-12 13:19                     ` Eli Zaretskii
2011-10-12 19:46                       ` Juanma Barranquero
2011-10-12 12:20               ` Eli Zaretskii
2011-10-12 12:46                 ` Stefan Monnier
2011-10-12 13:16                   ` Eli Zaretskii
2011-10-12 12:17           ` Eli Zaretskii
2011-10-12 12:52         ` Christoph Scholtes
2011-10-12 13:20           ` Eli Zaretskii
2011-10-12 14:21         ` Dave Abrahams
2011-10-12 14:48           ` Eli Zaretskii
2011-10-12 11:27       ` Dani Moncayo
2011-10-12 13:48       ` Drew Adams
2011-10-12 14:02         ` Dani Moncayo
2011-10-13  1:54         ` Christoph Scholtes
2011-10-13  3:33           ` Stefan Monnier
2011-10-13  4:04             ` Christoph Scholtes
2011-10-13 16:15             ` Chong Yidong
2011-10-13 22:54               ` Christoph Scholtes
2011-10-15  1:32                 ` Christoph Scholtes
2011-10-13 14:17           ` Drew Adams
2011-10-18 17:15             ` Drew Adams
2011-10-18 23:34               ` Christoph Scholtes
2011-10-18 23:55                 ` Drew Adams
2011-10-13 14:28           ` Dani Moncayo
2011-10-13 14:49             ` Juanma Barranquero
2011-10-07 19:25 ` nabil-82
2011-10-08  6:20   ` Eli Zaretskii
2011-10-08 16:38     ` nabil-82
2011-10-09  4:00       ` Eli Zaretskii
2011-10-09 13:02         ` nabil-82
2011-10-09 17:04           ` Eli Zaretskii
2011-10-11  1:39       ` Kenichi Handa
2011-10-12 13:04         ` nabil-82
2011-10-12 15:54           ` Eli Zaretskii
2011-10-12 16:58             ` nabil-82
2011-10-13  8:55               ` Eli Zaretskii
2011-10-08 21:01     ` Glenn Morris

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=3B5A1AFD-3139-4B15-B6AE-E6A29B2E217F@mit.edu \
    --to=yandros@mit.edu \
    --cc=andrew.w.nosenko@gmail.com \
    --cc=emacs-devel@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 public inbox

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

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).