From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#41905: Small change: In Customize, display name with with spaces, but keep symbol name underneath. Date: Tue, 08 Sep 2020 22:50:52 +0200 Message-ID: <87r1rcgfgz.fsf@gnus.org> References: <87imcs5qmj.fsf@gnus.org> <87a6y45pbo.fsf@gnus.org> <87tuwc49ge.fsf@gnus.org> <87a6y3umjr.fsf@gnus.org> <87sgbvt6zd.fsf@gnus.org> <87bliiycij.fsf@mail.linkov.net> <87tuw9cvof.fsf@mail.linkov.net> <878sdlcowi.fsf@gnus.org> <87imcogldf.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17040"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41905@debbugs.gnu.org, Mauro Aranda , ej32u@protonmail.com To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 08 22:52:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFkb8-0004Ij-4h for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 22:52:14 +0200 Original-Received: from localhost ([::1]:37024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFkb7-00046G-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 16:52:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFkaw-00045p-5P for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 16:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFkav-0002I0-Q3 for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 16:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFkav-0007QA-OD for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Sep 2020 20:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41905 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 41905-submit@debbugs.gnu.org id=B41905.159959827228458 (code B ref 41905); Tue, 08 Sep 2020 20:52:01 +0000 Original-Received: (at 41905) by debbugs.gnu.org; 8 Sep 2020 20:51:12 +0000 Original-Received: from localhost ([127.0.0.1]:56561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFka7-0007Ov-PJ for submit@debbugs.gnu.org; Tue, 08 Sep 2020 16:51:12 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFka2-0007OS-Ux for 41905@debbugs.gnu.org; Tue, 08 Sep 2020 16:51:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=u5g0QSbK1cH+KnjQIPlft0DUQK9agdz3aFwdtYqcSSI=; b=FEQrMUp8a1t/xJIlk5hmQV7UtD bNZadksn78t+/qjt4ckAZhrDLY4PATY4qTMdJZBFoMsi/Fr3SnOIGoJWNLvAXLx4O4V4NeVGsoY1f wNHh9GnCAvxkgSluuylTPM4aJ2xftSc2+q05lTYmqQAbs/SPYa5axAmP1+0+4EUWPEso=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFkZq-000098-Gq; Tue, 08 Sep 2020 22:51:00 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUUDw1MNS17UkH/ //8HMBPWAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QJCBQcK9hBFhsAAAFySURBVCjPbVLBbhQxDH0e OQg4OSiROpyLtPyFgzKr7i1ByWqPHAoSf8Ei1DM9cOdSpPYrcWa3EkV9Gk387HmW/SaIANPDHQyM mUU+33/teV4YLGhNJCzYihXlYG9nJCEwEUNqhrqTcBoH1B5ZgwDHeHsdc5S+y/vYMIeJi5Qb/tIY 2qbYat6h98OqJMo4oXYCBD5YHFJfWuziN3GH4Fsr9AIpzC/BNXiPWgjxAk9QzieNsDhVsKajIsOJ kYaU1AalMioYCcOnVcCrUEYHWv5sB7Gqz1lEki0ct/7jj+z7LbkDKLsk+qbfHuuViVwJV76mal2f wJ3nWdOxd7f0vv+1v+sgLUVGYTMR6vHb7/cfbn5i83pBVRs8XZj90xbv+iMe7vFf7zmwfA+JXgVI Z2HvQiGOkMjihLK5OtsubOVkFmv4R2xOso1AdOZGqv1MD9VL80LVKZxZJXgeY6FIVMIjYUr2sa6X wAitSqXT5ma4jIT8BVdfQzaANhV8AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIwLTA5LTA4VDIwOjI4 OjQzKzAwOjAwvrtNnwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0wOS0wOFQyMDoyODo0MyswMDow MM/m9SMAAAAASUVORK5CYII= X-Now-Playing: I Start Counting's _My Translucent Hands_: "Cranley Gardens" In-Reply-To: <87imcogldf.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 08 Sep 2020 21:33:24 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187595 Archived-At: Juri Linkov writes: >>>> (concat (propertize "f" 'display "F") >>>> "ill" >>>> (propertize "-" 'display " ") >>>> (propertize "c" 'display "C") >>>> "olumn") >>> >>> Actually I meant not concat, but set-text-properties: >>> >>> (let ((name "fill-column")) >>> (set-text-properties 0 1 '(display "F") name) >>> (set-text-properties 4 5 '(display " ") name) >>> (set-text-properties 5 6 '(display "C") name) >>> (insert name)) >> >> Why not concat? I think the end result is the same? > > No difference, indeed :) But set-text-properties is cleaner: > we have a string and add properties to it. Yeah, but that's what propertize does, too. Only less verbosely. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no