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#14490: Error in specman-mode.el Date: Tue, 28 May 2013 13:18:55 -0400 Message-ID: References: <91A8B526F6DDB848989BEB63B5F1C33567AD6451@USMAExch1.tad.internal.tilera.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369761603 19021 80.91.229.3 (28 May 2013 17:20:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 May 2013 17:20:03 +0000 (UTC) Cc: 14490@debbugs.gnu.org To: Ethan Berger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 28 19:20:03 2013 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 1UhNZ4-0004HT-Hy for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2013 19:20:02 +0200 Original-Received: from localhost ([::1]:48711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhNZ3-0003Iq-Vq for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 May 2013 13:20:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhNYv-0003Ha-8j for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 13:19:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhNYl-00043i-EI for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 13:19:53 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhNYl-00043e-Ah for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 13:19:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UhNa2-0007xv-8M for bug-gnu-emacs@gnu.org; Tue, 28 May 2013 13:21: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: Tue, 28 May 2013 17:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14490 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14490-submit@debbugs.gnu.org id=B14490.136976161930551 (code B ref 14490); Tue, 28 May 2013 17:21:02 +0000 Original-Received: (at 14490) by debbugs.gnu.org; 28 May 2013 17:20:19 +0000 Original-Received: from localhost ([127.0.0.1]:37780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UhNZK-0007wg-3K for submit@debbugs.gnu.org; Tue, 28 May 2013 13:20:19 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:48863) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UhNZI-0007wX-1i for 14490@debbugs.gnu.org; Tue, 28 May 2013 13:20:16 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r4SHIt7W013943; Tue, 28 May 2013 13:18:56 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id BBBA8B4319; Tue, 28 May 2013 13:18:55 -0400 (EDT) In-Reply-To: <91A8B526F6DDB848989BEB63B5F1C33567AD6451@USMAExch1.tad.internal.tilera.com> (Ethan Berger's message of "Tue, 28 May 2013 15:56:57 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4593=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4593> : streams <969671> : uri <1432417> 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.x 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:74618 Archived-At: > ;; emacs or xemacs > (if (or (string-match "Lucid" emacs-version) > (string-match "XEmacs" emacs-version)) > (setq specman-emacs-kind 'xemacs) > (setq specman-emacs-kind 'emacs)) BTW, the standard recommended way to test is (featurep 'xemacs) and rather than store the result in a variable, it's better to repeat the test everywhere you need it, because the compiler will handle it more efficiently (whereas if it's stored in a variable, the compiler won't be able to tell that you'll never change the variable). Stefan