From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: System operating detection
Date: Wed, 11 Aug 2010 12:19:10 +0200 [thread overview]
Message-ID: <m1y6cda1up.fsf@80-163.eduroam.rwth-aachen.de> (raw)
In-Reply-To: i3tq4p$2k9$1@dough.gmane.org
Richard Riley <rileyrg@gmail.com> writes:
>
> I think you need to show your usage patterns for the variables you have
> defined for a better answer. How are you using the results?
>
> That said, maybe just define sysop and then load-library a filename stub
> concat'ed with the sysop along the lines of
>
> (load-library (concat "os-specific-" sysop))
>
> is a better approach? And then os-specific-win etc all contain their OS
> specific details.
Well actually I only have some
--8<---------------cut here---------------start------------->8---
(when mac
(do something))
(when linux
(do something else))
--8<---------------cut here---------------end--------------->8---
A library with the os-specific stuff might be better, but now I have
everything in the org-file divided by "chapter" (windows, buffers,
frames etc). Doing "system" libraries like that would break a little bit
this model.
next prev parent reply other threads:[~2010-08-11 10:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-11 9:06 System operating detection Andrea Crotti
2010-08-11 9:22 ` Richard Riley
2010-08-11 10:19 ` Andrea Crotti [this message]
2010-08-11 11:58 ` Thierry Volpiatto
2010-08-11 12:58 ` Andrea Crotti
[not found] ` <mailman.1.1281531533.2853.help-gnu-emacs@gnu.org>
2010-08-11 14:27 ` Pascal J. Bourguignon
2010-08-16 21:53 ` Oleksandr Gavenko
[not found] <mailman.3.1281517588.2982.help-gnu-emacs@gnu.org>
2010-08-11 11:13 ` TheFlyingDutchman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1y6cda1up.fsf@80-163.eduroam.rwth-aachen.de \
--to=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).