From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org-log-note-headings buffer-local value Date: Sun, 25 Nov 2012 19:49:16 +0100 Message-ID: <87pq3134cz.fsf@gmail.com> References: <878v9wvwfq.fsf@hecubus.retroj.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TchKc-0002SD-Ty for emacs-orgmode@gnu.org; Sun, 25 Nov 2012 13:53:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TchKb-0000ik-VI for emacs-orgmode@gnu.org; Sun, 25 Nov 2012 13:53:30 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:34098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TchKb-0000ig-OG for emacs-orgmode@gnu.org; Sun, 25 Nov 2012 13:53:29 -0500 Received: by mail-wg0-f49.google.com with SMTP id gg4so1413739wgb.30 for ; Sun, 25 Nov 2012 10:53:29 -0800 (PST) In-Reply-To: <878v9wvwfq.fsf@hecubus.retroj.net> (John J. Foerch's message of "Tue, 20 Nov 2012 15:41:45 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John J Foerch Cc: emacs-orgmode@gnu.org Hello, John J Foerch writes: > I am exploring org-mode's potential for collaborative editing, and I > found that the main difficulty with this is that different users editing > the same document may have different org-mode configurations. Most of > the important options that I have found so far can be dealt with by > setting buffer-local values on the file to be jointly edited. One that > could not was org-log-note-headings. I found that this is because when > its value is taken, in org-store-log-note, the current buffer is the > "*Org Note*" buffer, rather than the document buffer. A patch is > attached that addresses this. Note, for clarity's sake, the patch does > not reindent org-store-log-note. Applied. Thank you. Regards, -- Nicolas Goaziou