From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: org-catch-invisible-edits [8.2.5h (8.2.5h-30-gdd810b-elpa @ ~/.emacs.d/elpa/org/)] Date: Thu, 13 Mar 2014 15:24:38 +0100 Message-ID: <8738imw509.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO6Z0-0007xP-Ql for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 10:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO6Yu-00039B-JP for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 10:24:50 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:49761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO6Yu-000396-FV for emacs-orgmode@gnu.org; Thu, 13 Mar 2014 10:24:44 -0400 In-Reply-To: (Paul Stansell's message of "Thu, 6 Mar 2014 17:46:11 +0000") 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: Paul Stansell Cc: emacs-orgmode@gnu.org Hi Paul, Paul Stansell writes: > Today I came across org-catch-invisible-edits, but I'm struggling to > get it to work. Since I've never had it working it's possible that > I'm misunderstanding it or doing something wrong, or maybe it's > broken. > > In my .emacs file I put > > (setq org-catch-invisible-edits 'show) > > but both 'M-x query-replace' and 'M-x replace-string' still replace > hidden strings in folded sections of an org file. The name of the option is a bit misleading: your setup will catch *insertions* not editions. To put it simply, it's only active when inserting a character, not when using general-purpose editing commands like replace-string. I'm not sure it's worth using another name, though. -- Bastien