From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Ruiz Subject: Filtering entries of a journal file with its datestamp Date: Fri, 16 Apr 2010 05:28:26 +0000 (GMT) Message-ID: <440149.86075.qm@web23803.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2e6S-00015y-K7 for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 01:28:33 -0400 Received: from [140.186.70.92] (port=59608 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2e6P-000143-TF for Emacs-orgmode@gnu.org; Fri, 16 Apr 2010 01:28:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2e6O-0000kI-Qi for Emacs-orgmode@gnu.org; Fri, 16 Apr 2010 01:28:29 -0400 Received: from web23803.mail.ird.yahoo.com ([87.248.115.76]:42505) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O2e6O-0000js-Er for Emacs-orgmode@gnu.org; Fri, 16 Apr 2010 01:28:28 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode@gnu.org I have a simple journal .org file like this:=0A=0A------Begin file---------= ------=0A* <2010-04-16 fri>=0ASubject 1=0ASubject 2=0ASubject 1=0ASubject 4= 0=0A=0A* <2010-04-17 sat>=0ASubject 2=0ASubject 3=0ASubject 1=0ASubject 40= =0A------End file------------------=0A=0AEvery subject is only one line. = =0A=0AI would like to print the journal but including only the lines with a= specific content, determined by a search, like the following=0A=0A-----Buf= fer to print---------=0A* <2010-04-16 fri>=0ASubject 1=0ASubject 1=0A=0A* <= 2010-04-17 sat>=0ASubject 1=0A------------------------------=0A=0A------Ano= ther buffer to print-=0A* <2010-04-16 fri>=0ASubject 40=0A=0A* <2010-04-17 = sat>=0ASubject 40=0A------------------------------=0A=0AI have tried org-oc= cur, but only marks the searched string; I also have tried occur but genera= te a list without the dates, and cannot be printed.=0A=0AI would appreciate= any hint.=0A=0AMiguel Ruiz=0ASevilla, Spain.=0A =0A=0A=0A=0A=0A=0A