GNU bug report logs - #13343
24.3.50; give examples using `gv-define-expander' and `gv-letplace'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: "Drew Adams" <drew.adams@HIDDEN>; dated Wed, 2 Jan 2013 23:55:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Jan 2013 23:54:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 02 18:54:17 2013
Received: from localhost ([127.0.0.1]:40538 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TqY8U-0001Wq-L9
	for submit <at> 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 <drew.adams@HIDDEN>) id 1TqY8O-0001Wc-5E
	for submit <at> 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 <drew.adams@HIDDEN>) id 1TqY71-0000Aw-Lm
	for submit <at> 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 <drew.adams@HIDDEN>) id 1TqY71-0000Ar-IV
	for submit <at> 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 <drew.adams@HIDDEN>) id 1TqY6z-0001Ns-I6
	for bug-gnu-emacs@HIDDEN; Wed, 02 Jan 2013 18:52:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@HIDDEN>) id 1TqY6y-0000AW-Ec
	for bug-gnu-emacs@HIDDEN; 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 <drew.adams@HIDDEN>) id 1TqY6y-0000AJ-7N
	for bug-gnu-emacs@HIDDEN; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; 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 <bug-gnu-emacs@HIDDEN>; 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" <drew.adams@HIDDEN>
To: <bug-gnu-emacs@HIDDEN>
Subject: 24.3.50; give examples using `gv-define-expander' and `gv-letplace'
Date: Wed, 2 Jan 2013 15:52:35 -0800
Message-ID: <AC9A8DEABD534C5D941BADBE89446CE0@HIDDEN>
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> 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@HIDDEN
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'
 





Acknowledgement sent to "Drew Adams" <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#13343; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.