[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6774: Cut and paste with C-w/mouse-2 not working?
From: |
Kenichi Handa |
Subject: |
bug#6774: Cut and paste with C-w/mouse-2 not working? |
Date: |
Thu, 12 Aug 2010 12:54:05 +0900 |
In article <jwvlj8diok6.fsf-monnier+emacs@gnu.org>, Stefan Monnier
<monnier@iro.umontreal.ca> writes:
> So the C-f (or any other movement) would cause the selection of PRIMARY?
When transient-mark-mode is on (including temporary one), I
think yes.
> That would have to be performed in some kind of post-command-hook, which
> is undesirable.
We can add a proper code to set_point_both like this code in
init_iterator (xdisp.c).
/* Non-zero if we should highlight the region. */
highlight_region_p
= (!NILP (Vtransient_mark_mode)
&& !NILP (current_buffer->mark_active)
&& XMARKER (current_buffer->mark)->buffer != 0);
/* Set IT->region_beg_charpos and IT->region_end_charpos to the
start and end of a visible region in window IT->w. Set both to
-1 to indicate no region. */
if (highlight_region_p
/* Maybe highlight only in selected window. */
&& (/* Either show region everywhere. */
[...]
---
Kenichi Handa
handa@m17n.org
- bug#6774: Cut and paste with C-w/mouse-2 not working?, (continued)
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/09
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/10
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/10
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/10
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/10
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/11
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/11
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/11
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/11
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/11
- bug#6774: Cut and paste with C-w/mouse-2 not working?,
Kenichi Handa <=
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/12
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Kenichi Handa, 2010/08/12
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/12
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Kenichi Handa, 2010/08/12
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/12
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Jan Djärv, 2010/08/12
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/13
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Eli Zaretskii, 2010/08/13
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Kenichi Handa, 2010/08/13
- bug#6774: Cut and paste with C-w/mouse-2 not working?, Stefan Monnier, 2010/08/13