emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Randomcoder <randomcoder1@gmail.com>
To: Rainer M Krug <Rainer@krugs.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Possible bug: Can not search for text in links - only description
Date: Sun, 22 Mar 2015 01:45:05 +0200	[thread overview]
Message-ID: <20150321234505.GA26926@xw> (raw)
In-Reply-To: <m2lhir237m.fsf@krugs.de>

Hi Rainer,

In terms of searching through all open buffers,
here is what I use (helm and helm-multi-occur):

,----
| (setq helm-M-x-requires-pattern 0)
|
| ;; http://emacs.stackexchange.com/a/740
| (require 'helm-regexp)
| (eval-after-load "helm-regexp"
|   '(setq helm-source-moccur
|          (helm-make-source "Moccur" 'helm-source-multi-occur :follow 1)))
| (defun my-helm-multi-occur-buffers ()
|   "multi-occur in all buffers backed by files."
|   (interactive)
|   (helm-multi-occur
|    (delq nil
|          (mapcar (lambda (b)
|                    (when (buffer-file-name b) (buffer-name b)))
|                  (buffer-list)))))
| (global-set-key (kbd "C-x C-p") (lambda ()
|                                   (interactive)
|                                   (helm-mode 1)
|                                   (my-helm-multi-occur-buffers) 
|                                   (helm-mode 0)
|                                   ))
`----

There are other solutions to this such as org-velocity:

- http://orgmode.org/worg/org-contrib/org-velocity.html
- https://github.com/Fuco1/org-velocity

Both helm + helm-multi-occur and org-velocity offer auto-complete
search functionality.

Best regards


On Fri, Mar 20, 2015 at 02:44:29PM +0100, Rainer M Krug wrote:
> Hi
> 
> I got an error as follow when I tried to export:
> 
> ,----
> | org-babel-exp process R at line 5495...
> | Evaluation of this R code-block is disabled.
> | user-error: Unable to resolve link "*uLELFit"
> `----
> 
> I thought "OK - I'll search for uLELFit and just fix this link - but I
> could do what I wanted, I did not manage to find the link.
> 
> 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?
> ,----
> | Org-mode version 8.3beta (release_8.3beta-927-ge0b19d @ /Users/rainerkrug/.emacs.d/org-mode/lisp/)
> | GNU Emacs 24.4.1 (x86_64-apple-darwin14.0.0, Carbon Version 157 AppKit 1343.16) of 2015-02-02 on Rainers-MacBook-Pro-4.local
> `----
> 
> Thanks,
> 
> Rainer
> 
> -- 
> Rainer M. Krug
> email: Rainer<at>krugs<dot>de
> PGP: 0x0F52F982

  parent reply	other threads:[~2015-03-21 23:45 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
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 [this message]
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=20150321234505.GA26926@xw \
    --to=randomcoder1@gmail.com \
    --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).