GNU bug report logs -
#6100
c-beginning-of-defun doesn't push mark
Previous Next
Reported by: Juri Linkov <juri <at> jurta.org>
Date: Tue, 4 May 2010 16:24:01 UTC
Severity: minor
Tags: patch
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> The speed of c-{beginning,end}-of-defun have presented problems from time
> to time. Quadrupling CC Mode's end-of-defun's runtime doesn't seem a
> good idea. I want to keep the handling of c-{beginning,end}-of-defun
> symmetrical for ease of maintenance.
IIUC the speed of those operations has been a problem when called many
times within a single command (i.e. the cumulative time became
a problem), so it shouldn't be a problem for interactive use where doing
it 4 times rather than 1 shouldn't be noticeable.
IOW, the problem was algorithmic, but running the same code 4 times
makes no difference algorithmically.
> I would favour your patch to these defuns which pushes the marks.
It's your code, so it's your choice.
Stefan
This bug report was last modified 15 years and 64 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.