From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Outline and org-mode don't insert text into folded sections logically Date: Sat, 22 Oct 2011 12:13:23 +0200 Message-ID: <877h3xibb0.fsf@gnu.org> References: <1315077299.1785.YahooMailClassic@web121520.mail.ne1.yahoo.com> <837h5nh1df.fsf@yahoo.it> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHYZ7-0003LT-MQ for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 06:12:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHYZ6-000547-Pg for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 06:12:33 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:47079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHYZ6-00053v-HA for emacs-orgmode@gnu.org; Sat, 22 Oct 2011 06:12:32 -0400 Received: by wyg34 with SMTP id 34so5618616wyg.0 for ; Sat, 22 Oct 2011 03:12:31 -0700 (PDT) In-Reply-To: (suvayu ali's message of "Mon, 5 Sep 2011 10:01:33 +0200") 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: suvayu ali Cc: Kelly Dean , emacs-orgmode@gnu.org Hi Suvayu, suvayu ali writes: > I think this might be the right time to ask for a feature request, > unfold a tree if someone tries to edit it. This will prevent many > "mishaps". Good idea. There is `post-self-insert-hook' but there is no `pre-self-insert-hook' that would check whether the point is in an invisible area of the buffer, and send a warning about this. Any idea on how to implement this? -- Bastien