From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30997 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Improved (non-annoying) underlining Date: 16 May 2000 17:19:25 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167459 11556 80.91.224.250 (21 Oct 2002 02:30:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:30:59 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by mailhost.sclp.com (Postfix) with ESMTP id 7AEDAD0520 for ; Tue, 16 May 2000 17:21:00 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB05563; Tue, 16 May 2000 16:20:05 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 May 2000 16:19:32 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA17352 for ; Tue, 16 May 2000 16:19:23 -0500 (CDT) Original-Received: from mesquite.charcoal.com (MESQUITE.SLIP.CS.CMU.EDU [128.2.207.11]) by mailhost.sclp.com (Postfix) with ESMTP id 381C9D0520 for ; Tue, 16 May 2000 17:19:40 -0400 (EDT) Original-Received: (from karl@localhost) by mesquite.charcoal.com (8.9.3/8.9.3) id RAA12374; Tue, 16 May 2000 17:19:25 -0400 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu Original-Lines: 22 User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Iris) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30997 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30997 _If you leave emphasization enabled then as you read this message you are seeing the annoying artifact that the empty whitespace at the beginning of lines is underlined when there is no good reason for it._ When the following patch is applied, Gnus will stop underlining (or emphasizing, generally) whitespace. I would appreciate it if some kind write-enabled soul would commit this to CVS. --karl --- gnus-util.el.~1~ Sat Apr 29 23:44:17 2000 +++ gnus-util.el Tue May 16 16:51:21 2000 @@ -568,7 +568,7 @@ (save-excursion (save-restriction (goto-char beg) - (while (re-search-forward "[ \t]*\n" end 'move) + (while (re-search-forward "[ \t]+\\|[ \t]*\n" end 'move) (gnus-put-text-property beg (match-beginning 0) prop val) (setq beg (point))) (gnus-put-text-property beg (point) prop val)))))