From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#17630: 24.3.91; gv expander for a few places are incorrect Date: Thu, 29 May 2014 19:36:22 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401363512 1254 80.91.229.3 (29 May 2014 11:38:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2014 11:38:32 +0000 (UTC) To: 17630@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 29 13:38:24 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WpyfA-00020V-5j for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 13:38:24 +0200 Original-Received: from localhost ([::1]:47427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wpyf9-0004vx-L3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 07:38:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wpyex-0004ur-JE for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 07:38:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wpyeo-0004kk-IK for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 07:38:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wpyeo-0004kd-Fv for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 07:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wpyen-0003XT-TK; Thu, 29 May 2014 07:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: "Debbugs-submit" Resent-CC: monnier@iro.umontreal.ca, bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 May 2014 11:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17630 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.140136342513522 (code B ref -1); Thu, 29 May 2014 11:38:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 May 2014 11:37:05 +0000 Original-Received: from localhost ([127.0.0.1]:35267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wpyds-0003W1-Gp for submit@debbugs.gnu.org; Thu, 29 May 2014 07:37:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49610) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wpydq-0003VU-VO for submit@debbugs.gnu.org; Thu, 29 May 2014 07:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wpydc-0004XX-JK for submit@debbugs.gnu.org; Thu, 29 May 2014 07:36:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wpydc-0004XT-H3 for submit@debbugs.gnu.org; Thu, 29 May 2014 07:36:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpydT-0002Sh-FZ for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 07:36:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WpydK-0004Uh-DC for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 07:36:39 -0400 Original-Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]:64411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WpydK-0004Tt-5x for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 07:36:30 -0400 Original-Received: by mail-pb0-f44.google.com with SMTP id rq2so238709pbb.3 for ; Thu, 29 May 2014 04:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=8PlupxK4v1BYnz01nt6UzF6wbz3/XbhbghFej5gxsq8=; b=advUUi4XIgTIit5ViJtpTPceLW9dUVeXscQ2fNCmd4V4/4zb+AirBYPszaMQ2rI34Q 4I23BeGIGhTWn9Yw41Y33nb36Ln9YmMrXW9BZsiP4ooXCbYZO42PrIiiuZeoVcDKdbsw 9Y0TIeVvREHGyCQDB4w3Fz5oERiDROBNsaBhr4RLy/fmTWNYp8I1bpVGJN6+xVrayQzf e565jZ5P58GAL6D6Bf7iGzH2Y/HEovKqMliquRGMFjSlLU1RKM0nyTKcMl6/qEllGEto a30Jw9rDtX7ERFdE7dysv9IIpfDPPlg2+REglNc6GXOPFLE+YsiF4CxyIfROnmW8KtOQ dQTQ== X-Received: by 10.66.146.199 with SMTP id te7mr8164866pab.106.1401363388336; Thu, 29 May 2014 04:36:28 -0700 (PDT) Original-Received: from fortuna ([222.130.180.115]) by mx.google.com with ESMTPSA id dz4sm1974924pab.47.2014.05.29.04.36.26 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Thu, 29 May 2014 04:36:27 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89668 Archived-At: Hi Stefan, These are incorrect: (gv-define-simple-setter window-buffer set-window-buffer) (gv-define-simple-setter window-display-table set-window-display-table 'fix) (gv-define-simple-setter window-dedicated-p set-window-dedicated-p) (gv-define-simple-setter window-hscroll set-window-hscroll) (gv-define-simple-setter window-point set-window-point) (gv-define-simple-setter window-start set-window-start) 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. Leo