From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: No "Edit" menu-item in "Gnus" Date: Mon, 14 Aug 2006 11:02:08 +0200 Message-ID: <44E03C10.1080507@swipnet.se> References: <85r6zjwx48.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155546206 21805 80.91.229.2 (14 Aug 2006 09:03:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Aug 2006 09:03:26 +0000 (UTC) Cc: emacs-devel@gnu.org, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 14 11:03:24 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 1GCYLu-0005JQ-1o for ged-emacs-devel@m.gmane.org; Mon, 14 Aug 2006 11:03:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCYLt-0006qW-Jt for ged-emacs-devel@m.gmane.org; Mon, 14 Aug 2006 05:03:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GCYLN-0006pB-9f for emacs-devel@gnu.org; Mon, 14 Aug 2006 05:02:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GCYLJ-0006m1-5q for emacs-devel@gnu.org; Mon, 14 Aug 2006 05:02:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCYLI-0006lp-QH for emacs-devel@gnu.org; Mon, 14 Aug 2006 05:02:40 -0400 Original-Received: from [81.228.8.185] (helo=av12-1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GCYR3-0006Hw-Gm; Mon, 14 Aug 2006 05:08:37 -0400 Original-Received: by av12-1-sn2.hy.skanova.net (Postfix, from userid 502) id 8770D383AD; Mon, 14 Aug 2006 11:02:38 +0200 (CEST) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av12-1-sn2.hy.skanova.net (Postfix) with ESMTP id 7A6073826E; Mon, 14 Aug 2006 11:02:38 +0200 (CEST) Original-Received: from coolsville.localdomain (81-235-205-204-no59.tbcn.telia.com [81.235.205.204]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id 57C0237E44; Mon, 14 Aug 2006 11:02:38 +0200 (CEST) User-Agent: Thunderbird 1.5.0.5 (X11/20060808) Original-To: David Kastrup In-Reply-To: <85r6zjwx48.fsf@lola.goethe.zz> 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:58376 Archived-At: David Kastrup writes: > storm@cua.dk (Kim F. Storm) writes: > >> Why does Gnus hide the Edit menu item? >> >> There are several items on that menu that are useful when reading mail >> and news. > > Maybe we should have the Edit menu selectively grey out what does not > work on read-only buffers? This is partly done, but somewhat > inconsistently. For example, "Yank" is allowed. The definition of > x-clipboard-yank does not have an (interactive "*") spec. I don't > know whether that is the reason, or whether the interactive-spec does > not get consulted automatically. It is because the function clipboard-yank didn't have one. Maybe they both should have one? But those are not automatically applied to the menu, I've made a change in x-win.el so that paste is disabled for read-only buffers. Jan D.