From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25702 Path: main.gmane.org!not-for-mail From: Kevin the Bandicoot Newsgroups: gmane.emacs.gnus.general Subject: Too much emphasis matching on some filenames Date: 07 Oct 1999 07:26:40 +1000 Sender: owner-ding@hpc.uh.edu Message-ID: <877ll0faen.fsf@bananas.org.au> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163040 15407 80.91.224.250 (21 Oct 2002 01:17:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:17:20 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA25171 for ; Wed, 6 Oct 1999 17:24:25 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB27637; Wed, 6 Oct 1999 16:22:56 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 06 Oct 1999 16:24:05 -0500 (CDT) Original-Received: from vasquez.zip.com.au (IDENT:mail@vasquez.zip.com.au [203.12.97.41]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id QAA24246 for ; Wed, 6 Oct 1999 16:23:54 -0500 (CDT) Original-Received: from localhost (banana14.zip.com.au [61.8.30.46]) by vasquez.zip.com.au (8.9.2/8.9.1) with ESMTP id HAA26867 for ; Thu, 7 Oct 1999 07:05:37 +1000 (EST) Original-Received: from gg by localhost with local (Exim 2.05 #1 (Debian)) id 11Yya9-0000CR-00; Thu, 7 Oct 1999 07:26:41 +1000 Original-To: ding@hpc.uh.edu Original-Lines: 25 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25702 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25702 I'm only a recent convert to gnus, tell me to pipe down if I'm saying something dumb. I'm running pgnus 0.96 and I noticed article viewing doing a bit too much emphasis matching on a filename in a message. Blah blah /usr/bin/foo blah blah /proc//fd blah blah. The first filename is ok, but the second one gets the "proc" part shown as italics. (C-u g or whatever to see raw what I'm writing.) I think it's because gnus-emphasis-alist allows an open bracket to match after /proc/, and "<" is an open bracket in the syntax table. I don't think /emphasis/ in normal text would have an open bracket immediately after, nor a close bracket immediately before, I think there'd be white space in between. Is there a reason the regexps are setup the way they are? I also thought the matching could be tightened by requiring whitespace after a trailing punctuation -?!.,;:" That would keep it away from /root/.profile and *foo*.el and the like. Allowing multiple "!"s, "?"s or "."s would be good, so /italics/!!! would work. -- "Wait a minute, this sounds like rock and/or roll." -- Rev. Lovejoy