From unknown Sun Jun 22 07:59:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13343: 24.3.50; give examples using `gv-define-expander' and `gv-letplace' Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jan 2013 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13343@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.13571708575886 (code B ref -1); Wed, 02 Jan 2013 23:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jan 2013 23:54:17 +0000 Received: from localhost ([127.0.0.1]:40538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqY8U-0001Wq-L9 for submit@debbugs.gnu.org; Wed, 02 Jan 2013 18:54:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34513) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqY8O-0001Wc-5E for submit@debbugs.gnu.org; Wed, 02 Jan 2013 18:54:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqY71-0000Aw-Lm for submit@debbugs.gnu.org; Wed, 02 Jan 2013 18:52:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-104.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:41914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqY71-0000Ar-IV for submit@debbugs.gnu.org; Wed, 02 Jan 2013 18:52:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqY6z-0001Ns-I6 for bug-gnu-emacs@gnu.org; Wed, 02 Jan 2013 18:52:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqY6y-0000AW-Ec for bug-gnu-emacs@gnu.org; Wed, 02 Jan 2013 18:52:41 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:27751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqY6y-0000AJ-7N for bug-gnu-emacs@gnu.org; Wed, 02 Jan 2013 18:52:40 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r02Nqbh7003260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Jan 2013 23:52:38 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r02NqbCB015757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jan 2013 23:52:37 GMT Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r02NqboC021422 for ; Wed, 2 Jan 2013 17:52:37 -0600 Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 02 Jan 2013 15:52:37 -0800 From: "Drew Adams" Date: Wed, 2 Jan 2013 15:52:35 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac3pRD0LsRWW2Sq2STKhQ+6qvL3N5A== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) (elisp) `Adding Generalized Variables' says only this: For more control over the expansion, see the macro `gv-define-expander'. The macro `gv-letplace' can be useful in defining macros that perform similarly to `setf'; for example, the `incf' macro of Common Lisp. Consult the source file `gv.el' for more details. That's a complete cop-out. Give at least one example of using each of `gv-define-expander' and `gv-letplace'. Telling users to refer to gv.el for information about using these macros is off-base. Neither the commentary in that file nor the doc strings of these two macros help. We should not send users off to analyze the _implementation_ of these macros in order to figure out how to use them to define generalized variables. We should describe what these macros do specifically, and show how to use them. All the current doc says, to describe these macros, is (a) `gv-define-expander' gives you "more control" and (b) `gv-letplace' "can be useful". "See the macro", indeed. See what? It's implementation? Emacs users deserve better. In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600) of 2012-12-31 on ODIEONE Bzr revision: 111388 rudalics@gmx.at-20121231113513-subz2dazg6yjukzh Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib' From unknown Sun Jun 22 07:59:59 2025 X-Loop: help-debbugs@gnu.org Subject: bug#13343: 24.3.50; give examples using `gv-define-expander' and `gv-letplace' Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Aug 2019 06:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Drew Adams" Cc: 13343@debbugs.gnu.org Received: via spool by 13343-submit@debbugs.gnu.org id=B13343.156593870925625 (code B ref 13343); Fri, 16 Aug 2019 06:59:02 +0000 Received: (at 13343) by debbugs.gnu.org; 16 Aug 2019 06:58:29 +0000 Received: from localhost ([127.0.0.1]:52977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyWBx-0006fF-2m for submit@debbugs.gnu.org; Fri, 16 Aug 2019 02:58:29 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyWBv-0006f4-2E for 13343@debbugs.gnu.org; Fri, 16 Aug 2019 02:58:27 -0400 Received: from [50.225.213.182] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyWBq-0003Dc-Jl; Fri, 16 Aug 2019 08:58:25 +0200 From: Lars Ingebrigtsen References: Date: Thu, 15 Aug 2019 23:58:19 -0700 In-Reply-To: (Drew Adams's message of "Wed, 2 Jan 2013 15:52:35 -0800") Message-ID: <87ftm1r3zo.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Drew Adams" writes: > (elisp) `Adding Generalized Variables' says only this: > > For more control over the expansion, see the macro `gv-define-expander'. > The macro `gv-letplace' can be useful in defining macros that pe [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Drew Adams" writes: > (elisp) `Adding Generalized Variables' says only this: > > For more control over the expansion, see the macro `gv-define-expander'. > The macro `gv-letplace' can be useful in defining macros that perform > similarly to `setf'; for example, the `incf' macro of Common Lisp. > Consult the source file `gv.el' for more details. > > That's a complete cop-out. Give at least one example of using each of > `gv-define-expander' and `gv-letplace'. I've now added this to the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 16 02:58:35 2019 Received: (at control) by debbugs.gnu.org; 16 Aug 2019 06:58:35 +0000 Received: from localhost ([127.0.0.1]:52980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyWC3-0006fa-FC for submit@debbugs.gnu.org; Fri, 16 Aug 2019 02:58:35 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyWC2-0006fQ-2f for control@debbugs.gnu.org; Fri, 16 Aug 2019 02:58:34 -0400 Received: from [50.225.213.182] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hyWBz-0003Dj-3P for control@debbugs.gnu.org; Fri, 16 Aug 2019 08:58:33 +0200 Date: Thu, 15 Aug 2019 23:58:28 -0700 Message-Id: <87ef1lr3zf.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13343 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 13343 fixed close 13343 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 13343 fixed close 13343 27.1 quit