From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: [david.hansen@physik.fu-berlin.de: WoMan Bug] Date: Thu, 14 Sep 2006 00:43:56 -0400 Message-ID: <87wt87vz03.fsf@cs.cmu.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158209195 23217 80.91.229.2 (14 Sep 2006 04:46:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2006 04:46:35 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 14 06:46:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNj7B-0007ia-KB for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2006 06:46:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNj76-0002FW-FC for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2006 00:46:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNj6u-0002FR-Om for emacs-devel@gnu.org; Thu, 14 Sep 2006 00:46:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNj6n-0002D0-69 for emacs-devel@gnu.org; Thu, 14 Sep 2006 00:46:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNj6m-0002Cx-Vf for emacs-devel@gnu.org; Thu, 14 Sep 2006 00:45:53 -0400 Original-Received: from [205.201.10.244] (helo=maru) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GNj8N-0004a9-Q0; Thu, 14 Sep 2006 00:47:33 -0400 Original-Received: from md5i by maru with local (Exim 4.63) (envelope-from ) id 1GNj4u-0005fM-DH; Thu, 14 Sep 2006 00:43:56 -0400 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed\, 13 Sep 2006 22\:34\:49 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:59821 Archived-At: Richard Stallman writes: > Would someone please fix this, then ack? The following patch would appear to fix this problem: *** woman.el 04 Sep 2006 13:03:49 -0400 1.46 --- woman.el 14 Sep 2006 00:41:56 -0400 *************** *** 4391,4399 **** tab (- tab (if (eq type ?C) (/ n 2) n))) ) (setq n (- tab (current-column))) (while (> n 0) ! (insert ?\ ) (setq n (1- n)))) ! (insert ?\ )))) (defun woman2-DT (to) ".DT -- Restore default tabs. Format paragraphs upto TO. --- 4391,4399 ---- tab (- tab (if (eq type ?C) (/ n 2) n))) ) (setq n (- tab (current-column))) (while (> n 0) ! (insert-before-markers ?\ ) (setq n (1- n)))) ! (insert-before-markers ?\ )))) (defun woman2-DT (to) ".DT -- Restore default tabs. Format paragraphs upto TO. > From: David Hansen > Subject: WoMan Bug > To: emacs-pretest-bug@gnu.org > Date: Wed, 13 Sep 2006 17:31:47 +0200 > Organization: disorganized > X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed > version=3.0.4 > > > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > In emacs -Q when i try to read the screen man page (from the > debian unstable package): > > Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)") > search-forward(" " # t) > woman2-process-escapes(# nil) > woman2-tagged-paragraph(# 5) > woman2-IP(#) > woman2-roff-buffer() > woman-decode-region(1 146569) > woman-decode-buffer() > woman-process-buffer() > woman-really-find-file("/usr/share/man/man1/screen.1.gz" t "*WoMan 1 screen*") > woman-find-file("/usr/share/man/man1/screen.1.gz") > woman(nil nil) > call-interactively(woman) > execute-extended-command(nil) > call-interactively(execute-extended-command) > > If you need the man page file drop a node. > > David -- Michael Welsh Duggan (md5i@cs.cmu.edu)