From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Andreas Röhler" <andreas.roehler@online.de>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel@gnu.org
Subject: Re: sh-script beg-end of function
Date: Thu, 22 Nov 2007 12:39:12 -0500 [thread overview]
Message-ID: <jwvve7up4g8.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200711220826.58619.andreas.roehler@online.de> ("Andreas Röhler"'s message of "Thu, 22 Nov 2007 08:26:57 +0100")
> However, in this case, making `defun-prompt-regexp' a
> lokal variable away from customization seems not the
> appropriate way. I suggest to let the user decide about
> this regexp and make this decision available for all
> sh-scripts.
If you can give me some examples of other regexps which might be
sometimes (but not always) preferable, send them along.
> Functions don't play the role in sh-scripts as in other
> languages code.
Don't they? Can you expand on this?
> So it's probably not useful to require
> a "()" in that regexp.
It requires either () or `function'. That's how the Bash manpage
documents their syntax of functions.
> Can't figure out your solution
> for `end-of-defun-function'.
See the docstring of end-of-defun. It'll just jump to the closing }.
Stefan
next prev parent reply other threads:[~2007-11-22 17:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-19 20:43 sh-script beg-end of function Andreas Röhler
2007-11-21 12:05 ` Richard Stallman
2007-11-21 15:52 ` Andreas Röhler
2007-11-22 8:22 ` Richard Stallman
2007-11-21 20:19 ` Stefan Monnier
2007-11-22 7:26 ` Andreas Röhler
2007-11-22 17:39 ` Stefan Monnier [this message]
2007-11-22 18:56 ` Andreas Röhler
2007-11-22 21:49 ` Stefan Monnier
2007-11-23 15:33 ` Andreas Röhler
2007-11-23 16:34 ` Stefan Monnier
2007-11-24 13:45 ` Andreas Röhler
2007-11-23 15:56 ` Andreas Röhler
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=jwvve7up4g8.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=andreas.roehler@online.de \
--cc=emacs-devel@gnu.org \
--cc=rms@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.