From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: searching for links [8.3.3 (8.3.3-17-gce80a0-elpaplus @ c:/USR/FJM/APP/.emacs.d/elpa/org-20160118/)] Date: Thu, 28 Jan 2016 17:45:40 -0500 Message-ID: <87r3h1wcff.fsf@kyleam.com> References: <56AA8D33.4040408@juno.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOvK4-0005Z2-Dy for emacs-orgmode@gnu.org; Thu, 28 Jan 2016 17:45:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOvJz-00035q-Bc for emacs-orgmode@gnu.org; Thu, 28 Jan 2016 17:45:52 -0500 Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:57905 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOvJz-00035W-7f for emacs-orgmode@gnu.org; Thu, 28 Jan 2016 17:45:47 -0500 In-Reply-To: <56AA8D33.4040408@juno.com> (Francis J. Monari's message of "Thu, 28 Jan 2016 16:50:43 -0500") 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: "Francis J. Monari, Esquire" Cc: emacs-orgmode@gnu.org Hello, "Francis J. Monari, Esquire" 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. -- Kyle