all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: martin rudalics <rudalics@gmx.at>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Problems with syntax-ppss
Date: Sat, 5 Apr 2008 14:46:42 +0000	[thread overview]
Message-ID: <20080405144642.GA3095@muc.de> (raw)
In-Reply-To: <47F69A4F.1050405@gmx.at>

Hi, S and M!

On Fri, Apr 04, 2008 at 11:14:55PM +0200, martin rudalics wrote:
> >I strongly recommend to always call syntax-ppss in a widened buffer.
> 
> ... and with match-data saved.

Er, your replies don't exactly radiate an aura of confidence about
syntax-ppss.  ;-(

I think you (Stefan) 're saying that the function isn't 100% defined for
a narrowed buffer.  Will calling s-ppss on a narrowed buffer corrupt the
cache at all, for example?

As a matter of interest, are there any benchmark figures for s-ppss?
Like, how many characters do you have to scan more than, before s-ppss
(an interpreted lisp function) starts being faster than
(parse-partial-sexp 1 (point)) (a fast function written in C)?

-- 
Alan.




  reply	other threads:[~2008-04-05 14:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-04 17:26 Problems with syntax-ppss Alan Mackenzie
2008-04-04 17:29 ` Lennart Borgman (gmail)
2008-04-04 20:24 ` Stefan Monnier
2008-04-04 21:14   ` martin rudalics
2008-04-05 14:46     ` Alan Mackenzie [this message]
2008-04-05 18:37       ` Stefan Monnier
2008-04-06 14:07         ` Alan Mackenzie
2008-04-07 14:57           ` Stefan Monnier
2008-04-07 15:14             ` Lennart Borgman (gmail)
2008-04-07 16:43               ` Stefan Monnier
2008-04-07 14:59           ` Stefan Monnier

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=20080405144642.GA3095@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rudalics@gmx.at \
    /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.