GNU bug report logs -
#22983
syntax-ppss returns wrong result.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Fri, 11 Mar 2016 15:13:02 UTC
Severity: normal
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> > I happen to use it frequently. I expect other users do, to. It's
> > useful.
>
> It might be, but it's not very well-designed. If you only want to hide
> some parts of buffer from being displayed, changing point-min and
> point-max, which affect quite a lot of Lisp functions, seems unnecessary.
Well, well, well. All of this is likely OT for this thread.
But no - narrowing is in fact explicitly _about_ changing
`point-min' and `point-max', so you can act on a particular
section of a buffer. It is not only about "hid[ing] some
parts of a buffer from being displayed". This is true for
both interactive use and in code.
> I don't think that narrow-to-region should be a user-level
> function.
Is this a joke? Maybe you think that because you think
it is only about hiding text?
> Introducing a new function, using a different mechanism
> shouldn't be too hard though, if we reuse the existing binding.
Please don't. Please don't even think about it.
And if you really think you have something to say about
it, then please bring it up in emacs-devel, not in a bug
thread that is not especially related to it.
> adding a command that would replace interactive use of
> narrow-to-region.
Ridiculous (IMHO). Add whatever commands you like, but
please do not think about replacing `narrow-to-region'
willy nilly. It is one of the most useful Emacs commands.
This bug report was last modified 7 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.