From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11617: Don't use 'register'; these days it's not needed. Date: Sun, 03 Jun 2012 17:24:24 +0300 Message-ID: <831ulwcw2v.fsf@gnu.org> References: <4FCAFED3.4080008@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1338733519 27949 80.91.229.3 (3 Jun 2012 14:25:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Jun 2012 14:25:19 +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 Sun Jun 03 16:25:17 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 1SbBk3-0001r4-8K for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2012 16:25:15 +0200 Original-Received: from localhost ([::1]:54520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbBk3-00038P-0b for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jun 2012 10:25:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbBk0-00038K-Kk for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2012 10:25:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SbBjy-0001eq-Tp for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2012 10:25:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbBjy-0001em-Q7 for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2012 10:25:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SbBll-0001DF-V5 for bug-gnu-emacs@gnu.org; Sun, 03 Jun 2012 10:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jun 2012 14:27: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: Original-Received: via spool by 11617-submit@debbugs.gnu.org id=B11617.13387335984632 (code B ref 11617); Sun, 03 Jun 2012 14:27:01 +0000 Original-Received: (at 11617) by debbugs.gnu.org; 3 Jun 2012 14:26:38 +0000 Original-Received: from localhost ([127.0.0.1]:55836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbBlN-0001Ce-Oa for submit@debbugs.gnu.org; Sun, 03 Jun 2012 10:26:37 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:51560) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SbBl2-0001C6-DP for 11617@debbugs.gnu.org; Sun, 03 Jun 2012 10:26:35 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M5100I00P8ODD00@a-mtaout23.012.net.il> for 11617@debbugs.gnu.org; Sun, 03 Jun 2012 17:24:18 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M5100I2LPCH4W80@a-mtaout23.012.net.il>; Sun, 03 Jun 2012 17:24:18 +0300 (IDT) In-reply-to: <4FCAFED3.4080008@cs.ucla.edu> X-012-Sender: halo1@inter.net.il 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:60666 Archived-At: > Date: Sat, 02 Jun 2012 23:06:11 -0700 > From: Paul Eggert > > Attached is a patch to remove 'register' from the mainline > Emacs source code. FWIW, I see no compelling reason for this change, even after I've read the explanations. This keyword is a cue to the compiler, so it in general conveys non-trivial information. If today's compilers mostly ignore that, it doesn't mean this will always be the state of affairs. However, by removing this, we lose those cues forever. I guess I won't be convinced without seeing at least some data about the disadvantages, and not just a few extreme examples with some particular versions of some specific compilers. But this isn't my call, so perhaps you don't need to convince me.