From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method Date: Thu, 5 Dec 2019 14:43:31 +0000 Message-ID: <20191205144331.GA35472@breton.holly.idiocy.org> References: <20191028112645.GA18613@breton.holly.idiocy.org> <20191029192045.GA57404@breton.holly.idiocy.org> <20191031205346.GA5518@breton.holly.idiocy.org> <87zhg7f271.fsf@marxist.se> 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="256808"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.12.0 (2019-05-25) Cc: HaiJun Zhang , "23412-done@debbugs.gnu.org" <23412@debbugs.gnu.org> To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 05 15:44:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1icsMg-0014fu-GG for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2019 15:44:22 +0100 Original-Received: from localhost ([::1]:55722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icsMf-0000Bk-96 for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Dec 2019 09:44:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54904) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1icsMQ-0000AN-Jt for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 09:44:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1icsMN-0004x1-FO for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 09:44:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1icsMM-0004wY-5p for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 09:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1icsMM-0008KQ-3N for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2019 09:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2019 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23412 X-GNU-PR-Package: emacs Original-Received: via spool by 23412-submit@debbugs.gnu.org id=B23412.157555702331977 (code B ref 23412); Thu, 05 Dec 2019 14:44:02 +0000 Original-Received: (at 23412) by debbugs.gnu.org; 5 Dec 2019 14:43:43 +0000 Original-Received: from localhost ([127.0.0.1]:43398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icsM2-0008Jg-LA for submit@debbugs.gnu.org; Thu, 05 Dec 2019 09:43:42 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:35962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1icsM0-0008JU-OO for 23412@debbugs.gnu.org; Thu, 05 Dec 2019 09:43:41 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id z3so3959365wru.3 for <23412@debbugs.gnu.org>; Thu, 05 Dec 2019 06:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=WU8AQNF3tdDq8qiu1YIhQegLnXXaAgVcPkTBpdLa4ck=; b=dOeeqXiGIC8YsoewOawTPjmJYerGbDBUGBS3cT3cwXZxS4XILcFVPT6yZud3Uo/eGG 3ZOBp7TaHkZ0E1bBoTnO5lDUwchzH1PnHt0LyQ8l9VglmyXyreFEEfi2dZCqMVgXfgvM Pyd3JJ6oEkckhUob37ScHhLXepbhTG8dO5hw8EvMacYMzgYTzFx++Evkfc/ASRunPQ99 ADdiugkMjfm9FSF+CDD9kI3vU5R3bNnA4s0cPqV6MrCL6xWVN5fD5qYvGhemvJ7wT0GD o83qU8KST4Rra+IFHpJQEdBheETLsQy6lrzBqP5nelmskefUnIMRXHYulf3KJxFBNhr2 oDSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=WU8AQNF3tdDq8qiu1YIhQegLnXXaAgVcPkTBpdLa4ck=; b=n3Q7/jMnoxShOT7SMxaCJvTRK/rT2qbLR8coXYL3yTgnXgHG3R8W8nvqTEaQEFaP6o 3Bc3ecrvkyim+Ch6PUyKTgjQtNf4rKHeridVBu0XrTXp5rYTEf822sfGaDmynD5za5DA DWQ4GFQCTOjKhTT4GKel1Lwy06Crxvflg1YwALUKguw2DH6rNV+t3/JP2D8kfhtDYJZ6 dxYd6CZizKFax1wYkHU5N5rtNe5GsXe75iRfn+vvO9hV11JFC/8jCK8HV5tLPbM6Oa9p IsT6ZcArSjnDDUETZGqyzxNA1zo5JKqC/EJ5VyU18X+aAE3eVDHrtW8NmZbsn4nRPClU gnCQ== X-Gm-Message-State: APjAAAWnkEAFTkQeVtKk057yZVryCZpaIYPEThRfCXI94zia1/+hqIb7 XcWcGPM7Px5NgUZ4hfHt6WC1DruylgI= X-Google-Smtp-Source: APXvYqySzkQY1mjgWKo8vJsGM1TlvsLIEmW/rkV+k5NJSXZjzGrr9GJMk/6Ogaa8uj2Ouo5uv7bIVg== X-Received: by 2002:a5d:6708:: with SMTP id o8mr10741460wru.296.1575557014520; Thu, 05 Dec 2019 06:43:34 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-8586-a56f-eccc-754e.holly.idiocy.org. [2001:8b0:3f8:8129:8586:a56f:eccc:754e]) by smtp.gmail.com with ESMTPSA id h97sm13583891wrh.56.2019.12.05.06.43.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Dec 2019 06:43:33 -0800 (PST) Content-Disposition: inline In-Reply-To: <87zhg7f271.fsf@marxist.se> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172910 Archived-At: On Thu, Dec 05, 2019 at 12:21:06PM +0100, Stefan Kangas wrote: > Alan Third writes: > > > On Wed, Oct 30, 2019 at 01:15:04AM +0000, HaiJun Zhang wrote: > >> 在 2019年10月30日 +0800 AM3:20,Alan Third ,写道: > >> > > >> > I think in C we can get away with just checking whether the new text > >> > is empty. If there is any text at all then replacing the working text > >> > seems to do the right thing, even if the new text is shorter than the > >> > old. I could be wrong, though, I’ve never really used these input > >> > methods so don’t know if there are things I’m not testing. > >> > > >> > New patch attached, please try it and let me know how it goes. > >> > >> It works perfectly now. Thanks. > > > > Thank you for finding the root cause! I’ve pushed the change to > > master, so it should be available in Emacs 27 now. > > That was five weeks ago. If the issue has been fixed, should we also > go ahead and close this bug report? I thought I had, if you look at the cc list you might notice why it didn’t. :) A new wrinkle has been found, though, so it’s probably not worth closing this and creating a new bug report, so I’d leave it open for now if that’s OK. -- Alan Third