Gnus development mailing list
 help / color / mirror / Atom feed
From: Brian May <bmay@csse.monash.edu.au>
Subject: Re: scoring
Date: 07 Dec 1999 10:29:45 +1100	[thread overview]
Message-ID: <t4iwvqrir6e.fsf@silas-2.cc.monash.edu.au> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Mon, 06 Dec 1999 14:02:05 +0100"

>>>>> "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

    Kai> Why?  When interactively searching for a regexp, you also
    Kai> type C-q C-j if you want to search for a newline, so why
    Kai> can't people type C-q C-j in Customize buffers?

I personally think that a regexp looks "messy" when it is broken up by
newlines, especially when the newlines occur with [ and ].

As an example:

[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+ +[^:\n]+:[0-9]+

now looks like:

[^:
]+:[0-9]+ +[^:
]+:[0-9]+ +[^:
]+:[0-9]+

I can't imagine any possible reason why you might want to search for
\, but perhaps I am mistaken. I think it is more confusing to the
beginner that \n is interpreted differently, depending on how it is
used.

    Kai> And then, there's the possibility of switching Customize to
    Kai> the Lisp representation, where (I think) regexes are (Lisp)
    Kai> strings, so \n works there.

True - but then you miss out on the advantages of Customize, and have
to go searching the documentation to find out the correct format
for the LISP expression.

-- 
Brian May <bmay@csse.monash.edu.au>


  reply	other threads:[~1999-12-06 23:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-25  0:03 scoring Brian May
1999-12-01 20:56 ` scoring Lars Magne Ingebrigtsen
1999-12-02  1:41   ` scoring Brian May
1999-12-05 21:53     ` scoring Kai Großjohann
1999-12-06  2:58       ` scoring Brian May
1999-12-06  4:11         ` scoring Lars Magne Ingebrigtsen
1999-12-06 12:53           ` scoring Jan Vroonhof
1999-12-06 13:09             ` scoring Per Abrahamsen
1999-12-06 13:21               ` scoring Hrvoje Niksic
1999-12-06 13:02           ` scoring Kai Großjohann
1999-12-06 23:29             ` Brian May [this message]
1999-12-07 12:56               ` scoring Per Abrahamsen
2000-04-21 20:00                 ` scoring Lars Magne Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
1996-06-12 18:14 scoring michael lamoureux
1996-06-12 22:02 ` scoring Lars Magne Ingebrigtsen
1996-06-12 22:15 ` scoring Steven L Baur

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=t4iwvqrir6e.fsf@silas-2.cc.monash.edu.au \
    --to=bmay@csse.monash.edu.au \
    /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).