unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Cc: alinsoar@voila.fr, herberteuler@hotmail.com, emacs-devel@gnu.org
Subject: Re: select and META key
Date: Sun, 01 Apr 2007 10:00:09 -0400	[thread overview]
Message-ID: <E1HY0bJ-0006ti-Ab@fencepost.gnu.org> (raw)
In-Reply-To: <BAY143-F22344C039C13ED81C59A1ADA6D0@phx.gbl> (herberteuler@hotmail.com)

Would someone please check this for correctness?
If it is correct, please install it.
Then please report and ack.

(From herberteuler.)

*** mouse.el.~1.241.8.44.~	2007-03-19 09:11:41.000000000 +0800
--- mouse.el	2007-03-28 11:26:41.000000000 +0800
***************
*** 1522,1528 ****
      (with-current-buffer (window-buffer (posn-window posn))
        (if (numberp (posn-point posn))
  	  (setq beg (posn-point posn)))
!       (move-overlay mouse-secondary-overlay beg (posn-point end)))))

  (defun mouse-drag-secondary (start-event)
    "Set the secondary selection to the text that the mouse is dragged over.
--- 1522,1532 ----
      (with-current-buffer (window-buffer (posn-window posn))
        (if (numberp (posn-point posn))
  	  (setq beg (posn-point posn)))
!       (move-overlay mouse-secondary-overlay beg (posn-point end))
!       (x-set-selection
!        'SECONDARY
!        (buffer-substring (overlay-start mouse-secondary-overlay)
! 			 (overlay-end mouse-secondary-overlay))))))

  (defun mouse-drag-secondary (start-event)
    "Set the secondary selection to the text that the mouse is dragged over.

  reply	other threads:[~2007-04-01 14:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <23544965.637781174907413197.JavaMail.www@wwinf4004>
2007-03-26 11:23 ` select and META key Herbert Euler
2007-03-26 11:32   ` Herbert Euler
2007-03-28  3:46   ` Herbert Euler
2007-04-01 14:00     ` Richard Stallman [this message]
2007-04-01 17:45       ` Chong Yidong
2007-03-26 11:58 A Soare

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=E1HY0bJ-0006ti-Ab@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=alinsoar@voila.fr \
    --cc=emacs-devel@gnu.org \
    --cc=herberteuler@hotmail.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).