GNU bug report logs - #6774
Cut and paste with C-w/mouse-2 not working?

Previous Next

Package: emacs;

Reported by: Angelo Graziosi <angelo.graziosi <at> alice.it>

Date: Sun, 1 Aug 2010 22:04:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #163 received at 6774 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> m17n.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: cyd <at> stupidchicken.com, monnier <at> iro.umontreal.ca, 6774 <at> debbugs.gnu.org,
	angelo.graziosi <at> alice.it
Subject: Re: bug#6774: Cut and paste with C-w/mouse-2 not working?
Date: Thu, 12 Aug 2010 16:51:01 +0900
In article <4C63A621.7020101 <at> swipnet.se>, Jan Djärv <jan.h.d <at> swipnet.se> writes:

> Kenichi Handa skrev 2010-08-12 05.54:
> > 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);
> >

> Don't you have to check that point != mark also?

Yes, of course.  The above code is just an example.

---
Kenichi Handa
handa <at> m17n.org




This bug report was last modified 14 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.