I often work in both user and root accounts but I don't like that I have two emacs daemons running for each user.

Is it possible to set the same, only one emacs daemon for user's and root's clients?

  • 3
    Does something like stackoverflow.com/questions/95631/… work for you? – drewbenn Jul 17 '13 at 4:37
  • @drewbenn that interesting I never heard about tramp before but what I need is to point all the clients to the same server (daemon) so that will be tricky to use it for my propose if even it possible... – cnd Jul 17 '13 at 4:40
  • I think the idea is you only connect to the server from the user account, then open files you want to open as root from inside of an existing emacs frame, rather than from the command-line. That is a different way of approaching the problem; if it doesn't work for you then it doesn't work :) and hopefully a better answer for you comes quickly! – drewbenn Jul 17 '13 at 4:45
  • @drewbenn yes I was thinking about it after checking the first link. It's possible but mostly weird as solution because it will create big mess. If I want to commit by user I need to know that I use user's client and if I need to commit as root I need to commit as root... Right now I'm thinking about merging user account into root account because I really so often work as root so I don't know why I even need that user account. – cnd Jul 17 '13 at 4:51
  • 2
    Then you are doing it wrong. – tripleee Jul 17 '13 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.