unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / Atom feed
* help with :search-type 'tree' in Emacs/notmuch config?
@ 2021-01-07 17:59 jonathan
  2021-01-07 19:36 ` David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: jonathan @ 2021-01-07 17:59 UTC (permalink / raw)
  To: notmuch

Hi all,

Sorry in advance for what's likely a basic configuration question on the Emacs/notmuch side of things. I'd like to have a shortcut that goes into notmuch-tree from notmuch-hello. Following the docs & other configurations, it appears that :search-type 'tree' should work. An example from my configuration is below:

 (:name "inbox tree" :query "tag:inbox date:2021" :search-type 'tree :key "i")

This also appears to register properly with Emacs. Checking via the customization settings, the option of "tree" is properly ticked.  However, no matter what I do, the results always open in the standard configuration, not the tree.

I'm guessing this is a simple error of my own doing. Any help would be greatly appreciated.

Thank you again to the developers for the amazing tools.

Best,

Jonathan 

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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-07 17:59 help with :search-type 'tree' in Emacs/notmuch config? jonathan
@ 2021-01-07 19:36 ` David Bremner
  2021-01-07 19:37   ` Jonathan Wilner
  0 siblings, 1 reply; 8+ messages in thread
From: David Bremner @ 2021-01-07 19:36 UTC (permalink / raw)
  To: jonathan, notmuch

jonathan@teamwilner.com writes:

> Hi all,
>
> Sorry in advance for what's likely a basic configuration question on the Emacs/notmuch side of things. I'd like to have a shortcut that goes into notmuch-tree from notmuch-hello. Following the docs & other configurations, it appears that :search-type 'tree' should work. An example from my configuration is below:
>
>  (:name "inbox tree" :query "tag:inbox date:2021" :search-type 'tree :key "i")
>
> This also appears to register properly with Emacs. Checking via the customization settings, the option of "tree" is properly ticked.  However, no matter what I do, the results always open in the standard configuration, not the tree.
>
> I'm guessing this is a simple error of my own doing. Any help would be greatly appreciated.

Try without the ' in front of tree. At least if I use
customize-variable, I get :search-type tree, no quote.

d

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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-07 19:36 ` David Bremner
@ 2021-01-07 19:37   ` Jonathan Wilner
  2021-01-08 13:54     ` David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Wilner @ 2021-01-07 19:37 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch


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

Hi David,

I tried that as well when it hit the problem. I got the same result. :-(

On Thu, Jan 7, 2021 at 11:36 David Bremner <david@tethera.net> wrote:

> jonathan@teamwilner.com writes:
>
> > Hi all,
> >
> > Sorry in advance for what's likely a basic configuration question on the
> Emacs/notmuch side of things. I'd like to have a shortcut that goes into
> notmuch-tree from notmuch-hello. Following the docs & other configurations,
> it appears that :search-type 'tree' should work. An example from my
> configuration is below:
> >
> >  (:name "inbox tree" :query "tag:inbox date:2021" :search-type 'tree
> :key "i")
> >
> > This also appears to register properly with Emacs. Checking via the
> customization settings, the option of "tree" is properly ticked.  However,
> no matter what I do, the results always open in the standard configuration,
> not the tree.
> >
> > I'm guessing this is a simple error of my own doing. Any help would be
> greatly appreciated.
>
> Try without the ' in front of tree. At least if I use
> customize-variable, I get :search-type tree, no quote.
>
> d
>

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

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



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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-07 19:37   ` Jonathan Wilner
@ 2021-01-08 13:54     ` David Bremner
  2021-01-08 15:44       ` Jonathan Wilner
  0 siblings, 1 reply; 8+ messages in thread
From: David Bremner @ 2021-01-08 13:54 UTC (permalink / raw)
  To: Jonathan Wilner; +Cc: notmuch

Jonathan Wilner <jonathan@teamwilner.com> writes:

> Hi David,
>
> I tried that as well when it hit the problem. I got the same result. :-(
>

Did you try using M-x customize-variable to make the change?

d

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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-08 13:54     ` David Bremner
@ 2021-01-08 15:44       ` Jonathan Wilner
  2021-01-08 15:50         ` David Edmondson
  2021-01-08 16:58         ` David Bremner
  0 siblings, 2 replies; 8+ messages in thread
From: Jonathan Wilner @ 2021-01-08 15:44 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch

Great idea. I tried it and got the same result - not opening in Tree mode. :-(

David Bremner <david@tethera.net> writes:

> Jonathan Wilner <jonathan@teamwilner.com> writes:
>
>> Hi David,
>>
>> I tried that as well when it hit the problem. I got the same result. :-(
>>
>
> Did you try using M-x customize-variable to make the change?
>
> d

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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-08 15:44       ` Jonathan Wilner
@ 2021-01-08 15:50         ` David Edmondson
  2021-01-08 16:58         ` David Bremner
  1 sibling, 0 replies; 8+ messages in thread
From: David Edmondson @ 2021-01-08 15:50 UTC (permalink / raw)
  To: Jonathan Wilner, David Bremner; +Cc: notmuch

On Friday, 2021-01-08 at 07:44:45 -08, Jonathan Wilner wrote:

> Great idea. I tried it and got the same result - not opening in Tree mode. :-(

Please show us the (complete) value of your notmuch-saved-searches
variable.

You can get it by going to the *scratch* buffer and typing
notmuch-saved-searches, followed by control-j (sorry if that's obvious,
just wanted to be sure).

dme.
-- 
Oliver darling, call Mister Haney, I think our speakers are blown.

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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-08 15:44       ` Jonathan Wilner
  2021-01-08 15:50         ` David Edmondson
@ 2021-01-08 16:58         ` David Bremner
  2021-01-08 17:16           ` Jonathan Wilner
  1 sibling, 1 reply; 8+ messages in thread
From: David Bremner @ 2021-01-08 16:58 UTC (permalink / raw)
  To: Jonathan Wilner; +Cc: notmuch

Jonathan Wilner <jonathan@teamwilner.com> writes:

> Great idea. I tried it and got the same result - not opening in Tree mode. :-(
>

Another possibly obvious point, are you sure it's not tree mode? It only
opens the thread window by default (so no split pane until you hit
return on a message)a. It does display a tree view of the threads, but
that might not be totally obvious if e.g. most threads have a single
message. The buffer name should start with "*notmuch-tree-" though, if
it really is in tree mode.

d

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

* Re: help with :search-type 'tree' in Emacs/notmuch config?
  2021-01-08 16:58         ` David Bremner
@ 2021-01-08 17:16           ` Jonathan Wilner
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Wilner @ 2021-01-08 17:16 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch


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

Hi David and David,

Thanks for your help with this! I took everything out of my config and
started from scratch via customize. I believe I found my own configuration
error this way - two of the saved searches may have had the same shortcut
key of “I”.

When I made them unique, naturally I was able to get both results, not just
the first choice that didn’t have tree set. Oof.

Thank you for the great program and for helping me blunder thru this
debugging.

On Fri, Jan 8, 2021 at 08:58 David Bremner <david@tethera.net> wrote:

> Jonathan Wilner <jonathan@teamwilner.com> writes:
>
> > Great idea. I tried it and got the same result - not opening in Tree
> mode. :-(
> >
>
> Another possibly obvious point, are you sure it's not tree mode? It only
> opens the thread window by default (so no split pane until you hit
> return on a message)a. It does display a tree view of the threads, but
> that might not be totally obvious if e.g. most threads have a single
> message. The buffer name should start with "*notmuch-tree-" though, if
> it really is in tree mode.
>
> d
>

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

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



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

end of thread, other threads:[~2021-01-08 17:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 17:59 help with :search-type 'tree' in Emacs/notmuch config? jonathan
2021-01-07 19:36 ` David Bremner
2021-01-07 19:37   ` Jonathan Wilner
2021-01-08 13:54     ` David Bremner
2021-01-08 15:44       ` Jonathan Wilner
2021-01-08 15:50         ` David Edmondson
2021-01-08 16:58         ` David Bremner
2021-01-08 17:16           ` Jonathan Wilner

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


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