From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7848: 23.2.91; Can't build with MinGW Date: Sun, 16 Jan 2011 10:21:53 -0500 Message-ID: References: <20110115073410.74410360038@msa102.auone-net.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295191495 23143 80.91.229.12 (16 Jan 2011 15:24:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2011 15:24:55 +0000 (UTC) Cc: kzhr@d1.dion.ne.jp, 7848@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 16 16:24:51 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PeUTF-00013B-VC for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jan 2011 16:24:51 +0100 Original-Received: from localhost ([127.0.0.1]:45536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeUTB-0000WN-TE for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jan 2011 10:24:41 -0500 Original-Received: from [140.186.70.92] (port=36006 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeUT6-0000Kx-8y for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 10:24:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeUSz-0007Ec-0Q for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 10:24:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeUSy-0007EY-VH for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2011 10:24:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PeUJr-000352-3w; Sun, 16 Jan 2011 10:15:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jan 2011 15:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7848 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7848-submit@debbugs.gnu.org id=B7848.129519085511773 (code B ref 7848); Sun, 16 Jan 2011 15:15:03 +0000 Original-Received: (at 7848) by debbugs.gnu.org; 16 Jan 2011 15:14:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PeUJ4-00033p-PN for submit@debbugs.gnu.org; Sun, 16 Jan 2011 10:14:14 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PeUJ3-00033e-CM for 7848@debbugs.gnu.org; Sun, 16 Jan 2011 10:14:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAOebMk1FxKhC/2dsb2JhbACkaHS8OYVQBIRwjjY X-IronPort-AV: E=Sophos;i="4.60,330,1291611600"; d="scan'208";a="88216221" Original-Received: from 69-196-168-66.dsl.teksavvy.com (HELO pastel.home) ([69.196.168.66]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 16 Jan 2011 10:21:54 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id C129359097; Sun, 16 Jan 2011 10:21:53 -0500 (EST) In-Reply-To: (Eli Zaretskii's message of "Sun, 16 Jan 2011 05:03:54 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 16 Jan 2011 10:15:03 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43399 Archived-At: >> I would recommend to stay away from such low-level code unless you're >> writing code that tries to implement part of the binding-semantics >> of Emacs. I.e. just use Fset. > Using Fset here would be a terrible overkill, IMO. Overkill? For code that's not even inside a loop? What are you talking about? > I'm not even sure I understand all of its semantics, The semantics of Fset are the same as the ones of `setq' which you use days-in days-out in Elisp. I.e. it's the semantics you know best, whereas the semantics of SET_SYMBOL_VAL are a lot more tricky. > and not sure it will work correctly in the context of an init_* > function that is called when Emacs is dumped. Yes, it'll work just fine, pretty much in any context (the only tricky context in this respect is when/before the `nil' symbol&variable and the `unbound' value are built, AFAIK). > OTOH, direct assignments of symbol's value like above _are_ > used in several init_* functions and elsewhere. I've fixed some of those in the past, and feel free to fix more of them. > Also, I wanted to un-break the release branch as fast as I could. I'm not complaining, at all. Just giving advice. Stefan