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>
Subject: bug#35967: closed (Re: bug#35967: [PATCH] avoid flyspell error if
 point is at bob)
Date: Mon, 17 Jun 2019 19:06:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35967: [PATCH] avoid flyspell error if point is at bob

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35967 <at> debbugs.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: 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

[Message part 3 (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 4 (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)]

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.