From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Why does show_help_echo call substitute_command_keys? Date: Fri, 21 Jul 2017 11:01:58 +0200 Message-ID: References: <4f821efa-1448-8ba0-d164-abeff36180d4@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1500627744 815 195.159.176.226 (21 Jul 2017 09:02:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2017 09:02:24 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Cc: Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 21 11:02:17 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYTp6-0007yA-RF for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2017 11:02:12 +0200 Original-Received: from localhost ([::1]:41808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYTpC-0005x7-Il for ged-emacs-devel@m.gmane.org; Fri, 21 Jul 2017 05:02:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYToz-0005vl-UQ for emacs-devel@gnu.org; Fri, 21 Jul 2017 05:02:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYTov-0004LM-HS for emacs-devel@gnu.org; Fri, 21 Jul 2017 05:02:06 -0400 Original-Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:38612) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYTov-0004Kq-AO for emacs-devel@gnu.org; Fri, 21 Jul 2017 05:02:01 -0400 Original-Received: by mail-wr0-x22b.google.com with SMTP id f21so23350598wrf.5 for ; Fri, 21 Jul 2017 02:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=m5fSeIpHZ6bdSg3EOwMsmoDdnQqcv6C3X5JISmoaguQ=; b=SRSmefeYsAomdsMFw+GGOTDmcpsv1yi7a4xbj6lxKP5aKNVIsyGpxV/H3H7xRbES2F FOUjOdthbYNCAiK0D5rTuEdGvXSrzGTdBBlAZ+Ixww3b1Hy2nh/ebT7wxzLeBmLAsIxx gWYYs3Zv8IkcYyowZrptxrFaxGPR15JWQ65xBNci3chFJu9o/cET+BLP2pxuRuLuAhSK QFsWPkvwOZljBCpzo+c75dUMJ3Q3tFuPmgSFt4fgIMAGHQCI9u9iqiyvj2s+Z+e1EcUJ SRYllKhdJspBVPaS1ta/VO7i4JgvB9gbJUHgoja49l0g/69fDLqtNhW1I7fSIC6JdW9b zKIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=m5fSeIpHZ6bdSg3EOwMsmoDdnQqcv6C3X5JISmoaguQ=; b=FFVhB4Fb8+FLahS+nyPcrAJrhtz5vSXoIm9jHiOSvc4JSpkHzeC4Gs3vQn4sVfrHn5 2JTAaxyv4DfT6sKB0d3Ba0xzHcA/OwJ/jezkzkURTSVt3Sd6Sek3YQHzBRFHPR0miPFJ RH45zRQYlaUWQ5qqz/6O4RIO2HXf1BqLzIYHKuYxSHPsEzys3KQsrBhKOwiUtgQr+l0Q aQPB8jj6DAVu/BBHh96/yUS79bgOZmCzGJYVRTU+wIwo5+wW27MUpYQ/+BfaiC1kI8+h qs1yVCrjmbYi7UxFEdu3S2qqx8RwRx06gA3eT3oxo6LvptlhE7XLy0kqhtwchVoFz/Sy UCzw== X-Gm-Message-State: AIVw110c6cvimERUEX10FQEPMw2gEHjr+cdT2CEXv0i9TZrFV9T32+eS 5sKkO5euky1o1xOdoSM= X-Received: by 10.223.134.180 with SMTP id 49mr9163122wrx.157.1500627719950; Fri, 21 Jul 2017 02:01:59 -0700 (PDT) Original-Received: from [128.93.70.6] ([128.93.70.6]) by smtp.gmail.com with ESMTPSA id r199sm905002wmd.11.2017.07.21.02.01.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jul 2017 02:01:59 -0700 (PDT) In-Reply-To: Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216912 Archived-At: On 2017-07-21 10:48, Yuri Khan wrote: > Because the help-echo property is the Emacs API to tooltips, and > tooltips are expected to be able to display keyboard equivalents to > clicking the thing that is pointed? Ok. So we don't expect callers to explicitly use substitute-command-keys on their help-echo properties? > There should probably be a function that knows when and how to quote > the characters that cause such substitution with \=. Yes, it would be nice. Maybe there already is one and I missed it.