From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#8838: tty-run-terminal-initialization fails Date: Tue, 14 Jun 2011 13:16:40 -0400 Message-ID: References: <87y616hdsc.fsf@lifelogs.com> <877h8ouze7.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1308073717 7448 80.91.229.12 (14 Jun 2011 17:48:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 17:48:37 +0000 (UTC) To: 8838@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 14 19:48:33 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWXj6-0001AX-T8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 19:48:33 +0200 Original-Received: from localhost ([::1]:60238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXj5-000797-O2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 14 Jun 2011 13:48:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXEe-0007zi-77 for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 13:17:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QWXEc-0001UV-RW for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 13:17:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXEc-0001UR-Ir for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2011 13:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QWXEb-0000aM-KI; Tue, 14 Jun 2011 13:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2011 17:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8838 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8838-submit@debbugs.gnu.org id=B8838.13080718082224 (code B ref 8838); Tue, 14 Jun 2011 17:17:01 +0000 Original-Received: (at 8838) by debbugs.gnu.org; 14 Jun 2011 17:16:48 +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 1QWXEO-0000Zo-2F for submit@debbugs.gnu.org; Tue, 14 Jun 2011 13:16:48 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QWXEM-0000Ze-6L for 8838@debbugs.gnu.org; Tue, 14 Jun 2011 13:16:46 -0400 Original-Received: from localhost ([127.0.0.1]:51333) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QWXEG-0000KJ-9I; Tue, 14 Jun 2011 13:16:40 -0400 X-Spook: president quiche Medco Juiliett Class Submarine Albania X-Ran: )%tyIA46Ocu([Sx/aUG!J]K:]HA~lv:h8RmOru~;.22JdfGym?!ry4xW2UyCA]YH&#Ty^H X-Hue: red X-Attribution: GM In-Reply-To: <877h8ouze7.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 14 Jun 2011 11:54:40 -0500") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 14 Jun 2011 13:17:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:47139 Archived-At: Ted Zlatanov wrote: > On Sun, 12 Jun 2011 17:42:59 -0500 Ted Zlatanov wrote: > > TZ> I disagree with replacing `when' with `if' in the case of just one > TZ> clause, which you did in several places. Rather than simplifying the > TZ> code, it complicates reading it IMO. Since `when' is a macro I think > TZ> any performance gains are minor. > > Glenn, can you reply to this please? If `when' should be discouraged, > tell me so, otherwise I'm not sure why you changed it. Oh, sorry. Just personal preference. I don't see the point of using: (when single-form) since it expands to (if (progn single-form)) which seems like a waste of a progn to me. (Maybe the compiler optimizes it away though, I don't actually know.) In this case, I think I was just put in an anti-when mood by things of the form: (when a (when b ...))