From: Sven Joachim <svenjoac@gmx.de>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: Regression in WoMan
Date: Mon, 07 Jan 2008 17:47:33 +0100 [thread overview]
Message-ID: <87hchpmvkq.fsf@gmx.de> (raw)
In-Reply-To: <87zlvimtx8.fsf@jurta.org> (Juri Linkov's message of "Mon, 07 Jan 2008 01:11:59 +0200")
On 2008-01-07 00:11 +0100, Juri Linkov wrote:
>> Running WoMan on the attached file reveals a regression in
>> EMACS_22_BASE: press TAB and the cursor jumps to the "#include
>> <stdlib.h>" after the SYNOPSIS, press TAB again and it stays there.
>>
>> In Emacs 22.1, pressing TAB twice jumps to the "atof(3)" after the SEE
>> ALSO near the end, further TABs cycle through the references.
>
> This is caused by the 2007-06-04 change in man.el (Man-next-section)
> discussed in
> http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg00243.html
> that ignores the last line of the man page as not belonging to
> any section.
I see. The assumption that the last line always contains a footer seems
to be valid if the manpage is rendered by 'man', but 'woman' does not
insert such a footer (more precisely, it deliberately deletes the footer,
see the woman-man-buffer function).
> Your file doesn't contain the last line in the format that
> contains the name of the current man page and a timestamp, so the last
> section "SEE ALSO" gets ignored by Man-highlight-references.
>
> It seems there was an invalid assumption that the last line should be
> ignored unconditionally. Maybe some additional check should take care
> that the last line in the standard format (I can't find where it is
> documented).
There seem to be three possibilities to solve the issue: have woman
insert a footer like man does; differentiate the treatment of the last
line between man and woman ; or remove the footer in man buffers as
well.
What would be the best?
Sven
next prev parent reply other threads:[~2008-01-07 16:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 21:25 Regression in WoMan Sven Joachim
2008-01-06 23:11 ` Juri Linkov
2008-01-07 16:47 ` Sven Joachim [this message]
2008-01-08 0:14 ` Juri Linkov
2008-01-09 20:26 ` Sven Joachim
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=87hchpmvkq.fsf@gmx.de \
--to=svenjoac@gmx.de \
--cc=emacs-pretest-bug@gnu.org \
--cc=juri@jurta.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.