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 09:15:08 -0800 (PST) Message-ID: References: <35e8b02a-2cf9-4f21-8cb0-70504019de69@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1391188528 27191 80.91.229.3 (31 Jan 2014 17:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 17:15:28 +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 18:15:36 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 1W9Hgf-0002bG-Cv for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 18:15:29 +0100 Original-Received: from localhost ([::1]:57176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9Hge-0003Dh-ST for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 12:15:28 -0500 X-Received: by 10.50.153.69 with SMTP id ve5mr8757251igb.7.1391188509458; Fri, 31 Jan 2014 09:15:09 -0800 (PST) X-Received: by 10.50.222.166 with SMTP id qn6mr403421igc.16.1391188509364; Fri, 31 Jan 2014 09:15:09 -0800 (PST) Original-Path: usenet.stanford.edu!uq10no7605009igb.0!news-out.google.com!vg8ni3igb.0!nntp.google.com!uq10no7604999igb.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.58.22; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.58.22 User-Agent: G2/1.0 Injection-Date: Fri, 31 Jan 2014 17:15:09 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:203572 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:95841 Archived-At: On Friday, January 31, 2014 10:32:36 PM UTC+5:30, Renato wrote: > > So you can do this instead > > (message "System is %s" system-type) > > [If you know printf in C this should make sense... No?] > Ok, I've Done it. I've puteed it as a first line. > My last line of messages buffer...say: > "Loading /home/renato/Dropbox/emacs_prof/.emacs...done" > it seems like it execute the entire .emacs but not the (message...) > Why? :-( Do you know that your init file is being reached at all?? init file means either .emacs.d/init.el or .emacs (file) Simple way to check -- put a bunch of open-parens without close Like this in the file (((((( You should see something like this on starting emacs -------------------- Warning (initialization): An error occurred while loading `/home/renato/.emacs.d/init.el': End of file during parsing: /home/renato/.emacs.d/init.el To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. --------------------- If not then you need to match your notion of init file with emacs variable 'user-init-file'