* WoMan generates different result from man?
@ 2013-06-03 11:39 Hongxu Chen
2013-06-03 12:57 ` Jonathan Groll
2013-06-03 17:18 ` Glenn Morris
0 siblings, 2 replies; 16+ messages in thread
From: Hongxu Chen @ 2013-06-03 11:39 UTC (permalink / raw)
To: help-gnu-emacs
Hi all,
I am using `WoMan' other than man to read manpages. But I find there
are some slight differences when reading the content. Take the
manpage of `man' as an example:
WoMan parses the result of the section number introduction like this:
1@Executable programs or shell commands
2@System calls (functions provided by the kernel)
3@Library calls (functions within program libraries)
4@Special files (usually found in /dev)
5@File formats and conventions eg /etc/passwd
6@Games
7@Miscellaneous (including macro packages and conventions), e.g. man(7),
groff(7)
8@System administration commands (usually only for root)
9@Kernel routines [Non standard]
While the result generates by `man' does have `@' but spaces ` ',
just as follows:
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in /dev)
5 File formats and conventions eg /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. man(7),
groff(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
The margin in WoMan also seems a little odd.
So is this a known issue?
Thanks!
Hongxu Chen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 11:39 WoMan generates different result from man? Hongxu Chen
@ 2013-06-03 12:57 ` Jonathan Groll
2013-06-03 15:20 ` Hongxu Chen
[not found] ` <mailman.931.1370272993.22516.help-gnu-emacs@gnu.org>
2013-06-03 17:18 ` Glenn Morris
1 sibling, 2 replies; 16+ messages in thread
From: Jonathan Groll @ 2013-06-03 12:57 UTC (permalink / raw)
To: help-gnu-emacs
On Mon, 03 Jun 2013 19:39:07 +0800, Hongxu Chen <leftcopy.chx@gmail.com> wrote:
>
> Hi all,
>
> I am using `WoMan' other than man to read manpages. But I find there
> are some slight differences when reading the content. Take the
> manpage of `man' as an example:
>
> WoMan parses the result of the section number introduction like this:
>
> 1@Executable programs or shell commands 2@System calls
> (functions provided by the kernel) 3@Library calls (functions within
> program libraries) 4@Special files (usually found in /dev) 5@File
> formats and conventions eg /etc/passwd 6@Games 7@Miscellaneous
> (including macro packages and conventions), e.g. man(7),
> groff(7) 8@System administration commands (usually only for
> root) 9@Kernel routines [Non standard]
>
> While the result generates by `man' does have `@' but spaces ` ',
> just as follows:
> 1 Executable programs or shell commands
> 2 System calls (functions provided by the kernel)
> 3 Library calls (functions within program libraries)
> 4 Special files (usually found in /dev)
> 5 File formats and conventions eg /etc/passwd
> 6 Games
> 7 Miscellaneous (including macro packages and conventions), e.g. man(7),
> groff(7)
> 8 System administration commands (usually only for root)
> 9 Kernel routines [Non standard]
>
> The margin in WoMan also seems a little odd.
>
> So is this a known issue?
Yes. Women are from venus.
Cheers,
Jonathan
--
jjg: Jonathan J. Groll : groll co za
has_one { :blog => "http://bloggroll.com" }
Any other Disclaimer in this mail is Wrong.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 12:57 ` Jonathan Groll
@ 2013-06-03 15:20 ` Hongxu Chen
2013-06-03 17:28 ` Stefan Monnier
[not found] ` <mailman.931.1370272993.22516.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 16+ messages in thread
From: Hongxu Chen @ 2013-06-03 15:20 UTC (permalink / raw)
To: Jonathan Groll; +Cc: help-gnu-emacs
Jonathan Groll <lists@groll.co.za> writes:
> On Mon, 03 Jun 2013 19:39:07 +0800, Hongxu Chen <leftcopy.chx@gmail.com> wrote:
>
>>
>> Hi all,
>>
>> I am using `WoMan' other than man to read manpages. But I find there
>> are some slight differences when reading the content. Take the
>> manpage of `man' as an example:
>>
>> WoMan parses the result of the section number introduction like this:
>>
>> 1@Executable programs or shell commands 2@System calls
>> (functions provided by the kernel) 3@Library calls (functions within
>> program libraries) 4@Special files (usually found in /dev) 5@File
>> formats and conventions eg /etc/passwd 6@Games 7@Miscellaneous
>> (including macro packages and conventions), e.g. man(7),
>> groff(7) 8@System administration commands (usually only for
>> root) 9@Kernel routines [Non standard]
>>
>> While the result generates by `man' does have `@' but spaces ` ',
>> just as follows:
>> 1 Executable programs or shell commands
>> 2 System calls (functions provided by the kernel)
>> 3 Library calls (functions within program libraries)
>> 4 Special files (usually found in /dev)
>> 5 File formats and conventions eg /etc/passwd
>> 6 Games
>> 7 Miscellaneous (including macro packages and conventions), e.g. man(7),
>> groff(7)
>> 8 System administration commands (usually only for root)
>> 9 Kernel routines [Non standard]
>>
>> The margin in WoMan also seems a little odd.
>>
>> So is this a known issue?
>
> Yes. Women are from venus.
Well, WoMan is really different from man...
Are there some workarounds to remedy?
BTW, is WoMan popular in Emacs, or Emacsers typically look up info
through info?
>
> Cheers,
> Jonathan
> --
> jjg: Jonathan J. Groll : groll co za
> has_one { :blog => "http://bloggroll.com" }
> Any other Disclaimer in this mail is Wrong.
>
>
--
Regards,
Hongxu Chen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
[not found] ` <mailman.931.1370272993.22516.help-gnu-emacs@gnu.org>
@ 2013-06-03 16:56 ` Dan Espen
2013-06-03 18:15 ` Emanuel Berg
1 sibling, 0 replies; 16+ messages in thread
From: Dan Espen @ 2013-06-03 16:56 UTC (permalink / raw)
To: help-gnu-emacs
Hongxu Chen <leftcopy.chx@gmail.com> writes:
> Jonathan Groll <lists@groll.co.za> writes:
>
>> On Mon, 03 Jun 2013 19:39:07 +0800, Hongxu Chen <leftcopy.chx@gmail.com> wrote:
>>
>>>
>>> Hi all,
>>>
>>> I am using `WoMan' other than man to read manpages. But I find there
>>> are some slight differences when reading the content. Take the
>>> manpage of `man' as an example:
>>>
>>> WoMan parses the result of the section number introduction like this:
>>>
>>> 1@Executable programs or shell commands 2@System calls
>>> (functions provided by the kernel) 3@Library calls (functions within
>>> program libraries) 4@Special files (usually found in /dev) 5@File
>>> formats and conventions eg /etc/passwd 6@Games 7@Miscellaneous
>>> (including macro packages and conventions), e.g. man(7),
>>> groff(7) 8@System administration commands (usually only for
>>> root) 9@Kernel routines [Non standard]
>>>
>>> While the result generates by `man' does have `@' but spaces ` ',
>>> just as follows:
>>> 1 Executable programs or shell commands
>>> 2 System calls (functions provided by the kernel)
>>> 3 Library calls (functions within program libraries)
>>> 4 Special files (usually found in /dev)
>>> 5 File formats and conventions eg /etc/passwd
>>> 6 Games
>>> 7 Miscellaneous (including macro packages and conventions), e.g. man(7),
>>> groff(7)
>>> 8 System administration commands (usually only for root)
>>> 9 Kernel routines [Non standard]
>>>
>>> The margin in WoMan also seems a little odd.
>>>
>>> So is this a known issue?
>>
>> Yes. Women are from venus.
> Well, WoMan is really different from man...
> Are there some workarounds to remedy?
>
> BTW, is WoMan popular in Emacs, or Emacsers typically look up info
> through info?
I have no way of telling, but stopped using woman and use M-x man instead.
If the man page doesn't help and it mentions info, I'll try info.
--
Dan Espen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 11:39 WoMan generates different result from man? Hongxu Chen
2013-06-03 12:57 ` Jonathan Groll
@ 2013-06-03 17:18 ` Glenn Morris
2013-06-03 17:50 ` Eli Zaretskii
1 sibling, 1 reply; 16+ messages in thread
From: Glenn Morris @ 2013-06-03 17:18 UTC (permalink / raw)
To: Hongxu Chen; +Cc: help-gnu-emacs
Hongxu Chen wrote:
> So is this a known issue?
It is know that woman.el is an incomplete implementation of the man page
protocol, yes. This can manifest itself in various ways, normally by
formatting glitches such as you noticed.
It's hard to see why much effort should be put into improving it, when
you can just use M-x man to run the real /usr/bin/man program. The only
answer that usually comes is that people on MS Windows might not have
the man program installed.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 15:20 ` Hongxu Chen
@ 2013-06-03 17:28 ` Stefan Monnier
0 siblings, 0 replies; 16+ messages in thread
From: Stefan Monnier @ 2013-06-03 17:28 UTC (permalink / raw)
To: help-gnu-emacs
> Well, WoMan is really different from man...
> Are there some workarounds to remedy?
woman is meant for those cases where you don't have "man" installed.
I.e. it's (much) better than nothing.
> BTW, is WoMan popular in Emacs, or Emacsers typically look up info
> through info?
Of course, if you have an info manual at hand, it's usually even better
than a man page.
Stefan
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 17:18 ` Glenn Morris
@ 2013-06-03 17:50 ` Eli Zaretskii
2013-06-03 19:34 ` Glenn Morris
0 siblings, 1 reply; 16+ messages in thread
From: Eli Zaretskii @ 2013-06-03 17:50 UTC (permalink / raw)
To: help-gnu-emacs
> From: Glenn Morris <rgm@gnu.org>
> Date: Mon, 03 Jun 2013 13:18:27 -0400
> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>
> It's hard to see why much effort should be put into improving it, when
> you can just use M-x man to run the real /usr/bin/man program. The only
> answer that usually comes is that people on MS Windows might not have
> the man program installed.
A Windows clone of 'man' is available from here:
http://sourceforge.net/projects/ezwinports/files/man-1.4-bin.zip/download
(Groff, which is necessary to format man pages, is also available from
that site.)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
[not found] ` <mailman.931.1370272993.22516.help-gnu-emacs@gnu.org>
2013-06-03 16:56 ` Dan Espen
@ 2013-06-03 18:15 ` Emanuel Berg
2013-06-04 0:53 ` Hongxu Chen
` (3 more replies)
1 sibling, 4 replies; 16+ messages in thread
From: Emanuel Berg @ 2013-06-03 18:15 UTC (permalink / raw)
To: help-gnu-emacs
Hongxu Chen <leftcopy.chx@gmail.com> writes:
> BTW, is WoMan popular in Emacs, or Emacsers typically look up
> info through info?
WoMan also fails to draw tables.
Check out this dump:
http://user.it.uu.se/~embe8573/man_sv/dumps/woman_man_ascii.png
There you see the man and woman representation of the groff source.
It is absolutely not uncommon to browse the man pages (`M-x man')
in Emacs. You can navigate them with the familiar shortcuts, you
can yank quotes into mails or messages, and if you write source
code, you won't have to leave Emacs (you can have the
documentation in one window, and the source in another).
The exact same reasoning goes for info.
But there is no reason to put the man pages against info. But are
useful and you should learn to get comfortable with both.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 17:50 ` Eli Zaretskii
@ 2013-06-03 19:34 ` Glenn Morris
0 siblings, 0 replies; 16+ messages in thread
From: Glenn Morris @ 2013-06-03 19:34 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: help-gnu-emacs
Eli Zaretskii wrote:
> A Windows clone of 'man' is available from here:
>
> http://sourceforge.net/projects/ezwinports/files/man-1.4-bin.zip/download
>
> (Groff, which is necessary to format man pages, is also available from
> that site.)
Cool, so we can move woman.el to lisp/obsolete. :)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 18:15 ` Emanuel Berg
@ 2013-06-04 0:53 ` Hongxu Chen
[not found] ` <mailman.964.1370307204.22516.help-gnu-emacs@gnu.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 16+ messages in thread
From: Hongxu Chen @ 2013-06-04 0:53 UTC (permalink / raw)
To: Emanuel Berg; +Cc: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
> Hongxu Chen <leftcopy.chx@gmail.com> writes:
>
>> BTW, is WoMan popular in Emacs, or Emacsers typically look up
>> info through info?
>
> WoMan also fails to draw tables.
>
> Check out this dump:
>
> http://user.it.uu.se/~embe8573/man_sv/dumps/woman_man_ascii.png
>
> There you see the man and woman representation of the groff source.
Wow, WoMan really represents poorly for table.
I am using WoMan since the default `evil-lookup-func' in Evil-mode(well,
I am not a true Emacser) is woman, and when I
(setq evil-lookup-func #'woman)
It doesn't work as expected and I would not spend too much to configure
it right.
Another concern is that while using `man' in emacs(which actually call
external program `man'), there seems a delay when I would get a
relatively big man page(such as `gcc'; I know I should switch to `info'
in this sense, but I am so customed to man in Vim...).
>
> It is absolutely not uncommon to browse the man pages (`M-x man')
> in Emacs. You can navigate them with the familiar shortcuts, you
> can yank quotes into mails or messages, and if you write source
> code, you won't have to leave Emacs (you can have the
> documentation in one window, and the source in another).
>
> The exact same reasoning goes for info.
>
> But there is no reason to put the man pages against info. But are
> useful and you should learn to get comfortable with both.
--
Regards,
Hongxu Chen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
[not found] ` <mailman.964.1370307204.22516.help-gnu-emacs@gnu.org>
@ 2013-06-04 1:57 ` Emanuel Berg
2013-06-04 3:31 ` Hongxu Chen
[not found] ` <mailman.969.1370316681.22516.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 16+ messages in thread
From: Emanuel Berg @ 2013-06-04 1:57 UTC (permalink / raw)
To: help-gnu-emacs
Hongxu Chen <leftcopy.chx@gmail.com> writes:
> I am using WoMan since the default `evil-lookup-func' in
> Evil-mode (well, I am not a true Emacser) is woman, and when I
>
> (setq evil-lookup-func #'woman)
>
> It doesn't work as expected and I would not spend too much to
> configure it right.
Evil-mode? Haha, what is that?
I just hit `M-x man', what does that get you?
> Another concern is that while using `man' in emacs(which
> actually call external program `man'), there seems a delay when
> I would get a relatively big man page (such as `gcc'; I know I
> should switch to info' in this sense, but I am so customed to
> man in Vim...).
Again, there is nothing wrong with browsing the man pages in
Emacs, on the contrary. From where did you get that idea?
But, now that you say it, `M-x man RET gcc RET' takes a couple of
seconds in Emacs, but not so with man (the shell pager). But 1)
gcc is a very big manpage, and 2) you don't bring it up every day,
and you don't do it repeatedly. If you get stressed out over that,
perhaps you should program yourself, and not computers :)
Seriously, it depends what computer you have, of course. I have an
old laptop and for me that short-seconds pause is very
endurable. But yes - it is interesting that the Emacs mode is that
much slower than the shell tool.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-04 1:57 ` Emanuel Berg
@ 2013-06-04 3:31 ` Hongxu Chen
[not found] ` <mailman.969.1370316681.22516.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: Hongxu Chen @ 2013-06-04 3:31 UTC (permalink / raw)
To: Emanuel Berg; +Cc: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
> Hongxu Chen <leftcopy.chx@gmail.com> writes:
>
>> I am using WoMan since the default `evil-lookup-func' in
>> Evil-mode (well, I am not a true Emacser) is woman, and when I
>>
>> (setq evil-lookup-func #'woman)
>>
>> It doesn't work as expected and I would not spend too much to
>> configure it right.
>
> Evil-mode? Haha, what is that?
>
> I just hit `M-x man', what does that get you?
OK, I've changed the keymaps for normal state in evil-mode to `man'(aha,
I didn't even notice that I could do this!)
>
>> Another concern is that while using `man' in emacs(which
>> actually call external program `man'), there seems a delay when
>> I would get a relatively big man page (such as `gcc'; I know I
>> should switch to info' in this sense, but I am so customed to
>> man in Vim...).
>
> Again, there is nothing wrong with browsing the man pages in
> Emacs, on the contrary. From where did you get that idea?
>
> But, now that you say it, `M-x man RET gcc RET' takes a couple of
> seconds in Emacs, but not so with man (the shell pager). But 1)
> gcc is a very big manpage, and 2) you don't bring it up every day,
> and you don't do it repeatedly. If you get stressed out over that,
> perhaps you should program yourself, and not computers :)
> Seriously, it depends what computer you have, of course. I have an
> old laptop and for me that short-seconds pause is very
> endurable. But yes - it is interesting that the Emacs mode is that
> much slower than the shell tool.
There is another problem: when using `man', it would firstly catch the
symbol/word at point by default. When there is NO manpage for this
symbol, it still displays as a candidate(I am using ido-ubiquitous and
don't know the behavior in other cases). And when I hit RET, it would
report like this:
error in process sentinel: user-error: Can't find the time_t manpage
This is annoying. But `woman' would ignore the symbol where the cursor
locates(it would not display `time_t' in this case) and I am informed
ahead that I cannot get the manpage of this symbol.
Also, the matching rule is confusing(possibly only for ido), for
instance, when I run `M-x man RET git', `git' does not appear at the
front of all candidates until I additionally add `(1)' (hence I have to
type the whole word `git(1)'), which is a bit inconvenient.
--
Regards,
Hongxu Chen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
[not found] ` <mailman.969.1370316681.22516.help-gnu-emacs@gnu.org>
@ 2013-06-04 17:08 ` Emanuel Berg
0 siblings, 0 replies; 16+ messages in thread
From: Emanuel Berg @ 2013-06-04 17:08 UTC (permalink / raw)
To: help-gnu-emacs
Hongxu Chen <leftcopy.chx@gmail.com> writes:
> There is another problem: when using `man', it would firstly
> catch the symbol/word at point by default. When there is NO
> manpage for this symbol, it still displays as a candidate (I am
> using ido-ubiquitous and don't know the behavior in other
> cases). And when I hit RET, it would report like this:
>
> error in process sentinel: user-error: Can't find the time_t
> manpage
>
> This is annoying. But `woman' would ignore the symbol where the
> cursor locates (it would not display `time_t' in this case) and
> I am informed ahead that I cannot get the manpage of this
> symbol.
>
> Also, the matching rule is confusing(possibly only for ido), for
> instance, when I run `M-x man RET git', `git' does not appear at
> the front of all candidates until I additionally add `(1)'
> (hence I have to type the whole word `git(1)'), which is a bit
> inconvenient.
OK, I'm sorry, I can't help you because nothing of this is even
the slightest familiar to me. I just `M-x man' and I've never had
any problems. Probably, some other guy on the list can help you.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-03 18:15 ` Emanuel Berg
2013-06-04 0:53 ` Hongxu Chen
[not found] ` <mailman.964.1370307204.22516.help-gnu-emacs@gnu.org>
@ 2013-06-06 8:31 ` Hongxu Chen
[not found] ` <mailman.1074.1370507531.22516.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 16+ messages in thread
From: Hongxu Chen @ 2013-06-06 8:31 UTC (permalink / raw)
To: Emanuel Berg; +Cc: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
> Hongxu Chen <leftcopy.chx@gmail.com> writes:
>
>> BTW, is WoMan popular in Emacs, or Emacsers typically look up
>> info through info?
>
> WoMan also fails to draw tables.
>
> Check out this dump:
>
> http://user.it.uu.se/~embe8573/man_sv/dumps/woman_man_ascii.png
>
> There you see the man and woman representation of the groff source.
>
> It is absolutely not uncommon to browse the man pages (`M-x man')
> in Emacs. You can navigate them with the familiar shortcuts, you
> can yank quotes into mails or messages, and if you write source
> code, you won't have to leave Emacs (you can have the
> documentation in one window, and the source in another).
>
> The exact same reasoning goes for info.
>
> But there is no reason to put the man pages against info. But are
> useful and you should learn to get comfortable with both.
Just find another difference: WoMan might miss some man entry.
For instance, man would find `malloc_stats' but WoMan fails.
Is it because the search path not set right or the flaw of WoMan?
I swear there is no sexism:-)
--
Regards,
Hongxu Chen
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
[not found] ` <mailman.1074.1370507531.22516.help-gnu-emacs@gnu.org>
@ 2013-06-06 9:43 ` Emanuel Berg
2013-06-07 1:11 ` Hongxu Chen
0 siblings, 1 reply; 16+ messages in thread
From: Emanuel Berg @ 2013-06-06 9:43 UTC (permalink / raw)
To: help-gnu-emacs
Hongxu Chen <leftcopy.chx@gmail.com> writes:
> Just find another difference: WoMan might miss some man entry.
> For instance, man would find `malloc_stats' but WoMan fails. Is
> it because the search path not set right or the flaw of WoMan?
> I swear there is no sexism :-)
If you notice, that's not really a man page. There is an
association to the mallopt man page, which you can confirm with
`apropos malloc_stats' that shows
mallopt (3) - set memory allocation parameters
Now, run `whereis mallopt`
mallopt: /usr/share/man/man3/mallopt.3.gz
If you open that file in Emacs (no decompress needed), make a
search for "malloc_stats". There are no hits! So, how that
association is setup beats me, and, as you discovered, it beats
WoMan to :)
But I'm sure someone on the list knows this.
By the way, this is very interesting! *Keep digging!*
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: WoMan generates different result from man?
2013-06-06 9:43 ` Emanuel Berg
@ 2013-06-07 1:11 ` Hongxu Chen
0 siblings, 0 replies; 16+ messages in thread
From: Hongxu Chen @ 2013-06-07 1:11 UTC (permalink / raw)
To: Emanuel Berg; +Cc: help-gnu-emacs
Emanuel Berg <embe8573@student.uu.se> writes:
> Hongxu Chen <leftcopy.chx@gmail.com> writes:
>
>> Just find another difference: WoMan might miss some man entry.
>> For instance, man would find `malloc_stats' but WoMan fails. Is
>> it because the search path not set right or the flaw of WoMan?
>> I swear there is no sexism :-)
>
> If you notice, that's not really a man page. There is an
> association to the mallopt man page, which you can confirm with
> `apropos malloc_stats' that shows
>
> mallopt (3) - set memory allocation parameters
>
> Now, run `whereis mallopt`
>
> mallopt: /usr/share/man/man3/mallopt.3.gz
Exactly! I also noticed that malloc_stats is NOT a man page; and man
even located it.
>
> If you open that file in Emacs (no decompress needed), make a
> search for "malloc_stats". There are no hits! So, how that
> association is setup beats me, and, as you discovered, it beats
> WoMan to :)
>
> But I'm sure someone on the list knows this.
Yeah, I hope people on the list can do me a favor.
>
> By the way, this is very interesting! *Keep digging!*
Thanks so much, Emanuel!
--
Regards,
Hongxu Chen
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2013-06-07 1:11 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 11:39 WoMan generates different result from man? Hongxu Chen
2013-06-03 12:57 ` Jonathan Groll
2013-06-03 15:20 ` Hongxu Chen
2013-06-03 17:28 ` Stefan Monnier
[not found] ` <mailman.931.1370272993.22516.help-gnu-emacs@gnu.org>
2013-06-03 16:56 ` Dan Espen
2013-06-03 18:15 ` Emanuel Berg
2013-06-04 0:53 ` Hongxu Chen
[not found] ` <mailman.964.1370307204.22516.help-gnu-emacs@gnu.org>
2013-06-04 1:57 ` Emanuel Berg
2013-06-04 3:31 ` Hongxu Chen
[not found] ` <mailman.969.1370316681.22516.help-gnu-emacs@gnu.org>
2013-06-04 17:08 ` Emanuel Berg
2013-06-06 8:31 ` Hongxu Chen
[not found] ` <mailman.1074.1370507531.22516.help-gnu-emacs@gnu.org>
2013-06-06 9:43 ` Emanuel Berg
2013-06-07 1:11 ` Hongxu Chen
2013-06-03 17:18 ` Glenn Morris
2013-06-03 17:50 ` Eli Zaretskii
2013-06-03 19:34 ` Glenn Morris
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).