emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: Pressing RET in woman-mode calls man]


From: Richard M. Stallman
Subject: address@hidden: Pressing RET in woman-mode calls man]
Date: Wed, 28 Sep 2005 13:11:18 -0400

Since this concerns buttons, can you tell us where we should look?

------- Start of forwarded message -------
Date: Mon, 26 Sep 2005 13:49:54 +0200
From: Sven Joachim <address@hidden>
X-Accept-Language: de-DE, de, en-us, en
To: address@hidden
X-Sender: address@hidden
Subject: Pressing RET in woman-mode calls man
Sender: address@hidden
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63

Pressing RET in woman-mode when point is on a "reference word" (e.g. in the
"SEE ALSO" section of the man page) invokes man, not woman, on the manpage.
The same applies to mouse-1 and mouse-2. Pressing C-h k in woman-mode gives
the following information:

<mouse-1> at that spot is remapped to <mouse-2>
   which runs the command push-button
    which is an interactive compiled Lisp function in `button'.
It is bound to <mouse-2>, RET.
(push-button &optional pos use-mouse-action)

If I want to invoke woman instead of man, I have to press M-mouse-2, which
is cumbersome:

woman-follow-word is on <M-mouse-2>.

I used "M-x debug-on entry man-follow" to find out that push-button in turn
calls man-follow, as seen in the backtrace:

Debugger entered--entering a function:
* man-follow("dpatch")
   #[(button) "ÁÂ!!‡" [button man-follow button-label] 3](#<marker (moves 
after insertion) at 11300 in *WoMan 1 dpatch*>)
   push-button(11300)
   call-interactively(push-button)

Probably push-button should call woman-follow-word rather than man-follow
in woman-mode.

I noticed this in

GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
  of 2005-09-23 on debian, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000 .





_______________________________________________
Emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]