From: Alan Mackenzie <acm@muc.de>
To: Richard Stallman <rms@gnu.org>, "Eric M. Ludlam" <zappo@gnu.org>
Cc: cyd@stupidchicken.com, emacs-devel@gnu.org
Subject: Re: Semantic parser uses c-forward-conditional
Date: Wed, 23 Sep 2009 09:24:32 +0000 [thread overview]
Message-ID: <20090923092432.GA2372@muc.de> (raw)
In-Reply-To: <E1MqLMo-0004Mk-Ob@fencepost.gnu.org>
Hi, Richard and Eric!
On Wed, Sep 23, 2009 at 02:30:18AM -0400, Richard Stallman wrote:
> I'm not very keen on that, but how about this instead: a new defun
> c-forward-conditional-1 which does the same, except it doesn't push a
> mark, doesn't throw errors like "No following conditional at this
> level", and returns the final point, or nil?
> Since that would be meant as a command for other programs to use,
> and not merely a subroutine, it would be better to give it a name
> that fits.
Um, well, thanks for the suggestion. ;-)
How about `c-scan-conditionals', since the function does the same as
scan-lists, more or less? Actually, more, since it moves point to the
end position, unlike scan-lists. Maybe the new c-scan-conditionals
shouldn't move point?
Eric, what do you think?
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2009-09-23 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-21 19:19 Semantic parser uses c-forward-conditional Chong Yidong
2009-09-21 19:21 ` Chong Yidong
2009-09-22 10:57 ` Alan Mackenzie
2009-09-22 11:43 ` Eric M. Ludlam
2009-09-22 22:08 ` Alan Mackenzie
2009-09-23 6:30 ` Richard Stallman
2009-09-23 9:24 ` Alan Mackenzie [this message]
2009-09-23 11:22 ` Eric M. Ludlam
2009-09-24 20:44 ` Alan Mackenzie
2009-09-22 16:24 ` Richard Stallman
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090923092432.GA2372@muc.de \
--to=acm@muc.de \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
--cc=zappo@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.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).