From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53910: 29.0.50; context-menu-mode breaks help in read-only buffers Date: Thu, 10 Feb 2022 01:16:00 +0100 Message-ID: <20220210001600.vjiuqzoiuuzzj54c@Ergus> References: <20220210001600.vjiuqzoiuuzzj54c.ref@Ergus> Reply-To: Ergus Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="452"; mail-complaints-to="usenet@ciao.gmane.io" To: 53910@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 01:17:14 2022 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 1nHx98-000ATm-65 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 01:17:14 +0100 Original-Received: from localhost ([::1]:52292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHx97-0003JO-73 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 19:17:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHx8w-0003Fh-L6 for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 19:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHx8w-00039C-4t for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 19:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHx8v-0001X4-RD for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 19:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 00:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53910 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.16444522155870 (code B ref -1); Thu, 10 Feb 2022 00:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Feb 2022 00:16:55 +0000 Original-Received: from localhost ([127.0.0.1]:53123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHx8o-0001Wb-Tc for submit@debbugs.gnu.org; Wed, 09 Feb 2022 19:16:55 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHx8n-0001WU-BV for submit@debbugs.gnu.org; Wed, 09 Feb 2022 19:16:54 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHx8m-0002zJ-Df for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 19:16:53 -0500 Original-Received: from sonic314-14.consmr.mail.bf2.yahoo.com ([74.6.132.124]:36107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHx8h-00031e-FD for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 19:16:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1644452203; bh=ULX/v4F92uccBNtWEGDF9EXqR8anSdoXLs9VyXRAAkg=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=I6gd7ECaS93NRT8ep6GVgUUDFyx6KF5LPUFWEI/tZrWbOsOjp5CFaZkpsmKPFkFjAofQBm7RW7pbfbQgEcT8sxbJN+i3PDtOfilWE8vwJaLCZEB9D4eySZmzOt4svgMjqxddv5QYp5PjmaMVbKqKxSviz/PSO8n0PVGWvWEs2BmE5RCEU5opSOBUnlYv7cp8PudX2xXYdygB+4PmfYB1ZfCxbC3YTNAqAbLGrwh0fl/cu8C6x/lImxJs8ZnoB2xtIVXOaNAqBCeHiAs5p4j2HhSrgSVxxXjMTwkZFwdK9hdTpAf5/D2OT3M9MbQxVyB9IsCoMjzhyJ4OXZKBO1nWMA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644452203; bh=u+RRRrm7/ofklf5768pCT9NHHEuA/3DfYkIdW8jzOcH=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=YS+5LJ4ETTrPUqilELIJlReLS9H2Vol1ni9HGEWyrhNEA7v72IADgOiOikfBaZLT2DqfgQBxSZi2RWP+cxXWLw9ZwCN/HozvuOCrUtFGqvImrvM+FL5asKNJAWlg24UlbNdg8LRb9tO8AaxRv7XBOzvC0uU9h36JljCW+xH5LIXYkoFWI2pOoKDofj4Prnz6lYarFaPLR1QvfOqEOerxpqToG28PabxPzOcmJ1Zzs3mvMaCp0USNhCHqK/mTLuGsbBhLtnC91IF79ZkWgKFM8ZWam3nQ49P1NBQDCcxMJSbSuMiCI0nEjp/3DxPUNv0Pkk0y3qLu36okOpkb8WTx9g== X-YMail-OSG: aFoBVHYVM1kWdSKfbIqcQpmlia0pYhkulIO2quX6OVvFOOcCSUmVcXXriI4sEGv mBNp8TVbAioaeDZKp4kIgKC6Iks70Tz7pw8dnOXXD9eru6rAPYNIjjZhIOVzgvJwduwJa10GtUWx dOY1FCjBV9kg7U8Ein0PdzJdSg4UFJ.K6DqcAFwugY2NCtSpyQdifuaAS7oEvPKU08cUi2uklhL5 _Hwihe93K9_yZoq2DWXkI5jXAcBfgDC9cGKPGSxC.aYLwvZx3ZFI6g1.oTfhAJZ5lGBYxP46Db5Z 3cejsIxDzsBNMvLOHJU1umSRLWMpbnOO3y7vO55M.h6B1fdfOlfWWqzlroezHRBA7M1k93Y64Hh3 N4AHlRphnjMphAgTBOF3PEDR8MpfMzOowTOBXTfXCNSaNPornPANfR.equ1Vw5l3ulsVptSeVCBL _7HLEZ1YGKBW.EJC4o3W9uVpKS86c6Olzbesw69gNhOOuWP7EUWBBApRH00ZFmxPgylRDwecgue8 lCmR5fRkOnY1Cwx_8PSIUv8qriHc5HCOcKL33dyCy.pL0FZIlC6GF6UmTygiK18It5AEJ0Nlnto8 j978iP735c0qnEp3Wp8hSdtxoWsRWTcFghQuDeJn1vR899Plbi0xkQWdmyx23dnAIyY2FYjpmisW oA0t_G9xk4nlbmdtOo4Psd5OqmBrlMmNSNoZY6G1NjDzY4.eyJ2BPKbBJI7iQCQ8P1h02s6Rf8Ij jaGBeGlsWuPfeO5UAxpYR90c2QWhcKnROJt2rTJMwnlTb7iww0eL09ADpV4RCBy8f.JFPXqN3eqf 91VEoLbniTQ0nDuuxS1qtZXbAor7A7Wz31ucJkdIQV X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Thu, 10 Feb 2022 00:16:43 +0000 Original-Received: by kubenode517.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3ce15092a88d24761b17dcd701175cf4; Thu, 10 Feb 2022 00:16:38 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.19724 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.132.124; envelope-from=spacibba@aol.com; helo=sonic314-14.consmr.mail.bf2.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:226515 Archived-At: Hi recently I found that I can't access help on read-only buffers like *Occur*. To reproduce: emacs -Q M-x context-menu-mode C-h b I get this text inserted in the buffer: ` context-menu-open` And an out of range message. `describe-buffer-bindings: Args out of range: #, 173, 174` So there is the bug. Exposed initially by this: emacs -Q M-x toggle-read-only M-x context-menu-mode C-h b Just a message is shown in the echo area like an error because the buffer is read only (and such text can't be inserted...). BTW: I toggled the debug-on-entry and tried the second set of steps and debugger was not triggered, so I am not sure if this is another issue. Best, Ergus. In GNU Emacs 29.0.50 (build 62, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.17.4) of 2022-02-09 built on Ergus Repository revision: f06915c93c0755a708f9c600e90674c68b5326dc Repository branch: master System Description: Arch Linux Configured using: 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz --with-native-compilation --with-pgtk' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: global-auto-revert-mode: t xclip-mode: t electric-pair-mode: t flyspell-mode: t company-mode: t flycheck-mode: t diff-hl-margin-mode: t counsel-mode: t ivy-mode: t composable-mark-mode: t composable-mode: t repeat-mode: t xterm-mouse-mode: t minibuffer-depth-indicate-mode: t winner-mode: t save-place-mode: t delete-selection-mode: t savehist-mode: t global-display-fill-column-indicator-mode: t display-fill-column-indicator-mode: t global-display-line-numbers-mode: t display-line-numbers-mode: t which-key-mode: t override-global-mode: t eldoc-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t context-menu-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 size-indication-mode: t column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: ~/gits/emacs_clones/composable/composable-mark hides /home/ergo/.config/emacs/elpa/composable-20201024.1458/composable-mark ~/gits/emacs_clones/composable/composable hides /home/ergo/.config/emacs/elpa/composable-20201024.1458/composable /home/ergo/.config/emacs/elpa/transient-20220130.1941/transient hides /home/ergo/.local/share/emacs/29.0.50/lisp/transient Features: (shadow sort mail-extr autorevert filenotify xclip emacsbug message mailcap yank-media rmc puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair flyspell-correct-ivy flyspell-correct flyspell ispell company-semantic company-template company-capf company flycheck json map find-func dash pcase diff-hl-margin diff-hl-dired diff-hl log-view pcvs-util vc-dir ewoc vc vc-dispatcher diff-mode thingatpt amx comp comp-cstr warnings s cape counsel xdg advice xref project dired dired-loaddefs compile text-property-search comint ansi-color swiper ivy-avy avy ivy flx ivy-faces ivy-overlay colir color term/tmux term/xterm xterm init composable composable-mark repeat xt-mouse mb-depth edmacro kmacro simple-16-theme winner ring saveplace delsel savehist display-fill-column-indicator display-line-numbers diminish which-key cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core disp-table info ede/auto eieio-base cl-seq eieio seq subr-x byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib tex-site rx slime-autoloads early-init iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 258691 16183) (symbols 48 17962 1) (strings 32 61649 6520) (string-bytes 1 2099350) (vectors 16 29163) (vector-slots 8 540047 206780) (floats 8 183 979) (intervals 56 347 0) (buffers 992 11))