From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Fleischer Newsgroups: gmane.emacs.bugs Subject: bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words Date: Thu, 11 May 2023 10:10:40 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21627"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 63438@debbugs.gnu.org Cancel-Lock: sha1:a+zmpaO4FXgsH8iVA1M/igBCYl0= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 11 09:11:19 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 1px0SN-0005Yd-Q2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 May 2023 09:11:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px0S9-00039r-L5; Thu, 11 May 2023 03:11:05 -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 1px0S8-00039T-81 for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 03:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1px0S7-00006c-VJ for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 03:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px0S6-0003wi-1M for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 03:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Fleischer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 May 2023 07:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63438 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.168378906015156 (code B ref -1); Thu, 11 May 2023 07:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 May 2023 07:11:00 +0000 Original-Received: from localhost ([127.0.0.1]:49581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px0S4-0003wO-39 for submit@debbugs.gnu.org; Thu, 11 May 2023 03:11:00 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px0S1-0003wF-7L for submit@debbugs.gnu.org; Thu, 11 May 2023 03:10:59 -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 1px0Rx-00036c-JN for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 03:10:53 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px0Rw-0008Vp-8X for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 03:10:53 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1px0Rr-0004vD-Q8 for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 09:10:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geb-bug-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261549 Archived-At: Recipe for recreating: - Add some abbrev definition with mixed capitalization, e.g. "abc" should expand to "aBC". - Enable abbrev-mode. - Write "aBC". - Upon pressing space, abbrev-mode converts it into "ABC". There is a code section in `abbrev-insert' that explicitly capitalizes the first letter; I'm sure it's there for a reason but I think the behavior I showed is unexpected. As for the example "aBC", there are real use cases, just to mention one "iPhone". -- Daniel Fleischer