From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: prin1 / princ vs message ? Date: Sun, 2 Jul 2017 19:12:09 +0900 Message-ID: <061782A1-0A51-49A1-9AA4-706AF8927D01@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1498990374 17842 195.159.176.226 (2 Jul 2017 10:12:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2017 10:12:54 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 02 12:12:51 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dRbs1-0004Pz-QS for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 12:12:49 +0200 Original-Received: from localhost ([::1]:57407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRbs7-00029R-1p for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 06:12:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRbrW-00029B-K1 for emacs-devel@gnu.org; Sun, 02 Jul 2017 06:12:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRbrT-0005GA-FA for emacs-devel@gnu.org; Sun, 02 Jul 2017 06:12:18 -0400 Original-Received: from mail-pg0-x231.google.com ([2607:f8b0:400e:c05::231]:33411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRbrT-0005D4-8v for emacs-devel@gnu.org; Sun, 02 Jul 2017 06:12:15 -0400 Original-Received: by mail-pg0-x231.google.com with SMTP id k14so6218894pgr.0 for ; Sun, 02 Jul 2017 03:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=jXAqTOp8UajK8hwNpRNK5Dzx9g6ex/juSCJJmiuxqss=; b=h9w/mS9eIOeG6RkvhjYqo52RvbzPx5A5BCpl6s2O8HiI+4V4v0XtnifGxagpoBx/AY VsMJLOHh6YOuHJ8wfb1qwJP6K1ZhtzLJkgCYv938u0aVppWvleQYYQ8QdTD0IPL4tmtB Eguak0DQAt8jt/vDPSRvrn8eg/T0cM6AAfAqqCeCUnFtdX8v+GTohzILsZkwhNpUcZpB KF+mWZJ5iH3WFsMprsolOflgaAcw2rj3wtGxaRh2ZmwXDQ1sjSK9ocxxe4K4kUWSNyGn ITujw6Z/3MkviusFQ8CcQTyPyCWG/evp+qbqUQmc9yGwkS7Q85dIv9L9tr2paZy9SkOm 7uyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=jXAqTOp8UajK8hwNpRNK5Dzx9g6ex/juSCJJmiuxqss=; b=cwqmApKKft/ugGvt+qLlKiUAmIcw0LzW+4ulvW2Y+rVaMrZXnxRYipAyNY3VQ60KC+ jzN2Zt1ZL48vXtddfJMywBRcNTiRV4vP2Dx3X3Df62QPXbURiiAP1WcpBqUtqFTaUhd5 7MPcRr+v1UHe1xArnoQHQTByVvmAXV1KZgTGNIxMv7lUQnkUi1cpK4MBRopxKxe5n7a6 fNoaO82VyxGbaRstTZvnoOAxW/OIV2mU/cL2yjGDoYBmgpd9OCidyLBOzo2k7F15wkxR aElfR2bJNecksW3V4espmajcnUy/iW2NxrTQz45eqOVxfDjE5G2ptKP1rEtqUmLfJDDY znrg== X-Gm-Message-State: AIVw113kSwIzxYFe5axHZ4qNFGFsPLbDjtvsRo3vLd2FZzcFy3eNuE5I 0uLPyg8hUlGVR4jRum8= X-Received: by 10.84.217.29 with SMTP id o29mr4708731pli.117.1498990332568; Sun, 02 Jul 2017 03:12:12 -0700 (PDT) Original-Received: from [192.168.24.55] (pl2587.ag0304.nttpc.ne.jp. [128.53.196.27]) by smtp.gmail.com with ESMTPSA id t189sm26297669pfb.13.2017.07.02.03.12.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jul 2017 03:12:11 -0700 (PDT) X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216087 Archived-At: What's the difference between: (let ((name "JC")) (prin1 "My name ") (princ " is ") (princ name) (princ ".\n\n")) and (message "My name is %s.\n\n" "JC") ? Unless we have a non default value for standard-output both send the = value to the echo area, right ? Besides for the possibility prin1 and princ have of printing to = standard-output and not specifically to the echo area, what is the = actual difference between the two and message ? Jean-Christophe=20=