From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words Date: Thu, 11 May 2023 16:07:47 +0300 Message-ID: <83bkir584c.fsf@gnu.org> References: <83sfc35kzc.fsf@gnu.org> <83fs835eyx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1669"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63438@debbugs.gnu.org To: Daniel Fleischer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 11 15:07:17 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 1px60q-0000Ho-VD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 May 2023 15:07:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px60d-0007AO-FM; Thu, 11 May 2023 09:07:03 -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 1px60c-00076a-He for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 09:07:02 -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 1px60c-0007VN-8k for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 09:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px60c-0007aE-3p for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 09:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 May 2023 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63438 X-GNU-PR-Package: emacs Original-Received: via spool by 63438-submit@debbugs.gnu.org id=B63438.168381040729123 (code B ref 63438); Thu, 11 May 2023 13:07:02 +0000 Original-Received: (at 63438) by debbugs.gnu.org; 11 May 2023 13:06:47 +0000 Original-Received: from localhost ([127.0.0.1]:50024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px60M-0007Ze-KB for submit@debbugs.gnu.org; Thu, 11 May 2023 09:06:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px60K-0007ZN-Of for 63438@debbugs.gnu.org; Thu, 11 May 2023 09:06:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px60F-0007TB-7n; Thu, 11 May 2023 09:06:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=78gIfbtKHgj7X5+Ck2Odsr+LDwnt2bzIS/Cm6oM+1UY=; b=GK+RdjvbTM4L 71bMg7GeUmXEyDU66PzOHKVl/P+M2AD68EXibfGJZpIYa6xpQcJBqpkHE5C1uSv7AzF1bZ/o0mdr9 wys5mbCqCxwCJX/ZD2TExOLZXg5/IOEyu/4FK+tSTnhxU2Q0VxaV90j1dDIY77B4rrLRBBavpyFHE ivBOZD8ZJ9zbwU6aJUfZSiEl5Ur2NlFNONI6eQV3mLxP/rYfB1aDAuCohY08Q5MTDczm8cleeDACH SfiL6N/040HNhgD8oQoLQU1Q7pSwynW2eDv9A4X+SYVxHyVId1ySQSBDGvY+V42GSXzviFh/LLmME F6Kban+t+ApfWUbgM6a+aA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px60E-00006t-Ge; Thu, 11 May 2023 09:06:39 -0400 In-Reply-To: (message from Daniel Fleischer on Thu, 11 May 2023 14:03:43 +0300) 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:261566 Archived-At: > From: Daniel Fleischer > Cc: 63438@debbugs.gnu.org > Date: Thu, 11 May 2023 14:03:43 +0300 > > I think even simpler: make sure abbrev insertion only works when the > input word is strictly (case sensitive) different than the expansion > word; leave everything else as is. > > Example: with a rule like "foobarical -> fooBarical" then > > Foobarical -> FooBarical (as is today) > FOOBARICAL -> FOOBARICAL (as is today) > > but fooBarical -> fooBarical, because it's already what we want. Sorry, that's an incompatible change in long-standing behavior. We cannot do that unconditionally. We _can_ make this opt-in behavior.