emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Eden Cardim <edencardim@gmail.com>
Cc: Lawrence Mitchell <wence@gmx.li>,
	nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Export options being ignored
Date: Thu, 05 May 2011 00:33:34 -0400	[thread overview]
Message-ID: <24377.1304570014@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Eden Cardim <edencardim@gmail.com> of "Wed, 04 May 2011 22:15:02 -0300." <m239kuosmh.fsf@gmail.com>

Eden Cardim <edencardim@gmail.com> wrote:

> 
> ,----[ test.org ]
> | #+OPTIONS: <:nil
> | ** TODO Estimate effort for all of today's tasks
> |    SCHEDULED: <2011-05-05 Thu 06:40 ++1d>
> `----
> 
> Exporting the above file to pdf results in a file containing the
> SCHEDULED timestamp in it.
> 
> I'm running org from git master, commit
> cd0446243861487096983f09e545105551af7f10
> 
> Apparently, all the symbol settings (^:t |:t etc...) exhibit the same
> behaviour. Options like toc:t, num:t, etc. do work. I'm not familiar
> with the code that does the parsing of the options so I have no idea
> where to look in order to debug this. Setting org-export-with-timestamps
> etc. does work as documented, so I'd say something is going wrong with
> the parsing.
> 

Reproduced and git bisected:

,----
| aa6dba8a74016587755c250bb8cc4743a4082ea1 is the first bad commit
| commit aa6dba8a74016587755c250bb8cc4743a4082ea1
| Author: Lawrence Mitchell <wence@gmx.li>
| Date:   Thu Jan 20 18:23:22 2011 +0000
| 
|     Only match complete words in org-export-add-options-to-plist
|     
|     * org-exp.el (org-export-add-options-to-plist): Require match to start
|     at a word-boundary.
|     
|     Previously, if an option was the suffix of another option (such as TeX
|     and LaTeX) the setting for the former would propagator to the latter.
|     This seems like an unintended consequence of a lax regexp in
|     org-export-add-options-to-plist.  This patch allows options to share a
|     suffix with another option by requiring that the match against an
|     option starts at a word-boundary.
| 
| :040000 040000 44d426100f5c092112e149a891eb2e043a8ca404 c76627facb6988aa08d4d1fa9f1ab2d9b4aa2f45 M	lisp
`----

Lawrence, can you take a look?

Thanks,
Nick

  reply	other threads:[~2011-05-05  4:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-05  1:15 Export options being ignored Eden Cardim
2011-05-05  4:33 ` Nick Dokos [this message]
2011-05-05  5:08   ` Nick Dokos
2011-05-05  7:09     ` Carsten Dominik
2011-05-05  8:08       ` Lawrence Mitchell
2011-05-05 10:40       ` Eden Cardim
2011-05-05 10:48         ` Carsten Dominik

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=24377.1304570014@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=edencardim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wence@gmx.li \
    /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).