all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* reftex-mouse-view-crossref: change point?
@ 2007-12-15 12:08 David Reitter
  2007-12-16  7:49 ` Ralf Angeli
  0 siblings, 1 reply; 4+ messages in thread
From: David Reitter @ 2007-12-15 12:08 UTC (permalink / raw)
  To: emacs- devel

Should functions like `reftex-mouse-view-crossref' really change the  
point?
This is isn't documented to do so, and in other GUIs, right (or shift- 
clicking) somewhere doesn't set the point either.


*** lisp/textmodes/reftex-dcr.el	25 Jul 2007 05:22:08 +0100	1.28.2.1
--- lisp/textmodes/reftex-dcr.el	15 Dec 2007 12:05:06 +0000	
***************
*** 231,238 ****
   If there is no such macro at point, search forward to find one.
   With argument, actually select the window showing the cross  
reference."
     (interactive "e")
!   (mouse-set-point ev)
!   (reftex-view-crossref current-prefix-arg))

   (defun reftex-view-crossref-when-idle ()
     ;; Display info about crossref at point in echo area or a window.
--- 231,239 ----
   If there is no such macro at point, search forward to find one.
   With argument, actually select the window showing the cross  
reference."
     (interactive "e")
!   (save-excursion
!     (mouse-set-point ev)
!     (reftex-view-crossref current-prefix-arg)))

   (defun reftex-view-crossref-when-idle ()
     ;; Display info about crossref at point in echo area or a window.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-21  0:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-15 12:08 reftex-mouse-view-crossref: change point? David Reitter
2007-12-16  7:49 ` Ralf Angeli
2007-12-16 19:19   ` David Reitter
2007-12-21  0:07   ` Stefan Monnier

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.