Synchronization success stories?

2014-04-11 Thread Brian Sniffen
tried offlineimap---it (and my Exchange sever) get grouchy with mailboxes of that size. I tried keeping ~/Maildir/ in Google Drive; it took weeks to do the initial sync and I gave up. I'm trying bittorrent-sync now, with no obivous failures. -Brian -- Brian Sniffen Information Security Akamai

Re: Synchronization success stories?

2014-04-15 Thread Brian Sniffen
David Mazieres dm-list-email-notm...@scs.stanford.edu writes: David Bremner da...@tethera.net writes: Brian Sniffen bsnif...@akamai.com writes: I'm thrilled by using notmuch to manage my mail. Low-latency search is very important to me. But I use computers in a couple of places---several

Exchange mutilation of multipart/encrypted

2014-12-02 Thread Brian Sniffen
-internal` and expect to call that with a forced content-type. Thanks, Brian -- Brian Sniffen I reserve the right to evolve my views, and state that views I previously expressed may have been somehere along the spectrum from insufficiently nuanced through ill-informed to dead wrong

Re: Emacs: postponing messages

2016-08-11 Thread Brian Sniffen
I just found this thread from June while looking to resume a draft saved from another program (dovecot) and which was given the 'draft' tag by synchronization from Maildir flags. Mark, thanks! I *think* all I have to do to deal with other clients accessing the Maildir through IMAP is to remove

Re: i do not have INBOX

2017-01-20 Thread Brian Sniffen
David Bremner writes: > David Belohrad writes: > >> >> my directory does not contain INBOX, as inside the Maildir folder is >> directly /cur, /new, /tmp. How do I search in this particular one? > > Quoting notmuch-search-terms(7) > >The exact

Re: [PATCH] cli: consider files vanishing during notmuch new non-fatal

2016-11-12 Thread Brian Sniffen
> > OK, but the patch proposed works both for people who want to be notified > of this problem, and those that don't (with appropriate shell wrapping > checking the return code). I think it will loop; how do I guarantee termination and indexing of all present messages if deletions cause

Re: [PATCH] cli: consider files vanishing during notmuch new non-fatal

2016-11-12 Thread Brian Sniffen
> On Nov 12, 2016, at 11:10 AM, David Bremner <da...@tethera.net> wrote: > > Brian Sniffen <b...@evenmere.org> writes: > >>> >>> OK, but the patch proposed works both for people who want to be notified >>> of this problem, and those that

Exchange mutilation of multipart/encrypted

2014-12-01 Thread Brian Sniffen
e regret. Any advice? I see `notmuch-show-insert-bodypart-internal` and expect to call that with a forced content-type. Thanks, Brian -- Brian Sniffen "I reserve the right to evolve my views, and state that views I previously expressed may have been somehere along the spectrum from insufficiently nuanced through ill-informed to dead wrong."

Re: converting attachments to text

2017-01-03 Thread Brian Sniffen
Sure! Here's what I use for docx, and I think it could be adapted to pdf with pdftotext or whatever you're already using there. You need a small shell script that reads from STDIN, writes to a file, and calls pandoc or pdftotext or whatever, like ~/bin/antiwordx: #!/bin/sh

Re: wildcards with path or folder

2016-12-18 Thread Brian Sniffen
want, or lose data. -Brian I know I can restore my Maildir from backups. Guess how? -- Brian Sniffen > On Dec 18, 2016, at 6:19 PM, Steven Allen <ste...@stebalien.com> wrote: > > > Erik, > > Erik Colson <e...@ecocode.net> writes: >> hi, >> >> H

Synchronization success stories?

2014-04-10 Thread Brian Sniffen
tried offlineimap---it (and my Exchange sever) get grouchy with mailboxes of that size. I tried keeping ~/Maildir/ in Google Drive; it took weeks to do the initial sync and I gave up. I'm trying bittorrent-sync now, with no obivous failures. -Brian -- Brian Sniffen Information Security Akamai

Synchronization success stories?

2014-04-14 Thread Brian Sniffen
David Mazieres writes: > David Bremner writes: > >> Brian Sniffen writes: >> >>> I'm thrilled by using notmuch to manage my mail. Low-latency search is >>> very important to me. But I use computers in a couple of >>> places---several of wh

Re: Notmuch Emacs reply format=JSON

2017-03-13 Thread Brian Sniffen
You might like [org-mime](http://orgmode.org/worg/org-contrib/org-mime.html) or `mimedown`: ; For writing pretty mail (defun mimedown () (interactive) (save-excursion (message-goto-body) (mml-unsecure-message) (let* ((sig-point (save-excursion

Re: [PATCH] emacs: change default for notmuch-crypto-process-mime to t

2017-07-10 Thread Brian Sniffen
Gpg is exposed to some zip bomb problems last I looked. But the worst that could do is fill your disk or crash your Emacs, right? And I suspect the MIME library exposes similar issues in quantity. -- Brian Sniffen > On Jul 10, 2017, at 4:42 PM, Daniel Kahn Gillmor <d...@fifthhorsem

Re: finding incoming messages in threads in which i've participated [was: Re: find threads where I and Jian participated but not Dave]

2017-06-25 Thread Brian Sniffen
computing "participated" from "sent" become easy. And fancier ideas like computing tags from senders, list-id, the rest. -- Brian Sniffen > On Jun 25, 2017, at 11:46 AM, Daniel Kahn Gillmor <d...@fifthhorseman.net> > wrote: > > Hey all-- > > I really a

Re: find threads where I and Jian participated but not Dave

2017-06-13 Thread Brian Sniffen
David Bremner writes: > Xu Wang writes: > >> I bump this. Actually more simple than that, how to search for thread >> in which I have participated and Jian has participated? Excluding >> threads in which Dave participated is perhaps more complicated. > >

Re: web interface to notmuch

2017-10-19 Thread Brian Sniffen
> On Oct 19, 2017, at 12:55 PM, Daniel Kahn Gillmor <d...@fifthhorseman.net> > wrote: > >> On Thu 2017-10-19 11:01:53 -0400, Brian Sniffen wrote: >> I put together something like this, visible at >> https://github.com/briansniffen/notmuch/tree/nmweb/contrib

Re: web interface to notmuch

2017-11-01 Thread Brian Sniffen
> On Oct 31, 2017, at 5:32 PM, Matthew Lear wrote: > > > FWIW this link > (https://nmweb.evenmere.org/show/CACMMjMLecmXopb8AATjE3UuCnNLOO%2B5Nmev5X8K-UostDEUdrQ%40mail.gmail.com) > has the tag attachment applied to the message, but there is no attachment > shown. And

Re: web interface to notmuch

2017-12-06 Thread Brian Sniffen
> Assuming that you had a sanitize_this_html_part() function available to > you, do you think it would be possible to make this safe? Have you > considered proposing it for inclusion in contrib upstream? Okay, https://github.com/briansniffen/notmuch/tree/nmweb is now rebased onto the

Re: notmuch does not find some mails which actually are part of a thread

2017-10-28 Thread Brian Sniffen
Try the first command prefixed with “echo”. You will see that your shell is interpreting the dollar signs. -- Brian Sniffen > On Oct 28, 2017, at 2:43 PM, Gregor Zattler <telegr...@gmx.net> wrote: > > Hi notmuch developers, > > notmuch does not find s

Re: web interface to notmuch

2017-10-25 Thread Brian Sniffen
That's inspiring! Now there's a demo of nmweb at https://nmweb.evenmere.org/ It's possible to get it to dump the whole mbox by clicking through the obvious links; please consider exploring at https://nmweb.evenmere.org/search/monkey instead. There are not many monkeys in the inbox. -Brian

Re: web interface to notmuch

2017-10-31 Thread Brian Sniffen
> just remove it), but along the way of searching and viewing mail, I've > encountered quite a few occurrences of failing to UnicodeEncode. An example > backtrace looks like this: > > Traceback (most recent call last): > File "/usr/lib/python2.7/dist-packages/web/application.py", line 239, in >

Re: web interface to notmuch

2017-10-19 Thread Brian Sniffen
I put together something like this, visible at https://github.com/briansniffen/notmuch/tree/nmweb/contrib/notmuch-web It's not much of a service. I am pretty sure it is exploitable---that content in text/html parts of messages can do Bad Things to your session. I haven't thought nearly hard

Re: web interface to notmuch

2017-10-26 Thread Brian Sniffen
Daniel Kahn Gillmor <d...@fifthhorseman.net> writes: > On Wed 2017-10-25 18:03:01 -0400, Brian Sniffen wrote: >> That's inspiring! Now there's a demo of nmweb at >> >> https://nmweb.evenmere.org/ > > this is very nice, Brian. Thanks! The part I'm happiest ab

Re: web interface to notmuch

2017-10-27 Thread Brian Sniffen
Daniel Kahn Gillmor <d...@fifthhorseman.net> writes: > On Fri 2017-10-27 00:04:21 -0400, Brian Sniffen wrote: >> With bleach integrated (all of five lines), I think this is safe enough >> to let random notmuch users run it. > > hm, bleach might be a little too ag

Re: [PATCH v2] cli/insert: new message file can be world-readable (rely on umask)

2018-02-08 Thread Brian Sniffen
If there’s a hidden danger in these modes, better to leave the switch requiring octal tunes! -- Brian Sniffen > On Feb 8, 2018, at 8:40 PM, Daniel Kahn Gillmor <d...@fifthhorseman.net> > wrote: > >> On Tue 2018-02-06 14:43:56 -0500, Daniel Kahn Gillmor wrote: >>

Re: a temporary nmweb view of notmuch mailing list archive

2018-02-10 Thread Brian Sniffen
It looks like you have thread next/pref turned off. Is there a reason, including the reason that I hadn’t documented it? -- Brian Sniffen > On Feb 8, 2018, at 11:28 PM, Daniel Kahn Gillmor <d...@fifthhorseman.net> > wrote: > >> On Sun 2018-02-04 23:09:35 -0500, Dani

Re: a temporary nmweb view of notmuch mailing list archive

2018-02-15 Thread Brian Sniffen
show_thread_nav = True , and take through https://github.com/briansniffen/notmuch/commit/021c914fc5cc1029778794cc5630373041066889 -- Brian Sniffen > On Feb 15, 2018, at 11:06 AM, Daniel Kahn Gillmor <d...@fifthhorseman.net> > wrote: > >> On Sun 2018-02-11 15:03:05 -0500

Re: tip: how to not forget attachments

2018-03-19 Thread Brian Sniffen
`error` doesn’t do any unwinding; it leaves the program state wherever it was for analysis. You probably want throw/catch, as described at https://www.gnu.org/software/emacs/manual/html_node/elisp/Catch-and-Throw.html#Catch-and-Throw -- Brian Sniffen > On Mar 19, 2018, at 3:25 PM, Anto

Re: tip: how to not forget attachments

2018-03-19 Thread Brian Sniffen
Throw your function name, catch it outside the save-excursion, and raise an error there? -- Brian Sniffen > On Mar 19, 2018, at 4:16 PM, Antoine Beaupré <anar...@orangeseeds.org> wrote: > >> On 2018-03-19 15:57:05, Brian Sniffen wrote: >> `error` doesn’t do

Re: emacs slow with large threads

2019-01-18 Thread Brian Sniffen
This is much worse than normal problems with large files or long lines. There’s something worse-than-quadratic in the nesting and indenting elisp. I’ve been meaning to get around to figuring out what, but no luck yet. -- Brian Sniffen > On Jan 18, 2019, at 7:03 PM, Landry, Walter wr

Re: How do you synchronize your notmuch tags across multiple machines?

2019-01-03 Thread Brian Sniffen
Dovecot’s maildir. Both work fine. In the “work” case, changes are not pushed back up to the server. -- Brian Sniffen > On Jan 3, 2019, at 5:27 PM, Dan Čermák wrote: > > I have just given muchsync a try and it synchronizes email and tags very > quickly. I am qui

Re: emacs slow with large threads

2019-01-22 Thread Brian Sniffen
I think that becomes buffer local when set. Are you sure it me a difference? -- Brian Sniffen > On Jan 21, 2019, at 7:39 AM, Emilio Francesquini > wrote: > > Hello there, > > I recently ran into the same (slowness) problem when viewing long threads. > After some

Re: Reply to content of "List-Post" header?

2019-03-02 Thread Brian Sniffen
You can set message-subscribed-addresses or its cousins; then message-to-list-only will work for you. -- Brian Sniffen > On Mar 2, 2019, at 10:00 AM, Ralph Seichter wrote: > > * Gregor Zattler: > >> I do "R" for reply-to-all and then C-c C-l for message-t

Re: Can not view messages in deeply nested threads (emacs)

2019-04-08 Thread Brian Sniffen
Consider changing your html tenderer to anything other than ‘shr. Its handling of nested blocks is unsane. -- Brian Sniffen > On Apr 8, 2019, at 3:27 PM, Landry, Walter wrote: > > Hi Everyone, > > Back in January, I posted about a problem I had when viewing large > thread

Re: Attach public key and encrypt by default

2019-12-16 Thread Brian Sniffen
kilobytes of useless crud on every message. Please don’t. Maybe a URL to your key in your signature would be enough? -- Brian Sniffen > On Dec 16, 2019, at 10:52 PM, Carolyn Lynn Knight-Serrano > wrote: > > Oh! I figured out how to encrypt by default. I still can't figure out how t

Re: Workaround for Exchange-corrupted PGP/Mime structure

2019-11-20 Thread Brian Sniffen
Carl Worth writes: > On Wed, Nov 20 2019, Carl Worth wrote: >> I'll update my notmuch and give this a try. > > Just a "git pull; make; make install" and my problem went away. > > Thanks again for the fixes, Daniel. Yeah, these have been fantastic for me too. MSFT has no intention of fixing PGP

Re: What do people use for calendar invites?

2021-01-21 Thread Brian Sniffen
I don’t have an answer that lives in Emacs; I just let another imap client (Apple Calendar) read the mailbox for invitations and maintain my calendar. I just have to make sure getmail doesn’t delete the invitation messages. -- Brian Sniffen > On Jan 21, 2021, at 4:49 AM, David Mazie