From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Sat, 4 Apr 2020 12:01:20 +0000 Message-ID: <20200404120120.GD5329@ACM> References: <83k12zz6ds.fsf@gnu.org> <054393f3-3873-ab6e-b325-0eca354d8838@gmx.at> <20200403174757.GA8266@ACM> <20200404104553.GA5329@ACM> <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29453"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 04 14:02:19 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 1jKhVD-0007Ye-MH for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Apr 2020 14:02:19 +0200 Original-Received: from localhost ([::1]:38154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKhVC-0000Hr-Lk for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Apr 2020 08:02:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50737) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKhUM-0007rp-EQ for emacs-devel@gnu.org; Sat, 04 Apr 2020 08:01:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKhUL-0000AN-6X for emacs-devel@gnu.org; Sat, 04 Apr 2020 08:01:26 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:53897 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1jKhUK-00009k-Tx for emacs-devel@gnu.org; Sat, 04 Apr 2020 08:01:25 -0400 Original-Received: (qmail 87421 invoked by uid 3782); 4 Apr 2020 12:01:24 -0000 Original-Received: from acm.muc.de (p2E5D54F1.dip0.t-ipconnect.de [46.93.84.241]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sat, 04 Apr 2020 14:01:20 +0200 Original-Received: (qmail 6493 invoked by uid 1000); 4 Apr 2020 12:01:20 -0000 Content-Disposition: inline In-Reply-To: <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:246394 Archived-At: Hello, Martin. On Sat, Apr 04, 2020 at 13:10:43 +0200, martin rudalics wrote: > > (time-it (scroll-up) (sit-for 0)) > To avoid confusion - what is 'time-it'? (defmacro time-it (&rest forms) "Time the running of a sequence of forms using `float-time'. Call like this: \"M-: (time-it (foo ...) (bar ...) ...)\"." `(let ((start (float-time))) ,@forms (- (float-time) start))) > And please note that I did not say that I ran 'scroll-up'. I did a > mouse wheel scroll as the OP of that bug requested .... Sorry. I thought you were using poetic language when you wrote "one turn of the wheel". I didn't have the context of the bug in my head. Just for comparison, would you please time (scroll-up) (sit-for 0) in xdisp.c on your machine, to give us a better sense of the relative speeds. For what it's worth, I've just tried a fast mouse-wheel scroll in xdisp.c in X Windows on my machine. There was no noticeable lag. > .... and unfortunately I don't know what mouse wheel scrolling does > here because C-h k on it just gives me > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > help--read-key-sequence() > byte-code("\300 C\207" [help--read-key-sequence] 1) > call-interactively(describe-key nil nil) > command-execute(describe-key) This doesn't happen to me. I get the information about mwheel-scroll. > martin -- Alan Mackenzie (Nuremberg, Germany).