From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Tim O'Callaghan" Subject: Problem with ascii export + possible useful search. Date: Tue, 19 Jun 2007 14:44:28 +0200 Message-ID: <3d6808890706190544k741a3c26x98392444ea0ad975@mail.gmail.com> References: <3d6808890706150626n32e9d64dv5d4a530d580e5e2e@mail.gmail.com> <499de5395ba1e697d1d0730fb3a1e3d8@science.uva.nl> <3d6808890706190543o74c0b599x83a9fa6bd4c8f7ef@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0d4T-00009V-2Q for emacs-orgmode@gnu.org; Tue, 19 Jun 2007 08:44:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0d4R-00005e-D3 for emacs-orgmode@gnu.org; Tue, 19 Jun 2007 08:44:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0d4Q-00005J-VT for emacs-orgmode@gnu.org; Tue, 19 Jun 2007 08:44:30 -0400 Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I0d4Q-0001cC-Gm for emacs-orgmode@gnu.org; Tue, 19 Jun 2007 08:44:30 -0400 Received: by ug-out-1314.google.com with SMTP id 34so99705ugf for ; Tue, 19 Jun 2007 05:44:29 -0700 (PDT) In-Reply-To: <3d6808890706190543o74c0b599x83a9fa6bd4c8f7ef@mail.gmail.com> Content-Disposition: inline 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 On 19/06/07, Carsten Dominik wrote: > > On Jun 15, 2007, at 15:26, Tim O'Callaghan wrote: > > > Hi, > > > > It seems that under Xemacs the ascii export just appends the new > > export to the contents of the old export. If you have the old export > > buffer open already then it inserts the new export into the old file > > at the cursor. > > I am not able to reproduce this. Anyone? > After some more investigation, i think it has to do with the buffer/file not being erased before the ascii is rendered. It works for html export, it does not for txt export. Not sure why this should be, the code i looked at seems to try to clear the buffer. Latest org mode, Xemacs for windows native: 21.4 (patch 19) \"Constant Variable\" XEmacs Lucid > > > The useful search i have started using, is similar to the GTD stuck > > projects one. The search produces a view of stuck to-dos. That is a > > list of todos that have been designated without a context. At the > > moment i am using something like this in my > > org-agenda-custom-commands: > > ("-" tags-todo > > "-study@-file@-appointment@-find@-@comp-@zangband-@online-email@- > > research@-contact@-plan@-read@-errand@-appointment@-buy@-15min@ > > -30min@-60min@/X" > > nil "") > > > > where "X" is what i use to denote a TODO entry. > > Nice! Does this contain all your tags, or only a selection? > You might be able to write this using a regular expression. > only a selection. I use 5 groups of tags for active projects. The first group just contains @proj - the active projcet tag. This is used with the second group <@home|@work> which are inherited by all of the active projects in the two huge org files i use for home and work. The last three groups are generally @ , @, and @ which i combine depending on the task. I did think of a regular expression, the docs mention its possible,and give a small example, but i couldn't get it to do what i wanted straight away, and didn't want to spend the time figuring it out. I considered suggesting a group name/selection type, but it seemed a bit fiddly. Tim.