unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [BUG] inconsistent user context handling w/ tramp 
@ 2013-03-02 11:46 Simon Campese
  2013-03-02 18:50 ` David Bremner
  2013-03-08 13:04 ` [PATCH] emacs: introduce notmuch-command-to-string, replace use of shell-command-to-string david
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Campese @ 2013-03-02 11:46 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-01 13:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 11:46 [BUG] inconsistent user context handling w/ tramp Simon Campese
2013-03-02 18:50 ` 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

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).