From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: code listp to determine wich os I'm running on Date: Fri, 31 Jan 2014 06:05:49 -0800 (PST) Message-ID: <35e8b02a-2cf9-4f21-8cb0-70504019de69@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1391177420 10407 80.91.229.3 (31 Jan 2014 14:10:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 14:10:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 31 15:10:28 2014 Return-path: Envelope-to: geh-help-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 1W9Enb-00053D-TZ for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 15:10:28 +0100 Original-Received: from localhost ([::1]:55794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Enb-0005CJ-FF for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 09:10:27 -0500 X-Received: by 10.66.218.70 with SMTP id pe6mr7876743pac.33.1391177149848; Fri, 31 Jan 2014 06:05:49 -0800 (PST) X-Received: by 10.50.131.134 with SMTP id om6mr576091igb.11.1391177149522; Fri, 31 Jan 2014 06:05:49 -0800 (PST) Original-Path: usenet.stanford.edu!c10no7580811igq.0!news-out.google.com!vg8ni3igb.0!nntp.google.com!uq10no7490621igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.1.38; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.1.38 User-Agent: G2/1.0 Injection-Date: Fri, 31 Jan 2014 14:05:49 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:203567 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95835 Archived-At: On Friday, January 31, 2014 6:58:36 PM UTC+5:30, Stefan Monnier wrote: > > (message system-type) > This should signal an error, since system-type is not a string and is > hence inappropriate for the first arg of message. > So, if you don't see any error message in your *Messages*, that means > this bit of code was not executed. > Stefan So you can do this instead (message "System is %s" system-type) [If you know printf in C this should make sense... No?]