Re: customizing double click

2005-08-14 Thread Rajneesh Hegde
> When I rebind [double-down-mouse-1] to my > function, it gets executed on a double click (from the double-down > event) but the subsequent double-mouse-1 (click) event doesn't have > its usual selection effect. ok, I've resolved this issue: (defun my-LaTeX-forward-search (event) "Set point to t

Re: customizing double click

2005-08-13 Thread Rajneesh Hegde
> Does the following excerpt from the ELisp manual help you understand > the issue? yeah, I think I understand that part, but can't figure out why my customizing isn't working. When I rebind [double-down-mouse-1] to my function, it gets executed on a double click (from the double-down event) but t

Re: customizing double click

2005-08-13 Thread Eli Zaretskii
> Date: Fri, 12 Aug 2005 20:11:32 -0400 > From: Rajneesh Hegde <[EMAIL PROTECTED]> > > Then I bind as follows: > (define-key LaTeX-mode-map [double-down-mouse-1] 'my-LaTeX-forward-search) > > The problem is that on double-clicking on a word-constituent > character, the double-down event runs the

customizing double click

2005-08-12 Thread Rajneesh Hegde
hi, In LaTeX mode (AUCTeX), I want double-click to have the usual selection effect when the click is on a word-constituent character, but otherwise do a forward-search (i.e. invoke the dvi viewer). I wrote the following function for doing the latter: (defun my-LaTeX-forward-search (event) "Set p