From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#41245: 27.0.91; Error clicking on a button in custom-mode in another window Date: Thu, 14 May 2020 10:53:36 -0300 Message-ID: References: <671489dc-b15f-9b42-1b85-1e2a148d1de5@ieee.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a5553905a59c069f" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="4576"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41245@debbugs.gnu.org To: Trevor Spiteri Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 14 15:57:14 2020 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 1jZEML-00014Z-6C for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 15:57:13 +0200 Original-Received: from localhost ([::1]:54930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZEMK-0000wD-6f for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 09:57:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEJH-00040D-0L for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 09:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZEJG-00087i-LU for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 09:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZEJG-0003tE-7B for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 09:54:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <671489dc-b15f-9b42-1b85-1e2a148d1de5@ieee.org> Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 May 2020 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41245 X-GNU-PR-Package: emacs Original-Received: via spool by 41245-submit@debbugs.gnu.org id=B41245.158946443614937 (code B ref 41245); Thu, 14 May 2020 13:54:02 +0000 Original-Received: (at 41245) by debbugs.gnu.org; 14 May 2020 13:53:56 +0000 Original-Received: from localhost ([127.0.0.1]:60711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEJ9-0003sr-Vw for submit@debbugs.gnu.org; Thu, 14 May 2020 09:53:56 -0400 Original-Received: from mail-wm1-f53.google.com ([209.85.128.53]:55744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEJ8-0003sd-Ik for 41245@debbugs.gnu.org; Thu, 14 May 2020 09:53:55 -0400 Original-Received: by mail-wm1-f53.google.com with SMTP id f13so2095993wmc.5 for <41245@debbugs.gnu.org>; Thu, 14 May 2020 06:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=rgernTq61tZdrchm5WOMr3BFiJVzXfBvOf6NSaOobCU=; b=YKGUHl1RxOpEBkzZgZpuBFmsz2t6CmPCWVY3WKZvezhfct/K/2CgKjQsujbdZ/XRgr S0M8IYL+0Jp0wIvFdrF0JCokzpIMg3QVgGHiiAxL0evzRX+Em/b3eM34sJx/TdsLYNKj 4MYME3x+go2ALP7IP3n6HiBM3lWyIF6sE+fZWJBd76kTNcmvC5aXhQXDvqdMNDGZG/rq eC82Fk7cUVopjiZltntnx9fz6fjb1CAlwNrYh5Jxh8POr6AgzNf2aIPzIGtxtcTyNO5u enZhT1KknzdUbm7T8QzNpwhBSMSjQ3gnWa25MBydQezLo7cQ3B+2MO56UK15HdVed5+M ssVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rgernTq61tZdrchm5WOMr3BFiJVzXfBvOf6NSaOobCU=; b=f0f1vsOuO9rTfL0j7rb2lVcy8Z0fiZ5ftByVrJceiNHKKrFIhGdZjGkv/3b/r632JE HhOvvjFujA92m0K15Gr7+T3OaZzT2f5/Y2c6TM/eq+tQi6qj/tqe9vhqUoR+NYJkx4me jpHoR0SdoV5Mf3GMNXZvA0SeFzk3K8tDECHcbcd3FR/7Gu0/3bK0h4+57G/YRLzW2+bw cK6yN0R0H4Beu6brwS95365K3LLlm56CCWtTrX1uvY9QHFmIRgTTTUX+DK32ekEYZ5uY zyOW4NVd0N32Md052Ugf8HrQBHYpraQb1hAWdjlgLBjK3QFt2nLF+LtFdOFB3mxM1VKk MtEA== X-Gm-Message-State: AGi0PuZsu+dFPq2DXdkNPFK6+3NL0TCsnp4X2tvEvsVeBsbnJd3BhDuo Ra/r5kEVVP5zC2AXba9FCCxFv1x2Hw7VMKRDixs= X-Google-Smtp-Source: APiQypIKCKs6Iolc/pP3O3K4XxA/kM1gskQyvdSbjFmkHyZ6igKcfu10zejSyC+mERQ8eOZrklNQgWWjDd0pfbiers8= X-Received: by 2002:a1c:a74a:: with SMTP id q71mr35457164wme.23.1589464428531; Thu, 14 May 2020 06:53:48 -0700 (PDT) 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:180208 Archived-At: --000000000000a5553905a59c069f Content-Type: text/plain; charset="UTF-8" Trevor Spiteri writes: > 1. Run emacs -Q > 2. Fill the *scratch* buffer with some text (350 characters is enough). > 3. M-x customize-option-other-window abbrev-all-caps > 4. C-x o (to switch back to *scratch* buffer window) > 5. Click on "Toggle" button right next to "Abbrev All Caps" > > The text " [ State ]: EDITED, shown value does not take effect until > you set or save it.\n" (81 characters including new line) is inserted at > point 298 in the scratch buffer, overwriting 29 characters in the > process. 298 is also the point at which the State button is drawn in the > custom buffer. The custom-mode window is also broken: the State button > now appears as regular text. > I think the proposed patches in Bug#40788 would solve this problem as well. --000000000000a5553905a59c069f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Trevor Spiteri <ts= piteri@ieee.org> writes:

> 1. Run emacs -Q
> 2. Fill= the *scratch* buffer with some text (350 characters is enough).
> 3.= M-x customize-option-other-window abbrev-all-caps
> 4. C-x o (to swi= tch back to *scratch* buffer window)
> 5. Click on "Toggle"= button right next to "Abbrev All Caps"
>
> The text = " [ State ]: EDITED, shown value does not take effect until
> yo= u set or save it.\n" (81 characters including new line) is inserted at=
> point 298 in the scratch buffer, overwriting 29 characters in the<= br>> process. 298 is also the point at which the State button is drawn i= n the
> custom buffer. The custom-mode window is also broken: the Sta= te button
> now appears as regular text.
>

I think = the proposed patches in Bug#40788 would solve this problem as
wel= l.
--000000000000a5553905a59c069f--