From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Renato Pontefice Newsgroups: gmane.emacs.help Subject: code listp to determine wich os I'm running on Date: Fri, 31 Jan 2014 09:39:57 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391157619 28607 80.91.229.3 (31 Jan 2014 08:40:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 08:40:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 31 09:40:28 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W99eE-0006XL-TN for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 09:40:27 +0100 Original-Received: from localhost ([::1]:53779 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W99eE-0002lN-Fp for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 03:40:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W99dy-0002dk-Nh for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 03:40:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W99dv-0005Fo-En for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 03:40:10 -0500 Original-Received: from mail-oa0-x22f.google.com ([2607:f8b0:4003:c02::22f]:63310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W99dv-0004wY-6V for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 03:40:07 -0500 Original-Received: by mail-oa0-f47.google.com with SMTP id m1so4884994oag.34 for ; Fri, 31 Jan 2014 00:39:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=L7vWsZR+bT5AewRQvX5CQKjg3KlBe7DWPKsfV8Z5eG4=; b=JlvV04EnzQYc6UQW+JafLJKgg3OZo7K/SMSgsgmXK10y4CgkDOWX4OcXvgJoDMNo5Y wr2u2NQuPSPvSDQDPqxnXnr0/E6UYk+8MWTw1U/gvSp+i/QmoUEvBi98LspQQt2TM9Xz 0VEbqCpFiI2HBZhDZcOePXeSH3Eg6S3iOgpGxX7v09Nbj7Ykj34T73QZYy3SyhzVevOx gwEd3yXCbL1tN+pN/1dWRGMlfNKODtbOjEZeT2ys1yoDMXN8P7u7ynHaLbxQ0G0noncU o2MexfIT5DYYPm6bWe3ECLXmcV0MPDfIFKdTKZCM5uvfcahXO4lI0BvDMG7S7budlYyw 6SHw== X-Received: by 10.60.52.138 with SMTP id t10mr340302oeo.59.1391157597470; Fri, 31 Jan 2014 00:39:57 -0800 (PST) Original-Received: by 10.76.150.193 with HTTP; Fri, 31 Jan 2014 00:39:57 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95825 Archived-At: emh....doesn't works on linux :-( this is the F1 e result Loading 00debian-vars...done Loading /etc/emacs/site-start.d/50asym ptote.el (source)...done Loading /etc/emacs/site-start.d/50autoconf.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50festival.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done Loading /home/renato/Dropbox/emacs_prof/.emacs...done For information about GNU Emacs and the GNU system, type C-h C-a. and this is the .emacs (part of...) ;;-----------setta la directory di default (dove aprire e salvare file) su Dropbox a seconda del s.o. con cui si apre emacs (cond ((eq system-type 'windows-nt)(setq default-directory "C:/Documents and Settings/renatop/Documenti/Dropbox/Documenti/org") ) ((eq system-type 'darwin) (message "Darwin")) ((eq system-type 'gnu/linux) (message "=C4=8D linux")) ;; ((eq system-type 'gnu/linux) (setq default-directory "/home/renato/Dropbox/Documenti/org")) (t (message "Unknown system"))) (message system-type) why....:-(