From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#52331: M-$ doesn't respect subword mode Date: Mon, 6 Dec 2021 16:09:49 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000008ecd6805d27ba6d4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11845"; mail-complaints-to="usenet@ciao.gmane.io" To: 52331@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 06 16:11:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1muFeB-0002vA-17 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Dec 2021 16:11:19 +0100 Original-Received: from localhost ([::1]:44454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muFe9-0002hR-Jk for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Dec 2021 10:11:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muFdu-0002fX-Op for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 10:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muFdu-0001c7-Ha for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 10:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muFdu-0005ZR-DU for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 10:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Dec 2021 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52331 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163880340821334 (code B ref -1); Mon, 06 Dec 2021 15:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Dec 2021 15:10:08 +0000 Original-Received: from localhost ([127.0.0.1]:35123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muFd2-0005Y2-BO for submit@debbugs.gnu.org; Mon, 06 Dec 2021 10:10:08 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muFd0-0005Xs-Ih for submit@debbugs.gnu.org; Mon, 06 Dec 2021 10:10:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muFcz-0001Oe-N4 for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 10:10:05 -0500 Original-Received: from [2a00:1450:4864:20::52e] (port=34509 helo=mail-ed1-x52e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muFcx-0001Hf-3H for bug-gnu-emacs@gnu.org; Mon, 06 Dec 2021 10:10:05 -0500 Original-Received: by mail-ed1-x52e.google.com with SMTP id x15so44513091edv.1 for ; Mon, 06 Dec 2021 07:10:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=sJDpNOoqnIc4kBqNM0AOw4yI6T3aU4iB8FK8Jha7qUI=; b=Flrr9wI3RFnGY9F/ocEbKbBmKaDoWQnBCQbC9hF9eaXN9PuhYUErEz5xydicXWStMJ w1ATh+1J1gzmDi6YriH+bUJxbLNFixwXHKVaVqQ3wYV3IhCOaOb0f4dWy3CUadlYY22U jDrr3njXt9K8k28vN8QQl/51quA1sXOGr632dXPGEkeEEiAw4PWE3hfEnw16I9K9wmKA UR+wXNxi5vNjwX0G78LgQjD4n+8TWUe8TByIF/0XOvdeH/TdrDh2dzvbtyOLagE4AhoJ gbUXKoQ1i7iVctd9yRRP4TebigrYU/c54OgkC8B5wPW/plJJ3BPc6CD59CqDwKId5r6Z Dd7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sJDpNOoqnIc4kBqNM0AOw4yI6T3aU4iB8FK8Jha7qUI=; b=vUc42i1ETj6ZXPZcWb5fe+a7JlRkw4cvW6bSmkZGHZy6jH9C7W7CVao80+YQFCY2f5 XBZE250XxKHt4fJF+rk14at069MmYkiRHcm365p6bEeQfth9oAwcMJEz/OlP1m6x41/W Otrk8Ox1v0iu5ccUiWzD25bendrvnbC3PyBWIg9sL50gDypqEd8NimS88mJnxA0kIbYr Fu/5a6cZNVA46WMSn1SpqryOzquOeCQ8tabALZQHeYmbB3TYjCtl8bmyoUDM6g38ztPG o3/dIVwoQ2/DjIEdz7ZoWfT/lYqfTkyb8gz+MoHFYhRSMdzg2jtFsIaQ8uzdzHG9luJJ bOSg== X-Gm-Message-State: AOAM530rPnv/o9YycWG/XwAs6hprVAlT072XIV7VM9h8mIPKPBIsWv7Y H3TofDynwtA4CwDYddFxCofBqge7xl6RUGnGJQC/0/5o2A== X-Google-Smtp-Source: ABdhPJy9aaOFqN/GrykNICBISgYF3msYjkut5bGaX6egDiSu4ibDEcHis+CJcHJK8lxl5NfrueDQQxKXebo4SuA8WCo= X-Received: by 2002:aa7:c406:: with SMTP id j6mr56698674edq.76.1638803400739; Mon, 06 Dec 2021 07:10:00 -0800 (PST) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=pogonyshev@gmail.com; helo=mail-ed1-x52e.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221757 Archived-At: --0000000000008ecd6805d27ba6d4 Content-Type: text/plain; charset="UTF-8" To reproduce: $ emacs --batch --eval "(global-subword-mode)" --eval "(insert \"getBanana\")" --eval "(ispell-word)" Expected output: ... BANANA is correct Expected output: ... Checking spelling of GETBANANA... C-h or ? for more options; SPC to leave unchanged, Character to replace word Naturally, this also happens in interactive use. Paul --0000000000008ecd6805d27ba6d4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To reproduce:

$ emacs --batch --eval "= (global-subword-mode)" --eval "(insert \"getBanana\")&q= uot; --eval "(ispell-word)"

Expected output:
...
BANANA is correct<= /span>

Expected output:
...
Checking spelling of = GETBANANA...
C-h or ? for more options; SPC to leave unchanged, Character to replace= word

Naturally, this also happens in interactive use.

Paul<= /div>
--0000000000008ecd6805d27ba6d4--