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 10:03:01 +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 1391158987 11435 80.91.229.3 (31 Jan 2014 09:03:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Jan 2014 09:03:07 +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 10:03:15 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 1W9A0H-00026j-Vn for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 10:03:14 +0100 Original-Received: from localhost ([::1]:53824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9A0H-00060o-JY for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Jan 2014 04:03:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9A07-00060Y-4V for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 04:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9A05-0003Q5-Rb for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 04:03:03 -0500 Original-Received: from mail-oa0-x235.google.com ([2607:f8b0:4003:c02::235]:60383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9A05-0003PY-MJ for help-gnu-emacs@gnu.org; Fri, 31 Jan 2014 04:03:01 -0500 Original-Received: by mail-oa0-f53.google.com with SMTP id m1so4815104oag.26 for ; Fri, 31 Jan 2014 01:03:01 -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=OeVUc4n+knUvlpzQQ6/daZGCVH7rH3PGIXGedngewcc=; b=iN8yiAZ/Bxl1PVdlWo3NV0goRBmJDoTpBxw0chYFTthBIqJpy5mz4PL2wKMJYvyVjn cj2yzPuShaQwNXAqEroG1l0d/fPwfiCtadpAi8Ypa2jCU7FnZitWCZhlMw9WFWcYhuiB LooXV5xOvT2rozOIVk+WGCJB3T0JAVLcP6V1CEaFKwfJ5I7fD2BFHEYUC1Vf7Grliq3s L2VUyZyhGqKg+f/9l7wU4g8hptHuDXTkhDx22+IIXyFSqTJOKLE6oKtEHrLzya2GHkSM d75YKxqP6aY41BbTsH7MVDZUlBaC8Or6KgQtsNRJIqoxfP64KZDfA64UEDN2+kHHTV1z jDEQ== X-Received: by 10.182.107.232 with SMTP id hf8mr25123obb.75.1391158981053; Fri, 31 Jan 2014 01:03:01 -0800 (PST) Original-Received: by 10.76.150.193 with HTTP; Fri, 31 Jan 2014 01:03:01 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::235 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:95826 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....:-(