From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65625: 30.0.50; electric-pair-skip-whitespace-chars choice looks wrong Date: Wed, 30 Aug 2023 21:21:17 +0200 Message-ID: References: <34ae8f83-0994-2869-6627-eeffd15807ad@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65625@debbugs.gnu.org To: Mauro Aranda Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 30 21:22:12 2023 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 1qbQlY-0006tW-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 30 Aug 2023 21:22:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbQlM-000070-0d; Wed, 30 Aug 2023 15:22:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qbQlH-00006i-N7 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 15:21:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbQlG-00039B-8Q for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 15:21:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qbQlN-0003QU-U4 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2023 15:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2023 19:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65625 X-GNU-PR-Package: emacs Original-Received: via spool by 65625-submit@debbugs.gnu.org id=B65625.169342331413155 (code B ref 65625); Wed, 30 Aug 2023 19:22:01 +0000 Original-Received: (at 65625) by debbugs.gnu.org; 30 Aug 2023 19:21:54 +0000 Original-Received: from localhost ([127.0.0.1]:54079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQlD-0003Q2-6P for submit@debbugs.gnu.org; Wed, 30 Aug 2023 15:21:54 -0400 Original-Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:47115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qbQl7-0003Pl-Aa for 65625@debbugs.gnu.org; Wed, 30 Aug 2023 15:21:50 -0400 Original-Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5007f3d3235so299884e87.2 for <65625@debbugs.gnu.org>; Wed, 30 Aug 2023 12:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693423291; x=1694028091; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZEKkXC8MOF53h1a56anX6H+cIuom0K+QJ/VC65Ck+wE=; b=S+aLEGoJMsDxiheyhbrQXgpMNpYHZxNt1p2VDMNxGIRIIaIaxenxyyzLIyWDni1M/Z bjfXGENOc//HPk3ABACrlJ3F56vWGvFo84ieY1f6n456P3Xl8iIlLreRQuoW489lLqFs pi3HoyhYFx2+6YxDbr1lfdYTHM5IEqIhRGARie9wfJDVQFcx+lKt6ZaKCDwJuX4P5B8T AN2XpYei5X1S5jGybs5aoAZ0NQjtNCAhbTvqluxJsw+6VTIzwGe3BnoCMtxwM90Isq6w FhFGiDdT/loKAoj9/WfZswoirR/+T14Zo4yPnGEl8p9kcX37ILjkSnN0z1ZtKeZYGKoD yT+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693423291; x=1694028091; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZEKkXC8MOF53h1a56anX6H+cIuom0K+QJ/VC65Ck+wE=; b=OYbjR0LRUatFbgjT6Z11xLzqsYJ5XzKVDANDevWXpfDXgv4BXLBzXn9FF5k37HkN6k s62hvEbzpmuj+PsCsX/azMHKP85UIy2FGPrQ4hTt9OgBXPIlbJaetlYjM9r1SO5F2CMx b5cU0LNrN1Jh+yAZlfOEpZDXGiiiBpoMe2jEalLKGR8LNq3P4ukQHdUKb9eYS67WwCJv GZC5oZWncGCnJcm0dnjZbyAUD3IqJdOk3y/3GwpzO0g98USWJQbSAQLnHfB1oCrAh84m YUgRUe8DH4vgKRg4/Epo2a3P70IMx00iqS8UO/FodV4CBii4JH/cx1rgun8fZRb+uJlx PnJg== X-Gm-Message-State: AOJu0Yyi8eo7OXsH2AIOoOXl/HdYY5pRlTTgnKv+jPD1DzaI0IEswdQN utqysYl6/EWIWSHvb51U/dd1SlxQwVtlHgYY/30lshQ8POw= X-Google-Smtp-Source: AGHT+IHoOhwlu0Hw5KVX6Kau5aYSSFkxEY8cVdNYfxESCb9SDMhkBLJ27rlFyHu7LtDJCDtX8Hi+DZIoXUij4isDFyg= X-Received: by 2002:a05:6512:20c6:b0:500:91c1:9642 with SMTP id u6-20020a05651220c600b0050091c19642mr2232827lfr.21.1693423290701; Wed, 30 Aug 2023 12:21:30 -0700 (PDT) In-Reply-To: <34ae8f83-0994-2869-6627-eeffd15807ad@gmail.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268747 Archived-At: > Looking at the electric-pair-skip-whitespace-chars defcustom: > > (defcustom electric-pair-skip-whitespace-chars (list ?\t ?\s ?\n) > "Whitespace characters considered by `electric-pair-skip-whitespace'." > :version "24.4" > :group 'electricity > :type '(choice (set (const :tag "Space" ?\s) > (const :tag "Tab" ?\t) > (const :tag "Newline" ?\n)) > (list character))) > > I think the 2nd choice should be (repeat character) rather than > (list character). With `list' I get this: Hide Electric Pair Skip Whitespace Chars: Choice: Value Menu List: Character: ^@ State : EDITED, shown value does not take effect until you set or save = it. Whitespace characters considered by =E2=80=98electric-pair-skip-whitespa= ce=E2=80=99. Groups: Electricity And with `repeat', I get this: Hide Electric Pair Skip Whitespace Chars: Choice: Value Menu Repeat: INS State : EDITED, shown value does not take effect until you set or save = it. Whitespace characters considered by =E2=80=98electric-pair-skip-whitespa= ce=E2=80=99. Groups: Electricity If I now hit "INS", I see this: Hide Electric Pair Skip Whitespace Chars: Choice: Value Menu Repeat: INS DEL Character: ^@ INS State : EDITED, shown value does not take effect until you set or save = it. Whitespace characters considered by =E2=80=98electric-pair-skip-whitespa= ce=E2=80=99. Groups: Electricity And then when I try to delete "^@" to edit it, it changes to "\s", and then I can't delete it to enter something else. So this all seems pretty wonky to me. Is `repeat' that much of an improvement?