unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Sami M'Barek <sami@hamb.se>
To: notmuch@notmuchmail.org
Subject: Notmuch emacs string-trim
Date: Fri, 26 Mar 2021 21:01:26 +0100	[thread overview]
Message-ID: <58AA8C95-8C48-41B7-BECE-2205A5EA1654@hamb.se> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 722 bytes --]

Hello,

I was just trying to get back into my notmuch solution in emacs and noticed the notmuch-hello-search function has changed

From the looks of it on GitHub the commit 8d701cdc997a1310efb2b6e08b95d705da9062e6 changed how the function works as Emacs 24.4 goes string trimming natively.
Not sure if I have miss understood this but string-trim still needs an argument to what it’s supposed to trim, just like the older version in notmuch did (notmuch-hello-trim).

When invoking something like notmuch-hello-search “tag:unread” in emacs I get “Wrong type argument: conspiracy, “tag:unread””. I’m assuming this relates to the switch between notmuch-hello-trim and string-trim.

Best regards
Sami

[-- Attachment #1.2: Type: text/html, Size: 2046 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



             reply	other threads:[~2021-03-26 20:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 20:01 Sami M'Barek [this message]
2021-03-27  0:31 ` Notmuch emacs string-trim David Bremner
  -- strict thread matches above, loose matches on Subject: below --
2021-03-23 14:40 Sami M'Barek

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

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58AA8C95-8C48-41B7-BECE-2205A5EA1654@hamb.se \
    --to=sami@hamb.se \
    --cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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 read-only IMAP folder(s) and NNTP newsgroup(s).