From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86612 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: notmuch is limited to a single local mail store, right? Date: Fri, 15 Jan 2016 11:28:10 +0800 Message-ID: <87wprbldx1.fsf@ericabrahamsen.net> References: <87bn8n1sdq.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452828560 3074 80.91.229.3 (15 Jan 2016 03:29:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Jan 2016 03:29:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34839@lists.math.uh.edu Fri Jan 15 04:29:07 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJv4T-0004tv-Ei for ding-account@gmane.org; Fri, 15 Jan 2016 04:29:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aJv3q-0003Vt-Ji; Thu, 14 Jan 2016 21:28:26 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aJv3o-0003VP-1u for ding@lists.math.uh.edu; Thu, 14 Jan 2016 21:28:24 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aJv3n-0005hk-7B for ding@lists.math.uh.edu; Thu, 14 Jan 2016 21:28:23 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1aJv3l-00070D-2y for ding@gnus.org; Fri, 15 Jan 2016 04:28:21 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aJv3g-0004IX-QQ for ding@gnus.org; Fri, 15 Jan 2016 04:28:17 +0100 Original-Received: from 114.250.132.144 ([114.250.132.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jan 2016 04:28:16 +0100 Original-Received: from eric by 114.250.132.144 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jan 2016 04:28:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.132.144 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:Sg9x37mBB+EC5T8xmIWihW9ow9E= X-Spam-Score: -0.1 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86612 Archived-At: myglc2 writes: > After more flailing than I care to admit I have notmuch working with > nnir so that I can do 'G G' on a maildir folder populated/syncronized > by, for example, mbsync. Pretty, pretty, pretty nice! > > In the process of getting this working, I discovered that, to use > notmuch, you must first consolidate all your mail under a single > directory which also holds the '.nogmuch' index folder. > > Why? Because (according to the notmuch man page) '.notmuch-config' > specifies a single 'database.path' to maildir (as opposed to a list of > paths) and 'nnir-notmuch-remove-prefix' is a global variable. Actually you can set that variable on individual servers, so each server removes its own prefix. You still have the problem that notmuch only indexes from a single parent directory down, though. Have you already collected all your various maildir servers under one parent directory? Of course, you'll probably still run into errors: searching on one server will cause notmuch to return results from *all* servers, then the server under point will try to remove its prefix from all the results, and... I don't know what will happen then! E