emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prin1 / princ vs message ?


From: Jean-Christophe Helary
Subject: Re: prin1 / princ vs message ?
Date: Sun, 2 Jul 2017 23:26:59 +0900

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 <address@hidden> wrote:
> 
> 
> 
> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]