From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: The current state of the comment-cache branch Date: Wed, 28 Dec 2016 12:15:16 -0500 Message-ID: References: <20161223215056.GA2771@acm.fritz.box> <83fuldzre1.fsf@gnu.org> <20161224083054.GA2212@acm.fritz.box> <83bmw1zoy8.fsf@gnu.org> <20161224094246.GD2212@acm.fritz.box> <20161224113620.GF2212@acm.fritz.box> <20161227175500.GD2324@acm.fritz.box> <83y3z0ukth.fsf@gnu.org> <871swsf1es.fsf@thinkpad.rath.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482945693 20732 195.159.176.226 (28 Dec 2016 17:21:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2016 17:21:33 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 28 18:21:28 2016 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 1cMHuf-0003nv-Ma for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 18:21:17 +0100 Original-Received: from localhost ([::1]:60240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMHuk-0001zD-HN for ged-emacs-devel@m.gmane.org; Wed, 28 Dec 2016 12:21:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMHti-0001yE-7X for emacs-devel@gnu.org; Wed, 28 Dec 2016 12:20:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMHth-0005Db-C1 for emacs-devel@gnu.org; Wed, 28 Dec 2016 12:20:18 -0500 Original-Received: from [195.159.176.226] (port=57896 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMHth-0005Cg-5T for emacs-devel@gnu.org; Wed, 28 Dec 2016 12:20:17 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cMHtU-0003m5-Uz for emacs-devel@gnu.org; Wed, 28 Dec 2016 18:20:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:qMEGJ+WlRxddB55Mt/LwzBF/aLw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:210909 Archived-At: > I would hope that Emacs is used not only to edit its own source code but > also other code, for which these standards don't apply. The open-paren-in-column-0-is-defun-start was a useful heuristic optimization, which worked well in Lisp-derivatives and reasonably well in C derivatives as well. It was a good tradeoff (the occasional inconvenience was small and infrequent compared to the performance gains). Nowadays, the performance-v-correctness balance is different, and we have enough resources to use another optimization, based on caching, which does not suffer from those inconveniences. Stefan