GNU bug report logs - #4737
23.1.50; C-j in *scratch* after a hash table constant errors with void-function

Previous Next

Package: emacs;

Reported by: Aidan Kehoe <kehoea <at> parhasard.net>

Date: Fri, 16 Oct 2009 14:45:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 4737-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 4737-done <at> debbugs.gnu.org, Aidan Kehoe <kehoea <at> parhasard.net>
Subject: Re: bug#4737: 23.1.50; C-j in *scratch* after a hash table constant errors with void-function
Date: Sun, 18 Oct 2009 18:28:32 -0400
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> + 	;; Skip over hash table read syntax
>> + 	(when (looking-back "#s")
>> + 	  (forward-char -2))
>
> Calling looking-back without a limit argument is asking for trouble (it
> has complexity O(size of buffer) or worse).

I've checked in the patch, with a limit argument.  Thanks for pointing
this out.



This bug report was last modified 15 years and 220 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.