From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: Re: add a table entry by org-remember template Date: Fri, 18 Jun 2010 19:08:37 +0800 Message-ID: <87631gfvii.fsf@gmail.com> References: <87eig6f7mn.fsf@gmail.com> <87ljae6ipq.fsf@fastmail.fm> <87aaqtgbge.fsf@gmail.com> <87eig51op4.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=37207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPZSJ-0006n0-7q for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 07:09:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPZSH-0008MX-OO for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 07:09:51 -0400 Received: from lo.gmane.org ([80.91.229.12]:49782) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPZSH-0008MJ-Hm for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 07:09:49 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OPZSA-0002D7-UE for emacs-orgmode@gnu.org; Fri, 18 Jun 2010 13:09:42 +0200 Received: from 60.12.143.28 ([60.12.143.28]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jun 2010 13:09:42 +0200 Received: from zhangweize by 60.12.143.28 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Jun 2010 13:09:42 +0200 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 Matt Lundin writes: > zwz writes: > >> Matt Lundin writes: >> >>> zwz writes: >>> >>>> AFAIK, it is now impossible to add a table entry by org-template. >>>> But I think it is very useful. For example, >>>> in my private.org, there is a section >>>> >>>> * Contacts >>>> | name | tel. | email | addr | >>>> |------+------+---------+-----------| >>>> | A | 12 | a@a.com | somewhere | >>>> >>>> >>>> If it is feasible with such a template >>>> ("Contact" ?c "| %^{Name} | %^{tel} | %^{email} | %^{addr} |\n" >>>> "~/private.org" "Contacts") >>>> to add new contacts, it would be very nice to organize (e.g. sort) > all >>>> the contacts based on org-table. >>> >>> One solution would be to use properties to store contact information: >> >> Yes, this is how I am doing now. >> I forgot the "column view" thing. :) >> >> BTW, how to sort the headings (names) by the properties? > > Typing C-c ^ r will prompt you for a property. If you are above the > first headline, all first level headlines will be sorted. If you are on > a headline, all subheadings will be sorted. > >> and what is dblocks? > > Sorry for the shorthand. Dynamic blocks can be used to refresh "dynamic" > information (such as a table generated from properties) within an org > file. > >> Are they mentioned in the manual? > > - (info "(org) Dynamic blocks") > - (info "(org) Capturing column view") > > Best, > Matt Thank you, Matt. I have never tried dblocks before. But it is interesting. I will learn to used it.