bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30139: 25.3; Passing callback to align-region raises an error when u


From: Eli Zaretskii
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@gnu.org>
> Date: Mon, 19 Mar 2018 17:39:43 -0700
> Cc: 30139@debbugs.gnu.org
> 
> >>>>> "MK" == Michał Kondraciuk <k.michal@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
> 
> 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]