unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch emacs string-trim
@ 2021-03-26 20:01 Sami M'Barek
  2021-03-27  0:31 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: Sami M'Barek @ 2021-03-26 20:01 UTC (permalink / raw)
  To: notmuch


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Notmuch emacs string-trim
  2021-03-26 20:01 Notmuch emacs string-trim Sami M'Barek
@ 2021-03-27  0:31 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2021-03-27  0:31 UTC (permalink / raw)
  To: Sami M'Barek, notmuch

Sami M'Barek <sami@hamb.se> writes:

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

Hi Sami;

notmuch-hello-search is an internal function expecting to called via a
widget action, with the widget as a first argument.  Did you maybe want
the function notmuch-search?

d

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-27  0:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 20:01 Notmuch emacs string-trim Sami M'Barek
2021-03-27  0:31 ` David Bremner

unofficial mirror of notmuch@notmuchmail.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/notmuch/0 notmuch/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 notmuch notmuch/ https://yhetil.org/notmuch \
		notmuch@notmuchmail.org
	public-inbox-index notmuch

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.mail.notmuch.general
	nntp://news.gmane.io/gmane.mail.notmuch.general


code repositories for project(s) associated with this inbox:

	notmuch.git.git (no URL configured)

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git