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: Sun, 22 Dec 2019 12:02:08 +0000 Message-ID: <20191222120208.GC37854@breton.holly.idiocy.org> References: <20191217202837.GA18094@breton.holly.idiocy.org> <20191218204422.GA22550@breton.holly.idiocy.org> <1FE824D7-2765-4CF6-98B8-912AA2FAA646@icloud.com> <20191221225423.GA28900@breton.holly.idiocy.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="32760"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 23412@debbugs.gnu.org, tsuucat To: HaiJun Zhang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 22 13:10:56 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 1ij04W-0008NY-6S for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2019 13:10:56 +0100 Original-Received: from localhost ([::1]:47234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij04V-0001Q8-1o for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2019 07:10:55 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40551) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iizwt-00045U-JH for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 07:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iizws-0000UT-Dy for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 07:03:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iizws-0000TL-71 for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 07:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iizws-0000LJ-1P for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 07:03: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: Sun, 22 Dec 2019 12:03:01 +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.15770161411266 (code B ref 23412); Sun, 22 Dec 2019 12:03:01 +0000 Original-Received: (at 23412) by debbugs.gnu.org; 22 Dec 2019 12:02:21 +0000 Original-Received: from localhost ([127.0.0.1]:49137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iizwD-0000KM-5R for submit@debbugs.gnu.org; Sun, 22 Dec 2019 07:02:21 -0500 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:36438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iizwA-0000K8-MS for 23412@debbugs.gnu.org; Sun, 22 Dec 2019 07:02:19 -0500 Original-Received: by mail-wr1-f43.google.com with SMTP id z3so13785957wru.3 for <23412@debbugs.gnu.org>; Sun, 22 Dec 2019 04:02:18 -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; bh=vM6CjGdbQQArX8IGvoPkWjmjzfLjOvd9ARpb2mrSU9g=; b=BnUuOW/zkqj+vTfgCYfXvVou8PwCjr9LLh5ljngDhla75lfwjM0szevOo7yIDzdJWG Mn9qZriu8HJoOldbVXampn8fC7sZzuaFpy1hDUIUagfvSHX5GF+5gXdqJmVUah0HcvO0 9MUOaPJEsUNYH1Joq9QfQ4gV1d02iL5BOwhwVxZaPhHoQ81J+TTmuSfRdyPVU54RXaRk 1VA4P29eiy0e2/59JW7WsJ69ITO2ykHOtZJXKS9CxcmOtBhe3b6fLBdA8riqIR90kKCx 3VAN3AgdnHSusdkODNbo2AfstjPSdbYlWUwl5SkOcXmpFlQcCZRQMS8Dyp3egShSAYGA SkSg== 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; bh=vM6CjGdbQQArX8IGvoPkWjmjzfLjOvd9ARpb2mrSU9g=; b=Z6Lm7+gnpC14lj7HDnaNeSV3/JFTrgTZwjas4uDxK3A58ft79oPUkc5QxEz22semWe +7nowuvZnMM8ivSjtmhGBnI74tTL5AZN0/RC7MTAtji6picAj7Uc5NHvjKKV/IgVhzuM X4n903a7Rrw25ml9mepewT+/g+BbCNmrazJASiU9BwfUiX4G6zNUc0XI5xrdZIdJ5Pkx N/XQkHi+4yTzUb72vG8gJBusSmLXhsCIoK+f7Vnd141xgGZCuDS56/FX4wCyJnNY6jwI WHiqb7n4J1LzT8Me2HsCp7O6svju74O39My3zPgvaUn+XRDdcEtGLy5HCG1nnyeSXoC6 IBXw== X-Gm-Message-State: APjAAAXLfevE6Y+IAh4znLHFbduuc/9ili7pHugUeaDcHuiDphBWhnKg 8GhW+GIrTLwpW9ubXZlVe7E= X-Google-Smtp-Source: APXvYqzR/5+cryVwxyqvRC536Xbt5YQuYkfc6g8FTB1JpdnB5OazLV3kKj37Is4h4KjT+c/U6J++yQ== X-Received: by 2002:a5d:50d2:: with SMTP id f18mr25189278wrt.366.1577016132817; Sun, 22 Dec 2019 04:02:12 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-488a-38f7-f32f-09bb.holly.idiocy.org. [2001:8b0:3f8:8129:488a:38f7:f32f:9bb]) by smtp.gmail.com with ESMTPSA id e6sm16514648wru.44.2019.12.22.04.02.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Dec 2019 04:02:10 -0800 (PST) Content-Disposition: inline In-Reply-To: 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:173635 Archived-At: On Sun, Dec 22, 2019 at 07:32:57PM +0800, HaiJun Zhang wrote: > 在 2019年12月22日 +0800 AM6:54,Alan Third ,写道: > > > > I could have sworn we had another bug open for this, but I can’t find > > it right now… > > It may be the bug in the fixme of ns-insert-working-text? > >   ;; FIXME: if buffer is read-only, don’t try to insert anything >   ;; and if text is bound to a command, execute that instead (Bug#1453) > > Two issues in it. I don’t think the former is a problem to me. The > working text is not the real text to be inserted into the buffer. It > is just like a tip message. For the latter, I think the better > resolution is to let emacs interact with the input method. Let emacs > tell the input method to switch to English when the buffer only > accepts English chars. I think Tsuucat’s patch makes that comment obsolete. It inserts the working text into the buffer at point, which I assumed was impossible since it’s read‐only, and then deletes it once it’s completed and dired picks up the correct character and does the right thing. It maybe looks a little odd with the working text appearing in the dired buffer, but I don’t think it’s a problem. Thanks to everyone who’s helped resolved this bug! -- Alan Third