all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob <bob.spamnot@gmail.com>
To: emacs-devel@gnu.org
Subject: mouse-yank-at-point in Comint modes
Date: Thu, 11 Sep 2008 15:37:39 -0600	[thread overview]
Message-ID: <760710620809111437m29314548g9255bbb27c8bb275@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

The simple fix described in this email:

http://www.nabble.com/mouse-yank-at-point-in-Comint-modes-td7731895.html

never got applied to the trunk.  Thus the problem of yanks not honoring
mouse-yank-at-point is still present in comint mode.  Is it possible that it
could be applied?  Here is an updated version of the patch:

--- emacs/lisp/comint.el    2008-09-08 14:46:43.000000000 -0600
+++ emacs-080908/lisp/comint.el    2008-09-11 15:24:11.000000000 -0600
@@ -815,7 +815,7 @@
 If there is no previous input at point, run the command specified
 by the global keymap (usually `mouse-yank-at-point')."
   (interactive "e")
-  (mouse-set-point event)
+  (unless mouse-yank-at-point (mouse-set-point event))
   (let ((pos (posn-point (event-end event)))
     field input)
     (with-selected-window (posn-window (event-end event))

Thanks,
Bob

[-- Attachment #2: Type: text/html, Size: 1160 bytes --]

             reply	other threads:[~2008-09-11 21:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-11 21:37 Bob [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-14 23:59 mouse-yank-at-point in Comint modes Bob Nnamtrop
2009-12-01 20:34 ` Stefan Monnier
2009-12-02  0:30   ` Bob Nnamtrop
2006-12-07  1:16 JD Smith
2006-12-09 18:22 ` Chong Yidong
2007-01-24 18:32 ` Bob Portmann

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=760710620809111437m29314548g9255bbb27c8bb275@mail.gmail.com \
    --to=bob.spamnot@gmail.com \
    --cc=emacs-devel@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.