From unknown Sat Jun 14 19:06:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Aug 2013 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15014 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15014@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137548175424671 (code B ref -1); Fri, 02 Aug 2013 22:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Aug 2013 22:15:54 +0000 Received: from localhost ([127.0.0.1]:37114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5NdZ-0006Pr-HW for submit@debbugs.gnu.org; Fri, 02 Aug 2013 18:15:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41294) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5NdX-0006Pc-1X for submit@debbugs.gnu.org; Fri, 02 Aug 2013 18:15:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5NdQ-0000tP-K9 for submit@debbugs.gnu.org; Fri, 02 Aug 2013 18:15:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5NdQ-0000tJ-H7 for submit@debbugs.gnu.org; Fri, 02 Aug 2013 18:15:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5NdP-0004dj-7i for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2013 18:15:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5NdM-0000sF-I4 for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2013 18:15:43 -0400 Received: from mail-ob0-x241.google.com ([2607:f8b0:4003:c01::241]:57951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5NdM-0000s3-8e for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2013 18:15:40 -0400 Received: by mail-ob0-f193.google.com with SMTP id dn14so878430obc.8 for ; Fri, 02 Aug 2013 15:15:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+7UfPMDU4FryPER+6LprHUB272/C6lp2iuraHzuKSdo=; b=gvREs8+KyzCZiDTecAGYL1WNwK8kvQNQfQy+iX+ofzEj0hNkeli9+ipCN9WNjNs2Em WqZWGqVRccJ38ZDsG6r5w83jAjfNXWiqs8Oj6ZoM6cdyY7Y4hXMrDVAs6dtc+kDTfPn7 KWMp/bjCFMG7r6cW4WQ8nmUo5k9yzbFG4s+ySEobpBjM6dbh4v1mateJnUYy992RT+0h T6BXUK/E8Vu2O13r7gxOG0dslxJdaQ60AE/XyL+AljwbfyBdHGhBsmb3UlXmCpY5QahI FenGZ08xOXJx+CWS/4nML9v6CGF3jn+X98M9Zm3JpznV62SDq/AQmxlk99+FVY6WG41v lfcg== MIME-Version: 1.0 X-Received: by 10.182.165.133 with SMTP id yy5mr6970254obb.89.1375481739175; Fri, 02 Aug 2013 15:15:39 -0700 (PDT) Received: by 10.76.89.194 with HTTP; Fri, 2 Aug 2013 15:15:39 -0700 (PDT) Date: Fri, 2 Aug 2013 18:15:39 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.7 (--) In a file with text-mode, try forward-sexp across a double quoted string: "foo". Unlike in programming modes, point goes before the closing double quote instead of after. A consequence of this is that delete-pair on "foo" results in fo" instead of foo as expected. In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2013-06-18 on psd15 Windowing system distributor `The X.Org Foundation', version 11.0.70101000 System Description: Red Hat Enterprise Linux Client release 5.4 (Tikanga) Configured using: `configure --prefix=/redacted/user/boreilly/sw/emacs-install-trunk-20899d085afe62520113b5acbfe3dbba57823dc9 --with-gif=no' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-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 Recent input: M-x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort nadvice gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar 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 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 dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Sat Jun 14 19:06:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2013 01:24: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: To: Barry OReilly Cc: 15014@debbugs.gnu.org Received: via spool by 15014-submit@debbugs.gnu.org id=B15014.137549303416093 (code B ref 15014); Sat, 03 Aug 2013 01:24:02 +0000 Received: (at 15014) by debbugs.gnu.org; 3 Aug 2013 01:23:54 +0000 Received: from localhost ([127.0.0.1]:37293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5QZV-0004BV-JE for submit@debbugs.gnu.org; Fri, 02 Aug 2013 21:23:53 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:63732) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5QZT-0004BD-AQ for 15014@debbugs.gnu.org; Fri, 02 Aug 2013 21:23:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFG4rw3m/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFG4rw3m/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20480792" Received: from 184-175-13-230.dsl.teksavvy.com (HELO pastel.home) ([184.175.13.230]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Aug 2013 21:23:38 -0400 Received: by pastel.home (Postfix, from userid 20848) id CC7ED63129; Fri, 2 Aug 2013 21:23:44 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Fri, 02 Aug 2013 21:23:44 -0400 In-Reply-To: (Barry OReilly's message of "Fri, 2 Aug 2013 18:15:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > In a file with text-mode, try forward-sexp across a double quoted > string: "foo". Unlike in programming modes, point goes before the > closing double quote instead of after. In text-mode, double-quotes are not considered as pair-delimiters, so the behavior is "the expected one". E.g. point stops after the second `o', because the sexp it skipped is the symbol `foo' and the " are considered as irrelevant punctuation. So, IIUC you're arguing for marking " as having paired-delimiter syntax, as is the case in most programming modes. Stefan From unknown Sat Jun 14 19:06:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Resent-From: Barry OReilly Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2013 17:02:01 +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: Cc: 15014@debbugs.gnu.org Received: via spool by 15014-submit@debbugs.gnu.org id=B15014.137554929927369 (code B ref 15014); Sat, 03 Aug 2013 17:02:01 +0000 Received: (at 15014) by debbugs.gnu.org; 3 Aug 2013 17:01:39 +0000 Received: from localhost ([127.0.0.1]:38435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5fD0-00077N-Kl for submit@debbugs.gnu.org; Sat, 03 Aug 2013 13:01:38 -0400 Received: from mail-ob0-f196.google.com ([209.85.214.196]:37367) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5fCy-00076v-It for 15014@debbugs.gnu.org; Sat, 03 Aug 2013 13:01:36 -0400 Received: by mail-ob0-f196.google.com with SMTP id wc20so1421659obb.11 for <15014@debbugs.gnu.org>; Sat, 03 Aug 2013 10:01:30 -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:cc :content-type; bh=mqrkkDhS7azkPnmwLnxO2Y5wD2og2PS/I/1jfdkdaZw=; b=RKgmkJ0c0hQyclK1FhYGnCq1QL1F6lMZyZ4lOxIPm6bdMRV3Y1lxcKKOFYUfX3qDma uDcc5AB+tqH8arxOXk0VVpWprXDyZYTNd9FSKNcCGFQNfvSJE6spx8wGIewZoNpr1NTi 57xtl6X6+tA48q60uHNYeKisEUjRe93rdF8Hv0SJxh7Gm4EsvbzoEniPV9wEPEibQCgN iiZlDqQJGZsdwsEwLsd+FK3oAPTb5lHa39KIWAPzDCw/AEqevSafgdfuVTDqRNQIi7cn SzV7SgLuoFVHdHQNTmg9i4IjiMfXo5mCcySrQdbgW45+weTiEGdoYn8ehwqRR7D56xtI wXSQ== MIME-Version: 1.0 X-Received: by 10.60.43.73 with SMTP id u9mr9227144oel.105.1375549290792; Sat, 03 Aug 2013 10:01:30 -0700 (PDT) Received: by 10.76.89.194 with HTTP; Sat, 3 Aug 2013 10:01:30 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Aug 2013 13:01:30 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.5 (/) > So, IIUC you're arguing for marking " as having paired-delimiter > syntax, as is the case in most programming modes. I'm arguing for behavior that makes sense for the user. This seems like the way to achieve that. From unknown Sat Jun 14 19:06:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Aug 2013 21:18:01 +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: To: Barry OReilly Cc: 15014@debbugs.gnu.org Received: via spool by 15014-submit@debbugs.gnu.org id=B15014.137565107322294 (code B ref 15014); Sun, 04 Aug 2013 21:18:01 +0000 Received: (at 15014) by debbugs.gnu.org; 4 Aug 2013 21:17:53 +0000 Received: from localhost ([127.0.0.1]:40187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V65gW-0005nV-T8 for submit@debbugs.gnu.org; Sun, 04 Aug 2013 17:17:53 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:26994) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V65gV-0005nF-C4 for 15014@debbugs.gnu.org; Sun, 04 Aug 2013 17:17:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFFxKix/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IPAS-Result: Av8EABK/CFFFxKix/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCws0EhQYDSSIHgbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="20556465" Received: from 69-196-168-177.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.177]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Aug 2013 17:17:38 -0400 Received: by pastel.home (Postfix, from userid 20848) id F3E1F62DAB; Sun, 4 Aug 2013 17:17:44 -0400 (EDT) From: Stefan Monnier Message-ID: References: Date: Sun, 04 Aug 2013 17:17:44 -0400 In-Reply-To: (Barry OReilly's message of "Sat, 3 Aug 2013 13:01:30 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) >> So, IIUC you're arguing for marking " as having paired-delimiter >> syntax, as is the case in most programming modes. > I'm arguing for behavior that makes sense for the user. You mean "to this user" ;-) > This seems like the way to achieve that. Indeed. 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. Stefan From unknown Sat Jun 14 19:06:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction 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: To: Stefan Monnier Cc: 15014@debbugs.gnu.org Received: via spool by 15014-submit@debbugs.gnu.org id=B15014.13757121335266 (code B ref 15014); Mon, 05 Aug 2013 14:16:02 +0000 Received: (at 15014) by debbugs.gnu.org; 5 Aug 2013 14:15:33 +0000 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 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 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== MIME-Version: 1.0 X-Received: by 10.182.142.104 with SMTP id rv8mr14638133obb.3.1375712114315; Mon, 05 Aug 2013 07:15:14 -0700 (PDT) Received: by 10.76.89.194 with HTTP; Mon, 5 Aug 2013 07:15:14 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Aug 2013 10:15:14 -0400 Message-ID: From: Barry OReilly Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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 (/) > 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. From unknown Sat Jun 14 19:06:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15014: 24.3.50; In text-mode, incorrect forward-sexp causes delete-pair malfunction Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Sep 2021 10:06:01 +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: To: Barry OReilly Cc: 15014@debbugs.gnu.org Received: via spool by 15014-submit@debbugs.gnu.org id=B15014.163092270922186 (code B ref 15014); Mon, 06 Sep 2021 10:06:01 +0000 Received: (at 15014) by debbugs.gnu.org; 6 Sep 2021 10:05:09 +0000 Received: from localhost ([127.0.0.1]:51957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNBUy-0005lm-OE for submit@debbugs.gnu.org; Mon, 06 Sep 2021 06:05:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNBUx-0005lL-Cp for 15014@debbugs.gnu.org; Mon, 06 Sep 2021 06:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=y1o8Vzg5o8hQ6XZiZQ3HkGMoWOoNJWfDCVPKOr9trMY=; b=d6gbqRquKn+vzQv0fvFDXhtFIk +K0h7cDjE8Bf17g6gfptB3QW2V6Wx2FqQ6Kq+TnWIBq+8200TVKd5LMubHrB3wBAV3FSbTRDnvhAX CDL99ggulZO8UrUrylCY5woW011DVGmscc4OOecD3Dl2a/gBZN0WPNxMnOXJ8pYAgcSw=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNBUn-00009r-Ja; Mon, 06 Sep 2021 12:05:01 +0200 From: Lars Ingebrigtsen References: Date: Mon, 06 Sep 2021 12:04:56 +0200 In-Reply-To: (Barry OReilly's message of "Fri, 2 Aug 2013 18:15:39 -0400") Message-ID: <87sfyiggtz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Barry OReilly writes: > In a file with text-mode, try forward-sexp across a double quoted > string: "foo". Unlike in programming modes, point goes before the > closing double quote instead of after. > > A consequence of th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Barry OReilly writes: > In a file with text-mode, try forward-sexp across a double quoted > string: "foo". Unlike in programming modes, point goes before the > closing double quote instead of after. > > A consequence of this is that delete-pair on > > "foo" > > results in > > fo" > > instead of > > foo > > as expected. (I'm going through old bug reports that unfortunately weren't resolved at the time.) When I try this in Emacs 28, I get: delete-pair: Not before matching pair Which is the expected behaviour, since " isn't paired in text modes. So it seems like this has been fixed in the eight years since you reported it (although not in the way you requested -- but we're not going to make " a paired delimited in text modes by default, because that'd be pretty confusing, I think), so I'm closing this bug report. If there's more to be worked on here, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 06 06:05:17 2021 Received: (at control) by debbugs.gnu.org; 6 Sep 2021 10:05:17 +0000 Received: from localhost ([127.0.0.1]:51960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNBV7-0005mC-0L for submit@debbugs.gnu.org; Mon, 06 Sep 2021 06:05:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNBV5-0005lu-1l for control@debbugs.gnu.org; Mon, 06 Sep 2021 06:05:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=umCMfnKP/RZ9+NcwJFUi4rIePd+DpZJ8DzYlmF6/f2Q=; b=eUdbLB3OXVQhFCVtcJ+tWEAHqn uGJBWm5YQtpybM5y+rTMBLWKuTJlpsRkcNBvHeyMbaOng5zKTl9JZpWXRGBBh5AQHA79gYUaMmMDL X7TkNT74RZv7uFTwBPPyNDdqA/VTPxqorzmvVjluHHdq7eNmECTihdtx8iZ7GfJsLi/8=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNBUt-0000A5-GH for control@debbugs.gnu.org; Mon, 06 Sep 2021 12:05:09 +0200 Date: Mon, 06 Sep 2021 12:05:02 +0200 Message-Id: <87r1e2ggtt.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15014 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 15014 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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: -3.3 (---) close 15014 quit