From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.bugs Subject: bug#24577: 25.1; Proposal to improve C-u C-h c behavior Date: Sat, 01 Oct 2016 05:40:40 +0000 Message-ID: <878tu8zkx3.fsf@violet.siamics.net> References: <87zimovf4z.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475300482 2890 195.159.176.226 (1 Oct 2016 05:41:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 1 Oct 2016 05:41:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: Dmitri Paduchikh To: 24577@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 01 07:41:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bqD2v-00080U-7W for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 07:41:13 +0200 Original-Received: from localhost ([::1]:48361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqD2t-0007AP-K9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Oct 2016 01:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqD2n-0007A7-8w for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 01:41:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqD2k-00013g-5T for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 01:41:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqD2j-00013Y-Pw for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 01:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bqD2j-0004kJ-Jw for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2016 01:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2016 05:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24577-submit@debbugs.gnu.org id=B24577.147530045418221 (code B ref 24577); Sat, 01 Oct 2016 05:41:01 +0000 Original-Received: (at 24577) by debbugs.gnu.org; 1 Oct 2016 05:40:54 +0000 Original-Received: from localhost ([127.0.0.1]:40175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqD2b-0004jp-Qm for submit@debbugs.gnu.org; Sat, 01 Oct 2016 01:40:53 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:48366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqD2Z-0004jc-0m for 24577@debbugs.gnu.org; Sat, 01 Oct 2016 01:40:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:Cc:To:From; bh=lGxNa36lJJRw9xZzGwWSE+44Nc+0E3DK6AjBFqqcMZE=; b=bzw+boTGp5JE+Jyihj9GgQvpkfbLjEOnnU5Pe1EZuTPy3iIwsXwEl91CCeQCj4M81zW3c25x4MTPbxF0bIXghLdVxW+Vio3GDYh31Z3FeWL6bwQ74bKig4+IrEuW1sXqkf1mucFTdQvcGhSAIEL1r8GNHnJ9B1mHadJN/M5Bs0c=; Original-Received: from violet.siamics.net ([2001:470:1f13:1eb::1:1d]) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1bqD2X-0006yn-82; Sat, 01 Oct 2016 05:40:49 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1bqD2Q-0007ZV-50; Sat, 01 Oct 2016 12:40:42 +0700 In-Reply-To: <87zimovf4z.fsf@gmail.com> (Dmitri Paduchikh's message of "Sat, 01 Oct 2016 09:59:08 +0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:123811 Archived-At: >>>>> Dmitri Paduchikh writes: > C-u C-h c does not work in read-only buffers. And even if the buffer > is writable it's rarely an appropriate place to insert info about key > bindings. I think it would be better if C-u C-h c placed its output > into kill ring and printed it in the echo area instead of the current > behavior. I believe that this behavior is a common idiom in Emacs. For example, M-! date RET shows the current date and time in echo area, while C-u M-! date RET inserts it at point =E2=80=93 with both actions making sense depending on the situation. I guess C-u C-h c behavior is mainly useful when writing about Emacs itself (including writing bug reports, or conversing on IRC, etc.), but I can easily see it being handy nevertheless. Also, for read-only buffers, one can use C-h c without C-u, and then copy the result from the *Messages* buffer. On the other hand, I=E2=80=99m not aware of any of Emacs commands adding the result of some operation directly to the kill ring. --=20 FSF associate member #7257 http://am-1.org/~ivan/ =E2=80=A6 3013 B6A0= 230E 334A