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 14:03:43 +0300 Message-ID: References: <83sfc35kzc.fsf@gnu.org> <83fs835eyx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36765"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.4; emacs 30.0.50 Cc: 63438@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 11 13:18:24 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 1px4JT-0009RA-Ux for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 May 2023 13:18:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px4JA-0001tl-4p; Thu, 11 May 2023 07:18:04 -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 1px4J8-0001pp-Ic for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 07:18: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 1px4J8-000050-2P for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 07:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px4J7-0007qq-UL for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 07:18:01 -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 11:18: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.168380386730155 (code B ref 63438); Thu, 11 May 2023 11:18:01 +0000 Original-Received: (at 63438) by debbugs.gnu.org; 11 May 2023 11:17:47 +0000 Original-Received: from localhost ([127.0.0.1]:49878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px4It-0007qJ-9S for submit@debbugs.gnu.org; Thu, 11 May 2023 07:17:47 -0400 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:54351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px4Ir-0007q6-DA for 63438@debbugs.gnu.org; Thu, 11 May 2023 07:17:45 -0400 Original-Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-3f417ea5252so41575105e9.0 for <63438@debbugs.gnu.org>; Thu, 11 May 2023 04:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683803859; x=1686395859; h=mime-version:message-id:in-reply-to:user-agent:references:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=MPxr4EmiiIFDkalaEkiaq8KU+SbWW3nTl/bgjSsg5uU=; b=O/vLgq+qkIlb3VXED0Ig4WF02kMDmLqQTIG4lXs2nUnP6tmBxr7B5dOJrfQTS/an8P QLNeItDl9/ccjSHn4hruVesBvoNi17NHS2ABlmyOdVhGn7GoP1fqlaHzgfsD2Lcs46T7 KKdxir97JbPr3/tzdrX6Sj7Wc7NA0OSzH8yobFGsf6Z3qwiOV8ijmkBRKxK1XRZQpWR9 u9yJ+fC6W+HUOVKSDs7rLJKD3S0oShY9ZdMx2rn9rD4lqpBM/vWm2jGajFA5AHwSPfbE zR6cI52z09xc1Dvs9nT8pPTaggIKrhuy9oijF/VUx/SxwBsAZ1G/vX/saUvHDWi3JfpQ 9Rfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683803859; x=1686395859; h=mime-version:message-id:in-reply-to:user-agent:references:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MPxr4EmiiIFDkalaEkiaq8KU+SbWW3nTl/bgjSsg5uU=; b=TgPbRZaiZMRwk2rLZcqp+eo/R/a8ytGglz5SG0xf+uHKecBYkoE0crQPtW19MZjI3v umMaENF+t7+OVrvKoxFNYr4ywADvE+duFaZWAKaLrtU9N/7a3jvu1ig1P7xtesVkAmxy 3DhUanoNNdytJcx3ZWHO+X3woUq4iMb4lEbmNwNNMMk1UU/6jU7S7yJFEODqQyqYnuL+ 4gfLo1TkCaJev4+WsJ6ESKy5ubLLY82gXLtYt1MITv56J7lCAOfl4zN56O5nb1rOd32f XbAvaMVA40NKmfiERwsD7d4oGo5dw9vrUDeaSWZpVI0wD4l8lUG6aR+bs4DFaIroFwZO Ta4g== X-Gm-Message-State: AC+VfDxQx9+YVuhcXFD+kWyGXYhppyyNlXdQx1G9xeE24S+ffqYhiJw/ SGRmGEULxpOZiKlv1qulVPTXOK17+AIxoA== X-Google-Smtp-Source: ACHHUZ7MCH5zlqznMBGubSWPrjen7osPiyZCqXXvDpXKYPuV56wA81cpnYshdYGJbuE6DGgfv5Gw6w== X-Received: by 2002:a1c:f60a:0:b0:3f1:76d0:8bb0 with SMTP id w10-20020a1cf60a000000b003f176d08bb0mr13940705wmc.36.1683803859522; Thu, 11 May 2023 04:17:39 -0700 (PDT) Original-Received: from Home-Mac ([141.226.162.146]) by smtp.gmail.com with ESMTPSA id z24-20020a1cf418000000b003f3e50eb606sm25137507wma.13.2023.05.11.04.17.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 04:17:38 -0700 (PDT) In-reply-to: <83fs835eyx.fsf@gnu.org> 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:261562 Archived-At: --=-=-= Content-Type: text/plain Content-Disposition: inline Eli Zaretskii [2023-05-11 Thu 13:39] wrote: > 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? 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. --=-=-=--