Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: [nnir] syntax
Date: 22 Dec 1999 17:52:41 +0100	[thread overview]
Message-ID: <vafemcezzmu.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: Harry Putnam's message of "22 Dec 1999 04:11:04 -0800"

Harry Putnam <reader@newsguy.com> writes:

>   funcall(nnir-request-group " ping log$\") (group . \"ping\"))" "-ephemeral" nil)
>   (let ((gnus-command-method ...)) (when (stringp gnus-command-method) (setq gnus-command-method ...)) (funcall (inline ...) (gnus-group-real-name group) (nth 1 gnus-command-method) dont-check))
>   gnus-request-group("((query . \"^Subject: ping log$\") (group . \"ping\"))" nil (nnir "-ephemeral" (nnir-address "")))

Obviously, the group name is mangled between the lower and the upper
line above.  As it turns out, the culprit is the function
gnus-group-real-name:

    (defmacro gnus-group-real-name (group)
      "Find the real name of a foreign newsgroup."
      `(let ((gname ,group))
         (if (string-match "^[^:]+:" gname)
             (substring gname (match-end 0))
           gname)))

It cuts off everything before the first `:'!

Ick.

So, you could try to search for "^Subject. ping log$" which does not
contain a `:' and hence is not mangled.  Another alternative is to
enter the following for searching: "x:^Subject: ping log$" which
provides Gnus Colon Eater food -- dunno if this actually works.

I'll send another message to this list asking what to do about this.

kai
-- 
A preposition is not a good thing to end a sentence with.



      reply	other threads:[~1999-12-22 16:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-21 13:41 Harry Putnam
1999-12-21 21:27 ` Kai Großjohann
1999-12-22 10:30   ` Harry Putnam
1999-12-22 11:33     ` Kai Großjohann
1999-12-22 12:11       ` Harry Putnam
1999-12-22 16:52         ` Kai Großjohann [this message]

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=vafemcezzmu.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    /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).