all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <rms@gnu.org>, <6073@debbugs.gnu.org>
Subject: bug#6073: 23.1.50; delete-selection-mode
Date: Sat, 1 May 2010 13:07:05 -0700	[thread overview]
Message-ID: <AB070619FCE049199248699DC61245D3@us.oracle.com> (raw)
In-Reply-To: <E1O8Haa-0002aL-3Z@fencepost.gnu.org>

> I found a reproducible test case for the painful result I mentioned
> before with C-u C-y in Delete Selection mode.
> 
> This Emacs is somewhat old; I have not built a newer one.
> I will try to do so soon.
> 
> I visit the text between the ---- lines (not including them)
> in Fundamental mode, do M-x delete-selection-mode RET to enable it,
> then I go to the blank line after the first paragraph and type
> C-SPC C-u C-n M-w C-x C-x C-u C-y
> and the text does not change.  Apparently C-u C-y deletes
> the region before yanking.
> 
> ----------------------------------------------------------------------
> 
> * ACTA must respect sharing and cooperation: it must do nothing that
>   would hinder the unremunerated noncommercial making, copying,
>   giving, lending, owning, using, transporting, importing or exporting
>   of any objects or works.
> 
> * ACTA must not weasel about what is commercial: no labeling of any
>   noncommercial activities as somehow commercial-like or treating them
>   as if they were commercial.
> 
> * ACTA must not tighten digital handcuffs: it must not hinder any
>   activity in regard to any product on account of its capacity to
>   circumvent technical measures that restrict use of copies of works
>   of authorship.
> ----------------------------------------------------------------------

You probably already know this, but in case you do not: C-x C-x activates the
region. Since it is active, your yank replaces the region text.

If you do C-g after C-x C-x I think you will get the behavior you expected.







  reply	other threads:[~2010-05-01 20:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01 18:38 bug#6073: 23.1.50; delete-selection-mode Richard Stallman
2010-05-01 20:07 ` Drew Adams [this message]
2010-05-02  0:59   ` Stefan Monnier
2010-05-02 18:46   ` Richard Stallman
2011-09-21 19:42     ` 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=AB070619FCE049199248699DC61245D3@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6073@debbugs.gnu.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.