When tangling a file whose source code blocks have capitalized BEGIN_SRC and
END_SRC (as produced by s-TAB for instance), org-babel-tangle will not
detect the source code blocks when case-fold-search is nil.
The variable org-babel-src-block-regexp has the begin_src and end_src in
lower
case, and
Hi Martin,
Assuming that org.el (with the new parser code) is byte-compiled, the
performance
difference is very minor. The only difference comes in converting the query
string
to a matcher form. The new parser has some additional overhead in function
calls and
keeping track of state, but in
Hi Samuel,
Thanks for your note. Just FYI, the earlier parser code in this thread
has
been superseded by the code in the post new tag query parser [3/5].
The sexp input is a nice idea, and it would be very easy I think.
The function org-make-tags-matcher now takes a query string
but could
At Bastien's urging, I'm (re)posting about my new tag query parser
implementation in what I hope are clearer, more digestible, and more
actionable pieces. My next few posts will be:
1. The motivating issues .
2. Some bugs/limitations in the current parser.
3. The new code and how to
My proposed changes in the tag query parser are motivated by the need and/or
desire to do the following. (The example strings work with the new parser.)
1. Combine and modify tag queries programmatically.
The leading case is that a function is given a tag query string and
needs to
1. Property names with -'s are not handled properly
Specifically, the escapes are not removed.
Ex: (org-make-tags-matcher PROP\\-WITH\\-HYPHENS=2) produces
(PROP\\-WITH\\-HYPHENS=2 and
(progn
(setq org-cached-props nil)
(=
(string-to-number
(or
#+TITLE: New Tag Query Parser: A Few Illuminating Examples
This post is structured as an org file with the example commands listed
within.
Copy this to a buffer and try the commands below on that buffer.
* Preliminaries Point 207
The Point # labels on the headings give the point values for
A few comments that might help navigate the new parser code in
org-tag-query-parse.el. All diffs are relative to the 7.8.11 org.el.
Let me know if you have any questions.
* High Level Changes
Two existing org functions are altered:
1. org-make-tags-matcher
2. org-scan-tags
The changes
...
-- Christopher
On Sat, Aug 4, 2012 at 3:50 AM, Christopher Genovese genov...@cmu.eduwrote:
I am writing an application layer on top of org that uses the
entry mapping API, but I needed both negation of complex
selections and heading searches. Because the current tag query
parser does not handle
.
Thanks again, Eric.
Best,
Christopher
On Thu, Sep 15, 2011 at 18:02, Eric Schulte schulte.e...@gmail.com wrote:
- Show quoted text -
Christopher Genovese genovese...@gmail.com writes:
Hi Eric,
Thanks for your note.
I would encourage you to begin the FSF assignment
On Mac OS X 10.5.8, GNU Emacs 23.2.1, Org Mode 7.4,
setting the following:
(setq org-todo-keywords
'((sequence TODO WAIT DONE)))
(setq org-todo-keyword-faces '((WAIT . lightgoldenrod2)))
has the intended effect, with WAIT items properly displayed, ... *until*
I do org-write-agenda in the
11 matches
Mail list logo