[BUG] inconsistent user context handling w/ tramp
authorSimon Campese <notmuchmail_org@campese.de>
Sat, 2 Mar 2013 11:46:33 +0000 (12:46 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:49 +0000 (09:53 -0800)
f5/525664638dfdf0fbeca96aeb3b2e72e468f6e5 [new file with mode: 0644]

diff --git a/f5/525664638dfdf0fbeca96aeb3b2e72e468f6e5 b/f5/525664638dfdf0fbeca96aeb3b2e72e468f6e5
new file mode 100644 (file)
index 0000000..0a3de51
--- /dev/null
@@ -0,0 +1,75 @@
+Return-Path: <notmuchmail_org@campese.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 00127431FAF\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Mar 2013 03:50:55 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id trGorbu6rBmc for <notmuch@notmuchmail.org>;\r
+       Sat,  2 Mar 2013 03:50:55 -0800 (PST)\r
+X-Greylist: delayed 332 seconds by postgrey-1.32 at olra;\r
+       Sat, 02 Mar 2013 03:50:55 PST\r
+Received: from mail01.worldserver.net (mail.worldserver.net [217.13.200.24])\r
+       by olra.theworths.org (Postfix) with ESMTP id 32C97431FAE\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Mar 2013 03:50:55 -0800 (PST)\r
+Received: from rman-tp.localdomain (vz168.worldserver.net [80.81.243.68])\r
+       (Authenticated sender: mailer@campese.de)\r
+       by mail01.worldserver.net (Postfix) with ESMTPSA id 086E830032E\r
+       for <notmuch@notmuchmail.org>; Sat,  2 Mar 2013 12:53:43 +0100 (CET)\r
+Received: by rman-tp.localdomain (Postfix, from userid 1000)\r
+       id 25E1EB7; Sat,  2 Mar 2013 12:46:33 +0100 (CET)\r
+From: Simon Campese <notmuchmail_org@campese.de>\r
+To: notmuch@notmuchmail.org\r
+Cc: \r
+Subject: [BUG] inconsistent user context handling w/ tramp \r
+Date: Sat, 02 Mar 2013 12:46:33 +0100\r
+Message-ID: <874nguxbvq.fsf@tu-dortmund.de>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-Mailman-Approved-At: Sat, 02 Mar 2013 09:47:30 -0800\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 02 Mar 2013 11:50:56 -0000\r
+\r
+Hello,\r
+\r
+after using tramp to open a file using the 'su' or 'sudo' protocol as\r
+user X, the next time I run 'compose-mail' to compose a message it\r
+apparently looks in the home directory of user X for its config file,\r
+mail directory etc. In the compose window, I get the error message\r
+\r
+'Error reading configuration file $X_homedir/.notmuch-config: No such\r
+file or directory'\r
+\r
+in all header fields (From, Fcc etc.) that should be filled by notmuch\r
+($X_homedir  is the home directory of user X from above).\r
+\r
+This happens when using emacs in "standalone" mode or when connecting\r
+to a running instance of emacs with emacsclient. In the latter case, if  \r
+one connects with another emacsclient, everything works properly again. \r
+\r
+However, this all suggests that notmuch should gather the user who is\r
+running emacs in a more robust way. \r
+\r
+\r
+Best wishes,\r
+\r
+Simon\r
+\r