From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#21343: 24.5; parse-partial-sexp mistakes string for a comment Date: Tue, 25 Aug 2015 19:45:43 +0200 Message-ID: <55DCA9C7.7070609@easy-emacs.de> References: <87lhczjyx5.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1440524843 1124 80.91.229.3 (25 Aug 2015 17:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2015 17:47:23 +0000 (UTC) To: 21343@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 25 19:47:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZUIJS-00068s-H3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Aug 2015 19:47:10 +0200 Original-Received: from localhost ([::1]:33847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIJR-0005lN-Vn for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Aug 2015 13:47:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIJN-0005l4-Hk for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:47:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUIJK-0002iz-B5 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:47:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIJK-0002it-73 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZUIJK-0000hp-2e for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Aug 2015 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14405247622638 (code B ref -1); Tue, 25 Aug 2015 17:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Aug 2015 17:46:02 +0000 Original-Received: from localhost ([127.0.0.1]:38249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUIIM-0000gT-BG for submit@debbugs.gnu.org; Tue, 25 Aug 2015 13:46:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33248) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZUIIK-0000g3-NU for submit@debbugs.gnu.org; Tue, 25 Aug 2015 13:46:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUIIJ-0002Hp-JE for submit@debbugs.gnu.org; Tue, 25 Aug 2015 13:46:00 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIIJ-0002Hl-GT for submit@debbugs.gnu.org; Tue, 25 Aug 2015 13:45:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIII-0005ia-Nv for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:45:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUIIF-0002Fl-Go for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:45:58 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:57173) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUIIF-0002FR-8J for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2015 13:45:55 -0400 Original-Received: from [192.168.178.31] ([95.119.32.249]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0LjsPB-1Yt1XH0hr7-00brCI for ; Tue, 25 Aug 2015 19:45:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <87lhczjyx5.fsf@gmail.com> X-Provags-ID: V03:K0:cU+kpyLMLK9KX3a0ZRsPGisXj40Iu+HdmtoqKfKcXLi320uu3ug 7S9UrjmWrhinjVWarNlYS5d6uhnWlkTM3pQ5xXS8Tv9spHjo4stqtA04A737fZQnvTS02hb 8mLSzmUKafixAuwTazd7reC+Wa32W2g4Yw3447OiZOykRM97Ck/1gn2+bpxpiltrNbQi6uk PBUJxAGAuGh/JHpv77YNQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:DbjEFNHXa88=:/t/4ngD/1yc4ch7eHixCU7 Z1vUu8G2z/ZdaRc6nWNripfBSW34e/hOgRBLGBzXskzW7ddGCRzMp49engZnF2uV41pelRq7L EEOjtVyM/jqZIb9xVLyFf5xhkc+uSPWD228+saYMgqZOivOdZ/JDd+HHPMx5sm6MvvYzQtfMZ 0DJ4rW+leGPBYjmlvzTxkPTJAA7R1/Qnm2DZ7GA80n3QtII6TWy/tCNBbb4N24ZMn61WHvkmf qVZ35uM3UIf2m6Gv7DK6cEP/HkoJcQELWyKk9IdUFiCOlifxPhWMmuD5luTEFv96iClFEGlVL ySADiBiDfHMqaRtSVXhyvej3xkiETNeAIdkasoGYx/VB0+P41W7+JqgcAKX+QEsAdISakkpDc yiOoqzZG5zsnbTg6HiKTL2+C80rqKXHx2NI0KutMoeid9XeVHSCs6ZRiKSwtPC2DUJSFPWG1p 6i61A03DtGtSJ77FXbcDcOQ7YbRWOeTMDRuL+lLBW3sj63/TlYjUIf4rva/DHa0XjnAUXs4tP RV2gufzbN8Hb5hz+kq1ZhdWHt9qmbIjlPVHbp/yrYbVgn9nGE6swb8tIgSEi8tWetkFaRATEC M4djVVitA5pI/RsT2Jr8EPeE+5vLRhSUcP0yzFunHWbuYOaH+j3qU4gG1wQMQqTnDBNpW+Tmk WwdzA+UMG3GIPfBtotYQqZtb/ikpklYuQNM9nApiMD1xgO3YIisI07zOiqI5zvt+v7uxR6XOD r9s9PCEnepH5BFxbLQkLgQZ8zUHvz0T3UiPSNjTAuyNeoC6CEqeqwMsskSjXRmHyxV4o9o2+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105809 Archived-At: Am 25.08.2015 um 15:11 schrieb Oleh Krehel: > To reproduce, paste this code into *scratch*, "|" is the point: > > ("|foo" > ";; (bar)") > > M-x indent-sexp will result in " ;" being inserted after the sexp. > > This is because `parse-partial-sexp' for the second line detects a > comment at one stage. > > > > > Can't reproduce with GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.23) of 2015-08-10 TAB indents nicely both lines, detects inside string when cursor at bar.