GNU bug report logs - #30139
25.3; Passing callback to align-region raises an error when using `justify` rule

Previous Next

Package: emacs;

Reported by: Michał Kondraciuk <k.michal <at> zoho.com>

Date: Tue, 16 Jan 2018 20:33:02 UTC

Severity: normal

Tags: confirmed, fixed, patch

Found in version 25.3

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: "John Wiegley" <johnw <at> gnu.org>
Cc: 30139 <at> debbugs.gnu.org, k.michal <at> zoho.com
Subject: bug#30139: 25.3; Passing callback to align-region raises an error when using `justify` rule
Date: Sun, 01 Apr 2018 12:51:38 +0300
Ping!  What is the road ahead towards solving this issue?

> From: "John Wiegley" <johnw <at> gnu.org>
> Date: Mon, 19 Mar 2018 17:39:43 -0700
> Cc: 30139 <at> debbugs.gnu.org
> 
> >>>>> "MK" == Michał Kondraciuk <k.michal <at> zoho.com> writes:
> 
> MK> is there any news on the status of this bug? Should I just send the patch to
> MK> emacs-devel?
> 
> Hi Michał,
> 
> I would suggest the following code:
> 
>     (funcall func
>              (marker-position (car area))
>              (marker-position (if (and justify
>                                        (consp (cdr area)))
>                                   (cadr area)
>                                 (cdr area)))
>              change)
> 
> I can't really tell you at this point if this is the correct change, but if it
> solves the bug, it surely is an improvement.
> 
> -- 
> John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
> http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2
> 
> 
> 
> 




This bug report was last modified 5 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.