emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Paul Stansell <paulstansell@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <8738imw509.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAMJKaZwZY=yWBY7R4cCEyENfAHTtYo2Jf7MdpG9d_ugENjKi+w@mail.gmail.com>	(Paul Stansell's message of "Thu, 6 Mar 2014 17:46:11 +0000")

Hi Paul,

Paul Stansell <paulstansell@gmail.com> 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

  reply	other threads:[~2014-03-13 14:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-06 17:46 Bug: org-catch-invisible-edits [8.2.5h (8.2.5h-30-gdd810b-elpa @ ~/.emacs.d/elpa/org/)] Paul Stansell
2014-03-13 14:24 ` Bastien [this message]
2014-03-13 16:24   ` Paul Stansell
2014-04-20  7:59     ` 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=8738imw509.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=paulstansell@gmail.com \
    /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).