Conversation:
Notices
-
vanden (vanden)'s status on Monday, 13-Aug-2012 02:32:59 EDT
vanden
How can I test in elisp if !emacs is running in a terminal rather than under X windows? My google-fu is evidently weak right now. -
archena (archena)'s status on Monday, 13-Aug-2012 04:12:10 EDT
archena
Not sure what you mean - is M-x ielm what you want, maybe? -
m2951413 (m2951413)'s status on Monday, 13-Aug-2012 04:18:57 EDT
m2951413
@vanden my .emacs has: (if (not window-system) -
arnebab (arnebab)'s status on Monday, 13-Aug-2012 04:24:58 EDT
arnebab
@vanden @m2951413 `C-h f window-system` suggests to use `display-graphic-p' or any of the other `display-*-p' !emacs -
m2951413 (m2951413)'s status on Monday, 13-Aug-2012 04:38:56 EDT
m2951413
@arnebab good to know. parts of my .emacs are still from the first time i ever used !emacs -
arnebab (arnebab)'s status on Monday, 13-Aug-2012 04:56:05 EDT
arnebab
@m2951413 same for me… :) → http://xkcd.com/297/ -
m2951413 (m2951413)'s status on Monday, 13-Aug-2012 05:37:56 EDT
m2951413
@arnebab yaah. Alas, I still haven't found my fathers parentheses, i.e. I still suck at (e)lisp. -
arnebab (arnebab)'s status on Monday, 13-Aug-2012 05:40:03 EDT
arnebab
@m2951413 you will find your way to the force (of lisp) ☺ — I am no great lisp hacker, either, just minor stuff for my !emacs -
vanden (vanden)'s status on Monday, 13-Aug-2012 08:58:02 EDT
vanden
@m2951413 Thanks, that sorts me. (Also seems obvious, now you say it out loud.) Thanks too to @arnebab and @archena. -
archena (archena)'s status on Monday, 13-Aug-2012 09:00:31 EDT
archena
@vanden oh I see what you meant now. Sorry, my answer wasn't helpful at all ;) -
drysdam (drysdam)'s status on Monday, 13-Aug-2012 10:31:44 EDT
drysdam
You are a step ahead of me. I never even considered there might be a way TO tell. *dives into .emacs to see what needs fixing* -
vanden (vanden)'s status on Monday, 13-Aug-2012 10:51:26 EDT
vanden
@drysdam :-) Only thing I had that conflicts is code from http://ur1.ca/9xble to maximize the frame. emacs complains of that in a terminal.
-