all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "José A. Romero L." <escherdragon@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Does gnu emacs have the equivalent of Xemacs mouse-track-insert
Date: Fri, 12 Mar 2010 06:25:28 -0800 (PST)	[thread overview]
Message-ID: <b0a12b11-853b-47aa-bed9-19a9f7c750d3@e7g2000yqf.googlegroups.com> (raw)
In-Reply-To: ea096658-368e-445b-9163-65ee99d7f245@g28g2000yqh.googlegroups.com

On 12 Mar, 13:59, asac <asafi...@gmail.com> wrote:
(...)
> 1. the  (setq mouse-yank-at-point t) effect remains permanent for the
> buffer and then I can no more paste with middle-button at a pointed
> location. This means I need to left click first to have the cursor
> where I want to paste the text, then middle click.

I guess you could set it only for the secondary selection with some
elisp:

(defun asac/yank-secondary-at-point (click)
  (interactive "e")
  (let ((mouse-yank-at-point t))
    (mouse-yank-secondary click)))

(define-key global-map (kbd "<M-mouse-2>") 'asac/yank-secondary-at-
point)

> 2. On my linux host, somehow (keyboard shortcut settings?), so the M-
> leftclick selects the window that I am working on, so when sliding,
> the window is getting moved instead of selcting the text on which I
> slide the mouse.

It's working OK here (i.e.  M-click does not change the window). What
version of emacs are you using?

> 3. So I tested with ESC-leftclick and this partially works when emacs
> is invoked with -nw, but it does not work in the window based.
(...)

Strange. Sorry, no idea what's  wrong with your installment. At least
I can  tell you mine  seems to be  working correctly, so try  to play
around with your settings.

Cheers,
--
José A. Romero L.
escherdragon at gmail
"The opposite of war is not peace -- it's creation." (Jonathan Larson)


  reply	other threads:[~2010-03-12 14:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 10:10 Does gnu emacs have the equivalent of Xemacs mouse-track-insert asac
2010-03-12 10:31 ` José A. Romero L.
2010-03-12 10:51   ` Jianguang ZUO
2010-03-12 12:59   ` asac
2010-03-12 14:25     ` José A. Romero L. [this message]
2010-03-12 15:13       ` harven
2010-03-12 23:21         ` Tim X
2010-03-15  9:50           ` asac
2010-04-12  5:17           ` David Combs
2010-04-12 16:17             ` Stefan Monnier
2010-04-22 11:51               ` David Combs
2010-04-14  1:00             ` Tim X

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b0a12b11-853b-47aa-bed9-19a9f7c750d3@e7g2000yqf.googlegroups.com \
    --to=escherdragon@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.