From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry OReilly Newsgroups: gmane.emacs.bugs Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Date: Mon, 5 Aug 2013 10:15:14 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1375712183 7641 80.91.229.3 (5 Aug 2013 14:16:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2013 14:16:23 +0000 (UTC) Cc: 15014@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 05 16:16:24 2013 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 1V6La9-0001hr-Jy for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 16:16:21 +0200 Original-Received: from localhost ([::1]:37486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6La9-0005KC-5i for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Aug 2013 10:16:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6LZz-00059x-4l for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 10:16:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6LZr-0003UT-2m for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 10:16:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6LZq-0003UP-PU for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 10:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V6LZq-0001OA-6Y for bug-gnu-emacs@gnu.org; Mon, 05 Aug 2013 10:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Aug 2013 14:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15014 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15014-submit@debbugs.gnu.org id=B15014.13757121335266 (code B ref 15014); Mon, 05 Aug 2013 14:16:02 +0000 Original-Received: (at 15014) by debbugs.gnu.org; 5 Aug 2013 14:15:33 +0000 Original-Received: from localhost ([127.0.0.1]:41367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6LZH-0001Mf-QQ for submit@debbugs.gnu.org; Mon, 05 Aug 2013 10:15:33 -0400 Original-Received: from mail-oa0-f45.google.com ([209.85.219.45]:45897) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V6LZA-0001MA-8G for 15014@debbugs.gnu.org; Mon, 05 Aug 2013 10:15:25 -0400 Original-Received: by mail-oa0-f45.google.com with SMTP id m1so6355502oag.32 for <15014@debbugs.gnu.org>; Mon, 05 Aug 2013 07:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OtvuLBDRN3qN0YuEhF0DQKHTsLGlex4iaJcdUhV/F0w=; b=z1xITy2FCKwiRjHsu2od145oguJFa5hSwoL7tz0PtaafXMjjfIGLS9DP1X6UywDY8d 7gWgtqf/LJVPkogyp49G0tX/ijtQJH4X+SpBDSGD8NkBbMHjeriqho6Y35SpeOTzKI5x KnomU9OOCQ90lYn/pkIq+jj+pHXF+FnxqwG1scK5BR9IjpjAgLmWEImRuOzOTr5sr/l0 8vaSQK602f3NrDYWlcaC3yqcW2dnTveGNVPFkBm7LV1eY1J0BjFc5FHTOHid1MhLDjv7 O4W4eVrLsMl22KTI3RoGB+NeXCLsMT7Y64vQ2NH3EnF6tI1D/y2TV+V7mBr8+v/2ZYKu V0GQ== X-Received: by 10.182.142.104 with SMTP id rv8mr14638133obb.3.1375712114315; Mon, 05 Aug 2013 07:15:14 -0700 (PDT) Original-Received: by 10.76.89.194 with HTTP; Mon, 5 Aug 2013 07:15:14 -0700 (PDT) In-Reply-To: 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: 140.186.70.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:76960 Archived-At: > You mean "to this user" Oh, I'm the only user who thinks this is wrong behavior for forward-sexp and delete-pair? > I do expect that most programmers will use " in text-mode in ways > that behave well when treated as string delimiters, so that might be > a good option in general, but if some text contains a non-matched " > the behavior tends to be pretty annoying, so I'm not sure it's a > safe enough change. I'm not arguing here that we font lock double quoted strings (though I'm not convinced either). Without font locking, I can't think of a concrete case that yields the "pretty annoying behavior". What do you have in mind? I added (modify-syntax-entry ?\" "$") to my configuration and find that forward-sexp and delete-pair seem to work without confusion, even in the presence of odd double quotes. It seems forward-sexp just scans forward from point.