From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: James Thomas Newsgroups: gmane.emacs.bugs Subject: bug#41805: 26.3; icomplete in buffer throws an error if there's an elisp special character after point Date: Thu, 11 Jun 2020 19:37:15 +0530 Message-ID: <87tuzhwvak.fsf@Kittu.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="124948"; mail-complaints-to="usenet@ciao.gmane.io" To: 41805@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 11 17:00:23 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 1jjOgp-000WP2-Pc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 17:00:23 +0200 Original-Received: from localhost ([::1]:35070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjOgo-0003Gs-Ka for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jun 2020 11:00:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjOdb-0000L3-LN for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 10:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjOda-0006kN-O1 for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 10:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjOda-0004iC-Lw for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 10:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: James Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jun 2020 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41805 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.159188738418051 (code B ref -1); Thu, 11 Jun 2020 14:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Jun 2020 14:56:24 +0000 Original-Received: from localhost ([127.0.0.1]:37664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOcx-0004h5-JV for submit@debbugs.gnu.org; Thu, 11 Jun 2020 10:56:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjNrY-0003OH-MK for submit@debbugs.gnu.org; Thu, 11 Jun 2020 10:07:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjNrY-0002cZ-Hb for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 10:07:24 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:43171) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjNrX-0003zV-0v for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 10:07:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1591884439; bh=DIODa8vou2N1TVrhNoayuFtJjXtja4yzWcffrnss6sQ=; h=X-UI-Sender-Class:From:To:Subject:Date; b=lW2TWjrac/Hj6kkxfuCBv5gEappTqArMqSDNOzUvJ9a8u/nx/UA7Mu26WiGxToNV+ AYUPqnNm+hZKzzX4jZq7LXVwJWgadqpR5ncoX/QnhrX6bxdNXa7VZjiqeYgf0fbxOk jCKDlGGp+GjlYSmx6LOnqTs5wJj2OzMWayx4WFR4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from localhost ([59.94.233.75]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MBUqF-1jdZNY0SVz-00D0eD for ; Thu, 11 Jun 2020 16:07:19 +0200 X-Provags-ID: V03:K1:13Joha/npFdP3wIY2jWLUp+LAGCk6JfBZi8DPsiwHTozs5eXfWA VKoqtUwv/xGtewddwqVB8I6fPXGDhcpsTLbJ1xjWRgUvnFyYxk+0mNBmUWIL7nISG1YJtRa kfpLgl7RQdswrNyaKuwyN+OT8AGZghKw2Gtf7E2UjjMJDKN0XiQfg92wM2SIGUBSkoZ/jt8 O8AcAdB9cs0P4nkGaMYIA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ee4dqjj8lSc=:Cbo7QRjOlIiReuugH6SHzL ZUiwvtGaI/UXd7aptvhM1bMRuXZGk7Sa3yq6vzy1E9Wiol3NxOz/hbETYlMEcPgeH1qJZB6W8 2e/y335azzz+NehxCTiKjJ0lrHBbWGkEXaq1TNGPeCZU+UMVIl5FfMwyL6nM6R3pmXdjmkhnL Q5FTn/R5iNb6vSYJbwGfTO59ulH91B9Q2EF/p3jAmNy/LNV+ZWQP8DJvH8HmXGCVbdpqhDdMx lqE6TeeRc3NJiu2qHbvwsEwfIOCFDc08rP6ENJtFRFXrTBavx78A5Q7XmZ2W8SWdfAamtvF0e FAdz35Y9kDrMxuxhdxlB2hIobhLXB9gnv+Bq8RWdw34aI3cxPMSLn1mVTlTxecmJuEYxr8QrU IZiLYh4uxjbFxWMChMWZEZgBg9M6bqvN+phAuSOTvIEoVUKU2Cas9Pi+OABe1S4T5MnLLdb4p HkyM3DYMxYS9yZ6D4V0IPbaJKcwnjCB2/hMOf8wusmhnn+N1xKioyTQ4HC4H+qKXtdNF2f67h zAKkCaUk5B0uKEaq6sJ785qc6Knsepci3Ee9oZ+GkWEhagJY9olqJ/v3GR+iHNeMCqwtxFo17 NAe+/3HFCXfFxT4SHpeqaA7pJ0JSsMWB0mAvG9Yp/k2dK2UczbwO64rlUaCoLidp9P5f3igA8 1PlEcaAsWf4peKcj4Sav9/qFcq4nXEoAzhgz+U63bjZUQE/5o0pbsUd0QssNswbUM0pATqrvj vzamr64FCAOwQ2od1mGLj+6QBzItXuhrA1IMvSsY4PmAeLPtbyu65ymDuyJJ+yWE7aupGD6k Received-SPF: pass client-ip=212.227.17.21; envelope-from=jimjoe@gmx.net; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 10:07:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Thu, 11 Jun 2020 10:56:23 -0400 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:181855 Archived-At: 1. emacs -Q 2. M-: (setq icomplete-in-buffer t) 3. M-x icomplete-mode 4. Type a single quote (') 5. C-b 6. C-M-i Error in post-command-hook (icomplete-post-command-hook): (args-out-of-range #(";; This buffer is for text that is not saved, and for Lisp evaluation. ;; To create a file, visit it with C-x C-f and enter text in its buffer. " 0 3 (fontified t face font-lock-comment-delimiter-face) 3 71 (fontified t face font-lock-comment-face) 71 74 (fontified t face font-lock-comment-delimiter-face) 74 144 (fontified t face font-lock-comment-face) 144 145 (fontified t)) 0 146) Happens also in Emacs 28 development version; and with other special characters: " \ ) ( etc in step 4. In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian built on lcy01-amd64-020 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04 LTS Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. t Icomplete mode enabled Error in post-command-hook (icomplete-post-command-hook): (args-out-of-range #(";; This buffer is for text that is not saved, and for Lisp evaluation. ;; To create a file, visit it with C-x C-f and enter text in its buffer. " 0 3 (fontified t face font-lock-comment-delimiter-face) 3 71 (fontified t face font-lock-comment-face) 71 74 (fontified t face font-lock-comment-delimiter-face) 74 144 (fontified t face font-lock-comment-face) 144 145 (fontified t)) 0 146) Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-mEZBk7/emacs-26.3+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix Major mode: Lisp Interaction Minor modes in effect: icomplete-mode: t tooltip-mode: t global-eldoc-mode: t 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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load icomplete elec-pair time-date mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 102444 5789) (symbols 48 21318 1) (miscs 40 49 104) (strings 32 29961 1070) (string-bytes 1 769922) (vectors 16 13939) (vector-slots 8 501270 9470) (floats 8 51 76) (intervals 56 339 277) (buffers 992 11))