From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Editing folded headlines and ellipses Date: Tue, 12 Mar 2013 10:44:58 -0300 Message-ID: <513f315e.c462b40a.36eb.2dd8@mx.google.com> References: <20130310003718.GA6483@kuru.dyndns-at-home.com> <87k3pfbntp.fsf@bzg.ath.cx> <20130310095715.GB6483@kuru.dyndns-at-home.com> <513de46c.c455b40a.047b.48b5@mx.google.com> <87boao4wig.fsf@bzg.ath.cx> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFPVx-0001jn-Dp for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 09:45:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFPVp-00080W-5T for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 09:45:13 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:57198) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFPVo-0007yo-W8 for emacs-orgmode@gnu.org; Tue, 12 Mar 2013 09:45:05 -0400 Received: by mail-wg0-f43.google.com with SMTP id e12so6165969wge.10 for ; Tue, 12 Mar 2013 06:45:04 -0700 (PDT) In-Reply-To: <87boao4wig.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Emacs Org mode At Tue, 12 Mar 2013 13:45:27 +0100, Bastien wrote: > > Hi Darlan, > > Darlan Cavalcante Moreira 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