emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Blank lines after headline and before :PROPERTIES: etc
@ 2016-11-09 12:36 Charles Millar
  2016-11-09 23:28 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Millar @ 2016-11-09 12:36 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Hi,

I am not  a programmer, coder, whatever, and realize that many of you 
are used to inferring certain conditions by examples given in manuals, etc.

Is it stated anywhere in the Org manual that blank lines are not allowed 
after headlines or certain other elements. If not, could such 
"enlightenment" be added to the manual? As an example,

* This is a headline
:PROPERTIES:
:EXPORT_FILE_NAME: /path/to/exported/file
:END:

works as expected whereas

* This is a headline

:PROPERTIES:
:EXPORT_FILE_NAME: /path/to/exported/file
:END:

exports to a file with the buffer name.

(The above sometimes occur when I kill and yank the properties block.

Another example would be the necessity that a table immediately follow 
all elements that are used to format and generate a table.

Charlie Millar

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Blank lines after headline and before :PROPERTIES: etc
  2016-11-09 12:36 Blank lines after headline and before :PROPERTIES: etc Charles Millar
@ 2016-11-09 23:28 ` Nicolas Goaziou
  2016-11-15 21:38   ` Charles Millar
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2016-11-09 23:28 UTC (permalink / raw)
  To: Charles Millar; +Cc: emacs-orgmode@gnu.org

Hello,

Charles Millar <millarc@verizon.net> writes:

> Is it stated anywhere in the Org manual that blank lines are not
> allowed after headlines or certain other elements.

Quoting (info "(org) Property syntax"),

  Properties are key-value pairs. When they are associated with a single
  entry or with a tree they need to be inserted into a special drawer
  (@pxref{Drawers}) with the name @code{PROPERTIES}, which has to be
  located right below a headline, and its planning line
  (@pxref{Deadlines and scheduling}) when applicable.

Improvements are welcome.

Also, see

  http://orgmode.org/worg/dev/org-syntax.html

Eventually,

  M-x org-lint

should report such issue. Actually, it doesn't, but I fixed it so it
will eventually report it.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Blank lines after headline and before :PROPERTIES: etc
  2016-11-09 23:28 ` Nicolas Goaziou
@ 2016-11-15 21:38   ` Charles Millar
  0 siblings, 0 replies; 3+ messages in thread
From: Charles Millar @ 2016-11-15 21:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

On 11/09/2016 06:28 PM, Nicolas Goaziou wrote:
> Hello,
>
> Charles Millar <millarc@verizon.net> writes:
>
>> Is it stated anywhere in the Org manual that blank lines are not
>> allowed after headlines or certain other elements.
> Quoting (info "(org) Property syntax"),
>
>    Properties are key-value pairs. When they are associated with a single
>    entry or with a tree they need to be inserted into a special drawer
>    (@pxref{Drawers}) with the name @code{PROPERTIES}, which has to be
>    located right below a headline, and its planning line
>    (@pxref{Deadlines and scheduling}) when applicable.
>
> Improvements are welcome.
>
> Also, see
>
>    http://orgmode.org/worg/dev/org-syntax.html
>
> Eventually,
>
>    M-x org-lint
>
> should report such issue. Actually, it doesn't, but I fixed it so it
> will eventually report it.
>
> Regards,
>
Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-15 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-09 12:36 Blank lines after headline and before :PROPERTIES: etc Charles Millar
2016-11-09 23:28 ` Nicolas Goaziou
2016-11-15 21:38   ` Charles Millar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).