unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Simon Campese <notmuchmail_org@campese.de>
To: notmuch@notmuchmail.org
Subject: [BUG] inconsistent user context handling w/ tramp 
Date: Sat, 02 Mar 2013 12:46:33 +0100	[thread overview]
Message-ID: <874nguxbvq.fsf@tu-dortmund.de> (raw)

Hello,

after using tramp to open a file using the 'su' or 'sudo' protocol as
user X, the next time I run 'compose-mail' to compose a message it
apparently looks in the home directory of user X for its config file,
mail directory etc. In the compose window, I get the error message

'Error reading configuration file $X_homedir/.notmuch-config: No such
file or directory'

in all header fields (From, Fcc etc.) that should be filled by notmuch
($X_homedir  is the home directory of user X from above).

This happens when using emacs in "standalone" mode or when connecting
to a running instance of emacs with emacsclient. In the latter case, if  
one connects with another emacsclient, everything works properly again. 

However, this all suggests that notmuch should gather the user who is
running emacs in a more robust way. 


Best wishes,

Simon

             reply	other threads:[~2013-03-02 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-02 11:46 Simon Campese [this message]
2013-03-02 18:50 ` [BUG] inconsistent user context handling w/ tramp David Bremner
2013-03-08 13:04 ` [PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string david
2013-03-29 15:14   ` David Bremner
2013-03-29 15:54     ` Tomi Ollila
2013-04-01 13:33   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nguxbvq.fsf@tu-dortmund.de \
    --to=notmuchmail_org@campese.de \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).