From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Mon, 30 Oct 2017 13:43:45 +0100 Message-ID: <97437D21-AE15-45A1-9EDA-397E3AA7FE4B@univie.ac.at> References: <6EEBF320-A91F-4B19-B2E0-DED36B14E635@univie.ac.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1509371026 32213 195.159.176.226 (30 Oct 2017 13:43:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2017 13:43:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 30 14:43:37 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9ALk-0007GL-Td for ged-emacs-devel@m.gmane.org; Mon, 30 Oct 2017 14:43:33 +0100 Original-Received: from localhost ([::1]:40754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9ALs-0002Tb-2F for ged-emacs-devel@m.gmane.org; Mon, 30 Oct 2017 09:43:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e99QE-0001X1-HL for emacs-devel@gnu.org; Mon, 30 Oct 2017 08:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e99QB-0006Z5-Fp for emacs-devel@gnu.org; Mon, 30 Oct 2017 08:44:06 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:41134) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e99QB-0006Xb-53 for emacs-devel@gnu.org; Mon, 30 Oct 2017 08:44:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YTNl+WF/YdHTx8+yWFeXxdumTrTYTRaDSTM+AmIKOe0=; b=ThbnX/fs+wwrfo9BjVh0NeGajb JCGJIRfr5y5TS54NP8ceSSh+jeVMH/Qju8tJZLhxpQb48t9F76/4gT84PrqqsZcDXNlvZb2TVoe7l fig0bPX8sjI60TvusU5A/CrHa7UFrMEy8r4v26SpTIDqiOgXj/8DBMq7PmS+TmSFmci0=; Original-Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e99Q2-00051D-Ff; Mon, 30 Oct 2017 13:43:54 +0100 Original-Received: from 217-149-171-28.nat.highway.telekom.at ([217.149.171.28] helo=[10.0.0.4]) by joan.univie.ac.at with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1e99Q2-0007ZE-3e; Mon, 30 Oct 2017 13:43:54 +0100 In-Reply-To: X-Mailer: Apple Mail (2.3445.1.7) X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 131.130.3.115 X-Mailman-Approved-At: Mon, 30 Oct 2017 09:42:54 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:219829 Archived-At: Together with this second patch, the 26-based Mac port work for me as = great as the 25-based one. Thanks for all your effort. Konrad > Am 30.10.2017 um 08:38 schrieb YAMAMOTO Mitsuharu = : >=20 >>>>>> On Tue, 17 Oct 2017 10:41:11 +0900, YAMAMOTO Mitsuharu = said: >=20 >>> (2) Putting the mouse over a tool-bar button, so that the >>> corresponding tooltip appear, and then quickly dragging the frame >>> with the mouse to another place on the screen, the tooltip is still >>> shown for some time at the original screen position. >=20 >> I'll look into it later. >=20 > I think I could find the cause of this problem finally. It took a > long time because it was in the platform-independent part. I'm still > not sure if the patch below is the right way, but could you check if > this also works for your case? >=20 > YAMAMOTO Mitsuharu > mituharu@math.s.chiba-u.ac.jp >=20 > diff --git a/src/xdisp.c b/src/xdisp.c > index 45eabb10d7..e5e1319e18 100644 > --- a/src/xdisp.c > +++ b/src/xdisp.c > @@ -31029,9 +31029,6 @@ note_mouse_highlight (struct frame *f, int x, = int y) > && part !=3D ON_HEADER_LINE)) > clear_mouse_face (hlinfo); >=20 > - /* Reset help_echo_string. It will get recomputed below. */ > - help_echo_string =3D Qnil; > - > #ifdef HAVE_WINDOW_SYSTEM > /* If the cursor is on the internal border of FRAME and FRAME's > internal border is draggable, provide some visual feedback. */ > @@ -31090,6 +31087,9 @@ note_mouse_highlight (struct frame *f, int x, = int y) > if (!WINDOWP (window)) > return; >=20 > + /* Reset help_echo_string. It will get recomputed below. */ > + help_echo_string =3D Qnil; > + > /* Convert to window-relative pixel coordinates. */ > w =3D XWINDOW (window); > frame_to_window_pixel_xy (w, &x, &y);