unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem binding mouse-1 to Info-mouse-follow-nearest-node
@ 2011-04-11  9:35 martin rudalics
  2011-04-11  9:46 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: martin rudalics @ 2011-04-11  9:35 UTC (permalink / raw)
  To: emacs-devel

With yesterday's trunk and emacs -Q yanking the following forms into
*scratch*

(setq debug-on-error t)

(add-hook
  'Info-mode-hook
  '(lambda ()
     (define-key Info-mode-map [mouse-1]
       'Info-mouse-follow-nearest-node)))

and evaluating them, firing up Info via C-h i and doing mouse-1
somewhere in the *info* buffer gets me (with a short delay)

Debugger entered--Lisp error: (args-out-of-range 1 1083)
   buffer-substring-no-properties(1 1083)
   deactivate-mark()

This is part of (probably silly) code that used to work from my .emacs
for many years.  Could a knowing soul please tell me what might have
happened here lately?

Thanks in advance, martin


GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
  of 2011-04-10 on NESTOR




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

end of thread, other threads:[~2011-04-11 16:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-11  9:35 Problem binding mouse-1 to Info-mouse-follow-nearest-node martin rudalics
2011-04-11  9:46 ` Eli Zaretskii
2011-04-11 12:36   ` martin rudalics
2011-04-11 13:44     ` Juanma Barranquero
2011-04-11 14:50     ` Eli Zaretskii
2011-04-11 15:53       ` martin rudalics
2011-04-11 16:59         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).