GNU bug report logs -
#70077
An easier way to track buffer changes
Previous Next
Full log
Message #137 received at 70077 <at> debbugs.gnu.org (full text, mbox):
> If this indicates that the slots are of built-in-class type, why do we
> show the cryptic t there?
No, what it's saying is that these slots can contain values of any type
(since any type is a subtype of t).
This `Type` information is a way to document what kind of values can be
found in those slots. Very often we don't bother specifying it, in
which case `t` is used as a default.
>> >> >> +By default SIGNAL is called as soon as convenient after a change, which is
>> >> > ^^^^^^^^^^^^^^^^^^^^^
>> >> > "as soon as it's convenient", I presume?
>> >> Other than the extra " it's", what is the difference?
>> > Nothing. I indeed thing "it's" is missing there.
>> My local native-English representative says that "both work fine"
>> (somewhat dismissively, I must add).
> In that case I'll yield, but do note that it got me stumbled.
Wow. To me this is just as natural as "as soon as possible", tho used
admittedly less frequently.
>> > In general, when I want to create a clean slate, I don't care too much
>> > about the dirt I remove. Why is it important to signal errors because
>> > a state I am dumping had some errors?
>> I don't understand why you think it will signal an error?
> Doesn't cl-assert signal an error if the condition is false?
Yes. What makes you think it will be false?
>> More to the point, it should signal an error only if I made a mistake in
>> `track-changes.el` or if you messed with the internals.
> I have the latter possibility in mind, yes. Why catch me doing that
> when I'm cleaning up my mess, _after_ all the damage, such as it is,
> was already done?
But `track-changes--clean-state` is not a function to "clean up
the mess" any more than, say, `track-changes-fetch` or
`track-changes--before`.
>> >> >> +;;;; Extra candidates for the API.
>> >> >> +;; This could be a good alternative to using a temp-buffer like I used in
>> >> > ^^^^^^
>> >> > "I"?
>> >> Yes, that refers to the code I wrote.
>> > We don't usually leave such style in long-term comments and
>> > documentation.
>> `grep " I " lisp/**/*.el` suggests otherwise.
> "A journey of a thousand miles begins with one first step."
I disagree with the goal, tho.
If you want, I can add something like "--Stef" at the end to clarify who
is this "I", tho nowadays I tend to rely on `C-x v h` to find that kind
of information.
The text there is just recording my thoughts about this part of the
design of the API.
Stefan
This bug report was last modified 1 year and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.