From: Matt Price <moptop99@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: syntax for blocks that the exporter should not render?
Date: Thu, 5 Sep 2013 10:51:40 -0400 [thread overview]
Message-ID: <CAN_Dec8pc6WwHWSzPKigYzvNMmGc_PL_RFJbFHFcbgLuJcBxww@mail.gmail.com> (raw)
In-Reply-To: <3C681BE5-05DA-41A9-8277-7180063D2642@gmail.com>
On Thu, Sep 5, 2013 at 7:57 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Sep 5, 2013, at 1:43 PM, Suvayu Ali <fatkasuvayu+linux@gmail.com> wrote:
>
>> Hi Carsten,
>>
>> On Thu, Sep 05, 2013 at 01:27:57PM +0200, Carsten Dominik wrote:
>>>
>>> On Sep 5, 2013, at 12:09 PM, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>>>
>>>>>> #+/home/matt/Matt_headshots/Matt Price/IMG_9367_.jpg
>>>>>> http://2013.hackinghistory.ca/wp-content/uploads/2013/08/wpid-IMG_9367_2.jpg
>>>>>
>>>>> I don't think this is the right behavior, such lines should not be rendered.
>>>>> Suvayu is right, with a space after the # they are treated as commendt, but I think
>>>>> they should also be ignored with the plus.
>>>>>
>>>>> Nicolas, what is the reasoning behind rendering them?
>>>>
>>>> Because this isn't valid Org syntax, so it is treated as regular text
>>>> (i.e. a paragraph). Something similar happens for unbalanced blocks:
>>>
>>> So in a way this is a "syntax error" message. :)
>>>
>>> OK, I get that point. Is that behaviour documented?
>>
>> I think it is more of a "I don't recognise this as special syntax; it
>> must be text". In that case, I'm not sure what can be documented, one
>> can have infinitely many text blurbs which look very similar to valid
>> Org syntax but isn't.
>>
>> I have noticed quite a few posts on the list with this kind of
>> misunderstanding. I think the confusion arises from thinking of special
>> keywords like "#+options:", "#+attr_latex:", etc as comments. AFAIU,
>> they are not. Lines starting with "#+" are possible keywords, whereas
>> lines starting with "# " are comments.
(sorry, posted my last msg before I saw the more recent contributions)
So how would you suggest org2blog keep track of the relationship
between local and uploaded files?
Should it define a new keyword (perhaps" #+remote:" )? And if so how
is that best done? Quickly looking at "Export Options (12.2) in the
manual I don't see a built-in mechanism for defining backend-specific
options. Something like "#+ATTR_BLOG: remote" might do the trick, but
adding multiple links to such a line would be cumbersome, wouldn't it?
Thanks again for your help clarifying this.
next prev parent reply other threads:[~2013-09-05 14:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 15:32 syntax for blocks that the exporter should not render? Matt Price
2013-09-03 15:59 ` Jambunathan K
2013-09-05 12:09 ` Carsten Dominik
2013-09-04 17:40 ` Suvayu Ali
2013-09-05 3:34 ` Carsten Dominik
2013-09-05 10:09 ` Nicolas Goaziou
2013-09-05 11:27 ` Carsten Dominik
2013-09-05 11:43 ` Suvayu Ali
2013-09-05 11:57 ` Carsten Dominik
2013-09-05 14:51 ` Matt Price [this message]
2013-09-05 14:40 ` Matt Price
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN_Dec8pc6WwHWSzPKigYzvNMmGc_PL_RFJbFHFcbgLuJcBxww@mail.gmail.com \
--to=moptop99@gmail.com \
--cc=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).