unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#886: 23.0.60; Info-mouse-follow-nearest-node fails
@ 2008-09-15  8:34 martin rudalics
  2008-09-15  9:25 ` Stephen Berman
  0 siblings, 1 reply; 6+ messages in thread
From: martin rudalics @ 2008-09-15  8:34 UTC (permalink / raw)
  To: 886; +Cc: Stephen Berman

The fix seems to have the following side-effect: In my .emacs I bind

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

Now when I use mouse-1 to just "select" the Info-window I usually get

   Info-follow-nearest-node: Point neither on reference nor in menu item description

which is annoying :-(

martin







^ permalink raw reply	[flat|nested] 6+ messages in thread
* bug#886: 23.0.60; Info-mouse-follow-nearest-node fails
@ 2008-09-04 14:31 Stephen Berman
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Berman @ 2008-09-04 14:31 UTC (permalink / raw)
  To: emacs-pretest-bug

1. emacs -Q
2. C-h i m gnus RET
3. Click with mouse-1 (or mouse-2) on any of the links under "Other
   related manuals", i.e. Message, Emacs-MIME, Sieve, PGG, SASL: nothing
   happens.

Typing 'RET' on any of these links, in contrast, DTRT, i.e. goes to the
respective node.  Clicking mouse-1 on any of the other links also DTRT.
The following patch fixes the problem for me:

*** emacs/lisp/info.el.~1.542.~	2008-09-04 16:16:19.000000000 +0200
--- emacs/lisp/info.el	2008-09-04 16:22:24.000000000 +0200
***************
*** 3099,3105 ****
  At end of the node's text, moves to the next node, or up if none."
    (interactive "e")
    (mouse-set-point click)
!   (and (not (Info-try-follow-nearest-node))
         (save-excursion (forward-line 1) (eobp))
         (Info-next-preorder)))
  
--- 3099,3105 ----
  At end of the node's text, moves to the next node, or up if none."
    (interactive "e")
    (mouse-set-point click)
!   (and (not (Info-follow-nearest-node))
         (save-excursion (forward-line 1) (eobp))
         (Info-next-preorder)))
  



In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2008-08-29 on escher
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t






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

end of thread, other threads:[~2008-09-17  6:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-15  8:34 bug#886: 23.0.60; Info-mouse-follow-nearest-node fails martin rudalics
2008-09-15  9:25 ` Stephen Berman
2008-09-15 12:11   ` martin rudalics
2008-09-15 13:48     ` Stephen Berman
2008-09-17  6:54       ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2008-09-04 14:31 Stephen Berman

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).