emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Should org-narrow-to-subtree be disabled by default?
@ 2013-11-23 13:55 Jisang Yoo
  2013-11-23 15:25 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Jisang Yoo @ 2013-11-23 13:55 UTC (permalink / raw)
  To: emacs-orgmode

There are some Emacs commands that come disabled by default.
narrow-to-region and narrow-to-page are examples. Emacs manual says
"The purpose of disabling a command is to prevent users from executing
it by accident; we do this for commands that might be confusing to the
uninitiated."

80% of my mind says org-narrow-to-subtree should be disabled by
default, which is not the case as of now. On the other hand, no policy
says that every narrowing commands need be disabled. One knows that
there is no such policy by seeing that narrow-to-defun is not
disabled. That is why 20% of my mind says org-narrow-to-subtree need
not come disabled.

What do you think? If the overall consensus is that the command should
be disabled, then incorporating that in org.el would be as simple as
including:

(put 'org-narrow-to-subtree 'disabled t)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-01-03 15:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-23 13:55 Should org-narrow-to-subtree be disabled by default? Jisang Yoo
2013-11-23 15:25 ` Bastien
2013-11-23 15:53   ` Rasmus
2014-01-03 15:39     ` Bastien
2014-01-03 15:50       ` Rasmus

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