From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Easy to use asking for Or-gmode property values (e.g., for Org-contacts)
Date: Thu, 28 May 2015 12:11:28 +0200 [thread overview]
Message-ID: <2015-05-28T12-10-26@devnull.Karl-Voit.at> (raw)
Hi!
I am using Org-contacts that way, that I copy new information from
external sources and move them to the properties afterwards:
: ** Firstname Lastname :FirstnameLastname:
: :PROPERTIES:
: :TYPE:
: :TITLE:
: :EMAIL: Firstname@company.com
: :URL:
: :MOBILE: 0043/
: :HOMEPHONE:
: :WORKPHONE:
: :PHONE:
: :COMPANY: This Company
: :STREET: Companystreet 42
: :POSTALCODE: 8010
: :CITY: Thiscity
: :COUNTRY: Österreich
: :PHOTOGRAPH: [[photo:FirstnameLastname.jpg]]
: :BORN: 1970-12-31
: :ITOLDTHEM_EMAIL: thisorthat@mydomain.com
: :ITOLDTHEM_ADDRESS:
: :ITOLDTHEM_PHONE:
: :ADDRESS_CHANGE_METHOD: email
: :CREATED: [2015-05-27 Wed 19:46]
: :END:
:
: - <2013-01-13 Fri> met at dinner party
: - This old company
: - Firstname@oldcompany.com
: - <2015-05-27 Wed> contact from XING with new data
: - This Company
: - Firstname@company.com
: - Companystreet 42, 8010 Thiscity
: - he is born on December 31st, 1970
This way, I do have the whole history below the properties and the
most current information.
The task of adding information is tedious: copy & paste from external
sources and then copy & paste to the properties accordingly.
This is why I came up with this idea: how about I paste new
information at the end of and then call a function which helps me a
lot:
- ask for each property (or a set of pre-defined properties)
- prompt property name
- let the user mark a region using keyboard or mouse
- if user presses confirmation keyoard shortcut (return?)
- if region: copy the region and set it as the new content for the current
property (overwriting any old property settings)
- if no region is set: do not change property
The workflow would improve a lot! And I do guess that this might be a
very handy function for lots of other purposes as well: ask me for all
or some properties!
With my very limited understanding of elisp: can this (easily) done?
Is there a code snippet which does similar stuff?
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github
next reply other threads:[~2015-05-28 10:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 10:11 Karl Voit [this message]
2015-05-28 14:00 ` Easy to use asking for Or-gmode property values (e.g., for Org-contacts) Karl Voit
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=2015-05-28T12-10-26@devnull.Karl-Voit.at \
--to=devnull@karl-voit.at \
--cc=emacs-orgmode@gnu.org \
--cc=news1142@Karl-Voit.at \
/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).