From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#11445: 24.0.96; Customize buffer edit fields should have undo Date: Wed, 02 Jun 2021 09:21:39 -0300 Message-ID: <87o8co4fu4.fsf@tbb.theblackbeard.org> References: <428727A8D734409481B739A7443120C5@us.oracle.com> <87h7ig94zg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19511"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 11445@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 02 14:22:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1loPsx-0004oP-BE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 14:22:11 +0200 Original-Received: from localhost ([::1]:44160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loPsw-0004b1-E5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Jun 2021 08:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loPso-0004as-0E for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 08:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loPsn-0006zL-OA for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 08:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1loPsn-0007gr-I8 for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2021 08:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jun 2021 12:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11445 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 11445-submit@debbugs.gnu.org id=B11445.162263647329489 (code B ref 11445); Wed, 02 Jun 2021 12:22:01 +0000 Original-Received: (at 11445) by debbugs.gnu.org; 2 Jun 2021 12:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:39153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loPrx-0007fU-Bq for submit@debbugs.gnu.org; Wed, 02 Jun 2021 08:21:13 -0400 Original-Received: from mail-qk1-f170.google.com ([209.85.222.170]:38567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loPrs-0007eW-1V for 11445@debbugs.gnu.org; Wed, 02 Jun 2021 08:21:07 -0400 Original-Received: by mail-qk1-f170.google.com with SMTP id q10so2060255qkc.5 for <11445@debbugs.gnu.org>; Wed, 02 Jun 2021 05:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4sYRews1F0N/syG/uWIWhE0Owr3oxcVS1V8P3z5PzhA=; b=qyNjETRIvW9anbAGqS9UyGFuC4ydd7Li57JAdYAJbhmh1BZ1UoqkHl+KwQDGtIV3FC bNEBqWCYoMAnrSZkpg3o9+CJuUIcG9P29iRBANhtxx5BiTCLzWXg7vKUa0Gu3wEHT3Ey oug1kueWVTwgz8LmTBwqTGJoA0npr4JtL3bW1jy5EQAza1jivjvO0aN2BgbvX+aPsRpJ T9R28WNYSXweYJxKTMEMnzfqWpPWhiIeLjYzFr0CYPqkZ/eDur5DddhTEkxm4jyC18HB Cvw3Mzp4UxzGOKteQTka+RRTMnZ94rWB4P2XYUVZGUc+gWgzo0fDJDGsj9n9bqpYymXs c6cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4sYRews1F0N/syG/uWIWhE0Owr3oxcVS1V8P3z5PzhA=; b=jiGVshmvZ+nJeV2/RBrUWZ4lM/sUnfFOKEx3ShR9dpyFvZDAswdmq0t29r2gbfUEcK JcAboCKOQMkJ6HLXMeByzJ3XLC9Ms9+Jsx0ZUE0ehTlcl2p+CJwvaUFfcv8qy/UZmmzE CRXuEbWx1hO1sxKv+GWHh1W6BDre4H2Z9fCTlbCJeDJ02OjwSu2FWc3odp81RDIpiZiq 04GqUmI17VfsUoHfmZ0HQ0bLtb1Kbm7A5F983jBcQNRHWMaOe9qmdCEhEZjalLo2Yew9 YpOqfBcj9SB4ecuQ7+UGg+sgjmNpyO/fAqq/OhMcVubGO82eW8UK7sZtW+I+1alPAaZr WqzA== X-Gm-Message-State: AOAM5305Z1GpAgKN/StNr7x4cw+S2iX9izqc7r3I/RFdJ9EdJ1oFhPmW 9FHcvlVW2ARjqojjYGahGUbnqx3uCYA= X-Google-Smtp-Source: ABdhPJwQNNUm5q7PQg9b8ncIvVcUhNpoAUuVIeFp8+dssr6Ve/xr2j1vB/X6JbhPjqOKKa7fQ7TrUg== X-Received: by 2002:a05:620a:745:: with SMTP id i5mr27437730qki.324.1622636458283; Wed, 02 Jun 2021 05:20:58 -0700 (PDT) Original-Received: from tbb.theblackbeard.org ([201.213.132.172]) by smtp.gmail.com with ESMTPSA id m10sm13040497qkk.113.2021.06.02.05.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 05:20:57 -0700 (PDT) In-Reply-To: <87h7ig94zg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 02 Jun 2021 08:04:51 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207860 Archived-At: Lars Ingebrigtsen writes: > "Drew Adams" writes: > >> A text editing field in Customize is like text editing in general. Why >> shouldn't undo be available to users here? > > As far as I can tell, `undo' works fine in text fields in Customize > buffers. Are you still seeing this problem in recent Emacs versions? It cannot work reliably: if a widget needs to be redrawn, the widget code will clear the undo information with widget-clear-undo. Try this: emacs -Q M-x customize-group RET mouse TAB until point is at the arrow to expand the double-click-fuzz option RET TAB to move to the field deletechar 4 C-x u shows the empty field, which is fine C-x u again: "No further undo information". But that's not expected; if undo worked, the field value would be the default value.