unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
Subject: delete-char deletes marked text sometimes and sometimes not
Date: Tue, 30 Aug 2005 14:59:47 +0200	[thread overview]
Message-ID: <uvf1nvav0.fsf@gmail.com> (raw)


Try this in CVS Emacs:

 $ emacs-22-xyz -q

Type some text and mark it by temporarily activating
transient-mark-mode (C-SPC C-SPC). Press C-d (delete-char). This does
nothing to the text, which was expected (at least for a long-time
Emacs-user... :)

Now type some more text and this time mark the text using the
mouse. Now press C-d again. Voila! Text deleted!

What is this magic? Some "stuff" in the text properties, or what?

/Mathias

             reply	other threads:[~2005-08-30 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-30 12:59 Mathias Dahl [this message]
2005-08-31 13:00 ` delete-char deletes marked text sometimes and sometimes not rgb
2005-09-01 10:56   ` Mathias Dahl
2005-09-05 18:11     ` Stefan Monnier

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=uvf1nvav0.fsf@gmail.com \
    --to=brakjoller@gmail.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).