Re: [Orgmode] template to auto complete the imdb entry address.
2010/11/28 Michael Brand michael.ch.br...@gmail.com On Sun, Nov 28, 2010 at 00:43, Alin Soare as1...@gmail.com wrote: | Domicile conjugal | tt0065651 | 20 | 1970 | France | I wish to have a link to imdb web page, and to see only its id (as now). Would link abbreviations help? http://orgmode.org/manual/Link-abbreviations.html e. g. the inline version: #+LINK: imdb http://www.imdb.com/title/ | Domicile conjugal | [[imdb:tt0065651]] | 20 | 1970 | France | | Douze hommes en colère | [[imdb:tt0050083]] | 20 | 1957 | Etats Unis | Great! Link abbreviations are exactly what I asked for. There is also yasnippet, tha I discovered with this occason , due to org mode. http://code.google.com/p/yasnippet/ Thanks a lot. Alin. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] template to auto complete the imdb entry address.
Hi, I used to keep the list of movies I saw into a html database, but now, after having learned org mode, I want to transform the database into a org mode file. Example of org mode file: | Domicile conjugal | tt0065651 | 20 | 1970 | France | | Douze hommes en colère | tt0050083 | 20 | 1957 | Etats Unis | | Élection | tt0126886 | 20 | 1999 | Etats Unis | | Elephant | tt0363589 | 20 | 2003 | Etats Unis | | Entre les murs | tt1068646 | 20 | 2008 | France | | Ève| tt0042192 | 20 | 1950 | Etats Unis | | Faust | tt0016847 | 20 | 1926 | Allemagne | I wish to ask you what possibilities exists for me to insert on the second column the imdb entry, as easy as possible. I wish to have a link to imdb web page, and to see only its id (as now). If I tape every time [[http://.id.html][ID]] is too much to type, and I can make errors. I need to insert the id 2 times. Could I define a template, like a function with 1 parameter, and call that function that reads the id, and completes all link, or something like this ? Are the templates useful for what I need here? Apart from templates, are there any other possibilities to have a control over the web link ? Thanks in advance. Alin ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] template to auto complete the imdb entry address.
On Sun, Nov 28, 2010 at 00:43, Alin Soare as1...@gmail.com wrote: | Domicile conjugal | tt0065651 | 20 | 1970 | France | I wish to have a link to imdb web page, and to see only its id (as now). Would link abbreviations help? http://orgmode.org/manual/Link-abbreviations.html e. g. the inline version: #+LINK: imdb http://www.imdb.com/title/ | Domicile conjugal | [[imdb:tt0065651]] | 20 | 1970 | France | | Douze hommes en colère | [[imdb:tt0050083]] | 20 | 1957 | Etats Unis | Michael ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode