From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Regression in WoMan Date: Mon, 07 Jan 2008 17:47:33 +0100 Message-ID: <87hchpmvkq.fsf@gmx.de> References: <87ejcufxyn.fsf@gmx.de> <87zlvimtx8.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199724423 10625 80.91.229.12 (7 Jan 2008 16:47:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2008 16:47:03 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 07 17:47:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JBv8F-0006T0-Cd for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 17:47:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBv7s-0005R2-DX for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 11:47:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JBv7l-0005OZ-Oh for emacs-devel@gnu.org; Mon, 07 Jan 2008 11:46:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JBv7f-0005Ne-LT for emacs-devel@gnu.org; Mon, 07 Jan 2008 11:46:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBv7f-0005Nb-Ea for emacs-devel@gnu.org; Mon, 07 Jan 2008 11:46:47 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBv7f-0003S0-8o for emacs-devel@gnu.org; Mon, 07 Jan 2008 11:46:47 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JBv7e-0006BG-SR for emacs-pretest-bug@gnu.org; Mon, 07 Jan 2008 11:46:46 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JBv7b-0003RE-RF for emacs-pretest-bug@gnu.org; Mon, 07 Jan 2008 11:46:46 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JBv7b-0003Qw-Aa for emacs-pretest-bug@gnu.org; Mon, 07 Jan 2008 11:46:43 -0500 Original-Received: (qmail invoked by alias); 07 Jan 2008 16:46:41 -0000 Original-Received: from p54863A0A.dip.t-dialin.net (EHLO debian) [84.134.58.10] by mail.gmx.net (mp040) with SMTP; 07 Jan 2008 17:46:41 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+PtJE4xPaPIAPqCyKEFEutO3GRBTZHxgpYvIhVN8 lFL1poPGYAyrF8 In-Reply-To: <87zlvimtx8.fsf@jurta.org> (Juri Linkov's message of "Mon, 07 Jan 2008 01:11:59 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86492 gmane.emacs.pretest.bugs:20535 Archived-At: 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 >> " 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