From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68709 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: bug: emphasization not performed at end-of-line Date: Mon, 13 Jul 2009 20:53:57 +0900 Organization: Emacsen advocacy group Message-ID: References: <87prc8fk9s.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247486141 18996 80.91.229.12 (13 Jul 2009 11:55:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 11:55:41 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M17135@lists.math.uh.edu Mon Jul 13 13:55:34 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQK83-0002Sc-L4 for ding-account@gmane.org; Mon, 13 Jul 2009 13:55:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1MQK7Y-0004Pt-Gk; Mon, 13 Jul 2009 06:55:00 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1MQK7W-0004Pc-Mz for ding@lists.math.uh.edu; Mon, 13 Jul 2009 06:54:58 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1MQK7K-0006Er-MY for ding@lists.math.uh.edu; Mon, 13 Jul 2009 06:54:58 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MQK7s-0006TR-00 for ; Mon, 13 Jul 2009 13:55:20 +0200 Original-Received: from localhost ([127.0.0.1]:49240) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1MQK6l-0004Fm-3S for ding@gnus.org; Mon, 13 Jul 2009 06:54:11 -0500 X-Hashcash: 1:20:090713:ding@gnus.org::rrOTzmlefI6BkRkq:00000e2+ X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (linux) Cancel-Lock: sha1:Ixq9FvY4cahuX9Kj/jywVvR8lvA= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68709 Archived-At: >>>>> Karl Kleinpaste wrote: > asjo@koldfront.dk (Adam Sj=C3=B8gren) writes: >> It works for me: "*test*" in both lines are emphasized (bold) when I >> read your article: http://koldfront.dk/misc/gnus-emph.png > ... >> Did you change your configuration then, or could it be an XEmacs >> 21.5-thing? > Very interesting. I am using... > - No Gnus v0.11, "cvs up" as of a few minutes ago, without any > customization of (e.g.) gnus-emphasize-whitespace-regexp > ...and... > - XEmacs 21.5 (beta28) "fuki" [Lucid] (i386-redhat-linux, Mule) of Sun Ma= r 8 2009 on x86-5.fedora.phx.redhat.com > (...as provided in Fedora11.) > Since it works for you, it would seem that this is an XEmacs glitch. > Not good. The problem is due to the difference of the character syntax of the newline character between XEmacs 21.5 and the others. This form (char-syntax ?\n text-mode-syntax-table) returns `?\.' in XEmacs 21.5 whereas `? ' in XEmacs 21.4 and FSFmacs. I don't know why. Try adding the following snippet to your ~/.gnus.el file: (eval-after-load "gnus-art" '(modify-syntax-entry ?\n " " gnus-article-mode-syntax-table)) `gnus-article-mode-syntax-table' is a syntax table that is made from `text-mode-syntax-table'.