From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: David Ponce Newsgroups: gmane.emacs.bugs Subject: bug#40788: 28.0.50; Error running timer =?UTF-8?Q?=E2=80=98custom-magic-reset=E2=80=99?= Date: Thu, 23 Apr 2020 07:10:35 +0200 Message-ID: <9360131a-d203-4075-78b2-f4d31d044801@orange.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54882"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 To: 40788@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 23 07:13:22 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 1jRUAs-000ECd-DV for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Apr 2020 07:13:22 +0200 Original-Received: from localhost ([::1]:36182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRUAr-0000cJ-62 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Apr 2020 01:13:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44100) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRUAd-0000c9-6R for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRUAZ-0007dq-1f for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:13:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRUAY-0007dl-MR for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRUAY-0003rh-HV for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Ponce Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2020 05:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40788 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158761873714793 (code B ref -1); Thu, 23 Apr 2020 05:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Apr 2020 05:12:17 +0000 Original-Received: from localhost ([127.0.0.1]:53819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRU9o-0003qX-Mi for submit@debbugs.gnu.org; Thu, 23 Apr 2020 01:12:17 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRU8J-0003lk-5B for submit@debbugs.gnu.org; Thu, 23 Apr 2020 01:10:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43590) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRU8I-00009U-Kt for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:10:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRU8H-0003yZ-Io for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:10:42 -0400 Original-Received: from smtp08.smtpout.orange.fr ([80.12.242.130]:44564 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1jRU8G-0003tl-Uc for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 01:10:41 -0400 Original-Received: from [192.168.1.25] ([92.129.68.39]) by mwinf5d15 with ME id W5Ab2200R0qq0GU035Ac20; Thu, 23 Apr 2020 07:10:37 +0200 X-ME-Helo: [192.168.1.25] X-ME-Auth: ZGFfdmlkQHdhbmFkb28uZnI= X-ME-Date: Thu, 23 Apr 2020 07:10:37 +0200 X-ME-IP: 92.129.68.39 Content-Language: en-US Received-SPF: none client-ip=80.12.242.130; envelope-from=da_vid@orange.fr; helo=smtp.smtpout.orange.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/23 01:10:37 X-ACL-Warn: Detected OS = Linux 2.6.x [fuzzy] X-Mailman-Approved-At: Thu, 23 Apr 2020 01:12:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178844 Archived-At: Hello, Here is the recipe for an error I encounter when using customize with 2 windows in the same frame: emacs -Q M-x pop-to-buffer RET *Message* M-x customize-variable RET blink-cursor-alist At this point the *scratch* buffer is on top window and the customize buffer on bottom. Click on 'INS' button and insert a new Key/Value pair Clict on 'State' button, then 'Set for Current Session' Then click somewhere in the *scratch* buffer, then click on the 'DEL' button in the customize buffer to delete the value previously entered. At this point custom try to redraw the 'State' button in the *scratch* buffer instead of the customize buffer! In this case, because the *scratch* buffer is shorter than the position of the State button, it fails with the error: Error running timer ‘custom-magic-reset’: (args-out-of-range # # #) This error can be severe because, if in place of the *scratch* buffer you were editing a file big enough to include the position of the 'State' button, the 'State' button is drawn in your file without you realizing it! And if you ever realize it, this change cannot be undone! Thanks! In GNU Emacs 28.0.50 (build 32, x86_64-pc-linux-gnu, GTK+ Version 3.24.13, cairo version 1.16.0) of 2020-04-23 built Repository revision: 7b15cc3ebb45e50ac5faf3bbc2a813afffdaa418 Repository branch: master Windowing system distributor 'Fedora Project', version 11.0.12006000 System Description: Fedora 31 (KDE Plasma) Recent messages: Mark set Creating customization items... Creating customization items ...done Creating customization setup...done Mark set Beginning of buffer Mark set [2 times] scroll-up-command: End of buffer Configured using: 'configure --prefix=/home/dponce --with-cairo PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LC_TIME: fr_FR.utf8 value of $LANG: fr_FR.UTF-8 locale-coding-system: utf-8-unix Major mode: Messages 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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode easy-mmode bug-reference eieio-opt cl-extra seq speedbar ezimage dframe cl-print debug backtrace find-func cus-theme eieio-custom cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs wid-browse tree-widget thingatpt help-fns radix-tree help-mode cus-edit easymenu cus-start cus-load wid-edit time-date subr-x cl-loaddefs cl-lib 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 98994 16077) (symbols 48 10003 1) (strings 32 26548 2003) (string-bytes 1 811951) (vectors 16 14342) (vector-slots 8 182195 11344) (floats 8 43 119) (intervals 56 4061 0) (buffers 992 16))