emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: How can i share a single org-default-notes-file between mu


From: Richard Lawrence
Subject: [Orgmode] Re: How can i share a single org-default-notes-file between multiple instances of emacs?
Date: Thu, 16 Dec 2010 11:16:17 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Eric Holbrook <address@hidden> writes:

> At work i typically need to have at least 2 emacs running: 1 for the
> project i'm working on at the moment; 1 for notes, email, ~/.bashrc,
> ~/.alias, etc.
>
> I often have more than 1 project going at a time, so i end up with 3
> or 4 emacs running, sometimes more.
>
> I'd like to be able to do 'org-capture from any emacs, and have them
> all dump into the same org-default-notes-file, which i have creatively
> named notes.org.
>
> How can i do this? I thought of possibly setting a defadvice tied to
> notes.org that tells all running emacs to unceremoniously revert that
> buffer before doing anything else to it, and to save it when done with
> it.

I really don't know if this would help you out in your particular
scenario, but have you thought about using the Emacs server[1]?  If, for
example, you start the server from within your "home" Emacs, but then
visit project files from the command line using emacsclient, those
emacsclient instances will see your notes buffer in its current state,
even if it's unsaved, and changes you make there will be visible in your
home Emacs.

I think the server requires Emacs 23, so if you have that at work, it
might be worth looking into.

Richard

[1]
http://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]