From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Merten Newsgroups: gmane.emacs.devel Subject: Re: testcover: setf-method and treatment of `defcustom' Date: Thu, 13 Sep 2012 22:45:39 +0200 Message-ID: <5507.1347569139@theowa.merten-home.homelinux.org> References: <6900.1347261102@theowa.merten-home.homelinux.org> <7050.1347482308@theowa.merten-home.homelinux.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347569165 1865 80.91.229.3 (13 Sep 2012 20:46:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 20:46:05 +0000 (UTC) Cc: Jonathan Yavner To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 13 22:46:08 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCGIa-0006bs-GY for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2012 22:46:08 +0200 Original-Received: from localhost ([::1]:49599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCGIW-0004M8-Qz for ged-emacs-devel@m.gmane.org; Thu, 13 Sep 2012 16:46:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCGIU-0004Lj-4z for emacs-devel@gnu.org; Thu, 13 Sep 2012 16:46:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCGIQ-0000KS-21 for emacs-devel@gnu.org; Thu, 13 Sep 2012 16:46:02 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:63292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCGIP-0000Hk-LH for emacs-devel@gnu.org; Thu, 13 Sep 2012 16:45:57 -0400 Original-Received: from theowa.merten-home.homelinux.org (ip-109-84-102-152.web.vodafone.de [109.84.102.152]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0Lxfpr-1TaJXf1sD5-017GRK; Thu, 13 Sep 2012 22:45:44 +0200 Original-Received: by theowa.merten-home.homelinux.org (Postfix, from userid 1000) id 1F53F400C7; Thu, 13 Sep 2012 22:45:39 +0200 (CEST) Original-Received: from theowa.merten-home.homelinux.org (localhost [127.0.0.1]) by theowa.merten-home.homelinux.org (Postfix) with ESMTP id 1CD1C7A007; Thu, 13 Sep 2012 22:45:39 +0200 (CEST) In-reply-to: Comments: In-reply-to Stefan Monnier message dated "Thu, 13 Sep 2012 09:09:13 -0400." X-Mailer: MH-E 8.2; nmh 1.3; GNU Emacs 23.1.1 X-Provags-ID: V02:K0:70qTFDin06tGBK8/mR0XP9/nje/1Do5ZeNCylg63YR4 LSGEHefqSJKAxP4l8+Lms9qQVLygmDJzqfJ1ti7USwDMxS2926 RBh6klYy4Nw1fnN2oAAPC3KPuhGT/rjLbCPKVQQtPRVPvBlBGg cvUHdBGR5unBFn+IXV/vWHmPiFixkxod8wgFG7MIO9Hc7Nq2i0 PO7eyIiMnEv7QSOlnb6szTFk02SO27E9RCmuXHPhiJgRr7FWKC VEs/aPGP/kYC6QtgrWt9jOPBUJUMA8oeo6WgMlNDl0L/rwmP9J ccDeFaKlRwrOq3/V8DVL1VkChRwBbeAheEw2j1KXJxHDKj/oMn eE/bUcfTbhBxxU6gjMUzZHFSGTSQMr0sX9G6zzn/MmG6fxP2sz PTBxPfTEYQrnN/wK/2ELVIAB2panFYzRQU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153290 Archived-At: Hi Stefan! Today Stefan Monnier wrote: >>> Does one of the 2 patches work? >> I'd need to compile and install an Emacs 24 version for this to try. >=20 > Actually, not just "Emacs 24" but "Emacs trunk" because it uses gv.el > which is new on the trunk. Sure. >>> My 1st patch has the downside that it doesn't call testcover-after at a= ll. >>> The reason is that I don't know what VAL to set in IDX when we do >>> things like (push VAL (testcover-after IDX PLACE)): should it be the >>> value read before pushing VAL onto it, or the value set afterwards? >> My cent: Before pushing VAL. AFAICS `testcover-after' needs to see >> PLACE unmodified. >=20 > So for (setf (testcover-after IDX PLACE) VAL), we should first read the > value of PLACE, pass it to testcover-after, and then modify PLACE to > have value VAL? This is my understanding. Gr=FC=DFe Stefan