From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: Links in WoMan buffer should not call `man'
Date: Sat, 26 Aug 2006 13:36:56 +0200 [thread overview]
Message-ID: <v98xlbranb.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 8764gg8nv7.fsf@stupidchicken.com
On Sat, Aug 26 2006, Chong Yidong wrote:
> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>> in GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.8.3) of
>> 2006-08-24 on viandante, following manual links in WoMan buffers
>> should create new WoMan buffers, not new man buffers.
>
> This hack should fix it.
Thanks it does fix it for me. Will you install it?
[...]
> ;; We don't need to call `man' when we are in `woman-mode'.
> ! (define-key woman-mode-map [remap man] 'woman)
> ! (define-key woman-mode-map [remap man-follow] 'woman-follow))
> !
> ! (defun woman-follow (topic)
> ! "Get a Un*x manual page of the item under point and put it in a buffer."
Maybe we should add something like "This function is a replacement of
`man-follow' in WoMan mode." in the doc string.
> ! (interactive (list (Man-default-man-entry)))
> ! (if (or (not topic)
> ! (string= topic ""))
> ! (error "No item under point")
> ! (woman (if (string-match Man-reference-regexp topic)
> ! (substring topic 0 (match-end 1))
> ! topic))))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2006-08-26 11:36 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-25 19:52 Links in WoMan buffer should not call `man' Reiner Steib
2006-08-25 22:14 ` Chong Yidong
2006-08-26 11:36 ` Reiner Steib [this message]
2006-08-28 15:42 ` Chong Yidong
2006-08-27 20:12 ` Juri Linkov
2006-08-27 22:28 ` Eli Zaretskii
2006-08-28 22:09 ` Richard Stallman
2006-08-30 10:45 ` Eli Zaretskii
2006-08-30 22:48 ` Juri Linkov
2006-09-02 23:57 ` Juri Linkov
2006-09-04 9:50 ` Richard Stallman
2006-09-04 22:54 ` Juri Linkov
2006-09-05 3:38 ` Michael Welsh Duggan
2006-09-05 3:43 ` Michael Welsh Duggan
2006-09-05 4:31 ` Michael Welsh Duggan
2006-09-05 5:38 ` Michael Welsh Duggan
2006-09-05 20:56 ` Chong Yidong
2006-09-06 19:06 ` Richard Stallman
2006-09-07 21:15 ` Richard Stallman
2006-09-06 8:49 ` Richard Stallman
2006-09-06 8:49 ` Richard 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=v98xlbranb.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
/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.