[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] searching for links [8.3.3 (8.3.3-17-gce80a0-elpaplus @ c:/USR/F
Re: [O] searching for links [8.3.3 (8.3.3-17-gce80a0-elpaplus @ c:/USR/FJM/APP/.emacs.d/elpa/org-20160118/)]
Thu, 28 Jan 2016 17:45:40 -0500
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
"Francis J. Monari, Esquire" <address@hidden> writes:
> Due to file relocation on the server, I have a number of broken links in
> an org document. (problem: broken links.)
> How can I / Is it possible to search and replace on links?
> (expectation: I would like to use search and replace to fix the links.)
> I have tried search and replace, but emacs advises me that links have
> been filtered out. (issue: emacs reports that results from the search
> are filtered-out.)
isearch filters these out by default. To avoid this, you can set
search-invisible to t, but then you don't see what you're replacing.
Another option is to toggle literal link display with
org-toggle-link-display, and then run the search and replace as usual.
> The answer might be a "works as expected". I would like to remain
> within the org framework (but using standard search and replace) and
> accomplish this task.
> (I thought about forcing the files into a different mode, but I do not
> want to risk the org file structure.)
I don't really see any danger in that because it's just plain text and
it's querying you about what to replace, so I think that's fine too for
a one-off search and replace.