From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 10 17:13:42 2014 Received: (at submit) by debbugs.gnu.org; 10 Nov 2014 22:13:42 +0000 Received: from localhost ([127.0.0.1]:56437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnxDS-00071b-5R for submit@debbugs.gnu.org; Mon, 10 Nov 2014 17:13:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54642) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XnxDQ-00071S-Gr for submit@debbugs.gnu.org; Mon, 10 Nov 2014 17:13:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnxDF-0003wT-ND for submit@debbugs.gnu.org; Mon, 10 Nov 2014 17:13:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnxDF-0003wM-Jk for submit@debbugs.gnu.org; Mon, 10 Nov 2014 17:13:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnxD6-00050r-Sa for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:13:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnxCy-0003sj-0A for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:13:20 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:46924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnxCx-0003sY-Qe for bug-gnu-emacs@gnu.org; Mon, 10 Nov 2014 17:13:11 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sAAMD94b019399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 10 Nov 2014 22:13:10 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sAAMD8Bh012094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 10 Nov 2014 22:13:09 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAAMD80V011901 for ; Mon, 10 Nov 2014 22:13:08 GMT MIME-Version: 1.0 Message-ID: Date: Mon, 10 Nov 2014 14:13:08 -0800 (PST) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) There are lots of menu items in the Org menu-bar menus (Org, Tbl, Text) that modify the buffer but are not disabled when the buffer is read-only. They should be - they are no-ops in this context. This is all the more important because there are still plenty of menu items for commands that are useful in a read-only buffer. Disabling the others makes those that are available more obvious and easier to select. That is what we do for the Edit menu, for example. You can use it as a model, here. In GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2014-10-20 on LEG570 Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --enable-checking=3Dyes,glyphs CPPFLAGS=3D-DGLYPH_DEBUG=3D1' From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 18 05:43:50 2014 Received: (at 19014) by debbugs.gnu.org; 18 Nov 2014 10:43:51 +0000 Received: from localhost ([127.0.0.1]:36836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqgGE-0007i1-F2 for submit@debbugs.gnu.org; Tue, 18 Nov 2014 05:43:50 -0500 Received: from mail-wg0-f52.google.com ([74.125.82.52]:63163) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqgGB-0007ht-Rw for 19014@debbugs.gnu.org; Tue, 18 Nov 2014 05:43:48 -0500 Received: by mail-wg0-f52.google.com with SMTP id a1so3634056wgh.11 for <19014@debbugs.gnu.org>; Tue, 18 Nov 2014 02:43:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=v+Yt3hzrIx4YZA0IrvWPv5ACRWrOAsweyoXV5/4FymU=; b=HkqQA/I3Zd+j7Pl63haaCJiH28UpAv4XmoPHDO9xv0tI/RDMoWNA4A+Wt873IhceXf 7jK2RjXKZETgeiLJfU//r7D3bCnsITEsaJn4yJxW4cPg1KZln7LvRas8VpgvEy55ynHv 8EcH3m1w1T9QD2LfRVxO6P+Wc6q54azYfDgnnf8Wd6yoK9jQKdXFAY1Q8xJw5VfmEBCv 8z2xD0fPvfmuUVFsexhXIuy/ohE/DjTdoPb9r6g2X3LaSF/l3lRGOoXDA1esC7mBgq3a 3ObfMGwowuL67cfLUtk6isUkbx1WhJRVXk3sEbJTob3s6u7vY7Dr4VZQiwE38r4p4Q9N 09+w== X-Received: by 10.194.191.227 with SMTP id hb3mr42140851wjc.79.1416307427216; Tue, 18 Nov 2014 02:43:47 -0800 (PST) Received: from bzg.localdomain (AMontsouris-651-1-156-165.w82-123.abo.wanadoo.fr. [82.123.47.165]) by mx.google.com with ESMTPSA id fm10sm24757208wjc.43.2014.11.18.02.43.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 02:43:46 -0800 (PST) Received: by bzg.localdomain (Postfix, from userid 1000) id 50A651C22E43; Tue, 18 Nov 2014 11:43:45 +0100 (CET) From: Bastien To: Drew Adams Subject: Re: bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only In-Reply-To: (Drew Adams's message of "Mon, 10 Nov 2014 14:13:08 -0800 (PST)") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Date: Tue, 18 Nov 2014 11:43:45 +0100 Message-ID: <87d28k7pr2.fsf@bzg.ath.cx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19014 Cc: 19014@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi Drew, Drew Adams writes: > There are lots of menu items in the Org menu-bar menus (Org, Tbl, Text) > that modify the buffer but are not disabled when the buffer is > read-only. They should be - they are no-ops in this context. > > This is all the more important because there are still plenty of menu > items for commands that are useful in a read-only buffer. Disabling the > others makes those that are available more obvious and easier to select. Do you often turn read-only on on Org buffers? In what circumstances would users turn read-only on in Org buffers? > That is what we do for the Edit menu, for example. You can use it as a > model, here. I understand the suggestion, I'm trying to see if this is important or not. Thanks in advance for your feedback. -- Bastien From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 18 10:01:10 2014 Received: (at 19014) by debbugs.gnu.org; 18 Nov 2014 15:01:10 +0000 Received: from localhost ([127.0.0.1]:37358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqkHF-00078a-P0 for submit@debbugs.gnu.org; Tue, 18 Nov 2014 10:01:10 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:46685) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XqkHE-00078T-3w for 19014@debbugs.gnu.org; Tue, 18 Nov 2014 10:01:08 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sAIF15gj026589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 18 Nov 2014 15:01:06 GMT Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sAIF140O028195 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 18 Nov 2014 15:01:05 GMT Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sAIF14ql027783; Tue, 18 Nov 2014 15:01:04 GMT MIME-Version: 1.0 Message-ID: <87b5b4b7-3286-4428-be8a-7075381c2e8c@default> Date: Tue, 18 Nov 2014 07:01:03 -0800 (PST) From: Drew Adams To: Bastien Subject: RE: bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only References: <87d28k7pr2.fsf@bzg.ath.cx> In-Reply-To: <87d28k7pr2.fsf@bzg.ath.cx> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19014 Cc: 19014@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Bastien, > > There are lots of menu items in the Org menu-bar menus (Org, Tbl, > > Text) that modify the buffer but are not disabled when the buffer is > > read-only. They should be - they are no-ops in this context. > > > > This is all the more important because there are still plenty of > > menu items for commands that are useful in a read-only buffer. > > Disabling the others makes those that are available more obvious > > and easier to select. >=20 > Do you often turn read-only on on Org buffers? > In what circumstances would users turn read-only on in Org buffers? Fair enough. The background/context: 1. I don't use Org. Sorry to say that. I've read the manual cover to cover, I am interested in Org mode, and I've heard only good things about it, but so far I have not found much use for it wrt what I do. I use Emacs mainly for playing with customizing it etc. I imagine I would try doing the same with Org, if I had more time. I hardly have enough time to keep up with bug fixes of my existing code and updates required for it by changes to Emacs. ;-) 2. I was made aware of this Org menus bug only by accident. A Bookmark+ user asked that the bookmark annotation buffer be optionally in Org mode by default. I added that feature. He then asked for Org mode also when an annotation is just displayed, i.e., not for editing. I added that feature too - the buffer is (optionally) in Org mode, so you can navigate, show/hide, etc., but it is made read-only. That's when I took a look at the menus, to see what kinds of operations would be available for a read-only Org buffer. And I noticed that there are lots of menu items that clearly do not make sense for read-only. I filed this bug. I think that if this bug is fixed it will quickly let users know which operations are useful in this context, and which operations do not modify the buffer. > I understand the suggestion, I'm trying to see if this is important > or not. Thanks in advance for your feedback. Your call. It doesn't matter to me, personally. I'm thinking only of Org users - what might help them. And you obviously are a better judge of that. Feel free to close the bug, if you don't think it needs or is worth fixing. Regards - Drew From debbugs-submit-bounces@debbugs.gnu.org Fri May 22 08:31:16 2020 Received: (at 19014-done) by debbugs.gnu.org; 22 May 2020 12:31:16 +0000 Received: from localhost ([127.0.0.1]:58310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc6pY-0006i7-0O for submit@debbugs.gnu.org; Fri, 22 May 2020 08:31:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc6pW-0006hr-17 for 19014-done@debbugs.gnu.org; Fri, 22 May 2020 08:31:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47240) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jc6pQ-0003Yr-Md; Fri, 22 May 2020 08:31:08 -0400 Received: from [2a01:e35:2fe1:f780:f435:78db:3945:8914] (port=32822 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1jc6pN-0002K6-Dg; Fri, 22 May 2020 08:31:05 -0400 Received: by guerry (Postfix, from userid 1000) id C3C041A603E5; Fri, 22 May 2020 14:31:02 +0200 (CEST) From: Bastien To: Drew Adams Subject: Re: bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only Organization: GNU References: <87d28k7pr2.fsf@bzg.ath.cx> <87b5b4b7-3286-4428-be8a-7075381c2e8c@default> Date: Fri, 22 May 2020 14:31:02 +0200 Message-ID: <87h7w8f8xl.fsf@bzg.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19014-done Cc: 19014-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Drew, Adams writes: > Your call. It doesn't matter to me, personally. I'm thinking > only of Org users - what might help them. And you obviously are > a better judge of that. Feel free to close the bug, if you don't > think it needs or is worth fixing. I've never seen this issue brought by Org users in the last six years so I guess we can safely close this, which I'm doing now. Thanks, -- Bastien From unknown Mon Aug 11 21:12:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 20 Jun 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator