From: heinz.eriksson@gmail.com
To: help-gnu-emacs@gnu.org
Subject: elisp regexp, what does this mean?
Date: Tue, 3 Mar 2009 00:22:48 -0800 (PST) [thread overview]
Message-ID: <e9150d14-9ad6-4335-94cc-3788db806fe0@13g2000yql.googlegroups.com> (raw)
I am trying to understand what the following:
(defun erl-ie-eval-expression (node)
(interactive (list (erl-ie-read-nodename)))
(erl-ie-read-nodename)
(let ((end (point))
(beg (save-excursion
(loop do (re-search-backward "\\(\\`\\|^\\<\\)")
while (looking-at "end"))
(point))))
(erl-ie-evaluate beg end node t)))
Or rather the inner part involving the (scattered toothpick style)
regexp.
It is a function in distel-ie.el in http://code.google.com/p/distel/
I understand that the intent of the function is to grab a piece of
erlang source code and pass it over for evaluation on the erlang
side. Doing so by starting from point and looking backward until...
yes, what/how?
BR
next reply other threads:[~2009-03-03 8:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-03 8:22 heinz.eriksson [this message]
2009-03-03 9:38 ` elisp regexp, what does this mean? Lennart Borgman
2009-03-03 10:07 ` Alan Mackenzie
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e9150d14-9ad6-4335-94cc-3788db806fe0@13g2000yql.googlegroups.com \
--to=heinz.eriksson@gmail.com \
--cc=help-gnu-emacs@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.