unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22766: 25.0.91; (info "(elisp) Declare Form"): gv-setter: mention FIX-RETURN arg
@ 2016-02-22 13:48 Michael Heerdegen
       [not found] ` <jwva8msbx0b.fsf-monnier+emacsbugs@gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2016-02-22 13:48 UTC (permalink / raw)
  To: 22766; +Cc: Stefan Monnier


Hello,

after reading the gv.el code, AFAICT the `gv-setter' declaration form
for `defun' accepts a second optional arg FIX-RETURN (that is actually
useful).

Can you confirm, Stefan?  Then we should adopt the info node mentioned
in the subject accordingly, I think.


Regards,

Michael.




In GNU Emacs 25.0.91.7 (x86_64-pc-linux-gnu, GTK+ Version 3.18.7)
 of 2016-02-22 built on drachen
Repository revision: 29757844e578706b23baaf361336629a8f10ed15
Windowing system distributor 'The X.Org Foundation', version 11.0.11801000
System Description:	Debian GNU/Linux testing (stretch)

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_COLLATE: C
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#22766: 25.0.91; (info "(elisp) Declare Form"): gv-setter: mention FIX-RETURN arg
       [not found]       ` <877fhwitzf.fsf@web.de>
@ 2016-02-22 17:01         ` Stefan Monnier
  2016-02-22 20:28           ` Michael Heerdegen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2016-02-22 17:01 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 22766

> What don't you like in the current implementation?

Nothing.  What I don't like is the reliance on setf's return value
(which is the original reason for the need of fix-return).  But going
against CommonLisp's convention (and Elisp's setq behavior) is not on
the agenda [sadly for me].


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#22766: 25.0.91; (info "(elisp) Declare Form"): gv-setter: mention FIX-RETURN arg
  2016-02-22 17:01         ` Stefan Monnier
@ 2016-02-22 20:28           ` Michael Heerdegen
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Heerdegen @ 2016-02-22 20:28 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 22766-done

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

> > What don't you like in the current implementation?
>
> Nothing.  What I don't like is the reliance on setf's return value
> (which is the original reason for the need of fix-return).  But going
> against CommonLisp's convention (and Elisp's setq behavior) is not on
> the agenda [sadly for me].

Ah, thanks for elaborating.  So let's keep what we have for now.


Regards,

Michael.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-22 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 13:48 bug#22766: 25.0.91; (info "(elisp) Declare Form"): gv-setter: mention FIX-RETURN arg Michael Heerdegen
     [not found] ` <jwva8msbx0b.fsf-monnier+emacsbugs@gnu.org>
     [not found]   ` <87bn78iwso.fsf@web.de>
     [not found]     ` <jwv4md0buro.fsf-monnier+emacsbugs@gnu.org>
     [not found]       ` <877fhwitzf.fsf@web.de>
2016-02-22 17:01         ` Stefan Monnier
2016-02-22 20:28           ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).