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: Sat, 21 Dec 2019 22:54:23 +0000 Message-ID: <20191221225423.GA28900@breton.holly.idiocy.org> References: <20191217202837.GA18094@breton.holly.idiocy.org> <20191218204422.GA22550@breton.holly.idiocy.org> <1FE824D7-2765-4CF6-98B8-912AA2FAA646@icloud.com> 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="219158"; mail-complaints-to="usenet@blaine.gmane.org" Cc: HaiJun Zhang , 23412@debbugs.gnu.org To: tsuucat Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 21 23:55:19 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 1iineY-000uqH-2P for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Dec 2019 23:55:18 +0100 Original-Received: from localhost ([::1]:42718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iineW-0002Fl-Qq for geb-bug-gnu-emacs@m.gmane.org; Sat, 21 Dec 2019 17:55:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41827) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iineL-0002Cd-BO for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2019 17:55:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iineK-0006ZG-7b for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2019 17:55:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iineH-0006Xp-Tc for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2019 17:55:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iineH-0002SE-TC for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2019 17:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2019 22:55: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.15769688749377 (code B ref 23412); Sat, 21 Dec 2019 22:55:01 +0000 Original-Received: (at 23412) by debbugs.gnu.org; 21 Dec 2019 22:54:34 +0000 Original-Received: from localhost ([127.0.0.1]:48890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iindq-0002RB-9p for submit@debbugs.gnu.org; Sat, 21 Dec 2019 17:54:34 -0500 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:53618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iindp-0002Qz-97 for 23412@debbugs.gnu.org; Sat, 21 Dec 2019 17:54:33 -0500 Original-Received: by mail-wm1-f51.google.com with SMTP id m24so12340959wmc.3 for <23412@debbugs.gnu.org>; Sat, 21 Dec 2019 14:54:33 -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=VjgYuzcnIPFOCkOwQGkTAOwN7/1sIvDQpIuEaOK8lDE=; b=r7np7VoVTKP9i75MQD1C06g0OmEyonOn4UttTEr8JKPkvUt/Ivm/xSRi0uRjBtP8WR E+bJpqUI3t9ukSoiCAKNa9/WxFXPqwmH9iuINHAtBxCG02gVaWcms1KuZaDMJvRg43Fu elPn88uklvc/s5YsyjIZWC7tAxIGJmKL5DqegAWTOzQlqwIH+DsXs9XnDLsJKV04X8Em YLuXkNyLeCA4WXFWuKU3gpzQkaatRGambVUerdBMBgqdI/t1KHPpTg9/yfoqTgJC4Coq pXmv59LX5s3an3vjqAmFxqvRvJrw0IPyJq5OfS5GRbYc9QuhuhITAd+xnI8aBS1wVDtR m1Qg== 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=VjgYuzcnIPFOCkOwQGkTAOwN7/1sIvDQpIuEaOK8lDE=; b=tq77Etb27pp3yN0oeXovmSsGe9B1eLtcbt/F7o/KYzYU4ozlPf5jBoLKgdsroUHZbW Z428ECZgfW4MRqfW8DbmFni5aPizDOQ/elZyqXINqOJ7rzGdPdz3NHGGrgc6x+UxOqK5 VswLTYb1fX1qcPwxcmSd0g8uW/un2IB/FetgI7C2Wc2qma3l9nWI1xCegkDoGTeELZ2R 2Hnv8iZbn4JInfBlJ8rDzDNn8pd0C0E/ZHjm/ThyxdqdooC/kQbDwbqlDdo0AOPUHvH6 3rFZ5KGwcx5sFNsadLjqQIJIEFnlRBTMSZ9jrit4vddnyohMTUROGGZR9qBW61zHHEVM bFgQ== X-Gm-Message-State: APjAAAU4HNSjL7fmGGyWsIJRsQFOhXX+l/uj8cD/vQce7JYX5apRdUNG jCF5ip2h3ZdYZhgfmy5g/Bc= X-Google-Smtp-Source: APXvYqzUJbXr6oeGbIVlB5r/vrDWWRRiGwKmhDP+zadJapt1jkcHnJRchO55UHQhfQMpvGjVgfMTiQ== X-Received: by 2002:a1c:1fd0:: with SMTP id f199mr23787656wmf.113.1576968867128; Sat, 21 Dec 2019 14:54:27 -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 t25sm13901004wmj.19.2019.12.21.14.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2019 14:54:26 -0800 (PST) Content-Disposition: inline In-Reply-To: <1FE824D7-2765-4CF6-98B8-912AA2FAA646@icloud.com> 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:173618 Archived-At: On Thu, Dec 19, 2019 at 02:57:08PM +0900, tsuucat wrote: > > > Since the working text is not the final text to insert to buffer, how about displaying it using after-string property of overlay? Such as: > > > > (overlay-put (setq ns-working-overlay (make-overlay start (point))) > > ‘after-string (propertize ns-working-text ‘face 'ns-working-text-face)) > > > I did it. It is good undo behavior. This sounds good. I’m unsure if it still qualifies for copyright exemption as it looks to me like 18 lines changed. Eli? > After this, working text appears in read-only buffer. (Mac port-like > behavior) I could have sworn we had another bug open for this, but I can’t find it right now... -- Alan Third