From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Sat, 28 Mar 2020 10:09:59 +0300 Message-ID: <838sjl7y60.fsf@gnu.org> References: <86tv2h2vww.fsf@gmail.com> <20200322123818.GB32470@ACM> <87eetk5swm.fsf@gnu.org> <20200326193128.GC14092@ACM> <86d08y4zsx.fsf@gmail.com> <83wo768eq5.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="41169"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, rrandresf@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 28 08:10:52 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 1jI5cK-000Ace-7K for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 08:10:52 +0100 Original-Received: from localhost ([::1]:50786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jI5cJ-0003Nv-9I for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Mar 2020 03:10:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51244) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jI5ba-0002Vm-7o for emacs-devel@gnu.org; Sat, 28 Mar 2020 03:10:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jI5bZ-0006cm-ME; Sat, 28 Mar 2020 03:10:05 -0400 Original-Received: from [176.228.60.248] (port=4526 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jI5bR-0002U0-5r; Sat, 28 Mar 2020 03:09:58 -0400 In-Reply-To: (message from Richard Stallman on Fri, 27 Mar 2020 22:48:38 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:245857 Archived-At: > From: Richard Stallman > Cc: rrandresf@gmail.com, acm@muc.de, emacs-devel@gnu.org > Date: Fri, 27 Mar 2020 22:48:38 -0400 > > > It's not possible. Bidirectional editing support in Emacs is > > unconditional, it isn't an optional feature. > > It isn't optional _now_ but maybe there is an opportunity to optimize > redisplay if the userssays "no BIDI". > > Maybe some of the pre-bidi code could be brought back and used > when the user says there is no BIDI in the buffer. If you find volunteers to work on such changes, sure, why not. I don't volunteer, mind you: the display code is complicated enough even without that. > It would be interesting to compare 24 and 23, to see what slowdown > there is. I expect an average twofold slowdown due to bidirectional support. The OP indicates less than that (comparing Emacs 23 with Emacs 26), so it's reasonable, IMO, and probably means the CC Mode contribution is relatively minor. The tricky part is testing the bidirectional part and the CC Mode part separately, by loading the old Emacs-23 CC Mode files into later versions of Emacs. Maybe Alan could help by providing a Lisp file which, when loaded, would load CC Mode from a given directory -- this should be run before visiting any C/C++ file.