unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Bob Nnamtrop <bobnnamtrop@gmail.com>
Cc: 9810@debbugs.gnu.org
Subject: bug#9810: cw in viper mode clobbers clipboard
Date: Thu, 20 Oct 2011 17:31:07 -0400	[thread overview]
Message-ID: <jwvlisfnyjg.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAKV0tLPwsQBF7FzFNEno2sTDfKA=Pj=BZ5d3CWxfF7j9a2TqWg@mail.gmail.com>

> I like the behavior of select-active-regions when it is set to t.

[ FWIW, I don't. ;-)  ]

> However, I do not consider the selected word when one does 'cw' an
> active region (in the usual emacs sense).

I see.  But technically, it is (i.e. that's how Viper implements it).

> It is a vi construct independent of Emacs active regions and so it
> need not honor the select-active-regions setting.

Of course, Viper could be changed to use some other mechanism, but it is
convenient to use the region for that.  I'm not sure how/if we could let
Viper tell Emacs to ignore select-active-regions for this case.

> I am curious what other long-time viper mode users think about this
> change in behavior (note that I no idea if any of the responders to
> this bug report are viper users or not).

I don't use Viper myself, so I'll let others handle this part.


        Stefan





  parent reply	other threads:[~2011-10-20 21:31 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 [this message]
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
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=jwvlisfnyjg.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=9810@debbugs.gnu.org \
    --cc=bobnnamtrop@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).