help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: code listp to determine wich os I'm running on


From: Rusi
Subject: Re: code listp to determine wich os I'm running on
Date: Fri, 31 Jan 2014 09:15:08 -0800 (PST)
User-agent: G2/1.0

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'


reply via email to

[Prev in Thread] Current Thread [Next in Thread]