From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Getting the correct line/column numbers on byte compilation error/warning messages Date: Mon, 17 Jul 2017 17:53:06 +0000 Message-ID: <20170717175305.GA3647@acm> References: <20170716134429.GA3013@acm> <7e588da4-be1e-ae1e-2023-66a9392031f9@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1500314110 25470 195.159.176.226 (17 Jul 2017 17:55:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2017 17:55:10 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?Cl=E9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 17 19:55:03 2017 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 1dXAET-0005rb-5i for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 19:54:57 +0200 Original-Received: from localhost ([::1]:51766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXAEY-00039S-KT for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2017 13:55:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXAE2-00035a-I5 for emacs-devel@gnu.org; Mon, 17 Jul 2017 13:54:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXADy-0003xt-G8 for emacs-devel@gnu.org; Mon, 17 Jul 2017 13:54:30 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:54358 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1dXADy-0003xL-3h for emacs-devel@gnu.org; Mon, 17 Jul 2017 13:54:26 -0400 Original-Received: (qmail 32274 invoked by uid 3782); 17 Jul 2017 17:54:24 -0000 Original-Received: from acm.muc.de (p548C6FE5.dip0.t-ipconnect.de [84.140.111.229]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 17 Jul 2017 19:54:23 +0200 Original-Received: (qmail 3744 invoked by uid 1000); 17 Jul 2017 17:53:06 -0000 Content-Disposition: inline In-Reply-To: <7e588da4-be1e-ae1e-2023-66a9392031f9@gmail.com> 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.4 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:216788 Archived-At: Hello, Clément. On Mon, Jul 17, 2017 at 12:27:57 +0200, Clément Pit-Claudel wrote: > On 2017-07-16 15:44, Alan Mackenzie wrote: > > What do people think? > I think fixing that problem would be very, very nice. As to your > solution: which primitives did you actually have to redefine? It > sounds like in most cases the new primitives would be very thin > wrappers around setf, wouldn't they? Well, it's still a work in progress, so I don't yet know the full set of new primitives I'll need. But so far, I've got (defun bo-cons (kar kdr dest) ...) (defun bo-dup-hash (src) ...) ; create a new cons with the same hash entry as SRC. (defun bo-reuse-cons (form kons) ...) ; Put the result of FORM into kons. (bo-mapcar (fn list) ...) ; Result list uses cons structure in LIST. (bo-list-2 (elt0 elt1 dest0 dest1) ; Use DEST[01] to hold the 2 element list. also bo-list-1, bo-list-3, etc, ...amongst a whole lot of half-baked ideas. It's slowly beginning to come together, though. Funnily enough, I haven't used setf a single time yet. I've only a vague idea what it does. I'll need to look it up. > Thanks for working on this, We'll see what we can manage. > Clément. -- Alan Mackenzie (Nuremberg, Germany).