From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects] Date: Thu, 19 Mar 2020 18:09:50 -0400 Message-ID: References: <20200319203449.GA4180@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117793"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Rocky Bernstein , emacs-devel To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 19 23:10:33 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 1jF3N3-000UYQ-BK for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Mar 2020 23:10:33 +0100 Original-Received: from localhost ([::1]:43704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jF3N2-0004nx-E5 for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Mar 2020 18:10:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58852) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jF3MQ-0004NU-Tm for emacs-devel@gnu.org; Thu, 19 Mar 2020 18:09:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jF3MQ-00087Z-06 for emacs-devel@gnu.org; Thu, 19 Mar 2020 18:09:54 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:58679) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jF3MP-00085o-S2; Thu, 19 Mar 2020 18:09:53 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 51F7E810A0; Thu, 19 Mar 2020 18:09:53 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A60A28113D; Thu, 19 Mar 2020 18:09:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1584655791; bh=YtF8DlqO2uOHwTC61dvn0PRkwrdz3agoGmd/4feXzBo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WtoyU9T1aGs62T6EISswuv7PrCNg/q101HXdL3tqYpAUih0vplXRRxj6SwyrCcWpR /I0HTnbspfvmigqsPkKHwcxvOZcjSJvU4xY/n3bEJ4xEwOtv1llTfn6+iPMrUpNH52 /JIDNOfJex9RnKEsw9fluqNb+vbGDCEggDrfbW41iHqWChCE/R/+cUFpzS2LAsKLP3 MhfqSj1rGBlUT6YFHbBGlxq6McDOtZlp0zNVzenerNQ34lEQ9BvpUIpz05TiV5gXws DjkZGvAN2cLT6lLwfcgbpyMvYzqjPEebKFtQujIZg68XSgGQyoUDlOTLEdLWbUwSy6 uXgL9ZmtnbIjg== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 58128120254; Thu, 19 Mar 2020 18:09:51 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 19 Mar 2020 17:41:30 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 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:245594 Archived-At: > I think fat-cons cells are cheap to implement (with (hopefully) no > performance impact when not used or weird semantic artifacts like the > fat-symbol approach you tried) and can work 99.9% right in the long term > with an incremental way to get there. Reminds me that another project could be to provide something like Scheme's `syntax-rules` or `syntax-case`. These could be attractive on their own while also making it easier to correctly propagate source-level line-number information. Stefan