From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31007 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: Improved (non-annoying) underlining Date: 17 May 2000 08:29:01 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035167467 11624 80.91.224.250 (21 Oct 2002 02:31:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:31:07 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 35BBBD0520 for ; Wed, 17 May 2000 08:29:28 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id HAB08102; Wed, 17 May 2000 07:29:27 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 17 May 2000 07:28:54 -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 HAA27119 for ; Wed, 17 May 2000 07:28:43 -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 63D81D0520 for ; Wed, 17 May 2000 08:29:02 -0400 (EDT) Original-Received: (from karl@localhost) by mesquite.charcoal.com (8.9.3/8.9.3) id IAA23507; Wed, 17 May 2000 08:29:01 -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 In-Reply-To: Per Abrahamsen's message of "17 May 2000 14:09:29 +0200" Original-Lines: 40 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:31007 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31007 Bill White writes: >> I think whitespace >> within text (not at the beginning of a line) should still be >> underlined. Per Abrahamsen writes: > Agreed. Well, if you really want that, then changing the regexp to "^[ \t]+\\|[ \t]*\n" (which just adds `^' to the beginning) should take care of it. That said, I really quite prefer it the way it is right now: When I write (by hand) something which needs to be underlined, I don't blindly write a single, long underline under the whole text; I underline the individual words, which is the behavior the now-current regexp induces. I think the reason this is especially odd for Bill is that he has customized the font sense of "underline" to something very very different, which is not actually "underlining" at all, but is instead a color shift, both foreground and background. In any event, since we have yet another case of personal preference, would it make sense to create (yet another) customizable regexp? Call it, say, gnus-article-emphasize-whitespace-regexp? >> And speaking of improving underlining, punctuation in underlined text >> disables underlining. Is there a way to fix that? (I haven't trawled >> through the source). > You can customize `gnus-emphasis-alist'. The tricky part is avoiding > false positives. Yeah, that sort of thing has bothered me mildly for much too long. I'll take a look at that alist today. But Hrovje is right, we really do beat on regexps too much... --karl