Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: Cool bug in URL parsing
Date: 04 Jun 1998 02:40:52 +0200	[thread overview]
Message-ID: <kigogwam223.fsf@jagor.srce.hr> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "04 Jun 1998 02:09:38 +0200"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Hrvoje Niksic <hniksic@srce.hr> writes:
> 
> > 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
> >           ...))
> 
> Well, `gnus-emphasis-alist' could be extended to accept non-regexp
> forms.  If you write the code and documentation for that, I'll apply
> the patch.  :-)

I might give it a try, but:

* I'd like to make the mechanism a bit more general, so it covers both 
  emphasis and buttonization.  It remains to be seen if the end result 
  will actually be faster than the regexp code.

* I'm not sure I want to support the old regexp special cases of
  emphasis and buttonization.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Manic depression is cool...  your body can make its own drugs.


  reply	other threads:[~1998-06-04  0:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-07 15:15 Karl Kleinpaste
1998-05-07 15:25 ` Hrvoje Niksic
1998-05-07 16:03 ` Per Abrahamsen
1998-05-07 16:09   ` Hrvoje Niksic
1998-06-01  3:15     ` Lars Magne Ingebrigtsen
1998-06-02  6:27       ` Hrvoje Niksic
1998-06-03  3:08         ` Lars Magne Ingebrigtsen
1998-06-03 11:35           ` Hrvoje Niksic
1998-06-04  0:09             ` Lars Magne Ingebrigtsen
1998-06-04  0:40               ` Hrvoje Niksic [this message]
1998-06-05 18:42                 ` Dave Love
1998-06-05 19:36                   ` Hrvoje Niksic
1998-06-08  9:28                     ` Jan Vroonhof
1998-06-08 12:01                       ` Hrvoje Niksic
1998-06-08 19:03                         ` Jan Vroonhof
1998-06-08 21:32                           ` Hrvoje Niksic
1998-06-08 12:52                       ` Jari Aalto+list.ding
1998-06-11 17:34                     ` Dave Love
1998-06-11 21:53                       ` Hrvoje Niksic
1998-05-08  5:03   ` Russ Allbery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kigogwam223.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).