From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: [david.hansen@physik.fu-berlin.de: WoMan Bug] Date: Thu, 14 Sep 2006 19:00:38 +0200 Organization: disorganized Message-ID: <87hczajscp.fsf@robotron.kosmorama> References: <87wt87vz03.fsf@cs.cmu.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158253738 14085 80.91.229.2 (14 Sep 2006 17:08:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2006 17:08:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 14 19:08:57 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 1GNuhe-0005Ha-4b for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2006 19:08:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNuhd-0003wx-LM for ged-emacs-devel@m.gmane.org; Thu, 14 Sep 2006 13:08:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNuhP-0003vM-Pj for emacs-devel@gnu.org; Thu, 14 Sep 2006 13:08:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNuhP-0003uF-8d for emacs-devel@gnu.org; Thu, 14 Sep 2006 13:08:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNuhO-0003u3-VX for emacs-devel@gnu.org; Thu, 14 Sep 2006 13:08:27 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GNujN-0003gc-MC for emacs-devel@gnu.org; Thu, 14 Sep 2006 13:10:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GNuhK-0005DM-QH for emacs-devel@gnu.org; Thu, 14 Sep 2006 19:08:22 +0200 Original-Received: from e178035134.adsl.alicedsl.de ([85.178.35.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Sep 2006 19:08:22 +0200 Original-Received: from david.hansen by e178035134.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Sep 2006 19:08:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178035134.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:IA0KNpOtCvQrYZEESVLj9vzY20c= 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:59843 Archived-At: On Thu, 14 Sep 2006 01:36:59 -0400 Stefan Monnier wrote: >>> Would someone please fix this, then ack? > >> The following patch would appear to fix this problem: > > I believe the right patch is to change the marker's insertion type (so that > insertions are automatically made "before"). The patch below does that at > the spot caught by the OP. There might be other places where we need some > fixup, so please try it and tell me if you hit the "Internal error" check > or not (and if you do, please provide a backtrace). > Now i get: Debugger entered--Lisp error: (error "Internal error: wrong marker type") signal(error ("Internal error: wrong marker type")) error("Internal error: wrong marker type") woman2-process-escapes(# numeric) woman2-format-paragraphs(# 5) woman2-SH(#) 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) David