[O] Bug: Bulk reschedule with reschedule logging on fails [8.3.4 (8.3.4-5-gdc68d2-elpaplus @ /home/tyria/.emacs.d/elpa/org-plus-contrib-20160229/)]
When bulk rescheduling TODO items with org-log-reschedule set to 'note, only the first marked item will get rescheduled. I have reproduced this on a fresh clone of the Git repo with a minimal config. Here is the *Messages* snippet: Org-mode version 8.3.4 (release_8.3.4-635-g268486 @ //org-mode/lisp/) Press key for agenda command (unrestricted): 1 entries marked for bulk action 2 entries marked for bulk action Bulk: [$]arch [A]rch->sib [t]odo [+/-]tag [s]chd [d]eadline [r]efile [S]catter [f]unction Scheduled to <2016-03-09 Wed> [2 times] Skipping removed entry at # Acted on 1 entries, skipped 1 (disappeared before their turn) Note store Here is the config: (add-to-list 'load-path (expand-file-name "~//org-mode/lisp")) (add-to-list 'auto-mode-alist '("\\.\\(org\\ |org_archive\\|txt\\)$" . org-mode)) (setq org-agenda-files '("/tmp/test.org")) (require 'org-install) (require 'org-habit) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cb" 'org-iswitchb) (setq org-log-reschedule 'note) Emacs : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-09 on foutrelis
Re: [O] Org-crypt encrypting PROPERTIES?
I can confirm this (tried in org 8.3.0 many months ago). For me, org-mobile-push and pull were adding properties every time. I'd love a resolution too. Thanks
Re: [O] Example of Make file for Org Mode LaTeX to pdf
I have gotten many good ideas from these replies to my question. Thanks to all. > On Mar 7, 2016, at 10:10 AM, Loris Bennett wrote: > > Eric S Fraga writes: > >> On Monday, 7 Mar 2016 at 09:55, Loris Bennett wrote: >> >> [...] >> >>> Would you be able to share what you load in custom.el and esf-org.el, or >>> a least explain what needs to be done? >> >> My custom.el is the emacs customisations (for variables and faces that >> usually ends up in your .emacs) and esf-org.el is my full org >> initialisation which is rather large and convoluted. There is nothing >> in either of those that should help solve the problem you are >> having... but, then again, I'm not sure why you are having the problem >> you encounter! >> >> Do you get the same backtrace with -Q as in the previous post? > > Apart from the Debian gubbins, yes. However, I seem to have solved the > problem. > > With the following ~/.emacs_minimal > > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) > > I get: > > $ emacs /home/loris/org/gtd.org -Q -batch --load ~/.emacs_minmal -eval > '(org-icalendar-export-to-ics))' --kill > Symbol's value as variable is void: org-agenda-default-appointment-duration > > However, with ~/.emacs_minimal as > > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) > (org-agenda-to-appt) > > I get > > $ emacs /home/loris/org/gtd.org -Q -batch --load ~/.emacs_minmal -eval > '(org-icalendar-export-to-ics))' --kill > No event to add > Saving file /home/loris/org/gtd.ics... > Wrote /home/loris/org/gtd.ics > > So I was just being too minimalist. org-agenda-to-appt seems to be some > cruft I copied from here: > > http://sachachua.com/blog/2007/11/setting-up-appointment-reminders-in-org/ > > I'll go and look what it does whether I still need it. > > Cheers, > > Loris > > -- > This signature is currently under construction. — Bob Love "Neil Armstrong was the first human on the moon. Neil A backwards is alien." Listening to: Promontory by Circa Paleo
[O] Best way to create blog for company web site with Orgmode
Hi, I wonder what is the best way to create a blog for a company website with Orgmode. I do not want to use a static web site generator. The design of the web site is relying on Bootstrap and customs CSS. It should be easy to setup and to maintain for me? I am not only looking for proposals of tool chains but also why I should use the proposed one. I do not want to have a lot of work in translating the existing CSS into some new kind of format just for the web site generator. Thanks for your help. Rainer
[O] Org-crypt encrypting PROPERTIES?
I am trying to use org-crypt to encrypt certain headings, but when I invoke org-crypt-entry on an entry with properties, it encrypts the properties as well. From the manual, "Org-crypt will encrypt the text of an entry, but not the headline, or properties" it would appear that its not supposed to do that. It causes a problem if the file is synced with org-caldav, which adds an UID property if one does not exist. To it, an encrypted entry always looks like the property does not exist, so it always adds a new one, resulting in a series of nested encryptions. I can recover the original only by decrypting, deleting the PROPERTIES drawer, and repeating until the clear text appears. For example, with this entry: = * Test this with Crypt :PROPERTIES: :JUNK: Nothing :END: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. = After I run org-encrypt-entry on the headline, I get this: = * Test this with Crypt -BEGIN PGP MESSAGE- Version: GnuPG v1 hQEMA3KA9hHAqfLwAQf+I7AWvahZROMa7TMSf4vTJ20JBYjBNDecceQYjDEwmaaC LRhsqF984JGmudFupBTMIDS6okx6HE3Ko7Pm/H4wmCH5t6V8uolM4Hz0acP0uNE6 BmgAEUNrchIfJZeBR6JYjQA93d3h/05q6si1VBgVnhKyXLkJhL8B6QUCiMZQ80qQ aWiD2RU7t0CViFrIpbkhOlH7lpTtrO9qUW9qQtjBRAamsnjYYna42i7cGbOYp0aW rXyxhRkNfelzrhc7bI8xhOorVr/3gqGpJFCkrrELD4oWHgc1mfZoqk+BZbCJF3yX ZQKUhz2jt5gx+gATYnM3etdPwHW9ASvvKQGA9OkU+tLAtwHJRl7zuCXpYJ2+7DA2 L5USdwgVlfs0jnpatPfhaCkRPD+5JEca0lZVNCZpclJRbk72hmNxeivlOk9ctiXQ QxYo5FaJGElYMZuxXRcUingEFlMH20F7QBPDoDHIVJhjcGTkAfnuXp96upCWoJwu sag0tE5gkuVhnbKVAeVWoNdAamZOzAGsW1Dl2rJyD25zlLwEagGwnmr8NfMd6aIC ZCHv1/DgFXr7zHOZzg2OhHjQj9JI3NwpRej9TPcSX4UTmXrxQcUELI84m5HWuqoJ 10ieoDaWZmmoOaSfoDUF3VCDSEjLSnkhVI0Jxp6V17Po1zjugrjZIoDMRw5Qby87 MEo4o+LKVzDnKoPjYSZMEIAarDG26uf8oBz3Ypb621uqFJo0vcDVYK7jnKJn 7HCihEFi9baRzZGaO72+nMJad/m8K0LlMBoruR5QFoVV43+vNQdRT9x7mwO3DJpN dDe1yRGh6aLQKpQoIrKq5LT4Y+TZXWTWYQ== =GXUz -END PGP MESSAGE- = Notice that the property drawer got encrypted. Am I reading the manual right, that this should not happen? -- Daniel E. Doherty d...@ddoherty.net
[O] Bug: Smart quotes for LaTeX export broken in tables [8.3.4 (8.3.4-9-gfda14f-elpa @ elpa/org-20160307/)]
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 http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. I noticed that when exporting to LaTeX using smart quotes, the smart quotes will be inserted in normal paragraphs but not inside tables. A minimal example is as follows: #+LANGUAGE: de #+OPTIONS: ':t #+LATEX_HEADER: \usepackage[german]{babel} foo "bar" | foo | bar | | bar | foo "qux" bar | This will be exported as follows (relevant snippet): foo "`bar"' \begin{center} \begin{tabular}{ll} foo & bar\\ bar & foo "qux" bar\\ \end{tabular} If this is intentional, what's the purpose? Regards Philipp Middendorf Emacs : GNU Emacs 24.5.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) of 2015-10-15 on pmi-ThinkCentre-M92p Package: Org-mode version 8.3.4 (8.3.4-9-gfda14f-elpa @ /home/pmi/.emacs.d/elpa/org-20160307/) current state: == (setq org-export-backends '(ascii beamer html icalendar latex) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-latex-classes '(("haconarticle" "\\documentclass[11pt,a4paper]{haconarticle}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-ellipsis "⤵" org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-icalendar-include-todo t org-agenda-start-on-weekday nil org-html-format-drawer-function '(lambda (name contents) contents) org-log-done 'time org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-latex-format-headline-function 'org-latex-format-headline-default-function org-todo-keyword-faces '(("WAIT" . "yellow")) org-clock-heading-function '(lambda nil (let ((str (nth 4 (org-heading-components))) (lenlimit 20)) (if (> (length str) lenlimit) (substring (replace-regexp-in-string "\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1" str) 0 lenlimit) ) ) ) org-icalendar-use-scheduled '(event-if-not-todo event-if-todo todo-start) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-from-is-user-regexp "\\" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((lambda nil (org-bullets-mode 1)) org-clock-load (lambda nil (org-indent-mode 1)) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-extend-today-until 3 org-archive-hook '(org-attach-archive-delete-maybe) org-asc
Re: [O] org-bbdb-anniversaries, bbdb v3
Michael Welle writes: > Hello, > > I got org-bbdb from the master branch (and all the other files from the > package), wrote a small function that can parse the date format of my > bbdb and now it works as expected. > I don't want to discourage you from such experimentation, but I think this is something to be avoided in general: you have a frankenstein installation that cannot be easily up- or down-graded to fix problems and any problems you encounter will have to be passed through a filter to figure out whether they arise from your specific installation method or whether they apply to org in general. IOW, it is less useful both to you (except for getting o-b-a-f, I guess) and to the developers than either straight maint or straight master. -- Nick
Re: [O] org-bbdb-anniversaries, bbdb v3
Michael Welle writes: > Hello, > > Nick Dokos writes: > >> Michael Welle writes: >> > I use Org 8.3.4 from the repository. There is no o-b-a-f in it, just the > regular org-bbdb-anniversaries. That's strange: I just updated to 8.3.4 and o-b-a-f is present. >>> indeed: >>> >>> ~/.emacs.d/elpa/org-plus-contrib-20160307> grep -ri >>> org-bbdb-anniversaries-future * >>> ~/.emacs.d/elpa/org-plus-contrib-20160307> >>> >>> Is that a function in org-bbdb.el? >>> >> >> Yes: >> >> , >> | org-bbdb-anniversaries-future is an autoloaded compiled Lisp function >> | in ‘../org-mode/lisp/org-bbdb.el’. >> | >> | (org-bbdb-anniversaries-future &optional N) >> | >> | Return list of anniversaries for today and the next n-1 days (default n=7). >> ` >> >> I don't use ELPA so I may be completely wrong, but I thought ELPA >> packages the maint branch, not the master branch. I think o-b-a-f >> only exists in master, so it will appear in org-9.x > ah, that was my question in my other post. I found your change set in > master, but wasn't unsure on which branch the packages are based. > > Now I have to make my mind up, if I just wait or if I pull the master > branch ;). > I don't think o-b-a-f by itself is sufficient reason to upgrade :-) I'm not going to say anything new or profound here, but it's worth reiterating: - if you depend on current org for "production" (with deadlines and deliverables that cannot be compromised), then you should probably leave your work machine alone. If you want to test, you should probably install master on a different machine (if you don't have a different physical machine, a VM will do fine) and test carefully before upgrading your work machine. - if you can afford some breakage in your workflows and can either debug the failures or provide detailed information (backtraces, profiles etc) about them, I think the devs would appreciate that, but any testing you can do is probably worthwhile. - That said, I think master is very stable, but there are backward incompatibilities in various places (check ORG-NEWS for details and the mailing list for breakage reports to see if they would affect you). The sooner you start getting ready, the smoother the transition will be. -- Nick
Re: [O] org-bbdb-anniversaries-future
Nick Dokos gmail.com> writes: > Michael Welle gmx.net> writes: > > > Marco Wahl gmail.com> writes: > > > >> BTW I use `org-bbdb-anniversaries-future'. See section "Anniversaries > >> from BBDB" in the info documentation (info "(org) Weekly/daily agenda"). Not present in latest org elpa package. --
Re: [O] org-bbdb-anniversaries, bbdb v3
Michael Welle writes: >>> I use Org 8.3.4 from the repository. There is no o-b-a-f in it, just the >>> regular org-bbdb-anniversaries. >> >> That's strange: I just updated to 8.3.4 and o-b-a-f is present. > indeed: > > ~/.emacs.d/elpa/org-plus-contrib-20160307> grep -ri > org-bbdb-anniversaries-future * > ~/.emacs.d/elpa/org-plus-contrib-20160307> > > Is that a function in org-bbdb.el? > Yes: , | org-bbdb-anniversaries-future is an autoloaded compiled Lisp function | in ‘../org-mode/lisp/org-bbdb.el’. | | (org-bbdb-anniversaries-future &optional N) | | Return list of anniversaries for today and the next n-1 days (default n=7). ` I don't use ELPA so I may be completely wrong, but I thought ELPA packages the maint branch, not the master branch. I think o-b-a-f only exists in master, so it will appear in org-9.x -- Nick
Re: [O] shorter syntax for both latex and html export of a figure
On 2016-03-08 11:33, Alan Schmitt writes: > Thank you for the suggestion. At the moment I use a macro (because I > need to put the resulting figure in a figure environment, as I want a > label and caption), but I will give this a try. I'm fairly happy with what I ended up doing (using a macro as I need to pass some extra arguments, and I don't know how to extend a source block with custom arguments), so here is my solution. I define this utility function that is lob-ingested: #+name: wrap-res #+BEGIN_SRC emacs-lisp :var link="" :var caption="" :var label="" :results raw :exports none (concat "#+LABEL: " label "\n#+CAPTION: " caption "\n" link) #+END_SRC I also define a macro (it's on one line but for this email I'm wrapping it) #+macro: tikzfig #+header: :file (by-backend (latex "$1.tikz") (t "$1.png")) :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 300 :results file raw :fit yes :headers '("\\usepackage{tikz}") :post wrap-res(link=*this*,label="fig:$1",caption="$2") I can then have the following that is exported both in tikz and png (I do not use svg as I found htlatex lacking for text nodes): {{{tikzfig(cnf-example,An ordinal in Cantor normal form)}}} #+begin_src latex \begin{tikzpicture}[scale=2, every node/.style={transform shape}] \node[color=blue]{$\omega^{(\omega^\omega\,+\, \omega^2 \times 8 \,+\, \omega)}+ \omega^\omega + \omega^4+ 6$}; \end{tikzpicture} #+end_src The first argument of the macro is the label of the figure (with "fig:" added automatically) as well as the file used to export the figure, the second argument is the caption. Hopefully this may be useful to others. Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂ (2016-02, Mauna Loa Obs.): 404.02 signature.asc Description: PGP signature
Re: [O] org-bbdb-anniversaries, bbdb v3
Michael Welle writes: > Hello, > > Marco Wahl writes: > >> Hi, >> >>> should I expect org-bbdb-anniversaries to work with bbdb v3? There was a >>> bit of discussion a couple of years ago and in org-bbdb.el are some >>> references to bbdb v3. >> >> Currently I happily use (bbdb-version)"BBDB version 3.1.2" to store >> anniversaries which appear in my agenda with (org-version)"8.3.3". >> >> BTW I use `org-bbdb-anniversaries-future'. See section "Anniversaries >> from BBDB" in the info documentation (info "(org) Weekly/daily agenda"). > I use Org 8.3.4 from the repository. There is no o-b-a-f in it, just the > regular org-bbdb-anniversaries. That's strange: I just updated to 8.3.4 and o-b-a-f is present. > Do you have attributes like 'birthday: > 1900-1-1' or like 'anniversary: 1900-1-1 birthday' in your bbdb? > The latter: anniversary: 1900-01-01 birthday 1901-01-11 wedding -- Nick
Re: [O] Org is exporting to tex an asterisk between "section" and "{"
Dear Eric. Troubleshooting a lack of ToC content in a exported PDF from org, I found this issue. [...] >>> Make sure you have >>> #+options: num:t >>> set. Otherwise, sections are unnumbered. I'm not sure what the default >>> is. Maybe you have "num:nil"? >> I had nothing in the document, and your suggestion did the trick. [...] >> However, I can't find this in the documentation... shouldn't something >> like this be the default? If not, the ToC and the links are not rendered >> or non-functional. > It is documented, in [[info:org#Export%20settings][info:org#Export > settings]], [...] > Easy to miss as it is not LaTeX specific, of course. It's a general > setting that affects potentially any export engine but is obviously only > relevant to some. Sorry, I was totally unclear... Being a total newbie I can't say that the resulting syntax is incorrect (is it?), but at least in the case of latex, *not expressing this specific option creates a non-functional latex file*. Shouldn't the exporter take care of this? Or at least, never export the asterisk between the "section" and the brace (just in case, "{" since I'm not an English native speaker). Sorry if the case is irrelevant, I tried reading before posting but found nothing to reassure me. Thanks... :) -- eduardo mercovich Donde se cruzan tus talentos con las necesidades del mundo, ahí está tu vocación.
Re: [O] shorter syntax for both latex and html export of a figure
On 2016-03-07 17:34, "Charles C. Berry" writes: > On Mon, 7 Mar 2016, Alan Schmitt wrote: > >> Hello, >> >> I'm trying to adapt the example that allows to export a figure both to >> tikz and to png so that I don't have to manually add all the header >> lines. >> > > Maybe this gets you a step closer > > #+begin_src emacs-lisp :results silent > (defmacro by-backend (&rest body) >`(case (org-bound-and-true-p org-export-current-backend) >,@body)) > > (org-babel-do-load-languages > 'org-babel-load-languages > '((latex . t))) > > (defalias 'org-babel-execute:tikz 'org-babel-execute:latex) > (defalias 'org-babel-expand-body:tikz 'org-babel-expand-body:latex) > > (add-to-list 'org-src-lang-modes '("tikz" . latex)) > >(defvar org-babel-default-header-args:tikz > '((:imagemagick . "yes") >(:iminoptions . "-density 600") >(:imoutoptions . "-geometry 800") >(:results . "file raw") >(:fit . "yes") >(:headers . "(\\usepackage{tikz})") >(:exports . "results"))) > #+end_src > > > When I run your tikz src block interactively I get two files created. Not > sure why and I haven't time to edebug step thru the code. But maybe you > can handle that bit. Thank you for the suggestion. At the moment I use a macro (because I need to put the resulting figure in a figure environment, as I want a label and caption), but I will give this a try. Thanks again, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂ (2016-02, Mauna Loa Obs.): 404.02 signature.asc Description: PGP signature
Re: [O] org-bbdb-anniversaries, bbdb v3
Hi, > should I expect org-bbdb-anniversaries to work with bbdb v3? There was a > bit of discussion a couple of years ago and in org-bbdb.el are some > references to bbdb v3. Currently I happily use (bbdb-version)"BBDB version 3.1.2" to store anniversaries which appear in my agenda with (org-version)"8.3.3". BTW I use `org-bbdb-anniversaries-future'. See section "Anniversaries from BBDB" in the info documentation (info "(org) Weekly/daily agenda"). Best regards, -- Marco Wahl GPG: 0x49010A040A3AE6F2