emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Samuel Wales" <samologist@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Searching for tags or todo keywords
Date: Mon, 15 Sep 2008 22:15:06 -0700	[thread overview]
Message-ID: <20524da70809152215y55dccdd3sd62d299b893ce287@mail.gmail.com> (raw)
In-Reply-To: <8B62D5CA-840C-4464-A7DE-310209EB8FEA@uva.nl>

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.

  parent reply	other threads:[~2008-09-16  5:15 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 [this message]
2008-09-16  8:00     ` 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=20524da70809152215y55dccdd3sd62d299b893ce287@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=dominik@science.uva.nl \
    --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).