emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Cc: Rainer M Krug <Rainer@krugs.de>
Subject: Re: Possible bug: Can not search for text in links - only description
Date: Fri, 20 Mar 2015 07:59:07 -0700	[thread overview]
Message-ID: <87mw3767gk.fsf@berkeley.edu> (raw)
In-Reply-To: m2lhir237m.fsf@krugs.de

Hi Rainer,

Rainer M Krug <Rainer@krugs.de> writes:

> I figured out that I can not search for text in the link.
>
> Thins is quite annoying, especially as I even thought of opening the
> file in another texteditor, search for the string, and save it again.
>
> As an example: if this link is in an org-mode file, A search for "exa"
> does not return any results.
>
> [[*Examples][Link to exp]]
>
> Is this a problem on my side?

No, I confirm that that's how it works for me, too.  

I am not sure if this counts as a bug or not, so someone else should
still address this question.  Maybe this is the desired behavior, given
that the link text is hidden?  Or maybe it's just not possible to search
in hidden text?

There's a less-drastic solution than switching to another editor though!
You can just turn off Org mode...try M-x fundamental-mode, then run the
search.

Best,
Richard

  reply	other threads:[~2015-03-20 14:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 13:44 Possible bug: Can not search for text in links - only description Rainer M Krug
2015-03-20 14:59 ` Richard Lawrence [this message]
2015-03-20 15:20   ` Sebastien Vauban
2015-03-21 23:34   ` Alexis
2015-03-20 15:38 ` Jacob Gerlach
2015-03-20 16:50   ` Ken Mankoff
2015-03-20 18:06     ` Charles C. Berry
2015-03-22  0:08       ` Jacob Gerlach
2015-03-23 12:42       ` Rainer M Krug
2015-03-23 14:37         ` Achim Gratz
2015-03-23 16:56           ` Rainer M Krug
2015-03-23 12:40   ` Rainer M Krug
2015-03-20 17:53 ` Samuel Wales
2015-03-20 17:57   ` Jacob Gerlach
2015-03-31 13:46   ` Ken Mankoff
2015-03-31 20:07     ` Samuel Wales
2015-03-21 23:45 ` Randomcoder
2015-03-23 12:45 ` Rainer M Krug
2015-03-23 12:57   ` Jacob Gerlach

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=87mw3767gk.fsf@berkeley.edu \
    --to=richard.lawrence@berkeley.edu \
    --cc=Rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    /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).