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

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Wed, 2 Jan 2013 23:55:02 UTC

Severity: minor

Tags: fixed

Found in version 24.3.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13343 in the body.
You can then email your comments to 13343 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13343; Package emacs. (Wed, 02 Jan 2013 23:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 02 Jan 2013 23:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; give examples using `gv-define-expander' and `gv-letplace'
Date: Wed, 2 Jan 2013 15:52:35 -0800
(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 <at> 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'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13343; Package emacs. (Fri, 16 Aug 2019 06:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 13343 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 13343 <at> debbugs.gnu.org
Subject: Re: bug#13343: 24.3.50; give examples using `gv-define-expander'
 and `gv-letplace'
Date: Thu, 15 Aug 2019 23:58:19 -0700
"Drew Adams" <drew.adams <at> oracle.com> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Aug 2019 06:59:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 13343 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Aug 2019 06:59:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Sep 2019 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 220 days ago.

Previous Next


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