From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: How to detect if Emacs is running in a terminal
Date: Sat, 16 Apr 2005 16:20:32 +0200 [thread overview]
Message-ID: <v93btqztu7.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 87hdi66hqh.fsf-monnier+gnu.emacs.help@gnu.org
On Sat, Apr 16 2005, Stefan Monnier wrote:
> In 99% of the cases, people want their Emacs to behave the same on all their
> machines, so the config should be the same, no matter whether it's
> GNU/Linux, w32, uses window-system, ...
>
> What can happen, tho, is that depending on the machine some things may or
> may not be available. In that case just prepend each such customization
> with a little test that ensures that feature can be used.
> This test will generally not look at system-type or window-system, but will
> instead check (fboundp <somefunctionIwanttouse), or (file-directory-p
> "somedirectoryIwanttouse"), or even place a whole subexpression inside
> a (ignore-errors ...my config...).
It would be nice to have something like this text in (info
"(emacs)Init Examples") along with some examples.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2005-04-16 14:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1647.1113578084.2895.help-gnu-emacs@gnu.org>
2005-04-15 15:32 ` How to detect if Emacs is running in a terminal 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 [this message]
2005-04-15 15:10 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
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=v93btqztu7.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.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.