unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Problem binding mouse-1 to Info-mouse-follow-nearest-node
Date: Mon, 11 Apr 2011 11:35:51 +0200	[thread overview]
Message-ID: <4DA2CB77.805@gmx.at> (raw)

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




             reply	other threads:[~2011-04-11  9:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11  9:35 martin rudalics [this message]
2011-04-11  9:46 ` Problem binding mouse-1 to Info-mouse-follow-nearest-node 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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DA2CB77.805@gmx.at \
    --to=rudalics@gmx.at \
    --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 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).