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: Re: prin1 / princ vs message ? Date: Sun, 2 Jul 2017 23:26:59 +0900 Message-ID: References: <061782A1-0A51-49A1-9AA4-706AF8927D01@gmail.com> <94EF128F-6A3D-41DD-B92D-0C165A4A8EB9@gmail.com> <617557F2-0316-4504-BE80-E7F29E4EE347@gmail.com> <86E604C6-4A01-42D2-A3CD-D758FC5DD8B1@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 1499005642 16623 195.159.176.226 (2 Jul 2017 14:27:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2017 14:27:22 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 02 16:27:18 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 1dRfqH-000475-RR for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 16:27:17 +0200 Original-Received: from localhost ([::1]:58209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRfqN-0006O7-5M for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 10:27:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRfq8-0006LC-Of for emacs-devel@gnu.org; Sun, 02 Jul 2017 10:27:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRfq3-00062n-Nd for emacs-devel@gnu.org; Sun, 02 Jul 2017 10:27:08 -0400 Original-Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]:35042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRfq3-00061y-HU for emacs-devel@gnu.org; Sun, 02 Jul 2017 10:27:03 -0400 Original-Received: by mail-pg0-x236.google.com with SMTP id j186so83306327pge.2 for ; Sun, 02 Jul 2017 07:27:03 -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:date:references :to:in-reply-to:message-id; bh=SAcKmNLzDQt95zSmPW4fHtntMtqcwY4nsQQRkez+qxM=; b=hblR0STQqRfWkbgEvaO+0SpmdL7yp59p7HUp8jAIelAI7qruwBsJJDZO5ksgP9FU5x kaBXdDzoSS06/fLbSj+lhJMu7uX3D5OZy4ietfqHIncGPbATlNwBwakhEo99aXPBh1Nj cm0iSMui1ETrhSKNNmgO1anCDm2EY2HOXLFHrFAqFF81iMb7MOFanynGep0aV/SxhUGv PJ9GdkKA8vvK5X2OxRIY5PJTiVlnD0jeUZWOhrqFJWXuCLqFtXuco5DV8wCY49UMmVaE fhbpuAVUTCDv3sdxHEaywVmMdWhZKiE7qfe6D4DyEvXb6C75Sb7lJbw1QtwYS7upn4Ep Au1g== 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:date:references:to:in-reply-to:message-id; bh=SAcKmNLzDQt95zSmPW4fHtntMtqcwY4nsQQRkez+qxM=; b=d8BDnu1IQ4DSst1fmqQupPiXBwusWdc9A7jrVn9GJfD9PRMhiVeZHgh9lTeQdgEC1m 5jyLT8iHmzCIJPnAK+hJLNgAnNMZh69cBVXiqe5OX2u1FRG+RnDMSqOuKLi/tLlFrRrd O7hULcLXb6mzjssgbbHsTx+4Yc+YFnD5+psBCdmZ+//I9dYf7N7lppFazwhE3QbcAV0Y 7/lKhPFOsK60zt91puIGY2gMTJ4A+BD4BRxAr6R3WNysnJB9DtJ/q04Qnu9CpJCm7O8i EwZ1LXY+Lj4xh9tVAd8GQuOFCZRWc+mBLo9T8qgj/UGbamhbXqah7hAyU5sos0lRViru beXw== X-Gm-Message-State: AIVw112hBgP78QOnRWuGAkaCIB2V9MWjnJil4DV+auAbHBiE5j6uwhjp mDHqvguSzeDG8ndjBHg= X-Received: by 10.84.232.197 with SMTP id x5mr5618782plm.159.1499005622412; Sun, 02 Jul 2017 07:27:02 -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 v205sm27612562pgb.51.2017.07.02.07.27.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jul 2017 07:27:01 -0700 (PDT) In-Reply-To: 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::236 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:216101 Archived-At: Thank you very much Tino (I did actually call you Tony didn't I... :-) Jean-Christophe > On Jul 2, 2017, at 23:23, Tino Calancha = wrote: >=20 >=20 >=20 > On Sun, 2 Jul 2017, Jean-Christophe Helary wrote: >=20 >> Conclusion of that exchange (sorry for being a little slow to = understand everything the 3 of you wrote): >> This: >> (prin1 name) >> (princ " is ") >> (princ (if (memq (aref status 0) '(?a ?e ?i ?o ?u)) "an " "a ")) >> (princ status) >> (princ " package.\n\n") >> Can reasonably be replaced by this: >> (let (sentence (format "The status of package %1$S is = `%2$s'.\n\n" name status))) >> (princ sentence)) >> Is that correct ? (I am using the numbered fields that Philipp = Stephani implemented in June.)=20 > Yeah, it looks right.