From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/15270 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: Cool bug in URL parsing Date: 03 Jun 1998 13:35:10 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035154333 21194 80.91.224.250 (20 Oct 2002 22:52:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:52:13 +0000 (UTC) Return-Path: Original-Received: from gwyn.tux.org (gwyn.tux.org [207.96.122.8]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id EAA28372 for ; Wed, 3 Jun 1998 04:39:46 -0700 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by gwyn.tux.org (8.8.8/8.8.8) with ESMTP id HAA15283 for ; Wed, 3 Jun 1998 07:36:12 -0400 Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id GAH09092; Wed, 3 Jun 1998 06:35:59 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 03 Jun 1998 06:35:43 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id GAA09070 for ; Wed, 3 Jun 1998 06:35:36 -0500 (CDT) Original-Received: (qmail 17912 invoked by uid 504); 3 Jun 1998 11:35:15 -0000 Original-Received: (qmail 17909 invoked from network); 3 Jun 1998 11:35:14 -0000 Original-Received: from jagor.srce.hr (hniksic@161.53.2.130) by claymore.vcinet.com with SMTP; 3 Jun 1998 11:35:13 -0000 Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.8.8/8.8.6) id NAA04550; Wed, 3 Jun 1998 13:35:10 +0200 (MET DST) Original-To: ding@gnus.org X-Attribution: Hrvoje X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/xDi&N7XG KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&Ff%x_>1`T(+M2Gg/fgndU%k*ft [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J In-Reply-To: Lars Magne Ingebrigtsen's message of "03 Jun 1998 05:08:04 +0200" Original-Lines: 30 X-Mailer: Gnus v5.6.7/XEmacs 21.0(beta41) - "San Clemente" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:15270 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:15270 Lars Magne Ingebrigtsen writes: > Hrvoje Niksic writes: > > > > The nice thing about regular expressions is that it is a languange > > > many people understand, and are willing to fiddle with. > > > > I don't think many people are fiddling with things like > > `gnus-button-alist', or even `gnus-emphasis-alist' > > You're probably right there. Would you accept faster code that buttonizes articles according to builtin rules *other* than regexps? What I have in mind is something like: (defvar gnus-emphasis-plist '((_ word (:repeat separator word) _) gnus-underline-face (* word (:repeat separator word) *) gnus-bold-face ...)) Code that parses forms like this into a matcher faster than hairy regexps should not be too hard to write. "You have a Lisp interpreter, so use it!" -- Jamie Zawinski -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- Sauron is alive in Argentina!