From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: format padding and text properties Date: Wed, 22 Jun 2016 10:20:34 +0200 Message-ID: <8737o5r5wt.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466583704 7462 80.91.229.3 (22 Jun 2016 08:21:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2016 08:21:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 22 10:21:24 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bFdPX-0000yL-RL for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 10:21:23 +0200 Original-Received: from localhost ([::1]:56467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFdPW-0005pk-Pe for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 04:21:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFdP0-0005pd-7k for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 04:20:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFdOv-0003Sg-6N for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 04:20:49 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:49154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFdOu-0003Rf-W8 for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 04:20:45 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bFdOl-0006gC-RT; Wed, 22 Jun 2016 10:20:37 +0200 In-Reply-To: (Eric Abrahamsen's message of "Wed, 22 Jun 2016 13:38:16 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110548 Archived-At: Eric Abrahamsen writes: > (setq ss "bubba") > (put-text-property 0 (length ss) 'face 'my-face ss) > (format "%10s" ss) > > --> #(" bubba" 0 5 (face my-face)) Is this with an up-to-date trunk? This should have been fixed a few weeks ago: commit 1c09423880e1c48d6ba02a196430e829d1d87d57 Author: Eli Zaretskii Date: Thu Jun 9 16:52:08 2016 +0300 Fix copying text properties by 'format' -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no