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: Wed, 09 Jan 2008 21:26:25 +0100 Message-ID: <87hchmd9u6.fsf@gmx.de> References: <87ejcufxyn.fsf@gmx.de> <87zlvimtx8.fsf@jurta.org> <87hchpmvkq.fsf@gmx.de> <87sl19yyfy.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 1199910350 23697 80.91.229.12 (9 Jan 2008 20:25:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jan 2008 20:25:50 +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 Wed Jan 09 21:26:12 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 1JChV1-00039N-5G for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 21:26:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JChUd-0000Lp-P9 for ged-emacs-devel@m.gmane.org; Wed, 09 Jan 2008 15:25:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JChUZ-0000Jy-Sg for emacs-devel@gnu.org; Wed, 09 Jan 2008 15:25:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JChUX-0000I9-7N for emacs-devel@gnu.org; Wed, 09 Jan 2008 15:25:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JChUW-0000I2-UA for emacs-devel@gnu.org; Wed, 09 Jan 2008 15:25:36 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JChUW-0004n2-Pl for emacs-devel@gnu.org; Wed, 09 Jan 2008 15:25:36 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JChUW-0000Be-Fl for emacs-pretest-bug@gnu.org; Wed, 09 Jan 2008 15:25:36 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JChUT-0004lx-9P for emacs-pretest-bug@gnu.org; Wed, 09 Jan 2008 15:25:36 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JChUS-0004ld-R0 for emacs-pretest-bug@gnu.org; Wed, 09 Jan 2008 15:25:33 -0500 Original-Received: (qmail invoked by alias); 09 Jan 2008 20:25:30 -0000 Original-Received: from p54864B27.dip.t-dialin.net (EHLO debian) [84.134.75.39] by mail.gmx.net (mp003) with SMTP; 09 Jan 2008 21:25:30 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1+Uxfp3YRSUWaepDAeoFtUw34HWwP5md5ETT9lzSE X5mkVrhEVbdaUK In-Reply-To: <87sl19yyfy.fsf@jurta.org> (Juri Linkov's message of "Tue, 08 Jan 2008 02:14:47 +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 (newer, 3) 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:86660 gmane.emacs.pretest.bugs:20566 Archived-At: On 2008-01-08 01:14 +0100, Juri Linkov wrote: >> 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? > > The fourth possibility is to use the same regexps used to remove > the footer by woman-man-buffer, to check the existence of the footer > before ignoring the last line in Man-next-section. I looked at this possibility, but it does not seem to work; woman-man-buffer assumes that nroff inserts page numbers at the end of the line, but that's not the case with modern nroff (depending on the output device, I assume). For instance, the getch manpage only displays "getch(3NCURSES)" as non-space characters in the footer line. How are we going to detect that this is a footer?