From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: header-args:C++ doesn't work Date: Sat, 06 Dec 2014 00:42:25 +0100 Message-ID: <87wq651x5q.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2VJ-0000lf-Kq for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:41:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xx2V9-0007nm-C4 for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:41:41 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:38726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xx2V9-0007nY-5t for emacs-orgmode@gnu.org; Fri, 05 Dec 2014 18:41:31 -0500 In-Reply-To: (Puneeth Chaganti's message of "Fri, 5 Dec 2014 00:10:54 +0530") 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: Puneeth Chaganti Cc: emacs-orgmode Hello, Puneeth Chaganti writes: > I was helping out "ablephar`" on IRC and they found that setting a > file property `header-args:C++` does not work. > > After some edebug magic, I discovered that org has a feature that lets > you append property values! (Not the best way to discover a great > feature, I must say! :-) > > The fix could either be a documentation fix. (I would've tried using > cpp instead of C++, if I knew that was supported). But, this would > still have some users seeing things broken and then looking up docs or > trying out the alternative. > > OR > > a "hacky" fix, (better for the users ?), could be to consider KEY+ to > be indicating appending, but KEY++ to not. Thoughts? I prefer the former. Forbidding to end properties with "+" (unless we are appending a value) is, IMO, a bearable restriction. Regards, -- Nicolas Goaziou