emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Searching for tags or todo keywords
Date: Tue, 16 Sep 2008 10:00:28 +0200	[thread overview]
Message-ID: <43C43DAD-21BC-4813-8C7D-699B9ECC572E@uva.nl> (raw)
In-Reply-To: <20524da70809152215y55dccdd3sd62d299b893ce287@mail.gmail.com>

Hi Samuel,

yes, a general Lisp syntax is certainly a good idea.  In fact,  
currently the match is also converted into a Lisp form.  However, it  
does not use simple variables that would be great to supply in a user  
form.  The reason is that I am trying to minimize parsing for  
properties and tags, so that these are only located if used.  Still, I  
guess you are right that this is a relatively simple extension to make  
- I will think about it.

- Carsten

On Sep 16, 2008, at 7:15 AM, Samuel Wales wrote:

> On Sat, Sep 13, 2008 at 12:10, Carsten Dominik  
> <dominik@science.uva.nl> wrote:
>> I would like to have parenthesis, but since the parsing is done by  
>> string
>> processing, any parenthesis in one of the search strings would be  
>> difficult
>> to handle.
>
> Have you considered using Lisp syntax, perhaps as an alternate?
>
> Benefits include: trivial to parse (no parsing at all -- let Lisp
> parse and maybe even eval for you!), easier for the user to remember
> (for some of us :)), orthogonal, easy to extend (even with
> user-defined functions), easier to quote and escape, consistent,
> standard, free of precedence lists, proven technology,
> pretty-printable, print-readable, etc.
>
> The old syntax can easily be converted to sexp, thus separating syntax
> from semantics and ensuring that the behavior is the same -- without
> making anybody have to switch.
>
> Just a possibility.

      reply	other threads:[~2008-09-16  8:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 13:21 Searching for tags or todo keywords Peter Westlake
2008-09-13 19:10 ` Carsten Dominik
2008-09-15 22:30   ` Peter Westlake
2008-09-16  4:06     ` Carsten Dominik
2008-09-16  5:15   ` Samuel Wales
2008-09-16  8:00     ` Carsten Dominik [this message]

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=43C43DAD-21BC-4813-8C7D-699B9ECC572E@uva.nl \
    --to=dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /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).