From unknown Sun Aug 10 07:14:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#22718 <22718@debbugs.gnu.org> To: bug#22718 <22718@debbugs.gnu.org> Subject: Status: 25.0.50; sexp parser error when 'vector' forms are in the docstring Reply-To: bug#22718 <22718@debbugs.gnu.org> Date: Sun, 10 Aug 2025 14:14:03 +0000 retitle 22718 25.0.50; sexp parser error when 'vector' forms are in the doc= string reassign 22718 emacs submitter 22718 Tim Visher severity 22718 minor tag 22718 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 17 08:29:05 2016 Received: (at submit) by debbugs.gnu.org; 17 Feb 2016 13:29:05 +0000 Received: from localhost ([127.0.0.1]:38931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW2AD-0006Qf-Fo for submit@debbugs.gnu.org; Wed, 17 Feb 2016 08:29:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50571) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW2AC-0006QD-GY for submit@debbugs.gnu.org; Wed, 17 Feb 2016 08:29:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW2A1-0000Jo-Aa for submit@debbugs.gnu.org; Wed, 17 Feb 2016 08:28:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: **** X-Spam-Status: No, score=4.2 required=5.0 tests=BAYES_50,DATE_IN_PAST_96_XX, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW2A1-0000Jk-7Y for submit@debbugs.gnu.org; Wed, 17 Feb 2016 08:28:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW29z-0000hW-S1 for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:28:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW29v-0000IW-Q4 for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:28:51 -0500 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:35851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW29v-0000II-LN for bug-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:28:47 -0500 Received: by mail-qg0-x236.google.com with SMTP id y9so11435286qgd.3 for ; Wed, 17 Feb 2016 05:28:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=ECPMQRg4QmDQjaV54FmUkLVmLYG5NmZWjWPrzffL0io=; b=dgo1Kpq3MwFXjac7uvXpfPP8yWW4JHG9842P3BbKe3nf3YSTRM0A455RuzKEbtsqkX sz0pve+g/wCjpn8sd026b6+Fuqy5O82Xw10ofiYzfEH045FLoWlblL8u2tjZOHPY6uTr BIjnowwxUO1vw4Kjyzy5iNsb3wynR9B6DVNPI3AW6pZYF2d7wbA+0sFzqFYkzHRFa4ZZ y/GJvlmNvvQYVC3XOAhgkotIj85+Rk0vMCQE7Mg4L2nyNLljRGJss+4Q5CfrkyDPz26Y /Nu0WqQA7yy9qoISZbFmnGm2zuZJoUtMQxhdlu5WWkavqizpMZx+bNtEyDom8EPoCnSb rBtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=ECPMQRg4QmDQjaV54FmUkLVmLYG5NmZWjWPrzffL0io=; b=NS+mUTA7ri2ZujGChLKewVbQybNXN5scf2qwMaw8IePSfFX7ACqc6oftsjH44SXxIo 9ahKVXBlonxcphQqfcV1zkslK312XBGxRx4J/krV9w7iZdgyt34gAKWXdeqMZjee8iaq tJdMRtRT1hv6C/E/ly2KvGGngP+JfkDkC3yD7/IedeuQzDzUmNO40h+VQ2Chx58StTqz nRKp6MXlCROCjwQKYxWHMjVoLjadQbFQt2CkxJGb1t9u4a8GxCXNuBHVzusI/w7TWMJC zlrshHupIJWqXm8qXdI/B7Hvbw3PuCuk1Wm8SISToTW53rlJJ76SulPzzvY2xw41dU3w NMYQ== X-Gm-Message-State: AG10YOSf1DzQtr502/D+BV5G1O82WyB1IhZPstRjsEqgQhv3bSn6d3Q9K4oEK/ek2k/JNA== X-Received: by 10.140.19.147 with SMTP id 19mr1819212qgh.70.1455715727140; Wed, 17 Feb 2016 05:28:47 -0800 (PST) Received: from timvisher-rjmetrics.local ([38.88.149.154]) by smtp.gmail.com with ESMTPSA id a4sm8063789qga.36.2016.02.17.05.28.46 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 17 Feb 2016 05:28:46 -0800 (PST) Received: by timvisher-rjmetrics.local (Postfix, from userid 502) id 9718A5A90E3; Thu, 9 Apr 2015 07:47:50 -0400 (EDT) From: Tim Visher To: bug-gnu-emacs@gnu.org Subject: 25.0.50; sexp parser error when 'vector' forms are in the docstring Date: Thu, 09 Apr 2015 07:47:50 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) Define a function with the following form: (defun sexp-parser-bug? () "Should this work? [ [a b c] [d e f] |[g h i]] [[|a b c] [ d e f] [ g h i]]" (interactive) (message "charnock")) Attempt to `M-x eval-defun` and notice that it doesn't eval the top level. Attempt to change the body and notice that it doesn't indent properly. Various other navigation and editing things go wrong. Remove the vector forms from the docstring and everything starts working again. (defun sexp-parser-bug? () "Should this work?" (interactive) (message "charnock")) In GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.1.0) of 2015-04-02 on timvisher-rjmetrics Repository revision: 0c2ea36d2032ef47a0d6520b3e513459e072a553 Configured using: `configure --prefix=/usr/local/Cellar/emacs/HEAD --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/HEAD/share/info/emacs --without-dbus --with-gnutls --without-popmail --without-x' Configured features: ACL GNUTLS LIBXML2 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. sexp-parser-bug\? [[|a b c] [d e f] [g h i]] Making completion list... [3 times] Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils xterm time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev 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 make-network-process multi-tty emacs) Memory information: ((conses 16 78361 6603) (symbols 48 17307 0) (miscs 40 34 127) (strings 32 11194 4585) (string-bytes 1 302757) (vectors 16 7637) (vector-slots 8 339910 30744) (floats 8 76 643) (intervals 56 260 166) (buffers 976 12)) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 17 13:33:27 2016 Received: (at 22718) by debbugs.gnu.org; 17 Feb 2016 18:33:27 +0000 Received: from localhost ([127.0.0.1]:59895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW6ul-0004gk-92 for submit@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:27 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37576) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW6uj-0004gN-Sx for 22718@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW6ub-0003aE-6U for 22718@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6ua-0003Z4-3D; Wed, 17 Feb 2016 13:33:16 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aW6uY-0000bv-AX; Wed, 17 Feb 2016 13:33:14 -0500 From: Glenn Morris To: Tim Visher Subject: Re: bug#22718: 25.0.50; sexp parser error when 'vector' forms are in the docstring References: X-Spook: Salmonella Weapons cache Manfurov Al Qaeda in the Islamic X-Ran: wz*&EEJj_AnW^d;lLG2K0ej~gSu| (Tim Visher's message of "Thu, 09 Apr 2015 07:47:50 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22718 Cc: 22718@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) It's our old friend, unescaped paren in column 0. You can write \[, or change open-paren-in-column-0-is-defun-start. From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 17 13:33:38 2016 Received: (at control) by debbugs.gnu.org; 17 Feb 2016 18:33:39 +0000 Received: from localhost ([127.0.0.1]:59903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW6uw-0004hL-OU for submit@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37652) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW6uv-0004h8-IO for control@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW6up-0003cV-Nf for control@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6up-0003cP-Kc for control@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:31 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aW6up-0000gk-98 for control@debbugs.gnu.org; Wed, 17 Feb 2016 13:33:31 -0500 Subject: control message for bug 22718 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 17 Feb 2016 13:33:31 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) severity 22718 minor tag 22718 notabug From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 17 13:51:47 2016 Received: (at 22718) by debbugs.gnu.org; 17 Feb 2016 18:51:47 +0000 Received: from localhost ([127.0.0.1]:59914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW7CV-0006k6-Ga for submit@debbugs.gnu.org; Wed, 17 Feb 2016 13:51:47 -0500 Received: from mail-vk0-f54.google.com ([209.85.213.54]:36171) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aW7CU-0006js-9L for 22718@debbugs.gnu.org; Wed, 17 Feb 2016 13:51:46 -0500 Received: by mail-vk0-f54.google.com with SMTP id c3so23061886vkb.3 for <22718@debbugs.gnu.org>; Wed, 17 Feb 2016 10:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6694LuJabdANeg4Ood0fBsgfXozZCXXCPOEFx2ApfM8=; b=aOmhIsr/l4vny9Y3BiRS/Rj6N07bASixdy1+98bAy2Zz80pk0OtrWGmq+9nw76TsJq f6WEm2U+2fjx3llDvcXIB5MI214mrhCGC+4E71THEcqp84KABRFDPrcDak6G8NDrT6W0 W/iS1yF/m00d9dtS5CItk3qpU+bx9FqhIBg8kGhh1mx3NCy/L446YJ0SdKsyp6jcJusd QxJ7HcssNVq+SMfIjtY8xNYTz6H8iYG6bM6zLx4rboUoZGGpcrlolB5BthEhM6ae25Tm vuTp6FuH4a4sUln7abs3LpDOA2BYYsGqp8n2iOIG19DWg8xWMOm0vuTQH+hASMQIzq35 A+sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=6694LuJabdANeg4Ood0fBsgfXozZCXXCPOEFx2ApfM8=; b=k0muZY5wg5TfOITTKSxm2fHusjcjT2wZIvTZKhMyVksctXccuZE8z1aYl/v/Pelwzh 4O01PNyk2gFZp4wVLcZ+SiOY6/1KRqifXb8+0kGLuyBSmMKM1lmBRFBr+YGSAQM69MkN h0rRYpLFf902KeuliVo+IxTxL1whsa8mdS4BGJUdhYNSkt5sj29zQJ4hmg5S3Vu4xUzX EQkG6D/Bt6DSFkw7yQG4ljnrqj2h4R6usOeHrIYCfZl/OBP+oWLYN5Y2YOjOM4kT9G26 hm0gxbBQu2rZC8j7Jt/MabDqpzL1Fl/p5zdLBX9HnUDQTXEOveN2F3SxOkEZK7hob+sr m3QQ== X-Gm-Message-State: AG10YOTCUJ+EB3KHkFAvDqSYhiIQJAffBi7t6mE90GBOmHtw8jsola/osKUpITtTj8FOMWhHYkhVx3/8RFIQ4g== X-Received: by 10.31.149.3 with SMTP id x3mr2749364vkd.46.1455735100778; Wed, 17 Feb 2016 10:51:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.68.99 with HTTP; Wed, 17 Feb 2016 10:51:01 -0800 (PST) In-Reply-To: References: From: Tim Visher Date: Wed, 17 Feb 2016 13:51:01 -0500 Message-ID: Subject: Re: bug#22718: 25.0.50; sexp parser error when 'vector' forms are in the docstring To: Glenn Morris Content-Type: multipart/alternative; boundary=001a11425a1691ae83052bfbbd72 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 22718 Cc: 22718@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11425a1691ae83052bfbbd72 Content-Type: text/plain; charset=UTF-8 On Wed, Feb 17, 2016 at 1:33 PM, Glenn Morris wrote: > > It's our old friend, unescaped paren in column 0. > You can write \[, or change open-paren-in-column-0-is-defun-start. > Thanks! That's entirely acceptable. I actually don't know why this was sent today. It must be hanging around on my mail spool for the past year or so which is when I tried to file the bug. --001a11425a1691ae83052bfbbd72 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On W= ed, Feb 17, 2016 at 1:33 PM, Glenn Morris <rgm@gnu.org> wrote:
=

It's our old friend, unescaped paren in column 0.
You can write \[, or change open-paren-in-column-0-is-defun-start.

Thanks! That's = entirely acceptable. I actually don't know why this was sent today. It = must be hanging around on my mail spool for the past year or so which is wh= en I tried to file the bug.
--001a11425a1691ae83052bfbbd72-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 17 22:13:16 2016 Received: (at control) by debbugs.gnu.org; 18 Feb 2016 03:13:16 +0000 Received: from localhost ([127.0.0.1]:60103 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWF1n-00058F-Tu for submit@debbugs.gnu.org; Wed, 17 Feb 2016 22:13:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45011) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aWF1m-000582-5K for control@debbugs.gnu.org; Wed, 17 Feb 2016 22:13:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWF1g-000421-GQ for control@debbugs.gnu.org; Wed, 17 Feb 2016 22:13:09 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWF1g-00041s-E2 for control@debbugs.gnu.org; Wed, 17 Feb 2016 22:13:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1aWF1g-0005ad-4o for control@debbugs.gnu.org; Wed, 17 Feb 2016 22:13:08 -0500 Subject: control message for bug 22718 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 17 Feb 2016 22:13:08 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) close 22718 From unknown Sun Aug 10 07:14:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 17 Mar 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator