emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Quick function to search all Agenda buffers


From: Bastien
Subject: Re: [Orgmode] Quick function to search all Agenda buffers
Date: Mon, 24 Sep 2007 01:26:29 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

John Wiegley <address@hidden> writes:

> (defun org-multi-occur (regexp)
>   (interactive "sList all lines matching: ")
>   (multi-occur (mapcar 'get-file-buffer (org-agenda-files)) "org"))

There is a small typo:

(defun org-multi-occur (regexp)
  (interactive "sList all lines matching: ")
  (multi-occur (mapcar 'get-file-buffer (org-agenda-files)) regexp))
                                                            ^^^^^^
Very useful, thanks!

Comparing to that, org-registry looks like using a bulldozer to tidy up
my room. But I still think it does make sense to directly look for the
files where the current buffer is linked.  Any suggestion welcome!

-- 
Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]