GNU bug report logs -
#35967
[PATCH] avoid flyspell error if point is at bob
Previous Next
Reported by: Alex Branham <alex.branham <at> gmail.com>
Date: Tue, 28 May 2019 20:45:01 UTC
Severity: normal
Tags: patch
Done: Alex Branham <alex.branham <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> + (unless (bobp)
>> + (let ((f (get-text-property (- (point) 1) 'face)))
>> + (memq f flyspell-prog-text-faces))))
>
> Thanks.
>
> Maybe it's just me, but whenever I see bobp, I always have to consult
> the docs regarding what happens in a narrowed buffer. For that
> reason, I prefer comparison with point-min instead.
>
> Am I the only one troubled by that?
It doesn't take too long to check the docstring, does it? And it seems
fairly easy to remember that bobp should treat a narrowed buffer the
same way that beginning-of-buffer will.
My only complaint about bobp is that it's abbreviated perhaps a little
too far, to the point of obscurity. As in, who is "bob" and why are we
asking about him?
This bug report was last modified 6 years and 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.