emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Bastien <bzg@altern.org>
Cc: 19014@debbugs.gnu.org
Subject: bug#19014: 25.0.50; Disable Org, Tbl, & Text menu items that change buffer when read-only
Date: Tue, 18 Nov 2014 07:01:03 -0800 (PST)	[thread overview]
Message-ID: <87b5b4b7-3286-4428-be8a-7075381c2e8c@default> (raw)
In-Reply-To: <87d28k7pr2.fsf@bzg.ath.cx>

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.
> 
> 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

  reply	other threads:[~2014-11-18 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fd823824-67e5-48be-9535-96c15f1c3992@default>
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 [this message]
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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87b5b4b7-3286-4428-be8a-7075381c2e8c@default \
    --to=drew.adams@oracle.com \
    --cc=19014@debbugs.gnu.org \
    --cc=bzg@altern.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).