[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sh-script beg-end of function
From: |
Stefan Monnier |
Subject: |
Re: sh-script beg-end of function |
Date: |
Thu, 22 Nov 2007 12:39:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> 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
- sh-script beg-end of function, Andreas Röhler, 2007/11/19
- Re: sh-script beg-end of function, Richard Stallman, 2007/11/21
- Re: sh-script beg-end of function, Andreas Röhler, 2007/11/21
- Re: sh-script beg-end of function, Stefan Monnier, 2007/11/21
- Re: sh-script beg-end of function, Andreas Röhler, 2007/11/22
- Re: sh-script beg-end of function,
Stefan Monnier <=
- Re: sh-script beg-end of function, Andreas Röhler, 2007/11/22
- Re: sh-script beg-end of function, Stefan Monnier, 2007/11/22
- Re: sh-script beg-end of function, Andreas Röhler, 2007/11/23
- Re: sh-script beg-end of function, Stefan Monnier, 2007/11/23
- Re: sh-script beg-end of function, Andreas Röhler, 2007/11/24
- Re: sh-script beg-end of function, Andreas Röhler, 2007/11/23