all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 19014@debbugs.gnu.org
Subject: bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only
Date: Mon, 10 Nov 2014 14:13:08 -0800 (PST)	[thread overview]
Message-ID: <fd823824-67e5-48be-9535-96c15f1c3992@default> (raw)

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=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





             reply	other threads:[~2014-11-10 22:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-10 22:13 Drew Adams [this message]
2014-11-18 10:43 ` bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only Bastien
2014-11-18 15:01   ` Drew Adams
2020-05-22 12:31     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fd823824-67e5-48be-9535-96c15f1c3992@default \
    --to=drew.adams@oracle.com \
    --cc=19014@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.