[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: forward-comment and syntax-ppss
From: |
Drew Adams |
Subject: |
RE: forward-comment and syntax-ppss |
Date: |
Fri, 16 Dec 2016 15:16:31 -0800 (PST) |
> The idea is to move the user-facing narrowing commands to some other
> foundation (like the invisible and maybe intangible text properties),
> freeing the narrowing facility for use by the Lisp code.
I couldn't disagree more. Fix the _code_, if it is mistaken.
Code should know whether it should "respect" the current
buffer restriction. If for some reason it cannot, then it
needs to punt - raise an "I don't know what I'm doing!" error
or whatever. If the user is involved, and the user can tell
it whether the restriction should be respected, then it could
conceivably ask the user.
There is no royal road here. This is no different from
calling code blindly and somehow expecting wise behavior.
- RE: forward-comment and syntax-ppss, (continued)
- RE: forward-comment and syntax-ppss, Drew Adams, 2016/12/16
- Re: forward-comment and syntax-ppss, Clément Pit--Claudel, 2016/12/16
- RE: forward-comment and syntax-ppss, Drew Adams, 2016/12/16
- Re: forward-comment and syntax-ppss, Clément Pit--Claudel, 2016/12/16
- Wording of the Elisp manuals (was: forward-comment and syntax-ppss), Marcin Borkowski, 2016/12/16
- Re: Wording of the Elisp manuals, Michael Heerdegen, 2016/12/20
- Re: Wording of the Elisp manuals (was: forward-comment and syntax-ppss), Jean-Christophe Helary, 2016/12/20
- Re: Wording of the Elisp manuals (was: forward-comment and syntax-ppss), Eli Zaretskii, 2016/12/20
- Re: forward-comment and syntax-ppss, Alan Mackenzie, 2016/12/16
- Re: forward-comment and syntax-ppss, Dmitry Gutov, 2016/12/16
- RE: forward-comment and syntax-ppss,
Drew Adams <=
- Re: forward-comment and syntax-ppss, Stefan Monnier, 2016/12/16
- Re: forward-comment and syntax-ppss, Dmitry Gutov, 2016/12/16
- Re: forward-comment and syntax-ppss, Marcin Borkowski, 2016/12/17
- Re: forward-comment and syntax-ppss, Eli Zaretskii, 2016/12/17
- Re: forward-comment and syntax-ppss, Stefan Monnier, 2016/12/17
- Re: forward-comment and syntax-ppss, Eli Zaretskii, 2016/12/17
- Re: forward-comment and syntax-ppss, Lars Ingebrigtsen, 2016/12/17
- Re: forward-comment and syntax-ppss, Dmitry Gutov, 2016/12/18
- Re: forward-comment and syntax-ppss, Stefan Monnier, 2016/12/17
- Re: forward-comment and syntax-ppss, Dmitry Gutov, 2016/12/18