From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Changes for emacs 28 Date: Fri, 11 Sep 2020 16:47:16 +0200 Message-ID: <20200911144716.mxhuw2xbyz5chjas@Ergus> References: <20200910231420.kvqg6ohvxetpup5c.ref@Ergus> <20200910231420.kvqg6ohvxetpup5c@Ergus> <83zh5whl5p.fsf@gnu.org> <20200911101509.v2b7dfiq6kuqlysp@Ergus> <83lfhgha8m.fsf@gnu.org> <87r1r8if75.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21000"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Caio Henrique Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 11 16:48:30 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kGkLm-0005Nk-1U for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 16:48:30 +0200 Original-Received: from localhost ([::1]:43932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGkLl-0005Bb-3p for ged-emacs-devel@m.gmane-mx.org; Fri, 11 Sep 2020 10:48:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGkKn-00046T-Dg for emacs-devel@gnu.org; Fri, 11 Sep 2020 10:47:29 -0400 Original-Received: from sonic307-2.consmr.mail.bf2.yahoo.com ([74.6.134.41]:45979) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGkKl-00078N-83 for emacs-devel@gnu.org; Fri, 11 Sep 2020 10:47:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1599835644; bh=Smi+WEGw5ltNXb3GJfUtxB9Js+GrTQPqU7Dr5+dBhi0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=cCytciWLD7fT9h+9yfQbbBeA2Rf6VuhK7Tv+6KcUGBWdujs3tmBpBFR4IvVFdkApygqWmrUSewLCJuwq3LFjdG8Pzlfknls8w1nJdCDn/v1fiFD3hjMKYf28N8TjE7nc3phyCyG4BAQRW2h4XWtVolphm6R0BrzXGQtQKi9Moe3sQYpmGEkx2Xk1+z55I6/JV/4TvSISAQoIoiBl76XFhuUcjHdRQ10NJjnetuE3S/O+ZTB6bMTzNTaJboJeggV4OPTf/hOqtFmLcqvKPLGPLVQ58yaGzWfUNrYDQR8uG2Ttvko5beLX3iZARvDMRzEip64HE2eea1dkx+mludRZZw== X-YMail-OSG: LR3MsPAVM1lteh86iBQYu575A_QDMomBBzH0AdN.AcB9f1y9uY4c9FceD.EMfOC fgzOH5.eY7SRe_WPivISS.4b1PSPjPezScF8wlLZ_0KFvFi7ehY.MjXYQmwUNDIagXXh5NwSsdXw bHUAodq8_ekW1N7ifq6mkePKgfg9Zlf2pi63hGKO0eElw1gHkAhbPDoh1easvbAc4ffI7PYByRSz SC.GI_gcz_hBCIWVkd.VGx5ca59rkDJfSlaibhDDB5OSpW_Vd.6yMd7_f8tSJIiJlsEQrsRq82Rh liwzfazIdhwRdDgx3X8Tt8nwpI3UXhHoOmpBualCrskRhZs2I79WZysr1vwcxL2iJtRRCEQ9EeYL 9VGWznojXrTk7IFJgoiKVlsgWpjzNMG8RpIA_uu6nPxljKjhxJTsRSI.K8KAXVen01D.hKkaRIkw X7bVcfRb.rNhpb9QfI8c8hoc0wvB8PgvTJhg7rqip8vZU61vf621UTlFJK8TNxxDpkMUYajh9WgB WEUAGYL4a1r_58.MkJXcCtT7joi.jVxxEZUjL4pYowzv.NIOv0fcaKABTFexpxTBVolr7ySzCl5E rL0bviFgY6elg3bAsBpEEF_wqiZiL38IVL6K0a7L8VyP0KLKdhX3xRyblPV2hSYY5O.HuEEprz1E ya9cXiEa1q9uStSW0frZaAOn4wHofRooZ7jQBJD_5vWZ3VBrPFyS2J1C7YL9OdRXaYRc.bFAybYo U80wZnIZcPD5CbaNFpSpYWHNBFZR6pSK70azy3jkoXT08aCUz5NFQqQFFZYVCgRzPFNf9xFRfUfL gKoRuj84BkIjw_ACHgYqdApQXLoJYqLpkZpEQ9S9vq Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Fri, 11 Sep 2020 14:47:24 +0000 Original-Received: by smtp418.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID b2b66b53d4fe5e2ebc58e800e388186d; Fri, 11 Sep 2020 14:47:20 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87r1r8if75.fsf@gmail.com> X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.134.41; envelope-from=spacibba@aol.com; helo=sonic307-2.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/11 10:47:24 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:255191 Archived-At: On Fri, Sep 11, 2020 at 11:02:54AM -0300, Caio Henrique wrote: >Eli Zaretskii writes: > >>> Date: Fri, 11 Sep 2020 12:15:09 +0200 >>> From: Ergus >>> Cc: caiohcs0@gmail.com, emacs-devel@gnu.org >>> >>> I tried it but there is a problem enabling disabling the icon. It >>> doesn't enable automatically when I do an undo until I click with the >>> mouse somewhere. >>> >>> Maybe it is a redisplay problem? >> >> No, because the Cut and Paste button have no such problems. > >I tried that code again and I experienced the same thing as Ergus, but >only in some cases. If I: >1. launch emacs -Q >2. type only the letter "a" >3. click on the "Undo" button on the toolbar > >Then the "Redo" button on the toolbar activates and all works well. > >But if I try: >1. launch emacs -Q >2. type the letter "a" >3. press RET to insert newline >4. type the letter "b" >5. click on the "Undo" button on the toolbar > >In this case the "Redo" toolbar button doesn't activate (but the "Redo" >button on the menu bar works fine). Then if I click with the mouse >anywhere inside the buffer, then the toolbar menu activates. >I don't know what the problem is, any ideas? > >> Thanks, but please add a help-echo text for that button. The menu >> item perhaps could do without it, but not the tool-bar button. > >Isn't the help-echo text the one that appears when I place my mouse over >the toolbar button? Isn't this text the same one used for the menu bar >buttons? When I place my mouse over "Redo" on the toolbar, it says "Undo >last undo". For me it happens always if I do: emacs -Q Do anything C-/ (for undo) Independently of how many times I do "undo" with C-/ it never gets activated. If I click anywhere then it does.