all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleh Krehel <o.krehel@tue.nl>
To: 16753@debbugs.gnu.org
Subject: bug#16753: 24.3.50; format function doesn't pad properly when given a fontified string
Date: Fri, 14 Feb 2014 16:34:28 +0100	[thread overview]
Message-ID: <CAJ1SQWBq5kmPTOPXtm+E2yvjwXCHBBeiXD3FgOmCPkAks_hxVg@mail.gmail.com> (raw)
In-Reply-To: <87y51dbu6p.fsf@tue.nl>

Nevermind the previous message. I figured it out.
Turns out org.el has code indented with both tabs and spaces.

On 14 February 2014 16:17, Oleh <o.krehel@tue.nl> wrote:
> Reproducible with emacs -q.
> Here's the code, each line is followed by its result of evaluation in *scratch*:
>
>     (setq foo #("overlay-put org-speedbar-restriction-lock-overlay          ..." 12 49 (fontified t) 50 55 (fontified t)))
>     #("overlay-put org-speedbar-restriction-lock-overlay            ..." 12 49 (fontified t) 50 55 (fontified t))
>
>     (length foo)
>     58
>
>     (insert (format "%-60s %s" foo "foo"))
>     overlay-put org-speedbar-restriction-lock-overlay       ... foonil
>
>     (insert (format "%-61s %s" foo "foo"))
>     overlay-put org-speedbar-restriction-lock-overlay       ... foonil
>
>     (insert (format "%-62s %s" foo "foo"))
>     overlay-put org-speedbar-restriction-lock-overlay       ... foonil
>
>     (insert (format "%-66s %s" foo "foo"))
>     overlay-put org-speedbar-restriction-lock-overlay       ...  foonil
>
> Expected behavior is that lines should get consecutively larger, but
> they don't until "%-66s %s".
>
> regards,
> Oleh
>
>
>





      reply	other threads:[~2014-02-14 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 15:17 bug#16753: 24.3.50; format function doesn't pad properly when given a fontified string Oleh
2014-02-14 15:34 ` Oleh Krehel [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=CAJ1SQWBq5kmPTOPXtm+E2yvjwXCHBBeiXD3FgOmCPkAks_hxVg@mail.gmail.com \
    --to=o.krehel@tue.nl \
    --cc=16753@debbugs.gnu.org \
    /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.