emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock and syntax-ppss


From: Sam Steingold
Subject: Re: font-lock and syntax-ppss
Date: 01 Nov 2001 18:34:32 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.50

> * In message <address@hidden>
> * On the subject of "Re: font-lock and syntax-ppss "
> * Sent on Thu, 01 Nov 2001 17:48:18 -0500
> * Honorable "Stefan Monnier" <monnier+gnu/address@hidden> writes:
>
> Or maybe the functions look like
> 
>    foobar (arg) {
> 
> rather than
> 
>    foobar (arg)
>    {
> 
> I.e. if you do M-x beginning-of-defun RET, do you end up at
> the beginning of the file (or close enough) ?

yep - you are right!

but when I set `defun-prompt-regexp' or `beginning-of-defun-function',
so that M-x beginning-of-defun RET works correctly, the situation
_deteriorates_ drastically - it now takes literally forever to re-indent
10 lines of code (instead of a couple of _minutes_).  it has been
running for 11 minutes now and I will leave this job overnight. :-)

I find it very unfortunate that Emacs does not support

void foo (void) {
  ...
}

out of the box....

-- 
Sam Steingold (http://www.podval.org/~sds)
Keep Jerusalem united! <http://www.onejerusalem.org/Petition.asp>
Read, think and remember! <http://www.iris.org.il> <http://www.memri.org/>
All generalizations are wrong.  Including this.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]