Re: Notmuch tags when OfflineIMAP creates a new folder with the same messages

2018-12-08 Thread Jorge P . de Morais Neto
David Bremner writes: > I _think_ it should be OK. Notmuch > 1) Tracks file renames > 2) Attaches tags to message-ids, not to files. > > As a precaution, it is always worthwhile to have a "notmuch dump" and or > full backup before attempting anything drastic. I did that and it worked fine.

Re: viewing duplicate messages

2019-05-30 Thread Jorge P . de Morais Neto
"Rollins, Jameson" writes: > It would be nice to have an easy way in notmuch-emacs-show to know if > there are multiple messages with the same message-id in the store, and > to cycle through viewing each individually. That would be useful to me too. I have a Dell laptop and I subscribed to

Re: viewing duplicate messages

2019-05-31 Thread Jorge P . de Morais Neto
Daniel Kahn Gillmor writes: > Have you reported this to Dell? Not yet. > If you'd care to forward me a zipfile containing examples of at least > two distinct messages with the same message ID, i'd love to look through > a copy of this sort of confusion. It's good to understand the different >

Re: [PATCH 1/7] cli: replace use of !! with macro

2019-06-12 Thread Jorge P . de Morais Neto
Hi. Isn't it good practice to parenthesize the arguments of C macros? So TO_BOOL would be defined as #define TO_BOOL(thing) (!! (thing)) In fact, why not just cast to bool? Regards David Bremner writes: > The slightly annoying reason to do this is because uncrustify can't > handle '!! foo'

Re: Apparently, terms with a common prefix are *not* connected by implicit "OR"

2019-08-15 Thread Jorge P . de Morais Neto
addresses # at which you receive email. # # Notmuch will use the various email addresses configured here when # formatting replies. It will avoid including your own addresses in the # recipient list of replies, and will set the From address based on the # address to which the original e

Apparently, terms with a common prefix are *not* connected by implicit "OR"

2019-08-11 Thread Jorge P. de Morais Neto
Hi. The NOTMUCH-SEARCH-TERMS man page says: Each term in the query will be implicitly connected by a logical AND if no explicit operator is provided (except that terms with a common prefix will be implicitly combined with OR). However, in practice I get different results: $

Re: viewing duplicate messages

2019-08-17 Thread Jorge P . de Morais Neto
Em 2019-05-30T19:02:57-0400, Daniel Kahn Gillmor escreveu: > Have you reported this to Dell? This sounds like something that anyone > at Dell who understands the technical issues would want to fix. If > you've reported it publicly, i'd appreciate a pointer to the discussion. I have just sent

Re: Strange, incoherent query parsing

2019-08-28 Thread Jorge P . de Morais Neto
Hello, Em 2019-08-28T07:08:28-0300, David Bremner escreveu: > I don't know about the other cases but here there is an extra closing > ')', which confuses the query parser. I agree that an error report > would be nicer, but we don't currently have that option from Xapian. Oops. Sorry about

Strange, incoherent query parsing

2019-08-27 Thread Jorge P. de Morais Neto
mail addresses configured here when # formatting replies. It will avoid including your own addresses in the # recipient list of replies, and will set the From address based on the # address to which the original email was addressed. # [user] name=Jorge P. de Morais Neto primary_email= other_em

Re: RFC: desktop entry for xdg-email

2019-11-02 Thread Jorge P . de Morais Neto
Hello. Em [2019-11-01 sex 20:55:19-0400], Antoine Beaupré escreveu: > So head over your favorite text editor (let's not discuss that further > shall we) to .config/mimeapps.list and add a line like this: > > x-scheme-handler/mailto=notmuch-emacs-mua.desktop Instead of directly editing

Re: moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option]

2019-12-10 Thread Jorge P . de Morais Neto
Hello. Em [2019-12-09 seg 13:31:22-0500], Daniel Kahn Gillmor escreveu: > One problem with such a "perennial text file" is that people will want > to edit it. When they do, what should happen? Well, the file could be named "notmuch-config-view" and the contents could include comments

Re: moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option]

2019-12-12 Thread Jorge P . de Morais Neto
Hello. Em [2019-12-10 ter 12:01:06-0500], Daniel Kahn Gillmor escreveu: > Perhaps you would be satisfied with some sort of "post-config-update" hook? Yes, I think that would fulfill my needs. And it would satisfy not only people who use Unison, but also people who use some "realtime" (don't

Re: moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option]

2019-12-08 Thread Jorge P . de Morais Neto
Em [2019-11-22 sex 10:43:40+0800], Daniel Kahn Gillmor escreveu: > Better than documenting, i'd be happy if we would add a "notmuch config > edit" subcommand, which handles the above sequence for you, invoking > $EDITOR at the appropriate time. > > The only caveat i see there is if the end user

Re: moving the config into the database [was: Re: [PATCH] Display extra headers for emacs-mua - db config option]

2019-12-08 Thread Jorge P . de Morais Neto
Em [2019-12-08 dom 09:12:55-0800], Jameson Graef Rollins escreveu: > You can already use 'notmuch config list' to dump every configuration > item to stdout. Would that be sufficient for personal synchronization > purposes. But then I would have to remember invoking ~notmuch config list >

Re: compacting the notmuch database through systemd

2019-12-08 Thread Jorge P . de Morais Neto
Em [2019-12-06 sex 14:41:22-0500], Daniel Kahn Gillmor escreveu: > As for the variations, i'm kind of of a mind that people who deviate > from the defaults should need to maintain their own deviance explicitly, > rather than trying to accomodate a non-default path in shipped config > files. For

Re: compacting the notmuch database through systemd

2019-12-05 Thread Jorge P . de Morais Neto
Hello. Em [2019-12-04 qua 14:51:12-0500], Antoine Beaupré escreveu: >> What should happen if the user hasn't set up notmuch? Maybe we need a >> ConditionPathExists= or something like that on either the .timer or the >> .service? > > Maybe: > > ConditionPathExists=$HOME/.notmuch-config > > ?

Feature request: show message size in Emacs

2020-01-16 Thread Jorge P. de Morais Neto
Hi. My mail account is provided by Disroot. It is a non-profit pay-as-you-wish provider of Internet services respecting free/libre software ethics. The mailbox is limited to 1GB, so I move unnecessary messages from the IMAP server to a local subdirectory of my maildir that is seen by Notmuch.

Re: New Python bindings (notmuch2 module) fail to exclude tags

2020-11-21 Thread Jorge P . de Morais Neto
Hi Floris. Em [2020-11-20 sex 19:17:56+0100], Floris Bruynooghe escreveu: > Looking at the implementation I don't seem much that could have gone > wrong. However I did notice the bindings fail to check the return code > in one call where it probably should, you could try with this patch? > >

Notmuch Emacs 0.31.2 documentation and keybinding suggestions

2020-11-25 Thread Jorge P. de Morais Neto
Hi. I would like to report the following documentation and keybinding imperfections: The info page [[info:notmuch-emacs.info#notmuch-hello key bindings]] says that moves to the previous widget, but that key is actually bound to `delete-backward-char'. To move to the previous widget I use or .

New Python bindings (notmuch2 module) fail to exclude tags

2020-11-20 Thread Jorge P. de Morais Neto
Hi. I am trying to migrate my Python3 script to the new Python bindings (notmuch2 module). However, I cannot obtain a count of messages matching a query excluding messages that have an exclude tag. From the command line: $ notmuch count 'is:.bf_spam' 0 The CLI command correctly counts

Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python)

2020-11-18 Thread Jorge P. de Morais Neto
Hi. I use Notmuch 0.31.2 on Emacs 27.1.50 (manually compiled on 2020-11-02) with matching version-pinned MELPA Stable Notmuch package on updated Debian buster. I have enabled buster-proposed-updates, buster-updates and buster-backports. I manually backport notmuch according to

Re: Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python)

2020-11-18 Thread Jorge P . de Morais Neto
Em [2020-11-18 qua 10:52:43-0400], David Bremner escreveu: > "Jorge P. de Morais Neto" writes: >> >> I have also saved the binary corrupted database. If you want to see it, >> then tell me and I may upload it to Disroot's Lufi instance. It should >&g

Please discard---Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python)

2020-11-18 Thread Jorge P . de Morais Neto
-0300], Jorge P. de Morais Neto escreveu: > Hi. I use Notmuch 0.31.2 on Emacs 27.1.50 (manually compiled on > 2020-11-02) with matching version-pinned MELPA Stable Notmuch package on > updated Debian buster. I have enabled buster-proposed-updates, > buster-updates and buster-backports.

Re: Corrupted database (notmuch 0.31, Emacs 27.1.50, afew 3.0.1, OfflineIMAP, Python)

2020-11-18 Thread Jorge P . de Morais Neto
Em [2020-11-18 qua 15:41:43-0400], David Bremner escreveu: > OK, so the problem is at the notmuch level. I don't really have any > good ideas on how to debug your issues. There are known (apparently > unfixable) memory management issues with the old python bindings, it > is possible that your

Programmatically set "From", Ispell dictionary and signature based on recipient

2020-11-17 Thread Jorge P. de Morais Neto
Hi. I use Notmuch 0.31.2 on Emacs 27.1.50. When I compose mail to a mailing list, I would like Emacs to automatically set: 1. "From" header to ~"Jorge P. de Morais Neto" ~ 2. Ispell dictionary to "en_US" 3. ~message-signature-file~ to "~/.signature--english

Re: Please share recommendations of mail fetcher for notmuch on GNU

2021-01-16 Thread Jorge P . de Morais Neto
Hello Em [2021-01-16 sáb 00:13:45+0100], Ralph Seichter escreveu: > If the server side uses the "maildir" format for storage (I do that > with Dovecot), you may find Muchsync (http://www.muchsync.org) > interesting. It allows synchronising both mail content and Notmuch > data across different

Re: Please share recommendations of mail fetcher for notmuch on GNU

2021-02-07 Thread Jorge P . de Morais Neto
ing it, too. > > Great weekend everyone! > > --alex > > -- > www.condition-alpha.com / @c_alpha > Sent from my iPhone; apologies for brevity and autocorrect weirdness. > >> On 15. Jan 2021, at 19:43, Kian Kasad wrote: >> >> On 21/01/15 02:27PM, Jorge P