GNU bug report logs - #17630
24.3.91; gv expander for a few places are incorrect

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Thu, 29 May 2014 11:38:01 UTC

Severity: normal

Found in version 24.3.91

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Leo Liu <sdl.web <at> gmail.com>
Cc: 17630 <at> debbugs.gnu.org
Subject: Re: bug#17630: 24.3.91; gv expander for a few places are incorrect
Date: Thu, 29 May 2014 09:18:13 -0400
> The getter allows optional WINDOW arg but the setter requires WINDOW
> arg. For example:

>   (setf (window-buffer) (get-buffer "abc")) expands incorrectly to
>   (set-window-buffer (get-buffer "abc"))

> They should probably all be re-defined using gv-define-setter.

Indeed.  Tho maybe a better fix is to get rid of the asymmetry between
the getter and the setter.


        Stefan




This bug report was last modified 11 years and 44 days ago.

Previous Next


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