From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#41905: Small change: In Customize, display name with with spaces, but keep symbol name underneath. Date: Sat, 5 Sep 2020 11:58:29 -0300 Message-ID: References: <87imcs5qmj.fsf@gnus.org> <87a6y45pbo.fsf@gnus.org> <87tuwc49ge.fsf@gnus.org> <87a6y447eo.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000009a362c05ae9238c1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25235"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41905@debbugs.gnu.org, ej32u@protonmail.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 16:59:11 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 1kEZep-0006T6-5j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 16:59:11 +0200 Original-Received: from localhost ([::1]:38050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEZeo-0001tP-6x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 10:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEZeg-0001sm-Pu for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 10:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEZeg-0007jj-HF for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 10:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEZeg-0001bb-Gd for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 10:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 14:59:02 +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.15993179306150 (code B ref 41905); Sat, 05 Sep 2020 14:59:02 +0000 Original-Received: (at 41905) by debbugs.gnu.org; 5 Sep 2020 14:58:50 +0000 Original-Received: from localhost ([127.0.0.1]:43816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEZeT-0001b8-UN for submit@debbugs.gnu.org; Sat, 05 Sep 2020 10:58:50 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:35890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEZeR-0001av-Hn for 41905@debbugs.gnu.org; Sat, 05 Sep 2020 10:58:47 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id z1so10318497wrt.3 for <41905@debbugs.gnu.org>; Sat, 05 Sep 2020 07:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z6KUD1sLTFYgJz4ZloHYvdgARC7QYTZ+yOQ/4dEdDc4=; b=RfXobExNyQd1sfw3Qy1qXB9h3RmCauL+TjV0Gmp413xGhB2iIH+BTXLTxepFlNo7vn odrPU0NNPwC/4+Zn8raIIsmHJ6h416m6QWD6HGrwFMK8W9yOqGwilDH879Jhtxl/JhLp gZoLcsBBWldguZbgyEVtmd/xiocZQdV6RfHyHL1U7/mgHWllRgw1Vo7h9LkCiTVgvDU3 6z239oEnmxt8GjT0yUiwgZtv1cuGH4jeulDzJfYJrrAg+u3t/Vpr5cnv7wYfiaoQpPTB EaxrAHDNaizyKrAiRC3JW24keblEw0RrRSgR70Z2qkwGuSLMv7eYBeVWS9YNhHPKiTmp Fs9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z6KUD1sLTFYgJz4ZloHYvdgARC7QYTZ+yOQ/4dEdDc4=; b=Euovt/ZUrO6BJYiW7dV6hT1mpn4aYkNHp+ZR5Zluta07cgBX0r/nKkfrAaoRGmaFtZ xXfPdcmLnoFpEoq1WzitRcjwddzm+GlVoWpa1WdVVBSpjw7b9S5YChv8rs8n9KOgV2wo MihKeRQtXA3dDJnwp2kf1epOgcQDqxX7Y2MfwM7RYtNuZxYItwS47gwYNI9++BT/CanL KvTtduTPethL4aeJZcK43po94UJgN9+80TwaEKU5czOvRPh5zdLc6IuR0qE+w5vpqTNa S06eT82eejPJEzBLcBtbdwoqJLhYoY8ErsHz0A4TFIT4g2s6bN8Xz0cW0q0dx5rgVwxH zdJA== X-Gm-Message-State: AOAM532nITNuKGDJ0e+CXWoQ5jUYysRWKmBTxBOsv0KWzSrHnIl9suej iOnC8bqkezj/6v38GbfsqfCRTwe1z3hYX3QBy5Q= X-Google-Smtp-Source: ABdhPJw6XcrjmyDiy6MgPYgKZZmgDnr5YxDXalFv+Vfelu20Pja1y00Ox2BxnUbiEDceQFlJ2TfTCCPbTETQ9WtX8Rk= X-Received: by 2002:adf:dcc3:: with SMTP id x3mr12445924wrm.120.1599317921633; Sat, 05 Sep 2020 07:58:41 -0700 (PDT) In-Reply-To: <87a6y447eo.fsf@gnus.org> 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:187256 Archived-At: --0000000000009a362c05ae9238c1 Content-Type: multipart/alternative; boundary="0000000000009a362b05ae9238bf" --0000000000009a362b05ae9238bf Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen writes: > Mauro Aranda writes: > >> Sure, here is the patch I'm running with > > Thanks, that makes C-h S use the correct string. However, the prompt is > confusing: [...] > Because it's using the string from the buffer... including the 'display > text property. Perhaps it should strip all text properties before being > used? Then I guess we must change info-lookup-interactive-arguments to do that. --0000000000009a362b05ae9238bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Lars Ingebrigtsen <la= rsi@gnus.org> writes:

> Mauro Aranda <maurooaranda@gmail.com> writes:
>
= >> Sure, here is the patch I'm running with
>
> Thank= s, that makes C-h S use the correct string.=C2=A0 However, the prompt is> confusing:

[...]

> Because it's using the string= from the buffer... =C2=A0including the 'display
> text property.= =C2=A0 Perhaps it should strip all text properties before being
> use= d?

Then I guess we must change info-lookup-interactive-arguments to = do that.
--0000000000009a362b05ae9238bf-- --0000000000009a362c05ae9238c1 Content-Type: text/x-patch; charset="UTF-8"; name="0001-info-lookup-symbol-Fix-the-suggested-default-value-i.patch" Content-Disposition: attachment; filename="0001-info-lookup-symbol-Fix-the-suggested-default-value-i.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kepskfg30 RnJvbSAxOTM3ZTJkMDExOWM2OTI2ODNjMDFlZGVkODU4NWNjYWZiYTUzNDljIE1vbiBTZXAgMTcg MDA6MDA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