[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12866: 24.3.50; (elisp) `%-Constructs': padded with spaces to the ri
From: |
Andreas Schwab |
Subject: |
bug#12866: 24.3.50; (elisp) `%-Constructs': padded with spaces to the right or left? |
Date: |
Mon, 12 Nov 2012 21:37:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> I think string formats, like %s, are padded to the right. IOW, the
> padding behaves like in C.
No, in printf padding direction does not dependent on the format
character, only on the alignment flag. But mode-line formatting doesn't
have an alignment flag.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."