all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Subject: Re: How to detect if Emacs is running in a terminal
Date: Sat, 16 Apr 2005 17:30:11 +0200	[thread overview]
Message-ID: <afe6b9fe08d5e80171b17e53edb9c4f1@Web.DE> (raw)
In-Reply-To: <8764yn8v4o.fsf@thalassa.informatimago.com>


Am 16.04.2005 um 01:42 schrieb Pascal Bourguignon:

>> (cond ((= 21 emacs-major-version)
>>    (progn
>>      (desktop-read)
>>      (cond ((string= "x" window-system)
>
> There is this notion of a symbol in List & Intelligent Symbol 
> Processing
> language.  Perhaps you read some about it...

That might have happend. I read/browsed a few times in the Elisp info 
nodes since I am European and have to struggle like Laokoon with 
charsets and encodings and other snails, and the words you use remind 
me of things I have read or heard before ... in ads?

Is it that I compare strings? `window-system´ is documented as being, a 
bit metaphorical, a symbol. The value can be an `x´, which looks like a 
very short string. So I imagined a string comparison should be OK ...

Or is it that I do not quote the symbol?

>
> Try: M-x info RET m elisp RET m symbols RET

Today I can't find the right pointer that would help my understanding 
-- I am a bit old today too and Lisp (and other programming languages) 
are hard to decipher and even harder to write for me. I think awk, sed, 
and shell are fine for programming ...

--
Greetings

   Pete

These are my principles and if you don't like them... well, I have 
others. - Groucho Marx



--
Mit friedvollen Grüßen

   Pete

When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
                 -- Rinzai, ninth century Zen master

  reply	other threads:[~2005-04-16 15:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-15 15:10 How to detect if Emacs is running in a terminal Denis Bueno
2005-04-15 22:56 ` Peter Dyballa
     [not found] ` <mailman.1688.1113606088.2895.help-gnu-emacs@gnu.org>
2005-04-15 23:42   ` Pascal Bourguignon
2005-04-16 15:30     ` Peter Dyballa [this message]
     [not found] <mailman.1647.1113578084.2895.help-gnu-emacs@gnu.org>
2005-04-15 15:32 ` David Kastrup
2005-04-15 15:56 ` Stefan Monnier
2005-04-15 16:11 ` Pascal Bourguignon
2005-04-16 12:05   ` Ismael Valladolid Torres
     [not found]   ` <mailman.1726.1113653312.2895.help-gnu-emacs@gnu.org>
2005-04-16 12:18     ` Stefan Monnier
2005-04-16 14:20       ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=afe6b9fe08d5e80171b17e53edb9c4f1@Web.DE \
    --to=peter_dyballa@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.