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 23:10:51 +0800 Message-ID: <87h9cl2r9g.fsf@ericabrahamsen.net> References: <8737o5r5wt.fsf@gnus.org> <87twglvcrz.fsf@ericabrahamsen.net> <83a8id5kre.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466608558 24528 80.91.229.3 (22 Jun 2016 15:15:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2016 15:15:58 +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 17:15:42 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 1bFjsI-0007a0-R8 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 17:15:30 +0200 Original-Received: from localhost ([::1]:59009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFjsH-0001Ur-Pv for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jun 2016 11:15:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFjoK-0006cT-Hw for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 11:11:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFjoE-0008Q4-Ia for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 11:11:23 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:49275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFjoE-0008Po-BM for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 11:11:18 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bFjo3-0002z5-AY for help-gnu-emacs@gnu.org; Wed, 22 Jun 2016 17:11:07 +0200 Original-Received: from 123.118.189.96 ([123.118.189.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2016 17:11:07 +0200 Original-Received: from eric by 123.118.189.96 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Jun 2016 17:11:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.118.189.96 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:bZDIDOP4zkiFixpUdweG5JtCUm8= 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:110555 Archived-At: Eli Zaretskii writes: >> From: Eric Abrahamsen >> Date: Wed, 22 Jun 2016 16:38:40 +0800 >> >> > 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. > > It's not a problem, it's the intended behavior. > > If you want to put the face only on the text, either change the format > to not produce padding, or append the faceless spaces afterwards. Okay, good to know. I'll adjust my code accordingly.