From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#66614: 29.1.50; Support not capitalizing words inside symbols Date: Thu, 19 Oct 2023 18:54:55 +0800 Message-ID: <87cyxa6fwg.fsf@yahoo.com> References: <831qdrok34.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36890"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 66614@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 19 12:55:46 2023 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 1qtQgr-0009PX-BW for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Oct 2023 12:55:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtQgm-0000xq-SR; Thu, 19 Oct 2023 06:55:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtQgk-0000wR-NJ for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 06:55:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtQgh-0002zn-HL for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 06:55:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qtQh7-0008UM-Qw for bug-gnu-emacs@gnu.org; Thu, 19 Oct 2023 06:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Oct 2023 10:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66614 X-GNU-PR-Package: emacs Original-Received: via spool by 66614-submit@debbugs.gnu.org id=B66614.169771293932597 (code B ref 66614); Thu, 19 Oct 2023 10:56:01 +0000 Original-Received: (at 66614) by debbugs.gnu.org; 19 Oct 2023 10:55:39 +0000 Original-Received: from localhost ([127.0.0.1]:35918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtQgl-0008Th-6V for submit@debbugs.gnu.org; Thu, 19 Oct 2023 06:55:39 -0400 Original-Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:43046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qtQgi-0008TO-7s for 66614@debbugs.gnu.org; Thu, 19 Oct 2023 06:55:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1697712904; bh=Okmnacuajs3qXf83S4FYSFlzNPpEVBYlGN/uzfZmyTg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=TFSKu8sYVZHLEdPvHIVN88ozUd29ueIiNrwwn+gFjKwk7rsVwNZ3Yfytmf8kyUcgghN7w6thVdaiE5N24cvgGfUkpU5IGlwhn1T8ryLNjuM+kYdvNSqwj7B+epQuexxHwbKD+Z1HclZuxHn9ZmniYd8jAg5yWqDBFDslgsngM1B/VdlC0s4fxQ903xRDO63AYOIq7b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I4QpuT6igo15_WnnQEBdL5Ve.yAL2j 5jwj6yv1qhMZHXt6McbwT3TnXLnCzqb0gkWdCMHQLV9VLaj60AHX38U1n8fnoeZqpYkXz515PNFv FZ2tEoNwUmIUO3KfXrJSklKLAoQ8u3aKhfSYJe.fl3x_WxnjAABqUix.F8jrImYFUaVmMRdo1Aq0 mXY93vd4tkhffoYA2W18LgqAR_EiPPQWHohEGDid76fPgCd.oDUZUhV5qb8NbCvZVn_d0rFiJgyi 10dz2xcQMtegb8RA_y1xtUMPhonbrAMu8T7KyNDNv_dHQFmEQ_NdOk2PRHkJSEghCqty8plXbdf1 PqR4Z0WjglvhBI9YRuIN9Zk8L43J8vGZNrDYJQ5HivKvRVggzZrNOhl1Yz8Yl7UqTU9WtSIeZbZ6 G2xEF_H.Q.kogM_0Cyd9x0PGJP_S9n_6eDSwUiWaIE X-Sonic-MF: X-Sonic-ID: 9ac74149-dc0b-4689-8f07-bfe302ef79dc Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Thu, 19 Oct 2023 10:55:04 +0000 Original-Received: by hermes--production-sg3-57f7997989-fcsf4 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 0a7e22cba3611f0bd4bbbd996152a300; Thu, 19 Oct 2023 10:55:01 +0000 (UTC) In-Reply-To: (Spencer Baugh's message of "Wed, 18 Oct 2023 15:38:34 -0400") X-Mailer: WebService/1.1.21863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272716 Archived-At: Spencer Baugh writes: > + DEFVAR_BOOL ("case-symbols-as-words", case_symbols_as_words, > + doc: /* If non-nil, case functions treat symbol syntax as part of words. > + > +Functions such as `upcase-initials' and `replace-match' check or modify > +the case pattern of sequences of characters. Normally, these operate on > +sequences of characters whose syntax is word constituent. If this > +variable is non-nil, then they operate on sequences of characters whose > +syntax is either word constituent or symbol constituent. > + > +This is useful for programming languages and styles where only the first > +letter of a symbol's name is ever capitalized.*/); > + case_symbols_as_words = 0; Incidentally: Let's not introduce further instances of the anti-pattern where the ``doc:'' marker in DEFVAR constructs is aligned with its opening paren, rather than two columns into the word DEFVAR itself. Generally, this deprives you of latitude for the first line of the doc string, for you are either compelled to contravene the 80 column limit or to render that line exceptionally laconic, both of which are ultimately counterproductive. TIA.