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 13:39:50 +0300 Message-ID: <83fs835eyx.fsf@gnu.org> References: <83sfc35kzc.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4400"; 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 12:39:22 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 1px3hi-00012x-Mv for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 May 2023 12:39:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px3hT-0005Fc-Bj; Thu, 11 May 2023 06:39:07 -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 1px3hO-0004tb-UP for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 06:39:03 -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 1px3hO-0008FJ-LA for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 06:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px3hO-0006fs-0e for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 06:39: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 10:39:01 +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.168380153325638 (code B ref 63438); Thu, 11 May 2023 10:39:01 +0000 Original-Received: (at 63438) by debbugs.gnu.org; 11 May 2023 10:38:53 +0000 Original-Received: from localhost ([127.0.0.1]:49797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px3hE-0006fS-Lv for submit@debbugs.gnu.org; Thu, 11 May 2023 06:38:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px3hA-0006fE-RV for 63438@debbugs.gnu.org; Thu, 11 May 2023 06:38:51 -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 1px3h4-0008DE-Ad; Thu, 11 May 2023 06:38:43 -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=CzDJ+OScJqaMBi624SKNxzQVnaUidoRh1YPtU8YVM5w=; b=jjtGUkN6wnN0 Cd1KlrXDCTKUu01PLg3pE4hcjTxBi9HAe0n58814wCV42NA53EdzwHJgbMieick87x6mQ4yxqL+9L OONuWxDtk8xgxgIluhWd6TelnxadQbbHC1/XH97jKffiX02hOFtwjR/jwAbKZbsTP34oc1jxORj1K P4vlKi2zRb9TByQubPnziqKRC4ZHzknpERsYifgiQAj3E65FYtEsWdpOcEkAWjiCSsIND9Z8CrLHl XvSdkwx/S2rDp3kirWxJ43q4PNw663CmruxAuRtPSvA1MXnnBCC0VcPEZOamEI2WH2eegfTlLYik9 xtkByDfvcxXCaHjHz/O6eA==; 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 1px3h3-0003FP-RM; Thu, 11 May 2023 06:38:42 -0400 In-Reply-To: (message from Daniel Fleischer on Thu, 11 May 2023 12:00:39 +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:261560 Archived-At: > From: Daniel Fleischer > Cc: 63438@debbugs.gnu.org > Date: Thu, 11 May 2023 12:00:39 +0300 > > > Eli Zaretskii [2023-05-11 Thu 11:29] wrote: > > > What did you expect to happen instead? > > I would expect *nothing* to happen; abbrev is key-value mapping; you > write a key and it replaces it with a value. If you write a word > that is not a key, you expect nothing to happen. In this case, the > word is one of the values, and suddenly something happens, > unexpectedly. I know realize that words are compared with keys > ignoring the case, but using the case in the expansion. Still, if a > user writes a word identical to one the abbrev "keys", I would > expect abbrev to leave it as is. I guess there's a place for a new defcustom, under which no case-conversion will happen at abbrev expansion time, ever. Is that what you want? That is, if you have an abbrev foo -> foobarical, then typing "Foo" or "FOO" will produce a literal "foobarical", each and every time?