emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Re: Editing folded headlines and ellipses
Date: Tue, 12 Mar 2013 10:44:58 -0300	[thread overview]
Message-ID: <513f315e.c462b40a.36eb.2dd8@mx.google.com> (raw)
In-Reply-To: <87boao4wig.fsf@bzg.ath.cx>


At Tue, 12 Mar 2013 13:45:27 +0100,
Bastien wrote:
> 
> Hi Darlan,
> 
> Darlan Cavalcante Moreira <darcamo@gmail.com> writes:
> 
> > That is another nice feature of org-mode I didn't know about.
> 
> I just documented it in the manual, thanks!
> 
> > I set the variable to 'error now..
> >
> > Any reason why nil is the default?
> 
> IMO setting it to non-nil would be too intrusive for
> most users.

That is true, but in this case I think it is a good thing, specially for
new users. I have edited some invisible part by mistake in the past, but
because I saw my mistake I could undo until the buffer was not marked as
modified anymore (I save a lot, therefore this was enough). Nowadays I'm
always careful to avoid this, but having org-mode do that for me gives me
some piece of mind that I won't mess with my precious org-mode files by
mistake..

In my case I don't think I'll ever need to edit invisible text by hand. The
only time I edit invisible text is when performing some search and
replacement in some region containing folded subtrees (or in the whole
buffer), but this works even org-catch-invisible-edits is set to error,
which is great for me.

I don't know which option would be a better default, but I think nil is not
the one (unless there is some performance loss I didn't see due to the
check).

--
Darlan

> 
> -- 
>  Bastien

  reply	other threads:[~2013-03-12 13:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10  0:37 Editing folded headlines and ellipses Suvayu Ali
2013-03-10  9:34 ` Bastien
2013-03-10  9:57   ` Suvayu Ali
2013-03-11 14:04     ` Darlan Cavalcante Moreira
2013-03-12 12:45       ` Bastien
2013-03-12 13:44         ` Darlan Cavalcante Moreira [this message]
2013-03-12 14:21           ` Should org-catch-invisible-edits default to non-nil? (was: Editing folded headlines and ellipses) Bastien
2013-03-12 14:29             ` Marcin Borkowski
2013-03-12 14:29             ` Carsten Dominik
2013-03-12 14:33             ` Suvayu Ali
2013-03-13  9:00           ` Editing folded headlines and ellipses 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=513f315e.c462b40a.36eb.2dd8@mx.google.com \
    --to=darcamo@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@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 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).