From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#36525: M-x default when cursor on top of a M-x command in INFO Date: Tue, 9 Jul 2019 14:07:14 -0700 (PDT) Message-ID: <2f55b279-f7fc-4b12-b4f9-9e1f6771edf3@default> References: <87ftnj5s5s.2.fsf@jidanni.org> <59855a35-cdc2-4c58-bcb2-791c62188374@default> <87r2711n5i.fsf@mail.linkov.net> <18bc1649-6d5b-42c4-bb12-3630b0728b9c@default> <87bly4451d.fsf@mail.linkov.net> <8e584ef5-0d1b-4ed0-97e9-b22252289a7f@default> <87y317jefe.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="122094"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36525@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 23:09:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkxMI-000VeQ-RK for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 23:09:06 +0200 Original-Received: from localhost ([::1]:56148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkxMH-0000bA-Lp for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 17:09:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53294) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkxLS-0000as-9Q for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:08:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkxLL-000696-1J for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:08:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkxLG-00066B-K8 for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:08:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hkxLG-0000pZ-DZ for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 17:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Jul 2019 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36525 X-GNU-PR-Package: emacs Original-Received: via spool by 36525-submit@debbugs.gnu.org id=B36525.15627064483147 (code B ref 36525); Tue, 09 Jul 2019 21:08:02 +0000 Original-Received: (at 36525) by debbugs.gnu.org; 9 Jul 2019 21:07:28 +0000 Original-Received: from localhost ([127.0.0.1]:34389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkxKi-0000og-7x for submit@debbugs.gnu.org; Tue, 09 Jul 2019 17:07:28 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:36934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkxKd-0000oN-Ha for 36525@debbugs.gnu.org; Tue, 09 Jul 2019 17:07:24 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x69L48BZ085342; Tue, 9 Jul 2019 21:07:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=DI6ZgnjHeERvhzFKmijIx0LEN7NrgXqJJ2kzuAqUp+o=; b=iIRMVvRz4zCz5LIBRA3JFmOQBeRxdAZDukGu3DFPgPHQRgsj2lOjW0c+hxiIsyUZKRls WpLDsMAgjImsQxDjP7Mv4EyH1YIcjsdbfUz6AiF15vi3h/oxEYJborm8jhtwC0DeUB8O HMFKOy77soQgQ1u9e+Rr5YHkpgEqzHVHt8kVy6oX5WYzmF8dHfrwSzCPkoOv5/OA6Xe6 c6tgm/shje79RW6nKl8/zFzGfOwDwUecixVFl7371+a7WH+HELG1lNkE828Xq23Lh8Yr Z5kt2ErS4hYNbXs/aXIaP5Ju7teLDU7O30ro+6LQBCfEpg1eA+IloQd6NyGfPAVO/dsZ ng== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2tjm9qpjpj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Jul 2019 21:07:17 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x69L2ZlD168211; Tue, 9 Jul 2019 21:07:16 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2tmwgx4v39-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 09 Jul 2019 21:07:16 +0000 Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x69L7Fr2007328; Tue, 9 Jul 2019 21:07:16 GMT In-Reply-To: <87y317jefe.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4861.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9313 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907090252 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9313 signatures=668688 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907090253 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: 209.51.188.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:162556 Archived-At: > Then a key sequence like =E2=80=98C-x M-. M-. M-.=E2=80=99 > could be used to copy text from the buffer > to the minibuffer. Of course. As could `M-.' Or other key sequences. > And then why not let it be copied to any buffer,=20 > not just the minibuffer. Why? By "copied to" I guess you mean pasted to, since that's what was talked about wrt the minibuffer: copied from the current buffer, pasted into the minibuffer. In the minibuffer case the two buffers involved are well-defined. There's no navigating. > For instance, select the active region in one buffer, > switch to another window, and pull text from the region > in other window - without adding it to the kill-ring. There are any number of things that could be done. Why do that one in particular? Do you see it as being particularly useful? There's a buffer that's current when you enter the minibuffer. It's generally where you might be interested in grabbing some text at point. (It, and its window point, were likely the focus of attention before entering the minibuffer.) Since you're now editing in the minibuffer, that's generally where you want to paste it. This is a particular use case, even if the choice of _what_ you might want to grab near point allows lots of possibilities. I don't see the point of what you describe, but feel free to develop it some more. So far, I can't imagine using it. (How often do I want to copy+paste without using the kill ring? Rarely.) In a scenario like you describe, if I had to go to another window, select some text, and then paste it into the first (or yet another) window, I'd probably use the mouse to select the text. (And I have non-nil `mouse-drag-copy-region', so it would still use the kill ring.) Or if I wanted to avoid adding to the kill ring I'd select the text as the secondary selection and paste that. Maybe describe a bit more what you have in mind? Maybe try it out?