unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Error when running notmuch new
@ 2024-06-26  1:37 Aidan Jones
  2024-06-26 15:44 ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Aidan Jones @ 2024-06-26  1:37 UTC (permalink / raw)
  To: notmuch@notmuchmail.org


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

Hello notmuch mailing list,

I am new to notmuch, so I apologize if this is just an operator error. I have a local maildir created using offlineimap. I have ran notmuch setup and configured notmuch to use the maildir as its archive. However, running notmuch new returns 'notmuch new: Illegal argument for function'
Any ideas what I am doing wrong?

Thanks

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

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



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

* Re: Error when running notmuch new
  2024-06-26  1:37 Error when running notmuch new Aidan Jones
@ 2024-06-26 15:44 ` David Bremner
  2024-06-27  8:06   ` Aidan Jones
  0 siblings, 1 reply; 6+ messages in thread
From: David Bremner @ 2024-06-26 15:44 UTC (permalink / raw)
  To: Aidan Jones, notmuch@notmuchmail.org

Aidan Jones <arjones239@protonmail.ch> writes:

> I am new to notmuch, so I apologize if this is just an operator
> error. I have a local maildir created using offlineimap. I have ran
> notmuch setup and configured notmuch to use the maildir as its
> archive. However, running notmuch new returns 'notmuch new: Illegal
> argument for function' Any ideas what I am doing wrong?

Can you share your configuration? It sounds like it might be a bad
regex.

d

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

* Re: Error when running notmuch new
  2024-06-26 15:44 ` David Bremner
@ 2024-06-27  8:06   ` Aidan Jones
  2024-06-27 10:39     ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Aidan Jones @ 2024-06-27  8:06 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch@notmuchmail.org

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]






Sent with Proton Mail secure email.

On Wednesday, June 26th, 2024 at 3:44 PM, David Bremner <david@tethera.net> wrote:

> Aidan Jones arjones239@protonmail.ch writes:
> 
> > I am new to notmuch, so I apologize if this is just an operator
> > error. I have a local maildir created using offlineimap. I have ran
> > notmuch setup and configured notmuch to use the maildir as its
> > archive. However, running notmuch new returns 'notmuch new: Illegal
> > argument for function' Any ideas what I am doing wrong?
> 
> 
> Can you share your configuration? It sounds like it might be a bad
> regex.
> 
> d

I don't see any regex in the output of 'notmuch config list', which is attached as a file. The only configuring I've done is through the 'notmuch setup' command.

Thanks,
Aidan

[-- Attachment #2: notmuch-config.txt --]
[-- Type: text/plain, Size: 527 bytes --]

built_with.compact=true
built_with.field_processor=true
built_with.retry_lock=true
built_with.sexp_queries=false
database.autocommit=8000
database.backup_dir=/home/user/.mail/protonmail/.notmuch/backups
database.hook_dir=/home/user/.mail/protonmail/.notmuch/hooks
database.mail_root=/home/user/.mail/protonmail
database.path=/home/user/.mail/protonmail
index.as_text=
maildir.synchronize_flags=sync
new.ignore=
new.tags=inbox;unread;
search.exclude_tags=ignore
user.name=Aidan Jones
user.primary_email=arjones239@protonmail.ch

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



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

* Re: Error when running notmuch new
  2024-06-27  8:06   ` Aidan Jones
@ 2024-06-27 10:39     ` David Bremner
  2024-06-27 17:57       ` Aidan Jones
  0 siblings, 1 reply; 6+ messages in thread
From: David Bremner @ 2024-06-27 10:39 UTC (permalink / raw)
  To: Aidan Jones; +Cc: notmuch@notmuchmail.org

Aidan Jones <arjones239@protonmail.ch> writes:


> maildir.synchronize_flags=sync

This is the only line that caught my eye.

Can you try

$ notmuch config set maildir.synchronize_flags true

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

* Re: Error when running notmuch new
  2024-06-27 10:39     ` David Bremner
@ 2024-06-27 17:57       ` Aidan Jones
  2024-06-28 13:56         ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Aidan Jones @ 2024-06-27 17:57 UTC (permalink / raw)
  To: David Bremner; +Cc: notmuch@notmuchmail.org






Sent with Proton Mail secure email.

On Thursday, June 27th, 2024 at 10:39 AM, David Bremner <david@tethera.net> wrote:

> Aidan Jones arjones239@protonmail.ch writes:
> 
> 
> 
> > maildir.synchronize_flags=sync
> 
> 
> This is the only line that caught my eye.
> 
> Can you try
> 
> $ notmuch config set maildir.synchronize_flags true

That did it. Thanks for the help!

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

* Re: Error when running notmuch new
  2024-06-27 17:57       ` Aidan Jones
@ 2024-06-28 13:56         ` David Bremner
  0 siblings, 0 replies; 6+ messages in thread
From: David Bremner @ 2024-06-28 13:56 UTC (permalink / raw)
  To: Aidan Jones; +Cc: notmuch@notmuchmail.org

Aidan Jones <arjones239@protonmail.ch> writes:


>> 
>> This is the only line that caught my eye.
>> 
>> Can you try
>> 
>> $ notmuch config set maildir.synchronize_flags true
>
> That did it. Thanks for the help!

Glad to hear it. We should try to provide a more informative error
message here.

d

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

end of thread, other threads:[~2024-06-28 13:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  1:37 Error when running notmuch new Aidan Jones
2024-06-26 15:44 ` David Bremner
2024-06-27  8:06   ` Aidan Jones
2024-06-27 10:39     ` David Bremner
2024-06-27 17:57       ` Aidan Jones
2024-06-28 13:56         ` David Bremner

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