Z <[email protected]> wrote in
 <67f04158.rtivhnbgu3gkeile%[email protected]>:
 |[email protected] (Xavier Maillard) wrote:
 |> What is the correct way to 'f' for header List-ID and restrict the \
 |> headers view to only a particular mailing-list ?
 |> Reading the man page, I tried this approach:
 |> '<list-id@@emacs\.devel>
 |> But it results in "no applicable messages" info text.
 |
 |I think you can do the following:
 |
 |--
 |# ~/.snailrc   # or whatever your config file is
 |set searchheaders
 |--
 |
 |Then in s-mailx use 'f /List-ID:<search term|blank>'.

Oh yes, that also works.  With the @@ construct and regular
expressions you can however anchor matches, the other one is an
"any substring matches" approach.

 |I *think* you can also use regex for searches but you might need
 |to enable something more; see "searchheaders" section in manpage.

Yes, i think Xavier wanted to say that the address skinning
functionality to exactly anchor searches does not work for
List-ID.  It only works for address headers like From::

  ? sea @f@^x@maillard\.im$
  s-nail: No applicable messages

  ?  sea @~f@^x@maillard\.im$
  ...

Whereas

  ? sea @list-id@s-mailx\.lists\.sdaoden\.eu$
  s-nail: No applicable messages

  ? sea @~list-id@s-mailx\.lists\.sdaoden\.eu$
  s-nail: No applicable messages

Oops.
Now it is not an address really, but it should work, and it does
not, actually.  I place it in the TODO list for v14.10 to fix.
:(

Have a nice Sunday,


P.S.: keep on asking like this!!!

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)

Reply via email to