Hi!
(I'll also try to retitle this bug, after submitting this update)
Arun Isaac <arunisaac@systemreboot.net> writes:
Toggle quote (3 lines)
> Thanks for this feature request! It's always gratifying to know that
> someone is using mumi, especially its more advanced features! :-)
mumi advanced features could be **very** useful to a lot of contributing
activities, if improved a little bit and better understood
Toggle quote (7 lines)
>> IMO is useful to be able to search for "subject:foo", it's a different
>> search than searching for foo in the body
>
> It looks like we implement this already. See
> https://git.savannah.gnu.org/cgit/guix/mumi.git/tree/mumi/xapian.scm#n141
> A search for "subject:foo" should work already.
Toggle snippet (5 lines)
(index-text! term-generator subjects #:prefix "S")
otherwise I could have realize that I was misinterpreting mumi search
output.
If for example I search for 'subject:zoneinfo' I get this results:
Toggle snippet (10 lines)
giovanni@roquette [genv]\: mumi search subject:zoneinfo
#31484 [PATCH] gnu: icu4c: Patch zoneinfo directory.
opened on 17 mag 2018 14:58 by Christopher Baines
#57448 ? [PATCH 0/5] gnu: exa: Update to 0.10.1.
opened on 27 ago 2022 12:09 by ???
#58614 ? [PATCH 000/187] Remove unused crates
opened on 18 ott 2022 22:18 by Efraim Flashner
(the mumi CLI output is colored and the separation of each bug is
clearer)
Since 2 of the 3 patch "titles" are missing 'zoneinfo', I thought the
search was done in the subject and in the body, not just the subject.
For example, bug #58614 actually contains a message with this subject:
[PATCH 185/187] gnu: Remove rust-zoneinfo-compiled-0.4.
...my misunderstanding was due to the fact that each tracked bug (issue)
have a /Title/ given by the subject mail header from the original report
or by a retitle [1]; thus Title _is_ different from the "Subject"s of
the rest of the messages in the /thread/ of the tracked bug; when we
consider bugs tracking patches, actually each and every single patch
submission (not the reviews sent by people using a reply-to) do have a
different subject.
When searching for "subject:" it would be useful to have a speficic
message number and subject along with (or in place of) the bug title.
Using the search example above, a more useful result would be:
Toggle snippet (17 lines)
giovanni@roquette [genv]\: mumi search subject:zoneinfo
#31484 [PATCH] gnu: icu4c: Patch zoneinfo directory.
opened on 17 mag 2018 14:58 by Christopher Baines
#57448 ? [PATCH 0/5] gnu: exa: Update to 0.10.1.
opened on 27 ago 2022 12:09 by ???
[PATCH 4/5] gnu: rust-zoneinfo-compiled: Update to 0.5.1.
sent on 27 Aug 2022 12:10 by gyara
#58614 ? [PATCH 000/187] Remove unused crates
opened on 18 ott 2022 22:18 by Efraim Flashner
[PATCH 185/187] gnu: Remove rust-zoneinfo-compiled-0.4.
sent on 18 Oct 2022 22:20 by Efraim Flashner
I'd also add a blank line to have clear results also with "BW" consoles.
A similar addition would also be useful in the web interface, also
having a link to the message corresponding to the searched subject,
like:
Is it doable?
WDYT?
Thanks! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
-----BEGIN PGP SIGNATURE-----
iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmT9z8kMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkSEDEQAOVS7lq9bEn5inNW8kjcD5vFSH8QO4si/x+7nJJe
UB9x90OOWdhRY7IzyzkX6apUXbGKb81ORLPXVyR9or3CQiSyrfkolcBSFAvbC8jw
xz7J0ZYtThuuNQWkFMKjmLdHrrhCtWCIkllYhKSK9cnP7crR0cYhDZ5JG1E8wlf5
M0p4A/0o9xYiPZ7et00v65cYpgJApwUoTGBcU53hFH0Rv/VkbaFfnC5Fk1cqzgmP
RFZQmT9OW67Qq47dr/aLS4cJ3ZKrCg49lVergMQ2vSd0YMq0Nf40yzIukLiAyOKn
07LrljLiCib4AydaeJPZyl3yoHQMtjO1KxedXTODrx4XLHqPXwpHR+KropVgaR+c
3ozbK1D2uq1D9zvbEsME70NS58sSLjkuCQfyidvuHdn7jEiRjDZPaO5TDoFZ1A7y
scNqtfT9A6UzV/BoAH9fm7krgfm4817WIk9YgdsIy0zeT3lAyoJwdaFgqiiVsVaE
fwl4nLYOpfHWR2wb8pO+PchcUMu3t3Qf/qG7H7H4s1U1MhRcHN7AW5hC6bZxIoao
9xlzkucVQEkn6G2hGJynyKuj9b9YK27YhQ3JC0dVd6SYFZPqbQ8TAIkDGWBJtHHl
JAM8ynOAOcaMObyowh1YUnCPC9WRVya6frQcfHf6HKnjMBpB5jyAzIBZcjOahulL
d/xK
=m8uz
-----END PGP SIGNATURE-----