Re: [O] No completion when querying for property value in capture template
Thanks. As far as I know it is not currently possible to get property > auto-completion from the property list of the file itself. > I don't understand: when I call "org-set-property" directly from the file (C-c C-x p), it does get all the property values in the file and proposes them for completion. I am probably missing your pint, could I ask you to explain? Only when I use the "%^{prop}p" capture template element are the values not offered. I don't understand why because looking at the code of "org-capture-fill-template", it seems to simply call "org-set-property" for this element. but you could still make use of the stock property in the template and > auto-complete > from there > > For instance: > > ("T" "TEST" entry (file+headline"/tmp/test.org" "drill") > "** TEST \n :PROPERTIES:\n :Effort: > %^{prompt|0:10|0:20|0:30|1:00|2:00|3:00}\n :END: \n %^{PROMPT} " ) > > see the rest of the thread for more details > http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01339.html > Yes I've read the rest of the thread, but that's not always feasible. In my use case, the property values are titles of academic journals, I can't list them all inside a "%^{prompt}" template element, I need them to be fetched from the file. Thanks again. Eric
Re: [O] autoinsert
Joseph Vidal-Rosset writes: > Hello, > > To get an .org file with my .bib links I’m using this code in my user.el > (i.e. init.el): > > (require 'autoinsert) > (push '(org-mode . "/home/joseph/MEGA/org/orgskeleton.org") auto-insert-alist) > (add-hook 'find-file-hook 'auto-insert) > > in this orgskeleton.org there is only these links: > > /home/joseph/MEGA/org/reforg.bib > > Now, I would be happy to define a beamerskeleton.org into a beamer > directory, a article-skeleton.org ino a papers directory and so on, > in order to get default files for beamer presentations, papers, and so > on. Reading autoinsert.el, I guess that it is possible, but I am > really to bad in lisp to get the right code to autoinsert different > skeletons when I open a new file in different directories. > I'm not sure I understand the problem. Are you producing the beamer presentations, the papers, etc. from org files? If so, isn't the org-mode insertion enough? If not, why not? -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler
Re: [O] Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)]
Diogo Ferrari writes: > Would you know when the 9.2 is planned to be released? Very soon, or so I think. Bastien may have a definitive answer on the subject. Regards,
Re: [O] Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)]
Would you know when the 9.2 is planned to be released? On Thu, Jun 7, 2018 at 2:16 PM Nicolas Goaziou wrote: > Diogo Ferrari writes: > > > The problem has to do with links, not only file and html links, but also > > latex citation using cite:. It does not behave well also when using Org > > Table Edit Field, even when there are no links. I should return from the > > editing aligned, but it looses alignment and I need to reopen the file to > > get it aligned. A simple example is > > AFAICT, master branch does not exhibit such problems. I suggest to wait > for Org 9.2 release. > -- Diogo Ferrari PhD Candidate University of Michigan, Ann Arbor Department of Political Science E-mail: dferr...@umich.edu Website: http://dioferrari.wordpress.com/ Open Source! Use R! Use Linux! Use Emacs! Use Python! "A vida é a arte de tirar conclusões suficientes de dados insuficientes"
[O] autoinsert
Hello, To get an .org file with my .bib links I'm using this code in my user.el (i.e. init.el): #+BEGIN_SRC (require 'autoinsert) (push '(org-mode . "/home/joseph/MEGA/org/orgskeleton.org") auto-insert-alist) (add-hook 'find-file-hook 'auto-insert) #+END_SRC in this orgskeleton.org there is only these links: [[bibliography:/home/joseph/MEGA/org/reforg.bib]] [[bibliographystyle:apalike]] Now, I would be happy to define a beamerskeleton.org into a beamer directory, a article-skeleton.org ino a papers directory and so on, in order to get default files for beamer presentations, papers, and so on. Reading autoinsert.el, I guess that it is possible, but I am really to bad in lisp to get the right code to autoinsert different skeletons when I open a new file in different directories. I need help, and in advance, many thanks. Best wishes, -- Jo.
Re: [O] Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)]
Diogo Ferrari writes: > The problem has to do with links, not only file and html links, but also > latex citation using cite:. It does not behave well also when using Org > Table Edit Field, even when there are no links. I should return from the > editing aligned, but it looses alignment and I need to reopen the file to > get it aligned. A simple example is AFAICT, master branch does not exhibit such problems. I suggest to wait for Org 9.2 release.
Re: [O] Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)]
Hi Nicolas The problem has to do with links, not only file and html links, but also latex citation using cite:. It does not behave well also when using Org Table Edit Field, even when there are no links. I should return from the editing aligned, but it looses alignment and I need to reopen the file to get it aligned. A simple example is On Thu, Jun 7, 2018 at 1:08 PM Nicolas Goaziou wrote: > Hello, > > Diogo Ferrari writes: > > > Remember to cover the basics, that is, what you expected to happen and > > what in fact did happen. You don't know how to make a good report? See > > > > https://orgmode.org/manual/Feedback.html#Feedback > > > > Your bug report will be posted to the Org mailing list. > > > > > > > > > > Emacs : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) > > of 2017-09-22, modified by Debian > > Package: Org mode version 9.1.13 (9.1.13-elpaplus @ > > /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/) > > Your report is incomplete. Could you show the table you're trying to > align and the outcome of alignment? > > Also, note that Org 9.2 will include a revamp of table alignment, so the > issue you are experiencing may in fact disappear soon. > > > Regards, > > -- > Nicolas Goaziou > -- Diogo Ferrari PhD Candidate University of Michigan, Ann Arbor Department of Political Science E-mail: dferr...@umich.edu Website: http://dioferrari.wordpress.com/ Open Source! Use R! Use Linux! Use Emacs! Use Python! "A vida é a arte de tirar conclusões suficientes de dados insuficientes" org-alignment.org Description: Binary data
Re: [O] Bug: Table does not align properly [9.1.13 (9.1.13-elpaplus @ /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/)]
Hello, Diogo Ferrari writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > https://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org mailing list. > > > > > Emacs : GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) > of 2017-09-22, modified by Debian > Package: Org mode version 9.1.13 (9.1.13-elpaplus @ > /home/diogo/.emacs.d/elpa/org-plus-contrib-20180521/) Your report is incomplete. Could you show the table you're trying to align and the outcome of alignment? Also, note that Org 9.2 will include a revamp of table alignment, so the issue you are experiencing may in fact disappear soon. Regards, -- Nicolas Goaziou
Re: [O] No completion when querying for property value in capture template
Hello, As far as I know it is not currently possible to get property auto-completion from the property list of the file itself. but you could still make use of the stock property in the template and auto-complete from there For instance: ("T" "TEST" entry (file+headline"/tmp/test.org" "drill") "** TEST \n :PROPERTIES:\n :Effort: %^{prompt|0:10|0:20|0:30|1:00|2:00|3:00}\n :END: \n %^{PROMPT} " ) see the rest of the thread for more details http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01339.html Would there be a way to for the capture template to read this info in the future? For instance to read the column format for the entire file like #+COLUMNS: %25ITEM %TAGS %PRIORITY %TODO HTH, Jeremie Eric Danan writes: > Hello, > > There seems to be an old thread about this but I didn't find an answer > there: > > http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01079.html > > If, from an org file containing two entries with respective values > "foobar" and "foobaz" for property "prop", I call "org-set-property" to > set property "prop", then the two values "foobar" and "foobaz" are > offered as completions. > > But if I define a capture template with that file as target and the > element "%^{prop}p" in the template, then no completetion is offered when > I am queried for the property value. That makes this template element > much less usable in my opinion. Is it a bug? > > I tested with "emacs -q" > GNU Emacs 26.1 (build 1, x86_64-unknown-cygwin) of 2018-05-28 > Org mode version 9.1.13 (9.1.13-elpaplus @ /c/test/.emacs.d/elpa/ > org-plus-contrib-20180604/) > > I'm happy to help with further testing if needed. > > Thanks in advance, > > Eric
[O] No completion when querying for property value in capture template
Hello, There seems to be an old thread about this but I didn't find an answer there: http://lists.gnu.org/archive/html/emacs-orgmode/2011-10/msg01079.html If, from an org file containing two entries with respective values "foobar" and "foobaz" for property "prop", I call "org-set-property" to set property "prop", then the two values "foobar" and "foobaz" are offered as completions. But if I define a capture template with that file as target and the element "%^{prop}p" in the template, then no completetion is offered when I am queried for the property value. That makes this template element much less usable in my opinion. Is it a bug? I tested with "emacs -q" GNU Emacs 26.1 (build 1, x86_64-unknown-cygwin) of 2018-05-28 Org mode version 9.1.13 (9.1.13-elpaplus @ /c/test/.emacs.d/elpa/org-plus-contrib-20180604/) I'm happy to help with further testing if needed. Thanks in advance, Eric
[O] Bug ignoreheading not respected in lower level headlines latex export
Hi, Set up - Org mode version 9.1.13 (release_9.1.13-791-gcecbe4 @ /usr/local/share/org-mode/lisp/) GNU Emacs 27.0.50 (build 30, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2018-06-02 I group related documents as second level headlines, thus * All docs :ignoreheading: ** Doc 1 :ignoreheading: ** Doc 2 :ignoreheading: The first level has an export_file_name property so that I can export all the docs at once; likewise each second level has its own export_file_name for separate export, if necessary. When I export all the docs from the first level headline the resulting export is 1. Doc 1 content (newpage) 2. Doc 2 content I expect content (newpage) content. If I export each doc from its second level, the headline is ignored.
[O] Problem with diary entries after upgrading emacs 26.1
Hello, I upgraded from emacs 24 to emacs emacs 26.1. Org version is 9.1.9. Diary entries in the Org Agenda view don't work as before. I have some entries in an org file: === :PROPERTIES: :CATEGORY: Congés :END: %%(diary-block 18 04 2017 21 04 2017) 4j %%(diary-block 04 04 2017 04 04 2017) 0,5 %%(diary-block 17 02 2017 22 02 2017) Congés 3,5j :PROPERTIES: :CATEGORY: Congés :END: %%(diary-block 28 10 2016 31 10 2016) Congés 2j %%(diary-block 04 05 2016 06 05 2016) Congés 1,5j ... === And the displayed week aganda is: === Week-agenda (W23): Lundi 4 Juin 2018 W23 Congés: Congés 3,5j Congés: Congés 2j Mardi 5 Juin 2018 Congés: Congés 3,5j Congés: Congés 2j Mercredi6 Juin 2018 Congés: 4j Congés: Congés 3,5j Congés: Congés 2j === Is there to update in my org config to make it work as before ? -- Pascal Quesseveur pques...@gmail.com