From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#27016: possible bug in `defsetf' Date: Thu, 25 May 2017 00:51:37 +0200 Message-ID: <87r2zdc1hi.fsf@drachen> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495666490 13181 195.159.176.226 (24 May 2017 22:54:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 24 May 2017 22:54:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27016@debbugs.gnu.org, npostavs@users.sourceforge.net To: Rafael D Sorkin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 25 00:54:46 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDfB0-0003J6-Jv for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 May 2017 00:54:46 +0200 Original-Received: from localhost ([::1]:57135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDfB4-0008J9-Ez for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 May 2017 18:54:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDf9N-0007B3-W2 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 18:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDf9K-0007Ia-Ov for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 18:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34027) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDf9K-0007Hi-M9 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 18:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDf9K-0002GG-34 for bug-gnu-emacs@gnu.org; Wed, 24 May 2017 18:53:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 May 2017 22:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27016-submit@debbugs.gnu.org id=B27016.14956663228622 (code B ref 27016); Wed, 24 May 2017 22:53:02 +0000 Original-Received: (at 27016) by debbugs.gnu.org; 24 May 2017 22:52:02 +0000 Original-Received: from localhost ([127.0.0.1]:36704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDf8L-0002Es-Tk for submit@debbugs.gnu.org; Wed, 24 May 2017 18:52:02 -0400 Original-Received: from mout.web.de ([212.227.15.14]:58447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDf8K-0002EX-G5 for 27016@debbugs.gnu.org; Wed, 24 May 2017 18:52:01 -0400 Original-Received: from drachen.dragon ([94.216.140.150]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Ly7vR-1dzUNT4BC1-015dyc; Thu, 25 May 2017 00:51:39 +0200 X-Provags-ID: V03:K0:fiJzGlzDODcEDabu2/G5MUsGmu4KKRfvUl1WF5em9uLqFLKrsXI IIX0QhOAhfTp2+4FSsKHBWgMowhyii2Q++/J6/SakP1OwjTzneJfU/ofGvtBaD7Q8BB5RPR 0wx8hrRmL4+wZfnmpEMundfc5+jfYcJ6fb/dgb5cvykdbKsvC0huxAiKKabGaXYYXq9LTFe /wooP6mrVVTe07PzfroTA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ENKeO4Ea6Ac=:GxYF+apWz0q67+K+dF0oAU jqsRD5srqEovXHYLd6tZHOIbV1CcQviHKph0z6CT6N+GTRf/LDvbuT66CZNNJME/rvXzbo54X JRLtMJWivoAE4v4D8sIgr5qVQ0LGluTuu/GPqNAjGgwXJ5QVoqVIm/ZTlSCbETYH4MwWNUFEF JI21QSAIE7vosYQ68mBtnhjZp5jX3daXo04kaVcMuBWfA8bLHbeGrOkT4ixig6l4ebqwIvGhw u26KzvF0xIEPmG94IRDVaCk/XdVNOtALWcd4E4vD1JvrAfSicTUb6lJHcXi4GaBXqsMiatc5E y/To+JYmZrhuE87Q0BcLb9aBrmcTmLD91F2RVmg2utG1k/gv55VxZgi25tvV06J709G1Zcq4m zq9s6GIaTSiEZRPLECAvtIk9baadMrZPFuE6bPjlzEZITy+7KtJdCSeYNYcJDJK7BCAeSuMMY WZ5F0byJO8RfbAi/j0+MTewRn66sehr1s1IjvMk97DY5wL5OLJQNtnCw9TZbmXn0/tAjb807B M2TPGwmLrFlasAntXhtbvUaCFca/UYgooyRxxuVdkmWLPSlMGWzJ/TfFC/yEGsw0MDVsboF8A MOFQ2XnpnlqK/oPTLekpw464ea6ifghXfOD3tDvFTV7uJYP96WZkHw5DCy8s0NLdGzIlIfsfU D88bc3dLKvaPnffrgnWW6yIeRu+1t+wcYZ7trxMW+DtfRiH9GXNBnrCbUp79co+k55bkMFNrg JjKQ2cYLUM8tfJpviFK6XAobXVc+1kQOZQoqoK70Jpa9bMKWRS/r10YIk5z/HUg8hqszaCU+ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:132812 Archived-At: Rafael D Sorkin writes: > I had a defsetf inside a conditional in a file that was to be > loaded and/or compiled and then loaded. (Compilation isn't > really the issue.) Before loading that file I set a "switch" > which the conditional referred to. That way a defsetf done > before loading the file could be either overridden or not, as > desired. Can't you just `defsetf' unconditionally to a named function, and change that function's definition when appropriate (in a conditional)? Michael.