From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: prin1 / princ vs message ? Date: Sun, 2 Jul 2017 23:23:52 +0900 (JST) 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 Content-Type: multipart/mixed; BOUNDARY="8323329-1537904534-1499005435=:27827" X-Trace: blaine.gmane.org 1499005453 13677 195.159.176.226 (2 Jul 2017 14:24:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Jul 2017 14:24:13 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: Emacs developers To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 02 16:24:09 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 1dRfnD-0003C0-36 for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 16:24:07 +0200 Original-Received: from localhost ([::1]:58197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRfnI-0005HF-Ee for ged-emacs-devel@m.gmane.org; Sun, 02 Jul 2017 10:24:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRfn8-0005Gw-Dp for emacs-devel@gnu.org; Sun, 02 Jul 2017 10:24:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRfn3-0003uv-GP for emacs-devel@gnu.org; Sun, 02 Jul 2017 10:24:02 -0400 Original-Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:34695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRfn3-0003u7-9C for emacs-devel@gnu.org; Sun, 02 Jul 2017 10:23:57 -0400 Original-Received: by mail-pf0-x22c.google.com with SMTP id s66so88076856pfs.1 for ; Sun, 02 Jul 2017 07:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=4mnAUimgdZXOuU4gziD6uOFTidP+ZuIglDHibiayXiM=; b=NCssvnBsID0cH+wHmVupLM8qjagkmD5uEiwuFrGVYL1EzpV11HHL2QRe4ZagAeaKuq 5t8st903qor68YkPGjCIcB0yW9vM2uc3zJKSbmGIPW/VnKqv3n5wnc/Hxht2UYN2+2Xb vFxnyCqlyWS2cC1WQXxKrNRxGHJIAtxJQDA3/0PMKVwBVqUQ/Yy3vxhgyL+mlGygxJ5G XVKua4HB6j8VsA6grmPlgbUVzKalhD+WHT1Y9c2QDBFqG9D5Q4fPQs61WcMeKl+0o5FT ATGbwtpLiblHARTmwbdKB7NVo7PrF8GeWS0U6TjGa8u5pKcud4Vq8qiJJI5iHYjekMLj iXbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=4mnAUimgdZXOuU4gziD6uOFTidP+ZuIglDHibiayXiM=; b=Fe+ORKlwVPATT/J+6LNLaE1/BUqPH8hEI6I7rx4VRBbEj1voCXZ0DSQI9o/8s3DOrx bFvgrbwVeRCLb96q5grFt8XfvpIsltNVVnfAYBcFsJOewqbKx9TsSUC5jQaARhIkGT6v YlxKGx934ia7u4aEYgaTcVO1TmDBnGV5Pccpe6TwRkAoKEq1S1i9XyLKhki+t1L6LNjC kMNWXQjKwJZMiZ0hQ1VbTjPdZqgU9dK/nXN+ucGRiogmAV07W7INuBLW9vJ/FXYB/UMK pb15JNQnClgwJ+T5WpliM9N7WEYifYQgOx/D4/3HrBkyLQvDTpRRBpOjfWitB7jQT4ZA 7w1Q== X-Gm-Message-State: AIVw112meQon/sEr6120x1Us3C9T/qxNqHwC5TLrRdwsDEUMJkyvrvh0 Hggsm0xmHkWOUg== X-Received: by 10.84.218.204 with SMTP id g12mr5769372plm.153.1499005435936; Sun, 02 Jul 2017 07:23:55 -0700 (PDT) Original-Received: from calancha-pc (222.139.137.133.dy.bbexcite.jp. [133.137.139.222]) by smtp.gmail.com with ESMTPSA id v69sm26858800pfd.63.2017.07.02.07.23.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jul 2017 07:23:55 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22c 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:216100 Archived-At: --8323329-1537904534-1499005435=:27827 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 2 Jul 2017, Jean-Christophe Helary wrote: > 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.)  Yeah, it looks right. --8323329-1537904534-1499005435=:27827--