From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Severe regressions in context of keyboard macros Date: Thu, 26 Sep 2019 13:56:31 +0300 Message-ID: <83wodvl40w.fsf@gnu.org> References: <83a7aztoq9.fsf@gnu.org> <6b147564-cfea-1824-701f-33495958d304@web.de> <83d0fusvjd.fsf@gnu.org> <83wodynkuo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197094"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Christoph Arenz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 26 12:56:56 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDRSC-000p6u-Ae for ged-emacs-devel@m.gmane.org; Thu, 26 Sep 2019 12:56:56 +0200 Original-Received: from localhost ([::1]:33836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDRSB-0000Zo-3i for ged-emacs-devel@m.gmane.org; Thu, 26 Sep 2019 06:56:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48336) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDRS3-0000XB-HT for emacs-devel@gnu.org; Thu, 26 Sep 2019 06:56:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iDRS3-00026v-5A; Thu, 26 Sep 2019 06:56:47 -0400 Original-Received: from [176.228.60.248] (port=4723 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iDRS1-0006P6-Iv; Thu, 26 Sep 2019 06:56:45 -0400 In-reply-to: (message from Christoph Arenz on Thu, 26 Sep 2019 12:46:20 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240302 Archived-At: > Cc: emacs-devel@gnu.org > From: Christoph Arenz > Date: Thu, 26 Sep 2019 12:46:20 +0200 > > I tried some simple tests using the french word for brother (`frère' -- > the first `e' is with a ``' on top of it -- hopefully my mailer does not > screw this up...) > using various french input methods: french-prefix, french-postfix and > french-azerty -- all in context of keyboard macro recording and playback. > The calc case should fit nicely with the -postfix case, I thought. > > However, on master branch 07367e5b95fe31f3d4e994b42b081075501b9b60, I > got this: > > french-prefix: > keys pressed: f r ` e r e , > text inserted in buffer: "frère, frère,  frère  " > last-kbd-macro: "fr`ere,  " > --> Note the two(!) recorded after the `,' though only one was > typed in! > > french-postfix: > keys pressed: f r e ` r e , > text inserted in buffer: "frère, frèrre,, frèrre,, " > last-kbd-macro: "fre`rre,, " > --> Note the double recording of `r' and `,' ! > --> This closely resembles the reported symptoms for the calc package! > > french-azerty: > keys pressed (on US keyboard-layout): f r e 7 r e m > > text inserted in buffer: "frère, frère, frère, " > last-kbd-macro: "fr7rem " > --> This looks as I would expect it. > > > A quick check on emacs-24.5 showed that all cases were handled correctly > back then. > So, some of the new ways of handling this are not covering all corner > cases, and work wrong with -postfix and calc prefix handling. > > Does this give any clues what still needs to be fixed? What about the other facility -- could Calc use it to avoid recording keys more than once?