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#11617: Don't use 'register'; these days it's not needed. Date: Mon, 04 Jun 2012 09:06:42 -0400 Message-ID: References: <4FCAFED3.4080008@cs.ucla.edu> <4FCB91E9.1060101@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1338815241 15335 80.91.229.3 (4 Jun 2012 13:07:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 13:07:21 +0000 (UTC) Cc: 11617@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 04 15:07:20 2012 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 1SbX0B-0002iy-Ig for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jun 2012 15:07:19 +0200 Original-Received: from localhost ([::1]:42706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbX0B-0005eZ-9I for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jun 2012 09:07:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbX04-0005e4-Kf for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2012 09:07:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SbWzy-0008U7-EN for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2012 09:07:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbWzy-0008Tg-Al for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2012 09:07:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SbX1p-0003FX-W7 for bug-gnu-emacs@gnu.org; Mon, 04 Jun 2012 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jun 2012 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11617 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11617-submit@debbugs.gnu.org id=B11617.133881532812472 (code B ref 11617); Mon, 04 Jun 2012 13:09:01 +0000 Original-Received: (at 11617) by debbugs.gnu.org; 4 Jun 2012 13:08:48 +0000 Original-Received: from localhost ([127.0.0.1]:56874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbX1c-0003F5-HK for submit@debbugs.gnu.org; Mon, 04 Jun 2012 09:08:48 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:42766) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbX1b-0003Eu-0F for 11617@debbugs.gnu.org; Mon, 04 Jun 2012 09:08:47 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09sr+UI/2dsb2JhbABEDrQDgQiCFQEBBAFWIwULCzQSFBgNJIgcBboJkEQDozOBWIIwVQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="188569030" Original-Received: from 108-175-229-8.dsl.teksavvy.com (HELO ceviche.home) ([108.175.229.8]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 04 Jun 2012 09:06:44 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0D21C660E0; Mon, 4 Jun 2012 09:06:42 -0400 (EDT) In-Reply-To: <4FCB91E9.1060101@cs.ucla.edu> (Paul Eggert's message of "Sun, 03 Jun 2012 09:33:45 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:60695 Archived-At: >> While `register' has been unnecessary for a while >> now, I don't see why it would hurt. > It hurts because it wastes developers' time, and has done so > for many years. No it doesn't and hasn't. > /* If we use `register' here, gcc-4.0.2 on amd64 using > -DUSE_LISP_UNION_TYPE complains further down that we're getting the > address of `force'. Go figure. */ Right, compilers have bugs, and we sometimes bump into them. If it's not with "register" it's with something else. > This stuff is all bogus and our lives would be a tiny bit simpler > if it vanished. In my world, the keyword "register" is just another kind of whitespace. So just like I don't want to install a patch that "cleans up the whitespace" I'd rather not install your patch. OTOH, just like for whitespace, it's perfectly fine for regular patches to remove "register" in the code they touch. Stefan