From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#20284: 25.0.50; sexp parser breaks when 'vectors' are in docstring Date: Sat, 10 Feb 2018 08:58:38 -0500 Message-ID: <871shtc5f5.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518271061 25507 195.159.176.226 (10 Feb 2018 13:57:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Feb 2018 13:57:41 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 20284@debbugs.gnu.org To: Tim Visher Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 10 14:57:36 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVeW-00050e-95 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 14:57:16 +0100 Original-Received: from localhost ([::1]:45233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekVgV-0001mU-Uy for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Feb 2018 08:59:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekVgI-0001k2-LW for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:59:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekVgE-0004G6-B4 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:59:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56562) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ekVgE-0004Fq-6S for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ekVgD-00034h-T9 for bug-gnu-emacs@gnu.org; Sat, 10 Feb 2018 08:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Feb 2018 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20284 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 20284-submit@debbugs.gnu.org id=B20284.151827112811801 (code B ref 20284); Sat, 10 Feb 2018 13:59:01 +0000 Original-Received: (at 20284) by debbugs.gnu.org; 10 Feb 2018 13:58:48 +0000 Original-Received: from localhost ([127.0.0.1]:36226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVg0-00034C-KF for submit@debbugs.gnu.org; Sat, 10 Feb 2018 08:58:48 -0500 Original-Received: from mail-io0-f172.google.com ([209.85.223.172]:41444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ekVfy-00033k-Nl; Sat, 10 Feb 2018 08:58:47 -0500 Original-Received: by mail-io0-f172.google.com with SMTP id f4so12790653ioh.8; Sat, 10 Feb 2018 05:58:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=njE9TdpS9nRWemoyIssYIfmiTo3ZTJbSWjNst5wh4SM=; b=ljLqFlWtOAPLk6h+QBfDxMsjeyLKLT52GEikgkj88TVuwTgAzKedXQR5vIujyXNpy/ fHeqcPt+lfl6ets5HBnO8sggYj2gd1njJXmb7ewfrJcp2reUeuole1m2u/WFJVR50IfK ifFL9cqRb6USxBm7pzY/+82oKbDx1YMDiPS9IxeY2uNKeX0sIeTmjtSwXS2nQpaZYt4I vC3XRADECs2nDTZeYe85iYWDUpZi66YGVRdi06Xo8rYW6IjUzw6l6/Dh6URJNpkFBarV tG0hB1L/Kq7fRbl3yYp1X88mZrF9+wzLXQ5DZ/EMqTXw7/EsQ/1NXikBXE9hVq9j68yd XZDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=njE9TdpS9nRWemoyIssYIfmiTo3ZTJbSWjNst5wh4SM=; b=YAG3LNa89WNCcmz6sLkMsBaZxizlZdCALUN0kGMe1q40k9LlHeqqBqWr006Ib8vR7k uyi2Z0mIFLGjhB994ih/VP3ARpDJPsrHHqjiRAI5IwhPh/ngA4/U4OkQS1iFJuBLyRv7 r3UfJHxHaD/eU8M2mQvs4ZaPZTwmZSCpXfZnnai4I8UWfEY/qAcrtHcjk8TKLuyXKwYR VcsRvuL1O0GA2NXxgoxLtlfX/y6Jh98lho9GttuBep1MBTvi+6ufPUboZ8cC1htXd9vy eXF1H6FM9kQKjaOJfDdNK/dLCcYXEKAlnt39prpgyBEqCd4veOFmiUW7kVw88mX7r+14 4png== X-Gm-Message-State: APf1xPBmBeQn2s0MSTiMoC+H7ENzorVQiQFf+jxYc+M73+Ec3XRO0/H/ 6lmQOf8uITwtJaCGACWEpaem2w== X-Google-Smtp-Source: AH8x226z7M19T0/Q3E0Hg+UXlvgtvx/Tj4sNb6d8D17gypJfX1JUD7bn2E1uyIF1UD8nU+P8UP9Y/A== X-Received: by 10.107.172.130 with SMTP id v124mr2584134ioe.301.1518271120935; Sat, 10 Feb 2018 05:58:40 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id j3sm5751298iob.14.2018.02.10.05.58.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Feb 2018 05:58:40 -0800 (PST) In-Reply-To: (Tim Visher's message of "Thu, 9 Apr 2015 08:20:13 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143093 Archived-At: tags 20284 = fixed close 20284 27.1 quit Tim Visher writes: > Starting from `emacs -Q`: > > In *scratch* define the following function > > (defun should-this-work? () > "A docstring with 'vectors' > > [|[a b c] > [d e f] > [g h i]] > > [[|a b c] > [ d e f] > [ g h i]]" > (message "charnock")) > > With point in the body, attempt to `M-x eval-defun` and notice that it > doesn't. > > Attempt to add to the body and notice that indentation is off. > > Other sexp things behave in unexpected ways. This is fixed in master [1: 14b9558752] (the indenting part is fixed in 26, see Bug#27920). [1: 14b9558752]: 2017-12-12 23:03:00 -0500 * src/syntax.c (find_defun_start): Use syntax-ppss https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=14b95587520959c5b54356547a0a69932a9bb480