unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <md5i@cs.cmu.edu>
Cc: emacs-devel@gnu.org
Subject: Re: [david.hansen@physik.fu-berlin.de: WoMan Bug]
Date: Thu, 14 Sep 2006 00:43:56 -0400	[thread overview]
Message-ID: <87wt87vz03.fsf@cs.cmu.edu> (raw)
In-Reply-To: <E1GNh3x-00079j-AY@fencepost.gnu.org> (Richard Stallman's message of "Wed\, 13 Sep 2006 22\:34\:49 -0400")

Richard Stallman <rms@gnu.org> 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 <david.hansen@physik.fu-berlin.de>
> 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("	" #<marker at 101901 in *WoMan 1 screen*> t)
>   woman2-process-escapes(#<marker at 101901 in *WoMan 1 screen*> nil)
>   woman2-tagged-paragraph(#<marker at 102002 in *WoMan 1 screen*> 5)
>   woman2-IP(#<marker at 102002 in *WoMan 1 screen*>)
>   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)

  reply	other threads:[~2006-09-14  4:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-14  2:34 [david.hansen@physik.fu-berlin.de: WoMan Bug] Richard Stallman
2006-09-14  4:43 ` Michael Welsh Duggan [this message]
2006-09-14  5:36   ` Stefan Monnier
2006-09-14 17:00     ` David Hansen
2006-09-15  5:34     ` Michael Welsh Duggan
2006-09-15  5:58       ` Michael Welsh Duggan
2006-09-16 17:58         ` Stefan Monnier
2006-09-18 15:51           ` Chong Yidong
2006-09-18 23:11           ` David Hansen
2006-09-22  3:01             ` Chong Yidong
2006-09-22 17:01               ` Richard Stallman
2006-09-23  4:38               ` David Hansen
2006-09-15  5:52     ` Michael Welsh Duggan

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wt87vz03.fsf@cs.cmu.edu \
    --to=md5i@cs.cmu.edu \
    --cc=emacs-devel@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).