From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [bug, beamer] Frame parameters taken from example code block Date: Tue, 29 Jul 2014 16:20:31 +0200 Message-ID: <86mwbs2qmo.fsf@somewhere.org> References: <867g4e1l60.fsf@somewhere.org> <87bns9xuoa.fsf@bzg.ath.cx> <87ha211e13.fsf@nicolasgoaziou.fr> <87egx4fgn6.fsf@bzg.ath.cx> <87silkz2c5.fsf@nicolasgoaziou.fr> <87zjfscl33.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <87zjfscl33.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org> (Bastien's message of "Tue, 29 Jul 2014 16:10:08 +0200") 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: Bastien , Nicolas Goaziou Cc: public-emacs-orgmode-mXXj517/zsQ-wOFGN7rlS/M9smdsby/KFg@public.gmane.org Bastien wrote: > Nicolas Goaziou writes: > >> As a side note, "forbidding" blank lines between headlines and the >> properties drawer (or better just after the planning line, if any) would >> make parsing easier and faster in a lot of cases. Unfortunately, I think >> this would break a lot of files, too. > > Well, we can poll users and see how inconvenient this change would be. > > (I'm certainly biased here, as I never use blank lines between the > headline and the properties drawer.) > > If it's not too inconvenient, we can plan this for Org 9.0. Sorry for taking too much time to answer, but I'm under constant flood here, because of holiday times and the such. First, please note I wouldn't flag the bug as being caused by a property drawer detached from the headline. For me, the problem (in the ECM I gave) is interpreting the contents of the Org code block (in the given case: an headline with a property drawer following it). I regard that "interpretation" of what's inside the Org code block as the real cause of the problem. Maybe interpretation is not the right term, but the code block should never be allowed to be scanned when searching properties of the current headline IMHO. Second, I neither never ever have property drawers separated from headlines. I think that could be safely enforce, anyway, as all the tools in Org (C-c C-x p, C-c C-x C-i, C-c C-s, C-c C-d, etc.) never make such a case appear. Best regards, Seb -- Sebastien Vauban