From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master baf1a7a4a0: Turn gv-synthetic-place into a function Date: Thu, 22 Sep 2022 19:45:21 +0300 Message-ID: <83wn9vqrxa.fsf@gnu.org> References: <835yhkzmn8.fsf@gnu.org> <878rmfx51p.fsf@web.de> <831qs7zj9e.fsf@gnu.org> <87v8piec78.fsf@web.de> <834jx2xphy.fsf@gnu.org> <878rmenmd4.fsf@web.de> <87sfklgmba.fsf@dataswamp.org> <87edw4bzrp.fsf@web.de> <83y1ucu4k9.fsf@gnu.org> <87y1ub7kjp.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29663"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Howard Melman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 22 21:09:43 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obRZv-0007XJ-Fn for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Sep 2022 21:09:43 +0200 Original-Received: from localhost ([::1]:38636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obRZu-0006g8-I7 for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Sep 2022 15:09:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54110) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obPK8-0005j3-Sq for emacs-devel@gnu.org; Thu, 22 Sep 2022 12:45:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43784) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obPK8-00071l-Jm; Thu, 22 Sep 2022 12:45:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=aiYx3x+S6rTzV3vUknAYOd2d3W9Koq5J5GuA3S5K4RA=; b=LorOhKx052l1eT+n1VRg dvLfI49Jz3XBYZo3R4MKe6P+g3ozqeBm+vhHuaWa9p3n2ocxyykbbK5hmJYhS+U1BNPdqOYxGU5nF 3I1IVb1nOqpr/bUIiFfYHk4IIk6VlWzGHWi+yTAQ5lmv43HdYfI6vQzRXd7WoG5krUp7oRew5jiiY nAkQl/3q1p9piHXZrUVZb3bDOsVnvQ0iknzky5r/+DEXBcDzJWCNJTDGg5GOXhz3I79w3Wm2EdIjE sSMR+GVtzWp6kFgxRcM5EzxFcUn8oxp8DxsqoMueYsfowcwa31S3IBczoPRemqQ0U0PLFELJIm7WN l7GVGnFssWykEw==; Original-Received: from [87.69.77.57] (port=3730 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obPK2-0007az-JK; Thu, 22 Sep 2022 12:45:16 -0400 In-Reply-To: (message from Howard Melman on Thu, 22 Sep 2022 10:11:14 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296001 Archived-At: > From: Howard Melman > Date: Thu, 22 Sep 2022 10:11:14 -0400 > > And I think rather than > > -- Macro: setf [place form]... > This macro evaluates FORM and stores it in PLACE, which must be a > valid generalized variable form. If there are several PLACE and > FORM pairs, the assignments are done sequentially just as with > ‘setq’. ‘setf’ returns the value of the last FORM. > > I'd prefer > > -- Macro: setf [gv val]... > This macro evaluates VAL and stores it in GV, which must be a > valid generalized variable form. If there are several GV and > VAL pairs, the assignments are done sequentially just as with > ‘setq’. ‘setf’ returns the value of the last VAL. VAL stands for "value", and talking about "evaluating a value" makes little sense, IMO. How about This macro evaluates FORM and stores its value in PLACE, ...