From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: scratch/accurate-warning-pos: Solid progress: the branch now bootstraps. Date: Mon, 26 Nov 2018 14:18:36 -0500 Message-ID: References: <83muq7u9rk.fsf@gnu.org> <20181123130904.GA2916@ACM> <20181125193050.GH27152@ACM> <2c2ae483-3309-f79d-07a5-30af1f49058b@cs.ucla.edu> <20181125212920.GK27152@ACM> <60ac9dfc-b540-89f9-68ea-ec7cceaa8511@cs.ucla.edu> <83in0kijz0.fsf@gnu.org> <9e216e61-7d95-94f0-cbee-593b4f32ced2@cs.ucla.edu> <20181126184359.GG4030@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1543259884 23821 195.159.176.226 (26 Nov 2018 19:18:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2018 19:18:04 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 Cc: michael_heerdegen@web.de, Eli Zaretskii , monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Alan Mackenzie , Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 26 20:17:59 2018 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 1gRMON-00061P-4W for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2018 20:17:59 +0100 Original-Received: from localhost ([::1]:38319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRMQT-0005v0-Ek for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2018 14:20:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRMP8-0005t5-3n for emacs-devel@gnu.org; Mon, 26 Nov 2018 14:18:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRMP3-0000Xw-AE for emacs-devel@gnu.org; Mon, 26 Nov 2018 14:18:46 -0500 Original-Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:33703) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gRMP3-0000XI-5x; Mon, 26 Nov 2018 14:18:41 -0500 Original-Received: by mail-qk1-x732.google.com with SMTP id o89so13089981qko.0; Mon, 26 Nov 2018 11:18:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=l4mvu+0Qb7DVgeB7jTIE9pyYbiuJRaw1V6DHsAR1sFA=; b=eB4Qpm1FTC02MFXUDHRczoZtCOh8AvU1iVdpX5A36Q+EeGhWj3CauZIAjjtsvCMp9v kLHnMTyN6Pg/p8k0SCCXv+eaJD+H/ND/Ob0VswbD2B/C1T8HNeyauK/x7GeMmFO1J0oC E8djwjMN0m45eJeEQStQSLgEEcY6FaddbHKC2FuTkryME/CRVb1qEv/s17+dBm8T0i2T NRbC1d30x07a806YupvZJaVB0Kd2H1Ac3M5jMmvoTEgbC+EUBIx6qznlOFN2PpdV7Gx8 yPolZ5oLhbVNI2lC9i5JANThv+3lESZvEPxUVplmRq2SsvBBh8L6+BYQxjYIvEDV9++B hSAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=l4mvu+0Qb7DVgeB7jTIE9pyYbiuJRaw1V6DHsAR1sFA=; b=T9jKwx0pM5YyZAiZifD8jKyWC8eRpSdBg/Uj7cX7MmrAiIzQJ/PpTOj7IIjb5NFmyc IaySCywwNfHBsDE1jfe+9bYqAVZ1d7FoAkGY2TxNxKsR2T1CX+pved6NGBO2Cupz8DCm jWvL4p6DLnJ2sIxicOmUDoSTiVuuI1EtHgi3APNypZ3dFg5AU4zcw3162XYR4fNgGEYM vqS4OdH1RxBECzfy0BEEep79fymsZnGn5lhv9A8rNP2F8mTUIvc2NLC+J0Ma3qaTZehb q5rEmw1otYZr6lz7zAGwdU0G7du3DaGT6ad1TYmxQBNc6syRkbJuHlXakJ1MXJ+Cj7d2 +kGQ== X-Gm-Message-State: AA+aEWYl0LVvpAGlGWzyT2BjLlJIxUeULXIni2nLV/bWy0XssuXj2kVx 9ohLQ2EzXWlgSNYWKK9JAY+Mmm0B X-Google-Smtp-Source: AFSGD/VCzsifrDWDjPdXM6pADQLKjsiNu1J05Eal0X1qweLgleJjFBkXtqW2MpxOAzVH4HAfzCsxww== X-Received: by 2002:a37:474b:: with SMTP id u72mr25899451qka.106.1543259918117; Mon, 26 Nov 2018 11:18:38 -0800 (PST) Original-Received: from [18.26.2.123] (26-2-123.dynamic.csail.mit.edu. [18.26.2.123]) by smtp.googlemail.com with ESMTPSA id k22sm589423qtm.73.2018.11.26.11.18.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 11:18:37 -0800 (PST) In-Reply-To: <20181126184359.GG4030@ACM> Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::732 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:231409 Archived-At: On 26/11/2018 13.43, Alan Mackenzie wrote: > This may be significant, but is it really important? Most of the time, > Emacs is waiting for the next key depression anyway. If a batch like > operation takes 11.5 minutes rather than 10 minutes, who would really > notice? Similarly if an instantaneous operation, like filling a > paragraph increases by 15%, would anybody care? It is surely only > those interactive operations which are sluggish which might become more > so, where the slowdown would be important. How many of these really > exist in Emacs? This is a tricky question. Places where Emacs is too slow for my taste, and that I wouldn't like to see become slower, include indentation (which often requires many position-related operations, as well as macro editing, and syntax highlighting. I do have one question: I understand why attaching positions to code fragments make reading the code slower, but why does it make interpreting it slower as well? Another related question: this work is for warnings, but will it extend to having positions in backtraces? Congrats on the had work, btw :) This would be a very useful feature to have. Clément.