all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: weber <hugows@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Selection not to be copied into kill-ring
Date: Thu, 12 Jul 2007 12:29:56 -0000	[thread overview]
Message-ID: <1184243396.738117.77850@r34g2000hsd.googlegroups.com> (raw)
In-Reply-To: <5fmk5pF3bo3fbU1@mid.individual.net>

On 12 jul, 09:14, Will <schimpan...@gmx.de> wrote:
> Hi,
>
> I'd like to copy text from external applications (e.g. web browser) to
> an Emacs buffer. Often before I paste the text into an Emacs buffer I'd
> like to delete text in the this buffer _without_ it being copied to the
> kill-ring, because then the text from the external application gets lost.
>
> => How do I switch off that hightlighted text is copied automatially
> into the kill-ring?
> => How do I delete a region without it getting copied into the
> kill-ring, e.g. by highlighting the text and pressing <delete>?
>
> Thanks in advance,
>
> Will
>
> PS: I am working with
> GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE
> with MS Windows XP.

There is another command, delete-region, that doesn't copy to the kill
ring.
You could bind it to delete like this:

(define-key global-map (kbd "<delete>")    'delete-region)

HTH,
weber

  reply	other threads:[~2007-07-12 12:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-12 12:14 Selection not to be copied into kill-ring Will
2007-07-12 12:29 ` weber [this message]
2007-07-12 12:53 ` Eli Zaretskii
2007-07-12 15:21 ` Peter Dyballa
     [not found] ` <mailman.3386.1184244752.32220.help-gnu-emacs@gnu.org>
2007-07-12 20:31   ` Saving the selection before killing (was: Selection not to be copied into kill-ring) Stefan Monnier
2007-07-12 20:45     ` Saving the selection before killing David Kastrup
2007-07-12 20:45     ` David Kastrup
2007-07-13  7:23     ` Will
2007-07-13 18:38     ` Saving the selection before killing (was: Selection not to be copied into kill-ring) Richard Stallman
2007-07-13 19:11       ` Saving the selection before killing Stefan Monnier
2007-07-14 18:00         ` Richard Stallman
2007-07-15 22:54           ` Juri Linkov
2007-07-17  3:34             ` Richard Stallman
2007-07-17  8:21               ` David Kastrup
2007-07-18  4:41                 ` Richard Stallman
2007-07-18  5:44                   ` David Kastrup
2007-07-18  9:28                     ` Jan Djärv
2007-07-18 20:53                     ` Richard Stallman
2007-07-18 21:05                       ` David Kastrup
2007-07-18  9:24                   ` Jan Djärv
2007-07-18  9:21                 ` Jan Djärv
2007-07-18 18:34                   ` Stefan Monnier
2007-07-19  7:35                     ` Jan Djärv
2007-07-19 17:15                       ` Stefan Monnier
2007-07-20  6:27                         ` Jan Djärv
2007-07-20 15:59                           ` Stefan Monnier
2007-07-20 16:50                             ` Jan Djärv
2007-07-21 16:54                               ` Richard Stallman
2007-07-21 16:54                             ` Richard Stallman
2007-07-21  4:51                           ` Richard Stallman
2007-07-21  9:22                             ` Jan Djärv
2007-07-19  4:25                   ` Richard Stallman
2007-07-19  7:44                     ` Jan Djärv
2007-07-19 21:21                       ` Richard Stallman
2007-07-20  6:33                         ` Jan Djärv
2007-07-21  4:51                           ` Richard Stallman
2007-07-21  9:28                             ` Jan Djärv
2007-07-22  1:49                               ` Richard Stallman
2007-07-22  7:55                                 ` Jan Djärv
2007-07-22 18:37                                   ` Richard Stallman
2007-07-22 20:32                                     ` Jan Djärv
2007-07-12 20:31   ` Saving the selection before killing (was: Selection not to be copied into kill-ring) 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1184243396.738117.77850@r34g2000hsd.googlegroups.com \
    --to=hugows@gmail.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.