GNU bug report logs - #31205
26.1; Some text commands don't work properly in customize buffers

Previous Next

Package: emacs;

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

Date: Wed, 18 Apr 2018 12:48:02 UTC

Severity: minor

Tags: confirmed, fixed, patch

Found in version 26.1

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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Michał Kondraciuk <k.michal <at> zoho.com>
Cc: 31205 <at> debbugs.gnu.org
Subject: bug#31205: 26.1; Some text commands don't work properly in customize buffers
Date: Tue, 17 Sep 2019 01:14:29 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm also seeing this, and your patch fixes the problem here, too.  But:
>
> -      (custom-magic-reset widget)
> +      (run-with-idle-timer 0.0 nil #'custom-magic-reset widget)
>
> I wonder if anybody more familiar with the custom machinery can weigh in
> and say whether this looks safe...

Nobody had any comments, but I kinda think that this is the right
solution after all -- the buffer can't be updated before the editing
command has done its job.  Perhaps Widget should be working on
post-command-hook instead of pre-?

But I've applied the patch with some comments.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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