unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Bob Nnamtrop <bobnnamtrop@gmail.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: 9810@debbugs.gnu.org
Subject: bug#9810: cw in viper mode clobbers clipboard
Date: Thu, 20 Oct 2011 11:09:58 -0600	[thread overview]
Message-ID: <CAKV0tLO_V7hKiOU2RY-YYBW9kYHY_f5KoP=K=uODe+btqX2pyg@mail.gmail.com> (raw)
In-Reply-To: <CANbX367MTAnC1MX=tRqKAGu5gOsVV3=Nj23-U2eFYZ1PmcPwaw@mail.gmail.com>

On Thu, Oct 20, 2011 at 10:58 AM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> On Thu, Oct 20, 2011 at 18:48, Bob Nnamtrop <bobnnamtrop@gmail.com> wrote:
>>
>> The point I make is that 'cw'
>> should not alter any of the selections (primary, clipboard, etc).
>
> Doing just 'cw' in viper actually deletes the word in the buffer so
> putting it on the clipboard is the expected behavior.
>

Well, I do not know if that is true or not from a technical
standpoint. But from the user perspective the word is not deleted
until you type some new text or hit <esc>. Right after typing cw the
word is still displayed and it is hi-lighted. So I would not say it is
deleted. There is no advantage to the user to clobber the selection
that that point, since they may want to use what was previously in
there.

I just tried what I originally describe in a terminal window (ie
starting from emacs -Q -nw) and it works as I expect. The previously
selected selection is pasted in to the hi-lighted word after typing
cw. Just like it all previous versions of emacs (terminal or not).

Bob





  reply	other threads:[~2011-10-20 17:09 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20 16:18 bug#9810: cw in viper mode clobbers clipboard Bob Nnamtrop
2011-10-20 16:25 ` Lennart Borgman
2011-10-20 16:44   ` Bob Nnamtrop
2011-10-20 16:48     ` Lennart Borgman
2011-10-20 16:57       ` Bob Nnamtrop
2011-10-20 18:46         ` Stefan Monnier
2011-10-20 20:28           ` Bob Nnamtrop
2011-10-20 20:32             ` Lennart Borgman
2011-10-20 21:31             ` Stefan Monnier
2011-10-20 22:12               ` Bob Nnamtrop
2011-10-20 22:38                 ` Bob Nnamtrop
2011-10-21  3:06                   ` Stefan Monnier
2011-10-21  3:05                 ` Stefan Monnier
2011-10-29  5:37             ` Chong Yidong
2011-10-29 15:26               ` Bob Nnamtrop
2011-10-30  3:39                 ` Chong Yidong
2011-10-20 20:57           ` Bob Nnamtrop
2011-10-20 21:03             ` Lennart Borgman
2011-10-20 16:58     ` Eli Zaretskii
2011-10-20 17:12       ` Bob Nnamtrop
2011-10-20 16:27 ` Eli Zaretskii
2011-10-20 16:48   ` Bob Nnamtrop
2011-10-20 16:58     ` Lennart Borgman
2011-10-20 17:09       ` Bob Nnamtrop [this message]
2011-10-20 17:16         ` Eli Zaretskii

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='CAKV0tLO_V7hKiOU2RY-YYBW9kYHY_f5KoP=K=uODe+btqX2pyg@mail.gmail.com' \
    --to=bobnnamtrop@gmail.com \
    --cc=9810@debbugs.gnu.org \
    --cc=lennart.borgman@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.
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).