From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Micha=C5=82?= Kondraciuk Newsgroups: gmane.emacs.bugs Subject: bug#31205: 26.1; Some text commands don't work properly in customize buffers Date: Sun, 15 Apr 2018 18:58:32 +0200 Message-ID: <9b90d292-b75e-7d73-1d0e-1aaac75f346c@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------214332C1F8B9132827789F85" X-Trace: blaine.gmane.org 1524055645 14099 195.159.176.226 (18 Apr 2018 12:47:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Apr 2018 12:47:25 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 To: 31205@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 18 14:47:20 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8mUX-0003X5-DU for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 14:47:17 +0200 Original-Received: from localhost ([::1]:54930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8mWe-00047J-3C for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Apr 2018 08:49:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8mVL-0003K5-QZ for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:48:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8mVG-0005gL-V3 for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:48:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50683) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8mVG-0005gC-Qm for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8mVG-00035W-KG for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Micha=C5=82?= Kondraciuk Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Apr 2018 12:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 31205 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.152405563211807 (code B ref -1); Wed, 18 Apr 2018 12:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Apr 2018 12:47:12 +0000 Original-Received: from localhost ([127.0.0.1]:58580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8mUR-00034M-CK for submit@debbugs.gnu.org; Wed, 18 Apr 2018 08:47:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8mUP-000348-Hs for submit@debbugs.gnu.org; Wed, 18 Apr 2018 08:47:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8mUF-0004qc-9H for submit@debbugs.gnu.org; Wed, 18 Apr 2018 08:47:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41638) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8mUF-0004qC-4i for submit@debbugs.gnu.org; Wed, 18 Apr 2018 08:46:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8mU9-0002g5-Hx for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:46:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8mU4-0004Va-Kl for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:46:53 -0400 Original-Received: from sender-pp-092.zoho.com ([135.84.80.237]:25339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f8mU4-0004Js-8z for bug-gnu-emacs@gnu.org; Wed, 18 Apr 2018 08:46:48 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:subject:to:message-id:date:user-agent:mime-version:content-type; b=pVL9wb5cNCZ/2I8U4AiQuLOooTX8WIk/7f5l8c0Oa6g61Ckbk0AQVwd0iqpqDthVfGun9et1IfU1 5OGBhJ6b/i1S6OSaC/A+BkmV0KdZe+vgtEL/w4+me36mN/Ux4vw9 Original-Received: from [192.168.0.87] (84-10-171-192.static.chello.pl [84.10.171.192]) by mx.zohomail.com with SMTPS id 1523811514309982.177337734473; Sun, 15 Apr 2018 09:58:34 -0700 (PDT) Content-Language: en-US X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145573 Archived-At: This is a multi-part message in MIME format. --------------214332C1F8B9132827789F85 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 1. emacs -Q 2. M-x customize-face RET default RET 3. Navigate to first character in input field for 'Font Family' 4. M-u 5. The first word in 'Font Family' is not upcased. Point is now at line with "State" button. The line with "State" button says: State : EDITED, shown value does not take effect until you seT OR Save it. Attached patch fixes this behavior for me. In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.28) of 2018-04-14 built on localhost Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Linux Mint 18.2 Sonya Recent messages: or a regular expression. Search for custom items. You can enter one or more words separated by spaces, or a regular expression. Show a menu with reset operations. Apply settings (for the current session only). Hide or show this face. Change the state of this item. Control whether this attribute has any effect. Font family or fontset alias name. Configured using: 'configure CONFIG_SHELL=/gnu/store/mm0zclrzj3y7rj74hzyd0f224xly04fh-bash-minimal-4.4.12/bin/bash SHELL=/gnu/store/mm0zclrzj3y7rj74hzyd0f224xly04fh-bash-minimal-4.4.12/bin/bash --prefix=/gnu/store/1i85dhpvkd2bavijh5ggk4hhmvgkmshz-my-emacs-26.1 --enable-fast-install' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 THREADS Important settings: value of $LC_MONETARY: pl_PL.UTF-8 value of $LC_NUMERIC: pl_PL.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Custom Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils crm thingatpt cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs cl-lib elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 118710 7449) (symbols 48 21858 2) (miscs 40 411 375) (strings 32 32024 1115) (string-bytes 1 840526) (vectors 16 14956) (vector-slots 8 501000 10250) (floats 8 56 61) (intervals 56 357 8) (buffers 992 13)) --------------214332C1F8B9132827789F85 Content-Type: text/x-patch; name="cus-edit.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cus-edit.patch" diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index a12897e..55b2852 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -2221,7 +2221,7 @@ custom-notify (unless (eq state 'modified) (unless (memq state '(nil unknown hidden)) (widget-put widget :custom-state 'modified)) - (custom-magic-reset widget) + (run-with-idle-timer 0.0 nil #'custom-magic-reset widget) (apply 'widget-default-notify widget args)))) (defun custom-redraw (widget) --------------214332C1F8B9132827789F85--