all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: [sven_joachim@web.de: Pressing RET in woman-mode calls man]
Date: Thu, 13 Oct 2005 00:52:18 -0400	[thread overview]
Message-ID: <E1EPv4k-0007uM-Ki@fencepost.gnu.org> (raw)

[I sent this message two weeks ago but did not get a response.]

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 <sven_joachim@web.de>
X-Accept-Language: de-DE, de, en-us, en
To: emacs-pretest-bug@gnu.org
X-Sender: sven_joachim@web.de
Subject: Pressing RET in woman-mode calls man
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org
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) "ÁÂ\b!!‡" [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
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
------- End of forwarded message -------

             reply	other threads:[~2005-10-13  4:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-13  4:52 Richard Stallman [this message]
2005-10-13  9:39 ` [sven_joachim@web.de: Pressing RET in woman-mode calls man] Masatake YAMATO
2005-10-13 16:53   ` Masatake YAMATO
2005-10-14  5:10     ` Richard M. Stallman
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28 17:11 Richard M. Stallman

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

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

  git send-email \
    --in-reply-to=E1EPv4k-0007uM-Ki@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.