GNU bug report logs - #35967
[PATCH] avoid flyspell error if point is at bob

Previous Next

Package: emacs;

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

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alex Branham <alex.branham <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35967: closed ([PATCH] avoid flyspell error if point is at bob)
Date: Mon, 17 Jun 2019 19:06:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 17 Jun 2019 14:04:53 -0500
with message-id <871rzshw2y.fsf <at> gmail.com>
and subject line Re: bug#35967: [PATCH] avoid flyspell error if point is at bob
has caused the debbugs.gnu.org bug report #35967,
regarding [PATCH] avoid flyspell error if point is at bob
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35967: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35967
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] avoid flyspell error if point is at bob
Date: Tue, 28 May 2019 15:43:53 -0500
[Message part 3 (text/plain, inline)]
Hello -

The attached patch avoids an args-out-of-range error (from
`get-text-property') if `flyspell-prog-mode' is on and point is in a
comment at the beginning of the buffer.

Thanks,
Alex

[0001-Avoid-a-flyspell-error-if-point-is-at-beginning-of-b.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Alex Branham <alex.branham <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: npostavs <at> gmail.com, 35967-done <at> debbugs.gnu.org
Subject: Re: bug#35967: [PATCH] avoid flyspell error if point is at bob
Date: Mon, 17 Jun 2019 14:04:53 -0500
On Fri 14 Jun 2019 at 14:14, Andreas Schwab <schwab <at> linux-m68k.org> wrote:

>> +    (let ((f (get-text-property (- (point) 1) 'face)))
>
> Perhaps change this to (1- (point)).

Thanks, I made that change and pushed as 1942f4ccba52896e3e97789dc6b51926ad74c591 on the master branch.

Alex


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.