From: Matt Lundin <mdl@imapmail.org>
To: zwz <zhangweize@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: add a table entry by org-remember template
Date: Thu, 17 Jun 2010 14:47:19 -0400 [thread overview]
Message-ID: <87eig51op4.fsf@fastmail.fm> (raw)
In-Reply-To: <87aaqtgbge.fsf@gmail.com> (zwz's message of "Thu, 17 Jun 2010 19:12:01 +0800")
zwz <zhangweize@gmail.com> writes:
> Matt Lundin <mdl@imapmail.org> writes:
>
>> zwz <zhangweize@gmail.com> 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
next prev parent reply other threads:[~2010-06-17 18:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 7:20 add a table entry by org-remember template zwz
2010-06-17 10:45 ` Matt Lundin
2010-06-17 11:12 ` zwz
2010-06-17 18:47 ` Matt Lundin [this message]
2010-06-18 11:08 ` zwz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eig51op4.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=zhangweize@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).