From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Chris Hecker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 03:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 29097@debbugs.gnu.org Cc: yamato@redhat.com X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150950829914707 (code B ref -1); Wed, 01 Nov 2017 03:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Nov 2017 03:51:39 +0000 Received: from localhost ([127.0.0.1]:44868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9k42-0003p9-T8 for submit@debbugs.gnu.org; Tue, 31 Oct 2017 23:51:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9k40-0003ov-Nn for submit@debbugs.gnu.org; Tue, 31 Oct 2017 23:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9k3t-00065g-TQ for submit@debbugs.gnu.org; Tue, 31 Oct 2017 23:51:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_50,HTML_MESSAGE, MIME_HTML_ONLY,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54423) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9k3t-00065Y-Pk for submit@debbugs.gnu.org; Tue, 31 Oct 2017 23:51:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9k3s-0004R9-5m for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 23:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9k3p-00062a-2V for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 23:51:28 -0400 Received: from mail-pg0-x234.google.com ([2607:f8b0:400e:c05::234]:47508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9k3o-00062D-P6 for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 23:51:24 -0400 Received: by mail-pg0-x234.google.com with SMTP id r25so1017850pgn.4 for ; Tue, 31 Oct 2017 20:51:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d6-com.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=XEQz+oqdruhZPhPrWel/6r+nyNXnkgyyJ9pRHJpJE9w=; b=1HYRJaZ108zxoXF1yxObOmBF5GT/dSGiDK/XvF0dBDtngrL9heH9fH31M3y4XD4Eew wcOf6aYA25siv6pFddm7TpAa0LrRL3xtwsDUtOQj4bPyWT5m/QBlxE5ciZxBbNGYiVXj l5p31yZrkZCpUE7ZYmFIRoUTZdeCklR+JsWqr2yYygwFihE6F7Dhba3z5wil6x/aRbrK zM6yZozX/tqA8XlwwrRbhNkOHOS9ZPq7eA2mpzYfGpggTRvnA7qqSCXFt0iCc+RLhoaE NUtj2TQpT66PxIGE0IFoxAvHoIWCZzCeW+WwbK4gU48//dn7T/uqAYOD0aSH6Ix9Cw2u p6Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=XEQz+oqdruhZPhPrWel/6r+nyNXnkgyyJ9pRHJpJE9w=; b=Hs4tMdvO5HgmMkRjK4VuSzZAhu5ToPs7HZtObeldpGakln1R2ZCvLS+EE8UfYNpUm6 F1yCNO0xkWejZlAiTPd+2g2zc3q/4WeFMyvLfP5mOlTo7JNG/ezDl3e0znZCLNZb5a3p cyt1gldWMuxzHTP3EIjOThreLB90tcGvZIgNScQpCf5NgTmuGf3xymwkh3IWgOd7QjWF IOHzGxpPCCBL4dSRyDxQwOET1t9sn+6wTtu2a1GWCMgOcKdFes8EObGCVk9c8uSZc7J4 3aZIlG8AwGkJwbfu0NzD4+boAk6ihjwOyRWZO2Xfz3D0Ne86dF9IsYnpgVGlbi1DJ+F+ 1S2Q== X-Gm-Message-State: AMCzsaXHWshChKzoIZSDWSkAlE0bRS0d1GKHG3i5qIUrsSgN0naY31H8 +eVKgjx3a0hL9J4iNns7Fz34dw== X-Google-Smtp-Source: ABhQp+S92QCNisvusJryDl9AR7SA0ZVP/bQ4QW52SwsEE818Yo7eDdh3WSk4lnY0KS8AbbZ3framlA== X-Received: by 10.98.33.137 with SMTP id o9mr4836555pfj.33.1509508283182; Tue, 31 Oct 2017 20:51:23 -0700 (PDT) Received: from [192.168.1.53] (c-69-181-96-70.hsd1.ca.comcast.net. [69.181.96.70]) by smtp.gmail.com with ESMTPSA id t9sm5165862pgr.3.2017.10.31.20.51.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Oct 2017 20:51:21 -0700 (PDT) From: Chris Hecker Message-ID: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> Date: Tue, 31 Oct 2017 20:51:23 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.9 (--) 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: -2.9 (--)
If you like using identifiers with underscores (_) in them, like
C macros or even just regular identifiers, you can add _ as a word
constituent in the syntax tables, but if you're using subword-mode
then the forward and backwards regexes need updating to work
correctly.  Here is the relevant section of my .emacs c-mode hook:

  (subword-mode 1)
  (modify-syntax-entry ?_ "w")
  (make-local-variable 'subword-forward-regexp)
  (setq subword-forward-regexp "\\W*\\(\\([[:upper:]]*_*\\(\\W\\)?\\)[[:lower:][:digit:]_]*\\)")
  (make-local-variable 'subword-backward-regexp)
  (setq subword-backward-regexp "\\(\\(\\W\\|[[:lower:][:digit:]_]\\)\\([[:upper:]]+\\(_*\\|\\W*\\)\\)\\|\\W\\w+\\)")

I've tested these with these code snippets and they work properly.

            TESTING
            ThisIs_A_Testy10Test
            ANOTHER__TEST_ThatIs_Weird
            case ui::GAME_ACCEPT_CANCEL:

They also work properly and as expected if you don't add _ to "w" (meaning comment out the
modify-syntax-table line above), so it seems like they are strictly superior to the current ones
and should replace them in subword.el?

Thanks,
Chris




In GNU Emacs 25.1.1 (x86_64-w64-mingw32)
 of 2016-11-15 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
 'configure --without-dbus --without-compress-install 'CFLAGS=-O2
 -static -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: C++/l

Minor modes in effect:
  diff-auto-refine-mode: t
  subword-mode: t
  minibuffer-depth-indicate-mode: t
  icicle-mode: t
  which-function-mode: t
  shell-dirtrack-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent messages:
Mark activated
Mark set [2 times]
next-line: End of buffer
Mark set [2 times]
Saving file c:/Users/checker/.emacs...
Wrote c:/Users/checker/.emacs
Type "q" to restore previous buffer, M-x scroll-up to scroll help.
Matching buffer contents...
checker-c-hook
Computing completion candidates... [3 times]

Load-path shadows:
~/emacs/lisp/json hides c:/apps/emacs/emacs-25.1-2/share/emacs/25.1/lisp/json
~/emacs/lisp/css-mode hides c:/apps/emacs/emacs-25.1-2/share/emacs/25.1/lisp/textmodes/css-mode

Features:
(shadow sort emacsbug iso-transl edebug thai-util thai-word calccomp
calc-alg calc-menu ruler-mode hl-line hexl debug warnings make-mode
calc-arith calc-bin tabify man vc-annotate log-view bat-mode log-edit
pcvs-util vc rect diff-mode align find-file dabbrev image-file mail-extr
eieio-opt speedbar sb-image ezimage dframe find-func ibuf-ext arc-mode
archive-mode misearch multi-isearch face-remap edmacro add-log
vc-dispatcher vc-bzr cap-words superword subword etags-select etags xref
project mb-depth two-column bookmark pp icicles icicles-mode
icicles-cmd2 easy-mmode icicles-cmd1 icicles-mcmd image-dired doremi
icicles-fn icicles-var icicles-opt kmacro ffap url-parse url-vars
cus-theme package seq hexrgb thingatpt icicles-face calc-vec calc-forms
calc-misc calc-aent calc-prog calc-ext calc calc-loaddefs calc-macs
mel-mode browse-url prop-mode pfx-mode message idna dired+ dired-aux
dired-x dired rfc822 mml mml-sec epg epg-config mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader smtpmail
sendmail rfc2047 rfc2045 ietf-drums mail-utils ibuffer ediff-merg
ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff
caml-font 7z-arc-mode cperl-mode matlab derived tempo which-func imenu
cus-edit wid-edit grep cus-start cus-load cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs compile
browse-kill-ring view checker-allout checker-outline hmac-sha1 tramp
tramp-compat auth-source cl-seq eieio byte-opt bytecomp byte-compile
cl-extra cconv eieio-core cl-macs gv gnus-util mm-util help-fns
help-mode cl-loaddefs pcase cl-lib mail-prsvr password-cache
tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color
ring format-spec advice tex-site server info easymenu time-date
mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
w32notify w32 multi-tty make-network-process emacs)

Memory information:
((conses 16 1939675 254301)
 (symbols 56 65485 5)
 (miscs 48 6170 9939)
 (strings 32 235134 58653)
 (string-bytes 1 6115616)
 (vectors 16 77899)
 (vector-slots 8 2183332 138416)
 (floats 8 548 657)
 (intervals 56 272788 648)
 (buffers 976 205))

From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 04:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Chris Hecker Cc: 29097@debbugs.gnu.org, yamato@redhat.com Reply-To: Eli Zaretskii Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150950922016198 (code B ref 29097); Wed, 01 Nov 2017 04:07:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 04:07:00 +0000 Received: from localhost ([127.0.0.1]:44874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9kIu-0004DC-DB for submit@debbugs.gnu.org; Wed, 01 Nov 2017 00:07:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9kIs-0004Cz-RG for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 00:06:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9kIm-0006zy-AR for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 00:06:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9kIg-0006sy-WC; Wed, 01 Nov 2017 00:06:47 -0400 Received: from [176.228.60.248] (port=2033 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e9kIb-0000Yq-Sz; Wed, 01 Nov 2017 00:06:42 -0400 Date: Wed, 01 Nov 2017 06:06:31 +0200 Message-Id: <83bmkmskvs.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> (message from Chris Hecker on Tue, 31 Oct 2017 20:51:23 -0700) References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) > From: Chris Hecker > Date: Tue, 31 Oct 2017 20:51:23 -0700 > Cc: yamato@redhat.com > > If you like using identifiers with underscores (_) in them, like > C macros or even just regular identifiers, you can add _ as a word > constituent in the syntax tables, but if you're using subword-mode > then the forward and backwards regexes need updating to work > correctly. Here is the relevant section of my .emacs c-mode hook: Perhaps we should make subword-forward-regexp and subword-backward-regexp defcustoms? From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Chris Hecker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 05:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 29097@debbugs.gnu.org, yamato@redhat.com Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150951292722348 (code B ref 29097); Wed, 01 Nov 2017 05:09:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 05:08:47 +0000 Received: from localhost ([127.0.0.1]:44888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9lGh-0005oN-A1 for submit@debbugs.gnu.org; Wed, 01 Nov 2017 01:08:47 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:50492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9lGf-0005o8-Gg for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 01:08:45 -0400 Received: by mail-wm0-f43.google.com with SMTP id s66so2565660wmf.5 for <29097@debbugs.gnu.org>; Tue, 31 Oct 2017 22:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d6-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PTcdy/USpmxXOkEPiP7G1ti3Vp9Bs54N5j/dJez7enY=; b=h6Bo0c0H2B76GXpwTznvqIVyqavAH6Pacw2n3IrLrSPrBNFaPoHm7kDDdaaff7XuDn amA7PCjqIPb5ChLAQdApzFquPwWyHzcj2P4Nw49/KvklEkRBrpNY6e/5B/J1CtjdzJP4 Yewkq+c6iprSW40wILSeGBIUJumsCvemyeY+eoaZi+/t2n0ZZrOKRRcdTw0JAc8kv2DM WL58dkFQc7pAgYuCDyo3cxaGuDc3DBD83mO+Am+OjMwTi39unIU18koyAVOZrbQfY+cK ozTEQW0wpJAsiMh9yccE5Yiq/C/8pa2oWZxK7mSFp6g+lwzOt04YWHwxG5uS1EZNMOE6 jplQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PTcdy/USpmxXOkEPiP7G1ti3Vp9Bs54N5j/dJez7enY=; b=YB01p5KlfjFPo2zT/7x8qAzayWhFaoRYR/v6SO7UGDH/L0Xg7v7DQ8a3BJ1ov52xVu Q0yvqwmBhr7RI49sI5RYwm9Z48JBBLopROr66g6hQRSl7v65PEjcGEkmUvBwANLPVtH4 nejXXiCqRPKdDd5cNtlmoceBZFwmddfQVUHKUtOmmhXBDIi4aaW3VzEtcorQFqCQ/QEp J9d85FTCLB/XyrnGBE39usLOKhLAx+qkaJ7s1IotLOBUczUmeTUum/H1q5SvV/OgE7xH 0l36+jtK8WAJRkLWMMMlhA3L4wu2fDr6R4KB1ryJZcM5nzd7n9i04pYWhxixCjP4qKyr S+PA== X-Gm-Message-State: AMCzsaXeWG4uwQEU9QVFE4yT19DyUZizz18oCSV4jUhd8+MVuooG3ro8 HJzFjbExYxxCMF2dbgoHK+PKHbx8AX3t4l8Tnl1kIA== X-Google-Smtp-Source: ABhQp+TmdOWMCrm4pzxgUK9a3y0X3fX2kND/KSlKu9KkpyTSGtLbwZAvsjLebk7L8bBQETIBICThbD35QDXr9oDcHZ4= X-Received: by 10.80.142.79 with SMTP id 15mr5790406edx.153.1509512919900; Tue, 31 Oct 2017 22:08:39 -0700 (PDT) MIME-Version: 1.0 References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> In-Reply-To: <83bmkmskvs.fsf@gnu.org> From: Chris Hecker Date: Wed, 01 Nov 2017 05:08:28 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c199e56600040055ce4dd3b" X-Spam-Score: 0.5 (/) 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: 0.5 (/) --94eb2c199e56600040055ce4dd3b Content-Type: text/plain; charset="UTF-8" That may be, I don't know the tradeoffs for that, but I do think the updated regexes I sent are strictly superior in my testing so I think they should become the new defaults, unless I missed some case. Chris On Tue, Oct 31, 2017 at 21:07 Eli Zaretskii wrote: > > From: Chris Hecker > > Date: Tue, 31 Oct 2017 20:51:23 -0700 > > Cc: yamato@redhat.com > > > > If you like using identifiers with underscores (_) in them, like > > C macros or even just regular identifiers, you can add _ as a word > > constituent in the syntax tables, but if you're using subword-mode > > then the forward and backwards regexes need updating to work > > correctly. Here is the relevant section of my .emacs c-mode hook: > > Perhaps we should make subword-forward-regexp and > subword-backward-regexp defcustoms? > --94eb2c199e56600040055ce4dd3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

That may be, I don't= know the tradeoffs for that, but I do think the updated regexes I sent are= strictly superior in my testing so I think they should become the new defa= ults, unless I missed some case.

Chris


On Tue, Oct 31, 2017 at 21:07 Eli Zaretskii <eliz@gnu.org> wrote:
> From: Chris Hecker <checker@d6.com>
> Date: Tue, 31 Oct 2017 20:51:23 -0700
> Cc: yamato@redh= at.com
>
> If you like using identifiers with underscores (_) in them, like
> C macros or even just regular identifiers, you can add _ as a word
> constituent in the syntax tables, but if you're using subword-mode=
> then the forward and backwards regexes need updating to work
> correctly.=C2=A0 Here is the relevant section of my .emacs c-mode hook= :

Perhaps we should make subword-forward-regexp and
subword-backward-regexp defcustoms?
--94eb2c199e56600040055ce4dd3b-- From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Masatake YAMATO Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 05:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: eliz@gnu.org Cc: 29097@debbugs.gnu.org, checker@d6.com Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150951567727127 (code B ref 29097); Wed, 01 Nov 2017 05:55:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 05:54:37 +0000 Received: from localhost ([127.0.0.1]:44912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9lz3-00073T-2H for submit@debbugs.gnu.org; Wed, 01 Nov 2017 01:54:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9lz1-00073D-QH for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 01:54:36 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B3A8BC04AC41; Wed, 1 Nov 2017 05:54:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B3A8BC04AC41 Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yamato@redhat.com Received: from localhost (dhcp-193-68.nrt.redhat.com [10.64.193.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10C925D6A3; Wed, 1 Nov 2017 05:54:27 +0000 (UTC) Date: Wed, 01 Nov 2017 14:54:27 +0900 (JST) Message-Id: <20171101.145427.1001035086321644310.yamato@redhat.com> From: Masatake YAMATO In-Reply-To: <83bmkmskvs.fsf@gnu.org> References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> Organization: Red Hat Japan, Inc. Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Wed, 01 Nov 2017 05:54:29 +0000 (UTC) X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hi, I read the original bug report. I wonder why you want do (modify-syntax-entry ?_ "w") . This change suppresses the difference of \M-f and \M-C-f. Do you really want this suppression? Masatake YAMATO >> From: Chris Hecker >> Date: Tue, 31 Oct 2017 20:51:23 -0700 >> Cc: yamato@redhat.com >> >> If you like using identifiers with underscores (_) in them, like >> C macros or even just regular identifiers, you can add _ as a word >> constituent in the syntax tables, but if you're using subword-mode >> then the forward and backwards regexes need updating to work >> correctly. Here is the relevant section of my .emacs c-mode hook: > > Perhaps we should make subword-forward-regexp and > subword-backward-regexp defcustoms? From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Chris Hecker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 06:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Masatake YAMATO , eliz@gnu.org Cc: 29097@debbugs.gnu.org Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150951722229565 (code B ref 29097); Wed, 01 Nov 2017 06:21:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 06:20:22 +0000 Received: from localhost ([127.0.0.1]:44922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9mNy-0007gn-5Z for submit@debbugs.gnu.org; Wed, 01 Nov 2017 02:20:22 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:52560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9mNw-0007gT-Et for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 02:20:20 -0400 Received: by mail-wm0-f51.google.com with SMTP id t139so2901850wmt.1 for <29097@debbugs.gnu.org>; Tue, 31 Oct 2017 23:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d6-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UFwHNknk2oRd/+ENowo98iKKMr5bAzf31FTj/09g6sY=; b=fwnHx1hzXhkXqEFZZihQxmTw/Vn2FXb7XncvsRavyfnv++yFzbscYmKXKu+Yz2ygGh j4srwac49kodjW23kdXOv17Z3gLRr1D5Iifah45N+y5epasxZ9y5nKQM2ymz2d08lcvu /Qohhkbqh9+2h/w60NGXseMGxii2bx+6aNgw9YlB78EUqZ+I7iRKVfU+FJFHFR+S72zG cGC7R8aTN4JUTKP8RO4CDhGukwv6dlJfHIFYTKri2XIgwqvIWeMl9rbC1jFx5wX/I9Fn Z/l1T0yGq+R17csTLEbbgZDwAfS6oJ8PcDN3R6EGGxwo16qFmeEAhcHOagGMMuAZj3EY VLPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UFwHNknk2oRd/+ENowo98iKKMr5bAzf31FTj/09g6sY=; b=n5M7x9hrtunrqmxaFLfY+mhLDFw0bmwswghPb4XukxnEE0GfLK7/mZ4JOy11JaRy/n hbJ8EgbEyLBzpP+AlUzE1DPUmZYluU9jJrUmpNr3xU921nWiEK+vfhHvWP+wQLX+7QJ+ BQ6SapS4+HgmVRXSoUOD95RHQjU0ZHpfPDNISvT54HyKtOhHLRryn9cS/lRQkaaA5geZ tB5A99XGOdNINuLW0yMQlFCSYWCSDK3Fhk0mmVDDPkknPi80pQTqgvw1K1V1QB5Tpc1y x9rxUHvuvm2t+N/dWn0qLmQdd2OAYVAvAssqCHr5rnCWyujY3f5SMgJRrOZaiZbVr0nJ xYfw== X-Gm-Message-State: AMCzsaWgWwscerauvwkjncOO7znjSF7/YuvAp4dZdojxxOo5xlSlcGuv CUKs8b/jB1HqjRwGcLaXtEowtv+FJ5M4O0JErVLj+A== X-Google-Smtp-Source: ABhQp+R+7SV/KYaKeLFPJtC4RMw17iwa6w5AcUTaIsvb53hvn99mmmurbNEeZQWhCXpNFnEg1effI5WYJnpd41iQ2m4= X-Received: by 10.80.180.187 with SMTP id w56mr5622812edd.15.1509517214614; Tue, 31 Oct 2017 23:20:14 -0700 (PDT) MIME-Version: 1.0 References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> <20171101.145427.1001035086321644310.yamato@redhat.com> In-Reply-To: <20171101.145427.1001035086321644310.yamato@redhat.com> From: Chris Hecker Date: Wed, 01 Nov 2017 06:20:03 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c0edebc5c29d7055ce5dd25" X-Spam-Score: 0.5 (/) 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: 0.5 (/) --94eb2c0edebc5c29d7055ce5dd25 Content-Type: text/plain; charset="UTF-8" Yes, sexp's include entire brace blocks and whatnot. I just want to forward into valid c identifiers but with subword support. So there's still a big difference between the two functions? Chris On Tue, Oct 31, 2017 at 22:54 Masatake YAMATO wrote: > Hi, > > I read the original bug report. > > I wonder why you want do > > (modify-syntax-entry ?_ "w") > > . > > This change suppresses the difference of \M-f and \M-C-f. > Do you really want this suppression? > > Masatake YAMATO > > > >> From: Chris Hecker > >> Date: Tue, 31 Oct 2017 20:51:23 -0700 > >> Cc: yamato@redhat.com > >> > >> If you like using identifiers with underscores (_) in them, like > >> C macros or even just regular identifiers, you can add _ as a word > >> constituent in the syntax tables, but if you're using subword-mode > >> then the forward and backwards regexes need updating to work > >> correctly. Here is the relevant section of my .emacs c-mode hook: > > > > Perhaps we should make subword-forward-regexp and > > subword-backward-regexp defcustoms? > --94eb2c0edebc5c29d7055ce5dd25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, sexp's include entire brace blocks and whatnot.= =C2=A0 I just want to forward into valid c identifiers but with subword sup= port.=C2=A0 So there's still a big difference between the two functions= ?

Chris



On Tue, Oct 31, 2017 at 22:54 Masatake YAMATO <yamato@redhat.com> wrote:
Hi,

I read the original bug report.

I wonder why you want do

=C2=A0 =C2=A0(modify-syntax-entry ?_ "w")

.

This change suppresses the difference of \M-f and \M-C-f.
Do you really want this suppression?

Masatake YAMATO


>> From: Chris Hecker <checker@d6.com>
>> Date: Tue, 31 Oct 2017 20:51:23 -0700
>> Cc: yamato@= redhat.com
>>
>> If you like using identifiers with underscores (_) in them, like >> C macros or even just regular identifiers, you can add _ as a word=
>> constituent in the syntax tables, but if you're using subword-= mode
>> then the forward and backwards regexes need updating to work
>> correctly.=C2=A0 Here is the relevant section of my .emacs c-mode = hook:
>
> Perhaps we should make subword-forward-regexp and
> subword-backward-regexp defcustoms?
--94eb2c0edebc5c29d7055ce5dd25-- From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Masatake YAMATO Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 09:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: checker@d6.com Cc: eliz@gnu.org, 29097@debbugs.gnu.org Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150952853114833 (code B ref 29097); Wed, 01 Nov 2017 09:29:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 09:28:51 +0000 Received: from localhost ([127.0.0.1]:45007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9pKM-0003rA-Pn for submit@debbugs.gnu.org; Wed, 01 Nov 2017 05:28:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9pKL-0003qx-NQ for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 05:28:50 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 97B07356C0; Wed, 1 Nov 2017 09:28:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 97B07356C0 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=yamato@redhat.com Received: from localhost (dhcp-193-68.nrt.redhat.com [10.64.193.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id C9CF55D6AE; Wed, 1 Nov 2017 09:28:42 +0000 (UTC) Date: Wed, 01 Nov 2017 18:28:42 +0900 (JST) Message-Id: <20171101.182842.541615102291611059.yamato@redhat.com> From: Masatake YAMATO In-Reply-To: References: <83bmkmskvs.fsf@gnu.org> <20171101.145427.1001035086321644310.yamato@redhat.com> Organization: Red Hat Japan, Inc. Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 01 Nov 2017 09:28:43 +0000 (UTC) X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) > Yes, sexp's include entire brace blocks and whatnot. I just want to > forward into valid c identifiers but with subword support. So there's > still a big difference between the two functions? I'm talking in narrower scope: C identifier. Originally subword-mode focuses on moving the point within a C identifier. I will use '*' is for the current point position. I will use '^' is for the point position when you press a key for forwarding. Let's introduce an example. gtk_main =======================================begin \M-\C-f works as follows: gtk_main *-------^ \M-f(subword mode: off) works as follows: gtk_main *--^ \C-f works as follows: gtk_main *^ =======================================end For gtk_main, there is no area that subword-mode works. Subword more make sense when a user thinks granularity(?) of moving the point with \M-f is too large. =======================================begin \M-f(subword mode: off): NSObjectGtk_main *----------^ \M-f(subword mode: on): NSObjectGtk_main *-^ =======================================end subword mode provides finer granularity \M-f to those who thinks granularity(?) of moving the point with (original) \M-f is too large. This is the original intention I worked on c-subword-mode, the ancestor of subword-mode. In other hand, you are setting, > (modify-syntax-entry ?_ "w") It seems for me that you think granularity(?) of moving the point with (original) \M-f is too small. This syntax modification makes moving the point with (original) \M-f larger. My basic assumption for designing c-subword-mode is not satisfied. So I cannot show good direction as an original developer. The mode syntax defines the behavior of \M-\C-f and \M-f in the mode. Extending syntax mechanism allowing to define upper case, lower case and something is ideal. The behavior of subword-forward and subword-backward can be derived from the exnteded syntax. Masatake YAMATO > Yes, sexp's include entire brace blocks and whatnot. I just want to > forward into valid c identifiers but with subword support. So there's > still a big difference between the two functions? > > Chris > > > > On Tue, Oct 31, 2017 at 22:54 Masatake YAMATO wrote: > >> Hi, >> >> I read the original bug report. >> >> I wonder why you want do >> >> (modify-syntax-entry ?_ "w") >> >> . >> >> This change suppresses the difference of \M-f and \M-C-f. >> Do you really want this suppression? >> >> Masatake YAMATO >> >> >> >> From: Chris Hecker >> >> Date: Tue, 31 Oct 2017 20:51:23 -0700 >> >> Cc: yamato@redhat.com >> >> >> >> If you like using identifiers with underscores (_) in them, like >> >> C macros or even just regular identifiers, you can add _ as a word >> >> constituent in the syntax tables, but if you're using subword-mode >> >> then the forward and backwards regexes need updating to work >> >> correctly. Here is the relevant section of my .emacs c-mode hook: >> > >> > Perhaps we should make subword-forward-regexp and >> > subword-backward-regexp defcustoms? >> From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Chris Hecker Cc: 29097@debbugs.gnu.org, yamato@redhat.com Reply-To: Eli Zaretskii Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150956482729982 (code B ref 29097); Wed, 01 Nov 2017 19:34:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 19:33:47 +0000 Received: from localhost ([127.0.0.1]:46429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9yln-0007nV-KO for submit@debbugs.gnu.org; Wed, 01 Nov 2017 15:33:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9ylm-0007nF-99 for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 15:33:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9ylf-00031o-DJ for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 15:33:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9ylZ-0002wf-3R; Wed, 01 Nov 2017 15:33:33 -0400 Received: from [176.228.60.248] (port=2411 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e9ylX-0000Vw-6t; Wed, 01 Nov 2017 15:33:32 -0400 Date: Wed, 01 Nov 2017 21:33:13 +0200 Message-Id: <838tfpssjq.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Chris Hecker on Wed, 01 Nov 2017 05:08:28 +0000) References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) > From: Chris Hecker > Date: Wed, 01 Nov 2017 05:08:28 +0000 > Cc: 29097@debbugs.gnu.org, yamato@redhat.com > > That may be, I don't know the tradeoffs for that, but I do think the updated regexes I sent are strictly superior in > my testing so I think they should become the new defaults, unless I missed some case. I think you underestimate the number of possible use cases. See the responses by YAMATO-san. I stand by my suggestion to make this a defcustom, then each user can do whatever they want with this regexp. From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Chris Hecker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Nov 2017 22:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 29097@debbugs.gnu.org, yamato@redhat.com Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.150957605822189 (code B ref 29097); Wed, 01 Nov 2017 22:41:01 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Nov 2017 22:40:58 +0000 Received: from localhost ([127.0.0.1]:46554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eA1gv-0005lp-Uz for submit@debbugs.gnu.org; Wed, 01 Nov 2017 18:40:58 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:54939) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eA1gt-0005lY-ES for 29097@debbugs.gnu.org; Wed, 01 Nov 2017 18:40:55 -0400 Received: by mail-wm0-f51.google.com with SMTP id r68so7632366wmr.3 for <29097@debbugs.gnu.org>; Wed, 01 Nov 2017 15:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=d6-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JX9v72Kb6WuoHbHBuEOT8p+tPyL63T2Y7rTGRJytkes=; b=JYff5vCibA2mARkCurQT2xSJzSvjos25yOooL4SbHA7JVPUX/M1FRI3fUEFD95t7QV JWF1qORmyvZHE15adCE17BHUP6P6C9xAoITgoP24nmzKjaB4uNTvSlwT+3psoA4XMV6l b7Rwcv9soOY0SIDLsKAiZXj6Wr7twxb8q9j0rEqwkDZdCWPNh+vXWHdweehwQbKBZwM0 3470pdM7rzhAhJFWTsZIGAs/SOMZoS0DYMGEd65cpgFietQF9Sib4EEK8CvLQf6il1/7 sMnQzAS/jF+9I8r32Igt1qdKEGhhcivVSTgGzoKxQlXDZmwPdvCpsFxe4lcvYg4w0kq3 DYbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JX9v72Kb6WuoHbHBuEOT8p+tPyL63T2Y7rTGRJytkes=; b=SwBuSygyyttXOAEsd1jc8f5sjjaukW5BiY8fQP+/xsuMFa5C6DQPP/H9Vj9Xc0RAsI f9YfzlBe76t8CLMMUtlpNNwLW4+eXBx5WpF5pm2hYnJhL/Ve3UpFCHJc3aFf+80m4EyJ 3k1pPoGkA8JEg0Qv868riJ5YxPySdOkt4+/kVX2u44qFypNj1hgrchHmXOmxnCOx/OtG rPtC274/zevXuMNnBJ+rz6ESuF7W5aarP+1uwfdr0UwfEK/QHx7MjQ6L+1nT72mCozTQ JoBPX7lJOOx1LAVQnqXD4NGOBWOWXme1BZkvWQOSfhxsp5J4k735DVnq7zkQ6iodUIT8 VXPA== X-Gm-Message-State: AMCzsaXcYozlZBdnBNfG8UFZF/+yeZDfKFqhn0hCn+5s6KWXCs69bW5l OPDRSjehzXnNseYx4pcNE8BfU3M0ScLry2ujK6HtvA== X-Google-Smtp-Source: ABhQp+Qk1zkWb/9nTk8B51qyBsuNZHRevrl7l266mrFmju2B8vJxELxoRFalQgdpMz9FyMy2iC84ouDSTU7c0B3TF9M= X-Received: by 10.80.175.66 with SMTP id g60mr2006233edd.283.1509576049714; Wed, 01 Nov 2017 15:40:49 -0700 (PDT) MIME-Version: 1.0 References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> <838tfpssjq.fsf@gnu.org> In-Reply-To: <838tfpssjq.fsf@gnu.org> From: Chris Hecker Date: Wed, 01 Nov 2017 22:40:38 +0000 Message-ID: Content-Type: multipart/alternative; boundary="94eb2c19524a347cdf055cf390d6" X-Spam-Score: -0.0 (/) 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: -0.0 (/) --94eb2c19524a347cdf055cf390d6 Content-Type: text/plain; charset="UTF-8" There is something weird going on with my local behavior when I was testing some examples of where the current thing is broken, so something else in my .emacs is affecting this somehow relative to --no-init-file. I'll reply to the thread after I tediously binary search for whatever is doing it, it may be the current default behavior is reasonable and whatever this mystery thing is was making it so I thought I needed to change those regexes. I'll report back after spelunking and making some more tests. Chris --94eb2c19524a347cdf055cf390d6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

There is something weird going on with my local behavior when I w= as testing some examples of where the current thing is broken, so something= else in my .emacs is affecting this somehow relative to --no-init-file.=C2= =A0 I'll reply to the thread after I tediously binary search for whatev= er is doing it, it may be the current default behavior is reasonable and wh= atever this mystery thing is was making it so I thought I needed to change = those regexes.=C2=A0 I'll report back after spelunking and making some = more tests.

Chris
<= div dir=3D"auto">

--94eb2c19524a347cdf055cf390d6-- From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 09 21:21:47 2017 Received: (at control) by debbugs.gnu.org; 10 Nov 2017 02:21:47 +0000 Received: from localhost ([127.0.0.1]:32978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCyx1-0002m3-2W for submit@debbugs.gnu.org; Thu, 09 Nov 2017 21:21:47 -0500 Received: from mail-it0-f44.google.com ([209.85.214.44]:50574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCywy-0002lr-UP for control@debbugs.gnu.org; Thu, 09 Nov 2017 21:21:45 -0500 Received: by mail-it0-f44.google.com with SMTP id 72so13772111itl.5 for ; Thu, 09 Nov 2017 18:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=O4/XfmHqc/27w4SIi/rCjncX1zenm66zesoGFNyqvBs=; b=U14+/g597DmSzBPmU6YLqwPf9uOW1zjHiu4ieq3PT8Dv02UUW09MjWAN6ohnJPV8I3 e3gXcUvXTAgtiWqMXlhS37Lm1tD2Wd3eFZQwui3cv3gHMlATY8rKeutzL4wzIwdkzgC+ E/2tk15IGwcook/St7BBRG+yfms7D6kWxSPE4At64fVdv6ZrOp4rzR0GZpE3lY7FQfVP ieUI/oW+Hsd60IRpLju047oJgCg+Y+W54rOzlW64KazMMi33qr4xPFY5v07QXav90P87 zR4enZYqW1Gy/CcN8VVeSm9Ln5wx+f7ASiyqkaY8K1HnZd8d4+gvFEj2jw/Ot7i7300r U4kA== 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:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=O4/XfmHqc/27w4SIi/rCjncX1zenm66zesoGFNyqvBs=; b=hJVp3ZTnwOagvM8PEhQG9Qa0XnIgXyiGEgrXktLE0oNkNABRso+wVXGZXQ02on1+ph VLI4OSF/4nHe1/cCcO6vPa9YZ8Qg7Yl1/rx3HB5bL2n/lmc0I1VZCJd/F4abQOOKMtDP 8Q2eFDDYYgbr97Vvs3RXxDaUjq1aA72fFgNQHfBegQ6SAnPrTXj2zm5QQL3NT0wylFFB CFMH6GYufrabH0D45fn/3Fr+r1ydixMwdCo9F85NqZEH8Mrji3RYCq8Qk5ds/uU4XnIZ /PbeGQlsANPJa0xXJX1gR9v8vcprcigSs3jOlLOKZF0LpE7ZuaEOHcDBZxtp/Uwa2PBB 17xQ== X-Gm-Message-State: AJaThX6XIJNaTT3bAVbvyA3b25ibDYBc8PVZ9FhfrF5OMHGvbjfNg5ln Fjp2Q3VxzTGUrFU3xoMIs2Bhmw== X-Google-Smtp-Source: ABhQp+Q/Ky3JBjM+AUyPqqaPgOeboPHrUxeweGjUtQ/WrRZEAzXdSr1D7RrgzziPxfKkPi6TGBVr5A== X-Received: by 10.36.172.82 with SMTP id m18mr2452780iti.39.1510280499237; Thu, 09 Nov 2017 18:21:39 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v198sm1868318ita.4.2017.11.09.18.21.38 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Nov 2017 18:21:38 -0800 (PST) From: Noam Postavsky To: control@debbugs.gnu.org Subject: Re: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> <838tfpssjq.fsf@gnu.org> Date: Thu, 09 Nov 2017 21:21:37 -0500 In-Reply-To: (Chris Hecker's message of "Wed, 01 Nov 2017 22:40:38 +0000") Message-ID: <87shdm3mby.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) 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: 0.2 (/) tags 29097 + moreinfo quit Chris Hecker writes: > There is something weird going on with my local behavior when I was > testing some examples of where the current thing is broken, so > something else in my .emacs is affecting this somehow relative to > --no-init-file.=C2=A0 I'll reply to the thread after I tediously binary > search for whatever is doing it, it may be the current default > behavior is reasonable and whatever this mystery thing is was making > it so I thought I needed to change those regexes.=C2=A0 I'll report back > after spelunking and making some more tests. > > Chris From unknown Mon Jun 23 07:50:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29097: 25.1; to support '_' as a word constituent, subword-mode regexes need updating Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Oct 2019 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29097 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: 29097@debbugs.gnu.org Received: via spool by 29097-submit@debbugs.gnu.org id=B29097.156994555210705 (code B ref 29097); Tue, 01 Oct 2019 16:00:02 +0000 Received: (at 29097) by debbugs.gnu.org; 1 Oct 2019 15:59:12 +0000 Received: from localhost ([127.0.0.1]:34510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKYR-0002ma-Vw for submit@debbugs.gnu.org; Tue, 01 Oct 2019 11:59:12 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKYQ-0002mR-Lm for 29097@debbugs.gnu.org; Tue, 01 Oct 2019 11:59:11 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFKYN-0004vE-Bm for 29097@debbugs.gnu.org; Tue, 01 Oct 2019 17:59:09 +0200 From: Lars Ingebrigtsen References: <3bed8169-d24e-0410-ff3f-6a497bd8ae84@d6.com> <83bmkmskvs.fsf@gnu.org> <838tfpssjq.fsf@gnu.org> <87shdm3mby.fsf@users.sourceforge.net> Date: Tue, 01 Oct 2019 17:59:07 +0200 In-Reply-To: <87shdm3mby.fsf@users.sourceforge.net> (Noam Postavsky's message of "Thu, 09 Nov 2017 21:21:37 -0500") Message-ID: <87imp81mpg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Noam Postavsky writes: > tags 29097 + moreinfo > quit > > Chris Hecker writes: > >> There is something weird going on with my local behavior when I was >> testing some examples of where the current thing is [...] 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: 0.0 (/) 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: -1.0 (-) Noam Postavsky writes: > tags 29097 + moreinfo > quit > > Chris Hecker writes: > >> There is something weird going on with my local behavior when I was >> testing some examples of where the current thing is broken, so >> something else in my .emacs is affecting this somehow relative to >> --no-init-file.=C2=A0 I'll reply to the thread after I tediously binary >> search for whatever is doing it, it may be the current default >> behavior is reasonable and whatever this mystery thing is was making >> it so I thought I needed to change those regexes.=C2=A0 I'll report back >> after spelunking and making some more tests. More information was requested, but no response was given within a couple of, so I'm closing this bug report. If the problem still exists, please reopen this bug report. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 11:59:19 2019 Received: (at control) by debbugs.gnu.org; 1 Oct 2019 15:59:19 +0000 Received: from localhost ([127.0.0.1]:34513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKYZ-0002mz-86 for submit@debbugs.gnu.org; Tue, 01 Oct 2019 11:59:19 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKYX-0002mr-NA for control@debbugs.gnu.org; Tue, 01 Oct 2019 11:59:18 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFKYU-0004vM-VS for control@debbugs.gnu.org; Tue, 01 Oct 2019 17:59:16 +0200 Date: Tue, 01 Oct 2019 17:59:14 +0200 Message-Id: <87h84s1mp9.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #29097 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 29097 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: 0.0 (/) 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: -1.0 (-) close 29097 quit