bug-gnu-emacs
[Top][All Lists]
Advanced

[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 16:51:01 +0900

In article <4C63A621.7020101@swipnet.se>, Jan Djärv <jan.h.d@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@m17n.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]