From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Fran=C3=A7ois_Pinard?= Subject: org-grep, and problems Date: Thu, 10 Oct 2013 11:50:47 -0400 Message-ID: <864n8pw2eg.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUIVp-0005VI-MY for emacs-orgmode@gnu.org; Thu, 10 Oct 2013 11:50:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUIVk-0006fJ-Uv for emacs-orgmode@gnu.org; Thu, 10 Oct 2013 11:50:53 -0400 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:61921 helo=mercure.bureau.ubity.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUIVk-0006fD-PN for emacs-orgmode@gnu.org; Thu, 10 Oct 2013 11:50:48 -0400 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: emacs-orgmode@gnu.org Hi, Org people. I recently rewrote my Emacs "org-grep" function, which surely nobody remember, as when we discussed it here, it was years ago! :-) The new writing gives nicer results, so I made it available as: https://github.com/pinard/org-grep However, I'm not satisfied. Maybe someone would be kind enough to explore and understand some of the problems I see, at least before I succeed in doing it myself. The two main problems are: - (save-current-buffer ...) or (save-excursion ...) fail to bring the cursor back into the current window, seemingly whenever an Org link gets followed within the Lisp form. - org-reveal leaves the cursor line collapsed. I can live with these two problems unsolved, as it only requires a few more manipulations as a user. They would be nicer solved, of course. Keep happy, all! Fran=C3=A7ois P.S. What is proper English: "nobody remember" or "nobody remembers"?