all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Davis Herring <herring@lanl.gov>
Cc: Paul Eggert <eggert@cs.ucla.edu>,
	Dmitry Antipov <dmantipov@yandex.ru>,
	emacs-devel@gnu.org
Subject: Re: trunk r117128: Allow any non-nil value to count as true in	bool-vector.
Date: Tue, 20 May 2014 21:09:50 +0200	[thread overview]
Message-ID: <87egzoclmp.fsf@gmx.de> (raw)
In-Reply-To: <537B67CA.1040604@lanl.gov> (Davis Herring's message of "Tue, 20 May 2014 08:33:46 -0600")

Davis Herring <herring@lanl.gov> writes:

>>>        sprintf (signature, "%c", dtype);
>
> sprintf catches the eye, of course.  Why not just write this?
>
>   *signature = dtype;

Maybe. But the "%c" format says explicitely "one byte", so I find it
more readable.

Of course, there are different tastes ...

> Davis

Best regards, Michael.



      reply	other threads:[~2014-05-20 19:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1WmT5a-0004kw-I2@vcs.savannah.gnu.org>
2014-05-20  8:29 ` trunk r117128: Allow any non-nil value to count as true in bool-vector Michael Albinus
2014-05-20 14:33   ` Davis Herring
2014-05-20 19:09     ` Michael Albinus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egzoclmp.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=dmantipov@yandex.ru \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=herring@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.