From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?B?VmluY2VudCBCZWxh72NoZQ==?= Subject: RE: Filtering entries of a journal file with its datestamp Date: Fri, 16 Apr 2010 22:52:19 +0200 Message-ID: References: <440149.86075.qm@web23803.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1273444820==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O2sXF-0002c6-Kr for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 16:53:09 -0400 Received: from [140.186.70.92] (port=45684 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O2sXD-0002bR-Q1 for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 16:53:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O2sXC-0008HP-KH for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 16:53:07 -0400 Received: from blu0-omc2-s2.blu0.hotmail.com ([65.55.111.77]:59081) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O2sXC-0008H8-GR for emacs-orgmode@gnu.org; Fri, 16 Apr 2010 16:53:06 -0400 In-Reply-To: <440149.86075.qm@web23803.mail.ird.yahoo.com> 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: rbenit68@yahoo.es, emacs-orgmode@gnu.org --===============1273444820== Content-Type: multipart/alternative; boundary="_cb0ddb96-4aac-40e0-82b9-cff4f18fb310_" --_cb0ddb96-4aac-40e0-82b9-cff4f18fb310_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable M-x occur with regexp ^\(\*\|Subject\s-+1\)=20 gives 5 matches for "^\(\*\|Subject\s-+1\)" in buffer: temp.org 1:* <2010-04-16 fri> 2:Subject 1 4:Subject 1 7:* <2010-04-17 sat> 10:Subject 1 Vincent. > Date: Fri=2C 16 Apr 2010 05:28:26 +0000 > From: rbenit68@yahoo.es > To: Emacs-orgmode@gnu.org > CC:=20 > Subject: [Orgmode] Filtering entries of a journal file with its datestamp >=20 > I have a simple journal .org file like this: >=20 > ------Begin file--------------- > * <2010-04-16 fri> > Subject 1 > Subject 2 > Subject 1 > Subject 40 >=20 > * <2010-04-17 sat> > Subject 2 > Subject 3 > Subject 1 > Subject 40 > ------End file------------------ >=20 > Every subject is only one line.=20 >=20 > I would like to print the journal but including only the lines with a spe= cific content=2C determined by a search=2C like the following >=20 > -----Buffer to print--------- > * <2010-04-16 fri> > Subject 1 > Subject 1 >=20 > * <2010-04-17 sat> > Subject 1 > ------------------------------ >=20 > ------Another buffer to print- > * <2010-04-16 fri> > Subject 40 >=20 > * <2010-04-17 sat> > Subject 40 > ------------------------------ >=20 > I have tried org-occur=2C but only marks the searched string=3B I also ha= ve tried occur but generate a list without the dates=2C and cannot be print= ed. >=20 > I would appreciate any hint. >=20 > Miguel Ruiz > Sevilla=2C Spain. > =20 >=20 >=20 >=20 >=20 >=20 > =20 >=20 >=20 > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode =20 _________________________________________________________________ Consultez gratuitement vos emails Orange=2C Gmail=2C Free=2C ... directemen= t dans HOTMAIL ! http://www.windowslive.fr/hotmail/agregation/= --_cb0ddb96-4aac-40e0-82b9-cff4f18fb310_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable M-x occur with regexp

 =3B^\(\*\|Subject\s-+1\)

gives
5 matches for "^\(\*\|Subject\s-+1\)" in buffer: temp.org
 =3B&= nbsp=3B =3B =3B =3B 1:* <=3B2010-04-16 fri>=3B
 =3B&= nbsp=3B =3B =3B =3B 2:Subject 1
 =3B =3B =3B&nbs= p=3B =3B 4:Subject 1
 =3B =3B =3B =3B =3B 7:* &l= t=3B2010-04-17 sat>=3B
 =3B =3B =3B =3B 10:Subject 1
 =3B Vincent.



>=3B Date: Fri=2C 16 Apr 2010 05:2= 8:26 +0000
>=3B From: rbenit68@yahoo.es
>=3B To: Emacs-orgmode@gn= u.org
>=3B CC:
>=3B Subject: [Orgmode] Filtering entries of a jo= urnal file with its datestamp
>=3B
>=3B I have a simple journal = .org file like this:
>=3B
>=3B ------Begin file--------------->=3B * <=3B2010-04-16 fri>=3B
>=3B Subject 1
>=3B Subject= 2
>=3B Subject 1
>=3B Subject 40
>=3B
>=3B * <=3B20= 10-04-17 sat>=3B
>=3B Subject 2
>=3B Subject 3
>=3B Subjec= t 1
>=3B Subject 40
>=3B ------End file------------------
>= =3B
>=3B Every subject is only one line.
>=3B
>=3B I woul= d like to print the journal but including only the lines with a specific co= ntent=2C determined by a search=2C like the following
>=3B
>=3B = -----Buffer to print---------
>=3B * <=3B2010-04-16 fri>=3B
>= =3B Subject 1
>=3B Subject 1
>=3B
>=3B * <=3B2010-04-17 s= at>=3B
>=3B Subject 1
>=3B ------------------------------
&g= t=3B
>=3B ------Another buffer to print-
>=3B * <=3B2010-04-16= fri>=3B
>=3B Subject 40
>=3B
>=3B * <=3B2010-04-17 sat= >=3B
>=3B Subject 40
>=3B ------------------------------
>= =3B
>=3B I have tried org-occur=2C but only marks the searched string= =3B I also have tried occur but generate a list without the dates=2C and ca= nnot be printed.
>=3B
>=3B I would appreciate any hint.
>= =3B
>=3B Miguel Ruiz
>=3B Sevilla=2C Spain.
>=3B
>= =3B
>=3B
>=3B
>=3B
>=3B
>=3B
>=3B=
>=3B
>=3B _______________________________________________
&= gt=3B Emacs-orgmode mailing list
>=3B Please use `Reply All' to send r= eplies to the list.
>=3B Emacs-orgmode@gnu.org
>=3B http://lists.= gnu.org/mailman/listinfo/emacs-orgmode


T=E9l=E9c= harger en toute s=E9curit=E9 sur Internet ? La solution avec Internet Exp= lorer 8 = --_cb0ddb96-4aac-40e0-82b9-cff4f18fb310_-- --===============1273444820== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1273444820==--