From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Select and Paste Date: Fri, 01 Dec 2006 13:54:55 +0200 Message-ID: References: <456E3547.3030606@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1164974139 21433 80.91.229.2 (1 Dec 2006 11:55:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2006 11:55:39 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 01 12:55:35 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Gq6zA-0006nZ-5x for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2006 12:55:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gq6z9-0003uL-Qc for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2006 06:55:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gq6yv-0003r6-Mu for emacs-devel@gnu.org; Fri, 01 Dec 2006 06:55:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gq6yt-0003nC-Em for emacs-devel@gnu.org; Fri, 01 Dec 2006 06:55:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gq6yt-0003mn-3y for emacs-devel@gnu.org; Fri, 01 Dec 2006 06:55:03 -0500 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gq6yp-0007mH-Oe; Fri, 01 Dec 2006 06:55:00 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-243-220.inter.net.il [83.130.243.220]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BDR41702 (AUTH halo1); Fri, 1 Dec 2006 13:54:50 +0200 (IST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 30 Nov 2006 14:48:43 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:63186 Archived-At: > From: Richard Stallman > Date: Thu, 30 Nov 2006 14:48:43 -0500 > Cc: emacs-devel@gnu.org > > is a very nice feature to have in the menus but maybe not the best name > for it since "Select" in nearly the same context refers to selecting > text in the buffer. > > Maybe "Paste More"? > > How about Paste Menu? How about "Paste From Menu"? > BTW "Paste" is enabled when you are in an info buffer, but "Select and > Paste" is not. > > That seems like a bug, but it doesn't happen when I try it, > and the code checks buffer-read-only. Can you debug why it > fails for you? The fact that Paste and Select and Paste behave differently is not a bug: Paste could be enabled because Emacs sees text in the X selection (or the Windows clipboard). In that case, if the Emacs kill-ring is empty, Select and Paste will be disabled. As for the buffer-read-only test, I see that it doesn't work in more than just Paste: for example, Cut also becomes enabled when I mark a region in a read-only buffer. I didn't have time to debug this, though.