all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Reftex -> mouse-1 on TOC entries
@ 2005-11-17 16:24 David Reitter
  0 siblings, 0 replies; 2+ messages in thread
From: David Reitter @ 2005-11-17 16:24 UTC (permalink / raw)


When showing the RefTeX table of contents, I can select a heading to  
jump to.
Unfortunately, I don't have a mouse-2 button, and I'm used to jumping  
to links with mouse-1.

I have set mouse-1-follows-link to t. Shouldn't the RefTeX table  
respect that?

Is there a customization that allows me to set something like the  
above option in RefTeX?

Thanks
- D

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

* Re: Reftex -> mouse-1 on TOC entries
       [not found] <mailman.15653.1132244661.20277.help-gnu-emacs@gnu.org>
@ 2005-11-25 22:46 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2005-11-25 22:46 UTC (permalink / raw)


David Reitter <david.reitter@gmail.com> writes:

> When showing the RefTeX table of contents, I can select a heading to
> jump to.
> Unfortunately, I don't have a mouse-2 button, and I'm used to jumping
> to links with mouse-1.
>
> I have set mouse-1-follows-link to t. Shouldn't the RefTeX table
> respect that?
>
> Is there a customization that allows me to set something like the
> above option in RefTeX?

Try applying this patch, and setting `reftex-highlight-selection' to
`both'.

*** emacs/lisp/textmodes/reftex-toc.el.~1.30.~	2005-09-21 22:24:28.000000000 -0400
--- emacs/lisp/textmodes/reftex-toc.el	2005-11-25 17:37:08.000000000 -0500
***************
*** 1012,1017 ****
--- 1012,1019 ----
  (define-key reftex-toc-map (if (featurep 'xemacs) [(button2)] [(mouse-2)])
    'reftex-toc-mouse-goto-line-and-hide)
  
+ (define-key reftex-toc-map [follow-link] 'mouse-face)
+ 
  (substitute-key-definition
   'next-line 'reftex-toc-next reftex-toc-map global-map)
  (substitute-key-definition

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

end of thread, other threads:[~2005-11-25 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.15653.1132244661.20277.help-gnu-emacs@gnu.org>
2005-11-25 22:46 ` Reftex -> mouse-1 on TOC entries Chong Yidong
2005-11-17 16:24 David Reitter

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.