Hello Xavier.

Sorry for the late response.
We just had two wonderful spring days, the first two really good
days, and i was out for cycling, and then very tired.
(Nature is pretty destroyed, you have to drive for an hour before
it gets better, and in winter it is dark early in the afternoon..)

Xavier Maillard wrote in
 <[email protected]>:
 |
 |What is the correct way to 'f' for header List-ID and restrict the \
 |headers view to only a particular mailing-list ?

I would use

  f @list-id@mailx

 |Reading the man page, I tried this approach:
 |
 |'<list-id@@emacs\.devel>
 |
 |But it results in "no applicable messages" info text.

It really is not that the MUA dislikes you because you do not
search for vim, i hope.  But

  f '@list-id@@emacs.devel'

should match (if the list really is "emacs.devel").
Note you do not need to quote the dot/period, or better, you
really must not, the above is not a regular expression.
It only is treated as a regular expression if any of

  ^[*+?|$

is seen in the construct.  (Unfortunately the active references do
not work except with a patched groff(1) and a newer less(1), but
the HTML manual online, it would bring you the reference to the
regular expressions (as i said above).


  ? f '@list-id@lists\.sdaoden'
  s-nail: No applicable messages

  ? f '@[email protected]'
  ▸NL 106 Xavier Maillard                   2025-04-04 21:53    84/   4334 
[S-mailx] Looking for List-ID header

(Btw i added a non-portable `sea'rch "alias" for `f'rom, just
i case `sea' comes more naturally to you.)

 |-- Xavier
 --End of <[email protected]>

Unfortunately it gets more complicated.  The v14.10 series will
bring, yet likely not with .0, unfortunately, and finally, the
possibility to chain search expressions, with the above constructs
that is.  As in '@list-id@mailx && x && !y' etc.  As of today
something similar can only be done with the IMAP search
expressions, but which do not support regular expressions.

--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