Re: Alternatives or org-capture?
ypuntot, by the way, i use =doct= to express org-capture templates: https://github.com/progfolio/doct in case that might seem more "intuitive" for you. cheers, Greg
Re: Alternatives or org-capture?
ypuntot writes: > Thanks for your template! > Maybe it would be nice to have it on the MELPA documentation? > I couldn't find other documentation. > org-capture template is just a personal usage scene, people will want to define their own org-capture template. So no need to add this to documentation. > I tried to reach you via email, I don't know if it's possible to export :ORG: > property to vcard 3.0. I am starting to use > your maintained package and I would like to use it the best way possible. > If you want to export contacts has only specific property, you might want to try org mode sparse tree filtering. I'm not sure whether it works as expected for exporting. > Best regards! > > I'm currently maintaining org-contacts (well, inactively) > > Here is my own org-contacts' org-capture template, maybe you want to check > out > as reference: > > #+begin_src emacs-lisp > (add-to-list 'org-capture-templates > `("C" ,(format "%s\tContacts" >(all-the-icons-material "contacts" :face > 'all-the-icons-blue-alt)) > entry (file (lambda () (car org-contacts-files))) > "* %^{NAME} > :PROPERTIES: > :DIR: %\\1 > :DATE: %^U > :AVATAR: %^{Avatar} > :NICK: %^{Nick} > :NAME(Chinese): %^{Name(Chinese)} > :NAME(English): %^{Name(English)} > :GENDER: %^{Gender|Transgender|Male|Female} > :RELATIONSHIP: %^{Relationship|Internet|Meet|Friend|Good Friend|Boy > Friend|Girl > Friend|Workmate|Classmate|Schoolmate} > :FIRST-MEET: %^U %^{How is the first-time meet? when? where? how?} > :MOBILE: %^{Mobile Phone} > :EMAIL: %^{Email} > :GitHub: %^{GitHub} > :ADDRESS(home): %^{address(home)} > :ADDRESS(live): %^{address(live)} > :LANGUAGES: %^{Languages|Chinese|Chinese, English|English|Japanese|Korean} > :EDUCATION: %^{Education} > :School(university): > :SKILLS: %^{Skills|Programming|Economy} > :Programming-Skills: %^{Programming Skills|Emacs|Web|Computer System|Cloud > Computation} > :Programming-Languages: %^{Programming Languages|LISP|Common > Lisp|Clojure|Emacs > Lisp|Java|C/C++|Python|Ruby|PHP} > :OCCUPATION: %^{Occupation|Programmer|Freelancer|Businessman|Servant|Arter} > :HOBBIES: %^{Hobbies|Reading|Music|Movie|Travel} > :END:" > :empty-lines 0 > :jump-to-captured t) > :append) > #+end_src > > -- > [ stardiviner ] -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 signature.asc Description: PGP signature
Re: Alternatives or org-capture?
Thanks, Tim! I will try it. > Recommend you get to know/understand org-capture first and the rest will > become much clearer.
Re: Alternatives or org-capture?
I'm currently maintaining org-contacts (well, inactively) Here is my own org-contacts' org-capture template, maybe you want to check out as reference: #+begin_src emacs-lisp (add-to-list 'org-capture-templates `("C" ,(format "%s\tContacts" (all-the-icons-material "contacts" :face 'all-the-icons-blue-alt)) entry (file (lambda () (car org-contacts-files))) "* %^{NAME} :PROPERTIES: :DIR: %\\1 :DATE: %^U :AVATAR: %^{Avatar} :NICK: %^{Nick} :NAME(Chinese): %^{Name(Chinese)} :NAME(English): %^{Name(English)} :GENDER: %^{Gender|Transgender|Male|Female} :RELATIONSHIP: %^{Relationship|Internet|Meet|Friend|Good Friend|Boy Friend|Girl Friend|Workmate|Classmate|Schoolmate} :FIRST-MEET: %^U %^{How is the first-time meet? when? where? how?} :MOBILE: %^{Mobile Phone} :EMAIL: %^{Email} :GitHub: %^{GitHub} :ADDRESS(home): %^{address(home)} :ADDRESS(live): %^{address(live)} :LANGUAGES: %^{Languages|Chinese|Chinese, English|English|Japanese|Korean} :EDUCATION: %^{Education} :School(university): :SKILLS: %^{Skills|Programming|Economy} :Programming-Skills: %^{Programming Skills|Emacs|Web|Computer System|Cloud Computation} :Programming-Languages: %^{Programming Languages|LISP|Common Lisp|Clojure|Emacs Lisp|Java|C/C++|Python|Ruby|PHP} :OCCUPATION: %^{Occupation|Programmer|Freelancer|Businessman|Servant|Arter} :HOBBIES: %^{Hobbies|Reading|Music|Movie|Travel} :END:" :empty-lines 0 :jump-to-captured t) :append) #+end_src -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 signature.asc Description: PGP signature
Re: Alternatives or org-capture?
ypuntot writes: > I'm going to start using org-contacts. And, with that, I would like to use > org-capture or yankpad. Which one would you recommend using? > I have been trying to use org-capture but it doesn't seem too intuitive for > me :$ > > I saved time ago a tutorial for yankpad, and it looked nice. > Does org-capture deserve more effort or could yankpad be more friendly and as > useful? > > Best regards > The first thing to note is that org-contacts is a contrib package and not actually part of org itself. Where org-contacts can be really useful is when you use Emacs to read your email. For most Emacs based MUAs, you will be able to configure the MUA to use org-contacts to collect contact information and for auto-completion of addresses etc. For example, the mu4e manual has a short page about using org-contacts with mu4e. I don't know yankpad, but from a quick look it seems to only be a basic template system. Org capture is not quite the same - it is functionality used to capture data and store it in an org file in a specific format. Where it is really powerful is through its template expansion capability which will be automatically filled in with data extracted from the source buffer you are in when you run it. For example, if your using a MUA which has org support, you can have an org-contgacts template which will be automatically filled in with contact data from the current message your viewing, you can have the message-id automatically added and even have a permanent link to the email as well as other meta data like date/time etc. If your going to be using org mode a bit, I strongly recommend you spend the time to get to understand org-capture. Because it is built into org mode it is an integral part of many org mode based workflows. The org-contrib package uses it to streamline collection of contact data and it is a core part of how org-contacts works. If your going to use something else like yankpad, you may as well not worry aboutg org-contacts and just roll your own using yankpad and an org file as your contacts database. As to documentation for org-contacts - there isn't much I could find. The best source is really the source code, particularly the 'commentry' section. The ELPA package description also has some information. and there are a few blogs, video etc which you can use to piece things together. Recommend you get to know/understand org-capture first and the rest will become much clearer.
Alternatives or org-capture?
I'm going to start using org-contacts. And, with that, I would like to use org-capture or yankpad. Which one would you recommend using? I have been trying to use org-capture but it doesn't seem too intuitive for me :$ I saved time ago a tutorial for yankpad, and it looked nice. Does org-capture deserve more effort or could yankpad be more friendly and as useful? Best regards NB: I can't find the documentation for org-contacts, not sure if it's just me.