From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: format padding and text properties Date: Wed, 22 Jun 2016 16:38:40 +0800 Message-ID: <87twglvcrz.fsf@ericabrahamsen.net> References: <8737o5r5wt.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466584804 24354 80.91.229.3 (22 Jun 2016 08:40:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2016 08:40:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 22 10:39:56 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 1bFdhG-0002TI-2N for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 10:39:42 +0200 Original-Received: from localhost ([::1]:56568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFdhF-0004FY-Em for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 04:39:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFdgd-00045E-BZ for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 04:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFdgY-0007eU-Jo for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 04:39:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFdgY-0007eH-Cv for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 04:38:58 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bFdgS-0001fv-Jh for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 10:38:53 +0200 Original-Received: from 123.115.138.47 ([123.115.138.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2016 10:38:52 +0200 Original-Received: from eric by 123.115.138.47 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2016 10:38:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.115.138.47 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:75FG44ZdEBZ6MsBmgMITJX9zKyA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:110550 Archived-At: Lars Magne Ingebrigtsen writes: > 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' Ah! No wonder the bug seemed to crop up out of nowhere. The bad news is the problem still seems to be there. I pulled and built the master branch this morning, and can see Eli's patch in git log. "GNU Emacs 25.1.50.5 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.6) of 2016-06-22" Eric