[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 21:41:12 +0900 |
> On Jul 2, 2017, at 21:32, Andreas Schwab <address@hidden> wrote:
>
> print etc are standard lisp functions, intended for noninteractive use.
Thank you. So what would be the practical reason why a developer would prefer:
(let ((name "JC"))
(prin1 "My name ")
(princ " is ")
(princ name)
(princ ".\n\n"))
over:
(message "My name is %s.\n\n" "JC")
when standard-input is not set to anything special?
(I'm almost copying the above code verbatim from a package in emacs.)
Jean-Christophe
- prin1 / princ vs message ?, Jean-Christophe Helary, 2017/07/02
- Re: prin1 / princ vs message ?, Tino Calancha, 2017/07/02
- Re: prin1 / princ vs message ?, Jean-Christophe Helary, 2017/07/02
- Re: prin1 / princ vs message ?, Andreas Schwab, 2017/07/02
- Re: prin1 / princ vs message ?,
Jean-Christophe Helary <=
- Re: prin1 / princ vs message ?, Tino Calancha, 2017/07/02
- Re: prin1 / princ vs message ?, Noam Postavsky, 2017/07/02
- Re: prin1 / princ vs message ?, Jean-Christophe Helary, 2017/07/02
- Re: prin1 / princ vs message ?, Noam Postavsky, 2017/07/02
- Re: prin1 / princ vs message ?, Tino Calancha, 2017/07/02
- Re: prin1 / princ vs message ?, Jean-Christophe Helary, 2017/07/02
- Re: prin1 / princ vs message ?, Jean-Christophe Helary, 2017/07/02
- Re: prin1 / princ vs message ?, Tino Calancha, 2017/07/02
- Re: prin1 / princ vs message ?, Jean-Christophe Helary, 2017/07/02
- Re: prin1 / princ vs message ?, Philipp Stephani, 2017/07/02