Re: [O] Where should I put the timestamp?
from the user perspective, fwiw, in case it helps, i rely on headlines like this. they are far better for me than date trees, because you can sort, show them all at a glance, binary search, less chance of corruption, no extra hierarchy, etc. they work great in my usage. === * CONVERSATION [2014-12-07 Sun 22:23] called again they never picked up though. === if org ever changes to not allow those, i will stick with the old org version or carry along a patch in git. :] On 12/7/14, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: Hi there, I vaguely remember someone saying here on the list that putting timestamps in the headline is deprecated. However, I found this in the manual: A timestamp can appear anywhere in the headline or body of an Org tree entry. Its presence causes entries to be shown on specific dates in the agenda [...] Which is wrong: my memory or the manual? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.
Re: [O] C-x RET r utf-8 RET
On 2014-12-08, at 08:35, Eric Abrahamsen wrote: [...] You could do that in a lambda, but it probably won't accept a non-interactive function, [...] Out of curiosity: can't a lambda (in e.g. global-set-key) be made interactive? I did this right now: (global-set-key (kbd C-z C-s) (lambda () (interactive) (message It can be done!))) and it seems to work. Is it going to change e.g. in future Emacs versions, IOW, is it deprecated or something? Yours, Eric Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
Re: [O] How to enhance the agenda output if soome info is only in the parent entry?
On 2014-12-08, at 04:39, Eric Abrahamsen wrote: If you set `org-agenda-show-outline-path' to t, it will show you the full path to the TODO in the message line as you move the cursor around. You still have to move on to it to see the path, but usually for me that's good enough. Interesting! I checked it out - works nicely, thanks! As usual, Org has me covered... BTW, `t' is the default setting for that anyway. E Thanks, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
Re: [O] C-x RET r utf-8 RET
Marcin Borkowski mb...@wmi.amu.edu.pl writes: On 2014-12-08, at 08:35, Eric Abrahamsen wrote: [...] You could do that in a lambda, but it probably won't accept a non-interactive function, [...] Out of curiosity: can't a lambda (in e.g. global-set-key) be made interactive? I did this right now: (global-set-key (kbd C-z C-s) (lambda () (interactive) (message It can be done!))) and it seems to work. Is it going to change e.g. in future Emacs versions, IOW, is it deprecated or something? No, you're quite right, I was just answering off the cuff, without thorough thought. It is indeed possible to stick (interactive) inside of a lambda, though intuition tells me that that it's not generally good practice -- Emacs' introspection functions will probably at some point bark at you for not having a named function, and it will make it harder to use the built-in help functions to figure out what's going on. But yes, you're right, it's definitely possible. E
[O] File local variables
I used to disable evaluation of source code when exporting by using the following as the first line: ;; -*- mode: Org; org-export-babel-evaluate: nil; -*- This is not working any more. Has something changed? My org-version is: Org-mode version 8.3beta (release_8.3beta-614-gc10ae1 @ /Users/vikas/.emacs.d/src/org-mode/lisp/) Vikas
Re: [O] C-x RET r utf-8 RET
On 2014-12-08, at 10:39, Eric Abrahamsen wrote: No, you're quite right, I was just answering off the cuff, without thorough thought. It is indeed possible to stick (interactive) inside of a lambda, though intuition tells me that that it's not generally good practice -- Emacs' introspection functions will probably at some point bark at you for not having a named function, and it will make it harder to use the built-in help functions to figure out what's going on. But yes, you're right, it's definitely possible. You're probably right - describe-key works (of course), but in an ideal way (somehow jumping to the source won't work;-) - but a docstring will!). E Best. -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University
[O] Feature Request: Move table row groups, like rows?
One thing I use org tables for is to represent a series of accounting transactions, with each group of rows representing a set of entries for the transaction. Like this: |-+---+--+---+---+---+---+---+| | Id | X | Date | Charge| Dr| Cr| C | R | Description| |-+---+--+---+---+---+---+---+| | 206 | | [2010-12-05 Sun] | l:chase visa | | 1,648.62 | x | x | Opening Equity | | 207 | | [2010-12-05 Sun] | q:eq | 1,648.62 | | | | Opening Equity | |-+---+--+---+---+---+---+---+| | 208 | | [2010-12-20 Mon] | l:comm:visa | | 3,859.39 | x | x | Opening Equity | | 209 | | [2010-12-20 Mon] | q:eq | 3,859.39 | | | | Opening Equity | |-+---+--+---+---+---+---+---+| | 211 | | [2010-12-27 Mon] | q:eq | 43,447.85 | | | | Opening Equity | | 210 | | [2010-12-27 Mon] | l:charter one | | 43,447.85 | x | x | Opening Equity | |-+---+--+---+---+---+---+---+| It is sometimes handy to move transactions around, but they have to be moved as a group. It would be nice if org had the ability to do this in a manner as convenient as moving around individual rows. Perhaps, C-M-up, C-M-down could be bound to such a function. A Bonus feature might be to provide a way to sort groups in a manner similar to rows, using say, the first row in each group for the sort criteria, but moving whole groups as a unit. So I could sort the transactions by date, description, etc. -- Daniel E. Doherty ded-...@ddoherty.net
Re: [O] Bug: addt'l multiple property drawers situations when org-log-done set to 'note [8.3beta (release_8.3beta-621-gf212f7) @ /path/to/org-mode/lisp/]
Hello, Bradley M. Kuhn bk...@ebb.org writes: I however still have a related bug: I have many entries where the PROPERTIES drawer is at the bottom of a long set of TODO notes. Mine look like this: ** TODO Monthly Accounting: Reconcile Payment report. SCHEDULED: 2014-10-07 Tue 08:00 ++1m - State DONE from TODO [2014-09-05 Fri 19:12] \\ Finished through 2014-09-02 Tue - State DONE from TODO [2014-06-16 Mon 09:28] \\ Did this through 2014-05-30 Fri. - State TODO from[2014-06-12 Thu 22:40] \\ The monthly payment report can be downloaded. :PROPERTIES: :LAST_REPEAT: [2014-09-05 Fri 19:12] :END: I still get a second property drawer when I cycle these repeating TODOs, if I have: (setq org-log-done 'note) Same happens with ones like this, BTW:: * TODO Testing. SCHEDULED: 2014-12-28 Sun ++1w - CLOSING NOTE [2014-12-07 Sun 19:25] - CLOSING NOTE [2014-12-07 Sun 19:25] :PROPERTIES: :LAST_REPEAT: [2014-12-07 Sun 19:25] :END: It seems the new code intends to keep properties draw at the top of an entry, but shouldn't it respect the positioning of the PROPRIETIES draw regardless of where it is in the entry? This is a recent change in master. PROPERTIES drawer is only recognized as such when at the top of the section, possibly after a planning info line. You may want to look into ORG-NEWS file, there's a function to help you fix old documents. Regards, -- Nicolas Goaziou
Re: [O] [PATH] Speedups to org-table-recalculate
Hi Nathaniel The macro did not set the time to nil, the current function does when t1 is nil but I think it must not. This led me to the following ideas, sorry for not thinking enough earlier: Why not change the macro's (setq ,t1 curtime) to a function's (set t1 curtime), still conditional as it was in the macro and call the function with 'log-*-time, quoted? Why not factor out the action from the function that would then only return whether any action has to be taken and in consequence also factor out the sometimes needed test for all? (when (or (not all) (org-once-per-second 'log-*-time)) (message [...])) The function would not have to test t1 for nil anymore. In my opinion this functionality should go into org-macs.el, hence omitting -table- in the function name. Michael
[O] Dependency on gnus?
Hello, After installing the latest snapshot of orgmode (20141208 or 8.2.10-23), it fails loading, stating that gnus is not provided. Commenting out the (require 'gnus-sum) line in org.el seems to fix it (I mean that at least it loads). Is it a real dependency? And in that case, why didn't elpa install it by itself? Thanks, Thibaut Verron
Re: [O] C-x RET r utf-8 RET
Thanks for this Eric, I’ve put your function [my-set-coding-system-to-utf8] into my init.org and also my mono menu. Unfortunately I had just converted my last two problem pages into utf8, but I'm now ready for its next bout. Thanks again Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo = https://bitbucket.org/boudiccas/dots TGmeds = http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.5, emacs 24.4.1.0 signature.asc Description: PGP signature
Re: [O] html export does seem to no more recognise EXPORT_ .. PROPERTIES
Am 01.12.2014 um 15:15 schrieb Rainer Stengele: Am 28.11.2014 um 23:19 schrieb Nicolas Goaziou: Hello, Rainer Stengele rainer.steng...@online.de writes: with latest Org version I find the html export does no more recognise these settings at the begin of the file: :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: Export is simply done into the folder the org file lives. This is always the case. Exporting in another (possibly remote) directory is called publishing and requires additional set-up. Regards, Nicolas, this worked for I would say at least the last 1-2 years without publishing. The feature must have been deactivated somewhere in the last 3-6 weeks. Thank you. Regards, Rainer Stengele Nicolas, this works again as before. The only thing that is different from the past is that any comment in the PROPERTIES section does seem to confuse the exporter. I removed :PROPERTIES: :EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-mmdd.html EXPORT_FILE_NAME: x:/0PROJEKT/Kunden/customer/customer-Dokumentation-another-title.html :EXPORT_TITLE: Stoll - IT (HW/SW) - Zugänge - Konfigurationen [Stand: mmdd] :END: As an example I removed the second line in the :PROPERTIES: block and the standard html export does respect the file name again. Thank you. Regards, Rainer
Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?
Hi Benjamin, Thanks, Marco. Well, it at least helps to update me to a non-obsolete sexp method. I have no idea how to check what's actually been pushed to `appt` to see whether the updated org-class really behaves differently to org-diary-class in this respect. (So I'll have to see tomorrow how `appt` behaves.) You can use M-x appt-delete for scanning through your current appointments. For each appointment you will be asked for deletion. Saying 'no' just keeps the appointment. You might even look at variable `appt-time-msg-list' or use the following function to see a list of your current appointments. #v+ (defun mw-appt-display-list () List the current appointments. This is an amendment to the appt-family of functions. Sometimes you might want to know the upcoming appts. (interactive) (if (not (boundp 'appt-time-msg-list)) (message `appt-time-msg-list' not even bound. Consider M-x org-agenda-to-appt.) (if appt-time-msg-list (let ((tmp-msg-list appt-time-msg-list) (message-string )) (dolist (element tmp-msg-list) (setq message-string (concat message-string (prin1-to-string (substring-no-properties (cadr element) 0)) \n))) (if ( 0 (length message-string)) (message (substring message-string 0 -1 (message No appts scheduled for today. #v- Best wishes, Marco -- http://www.wahlzone.de GPG: 0x49010A040A3AE6F2
Re: [O] Export Org-mode content to Reveal.js presentations
Yujie Wen yjwen...@gmail.com writes: I'd like to introduce a new Org-Mode exporter, Org-reveal, that exports Org-mode contents to Reveaj.js presentations. I have to write a presentation and though about giving org-reveal a try. I managed to get something nice looking in about 10 minutes. Did you think about proposing org-reveal in the org contributions? Is the dependency on reveal.js a problem? Anyway, thank you very much for this very good work. -- Konubinix GPG Key: 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A signature.asc Description: PGP signature
[O] relative deadlines
From time to time (each time I delve into using org-mode for deadlines before my habits fall apart), I find the desire to have some form of relative deadlines. By this I mean, that there are often sequences of tasks that I know the time required to complete and when things are due. These tasks may repeat (usually do). It would be awful helpful to me, but I would guess few others, as a search didn't find much, for there to be some annotation like this (example is farcical, notation is notional) * Go on date DEADLINE: 2014-12-25 ** Ask Girl #-3w# ** Wash Hair #-2w# ** Make Money #-1w2d# ** Get in Car #-0d# ** Call her back #+1w# that in the agenda view would show as a sequence of tasks with the following dates Go on date 2014-12-25 Ask Girl 2014-12-04 Wash Hair 2014-12-11 Make Money 2014-12-16 Get in Car 2014-12-25 Call her back 2015-01-01 I have a python function that can take a stripped down org file and places an active date after each #block# (or inactive after #[block]#), that I hacked up today to see if it would really be as useful as I thought, but I keep thinking that someone somewhere must have scratched this itch elsewhere, and having to partially parse org in python and modify the text rather than having my agenda smart enough to figure it out gives me pause... If nobody have better ideas, are the block delimiters I'm using going to conflict with some other feature in org that I'm just not using yet? The main functuionality I'm stumbling toward is having an easily moveable end date (so replacing the block with absolute dates is a nono). Thanks for your attention, Jeffrey McBeth -- The man who does not read good books has no advantage over the man who cannot read them. -- Mark Twain
[O] how to prevent long lines being cut when exporting from org to pdf
Please see the attached test.org file and the exported test.pdfby using the command C-c C-e l p. Thanks,Suhas test.org Description: Lotus Organizer test.pdf Description: Adobe PDF document
Re: [O] Dependency on gnus?
Hi, Thibaut Verron thibaut.ver...@gmail.com writes: After installing the latest snapshot of orgmode (20141208 or 8.2.10-23), it fails loading, stating that gnus is not provided. Commenting out the (require 'gnus-sum) line in org.el seems to fix it (I mean that at least it loads). You should already have Gnus. It comes with Emacs. Did you do something to actively remove it? —Rasmus -- Enough with the bla bla!
Re: [O] table formula help...
Hi Thierry On Sun, Dec 7, 2014 at 10:57 PM, Thierry Banel tbanelweb...@free.fr wrote: Done. Probably this can be discussed further. I hope that there are more opinions than only mine. For the time being, there is no longer any NA. Good. My opinion is about to replace it with what. https://github.com/tbanel/orgaggregate#empty-and-malformed-input-cells says: An input cell may be empty. In this case, it is silently replaced by zero. In an output cell, if the computed result is zero, it not output, leaving a blank cell. This allows for empty input cells to result in empty output cells. I understand the intention very well (the proof is in the references at the bottom ;-) ). Nevertheless I find the compromise goes too far when in the following example the sum and mean for a0 and b0 are empty. I would prefer 0 there even when for the time being it is at the cost of that c results in a sum and mean of 0 too. It would mean to remove the above In an output cell, if the computed result is zero, it not output, leaving a blank cell. [...]. Or - when you want to bother with the implementation - to change it into If all input cells of a computation are empty then the result cell is left empty.. #+TBLNAME: original | Item | Value | |--+---| | a2 | 1 | | a2 | 1 | | a0 |-1 | | a0 | 1 | | b2 | 2 | | b2 | | | b0 | 0 | | b0 | | | c| | | c| | #+BEGIN: aggregate :table original :cols Item sum(Value) mean(Value) | Item | sum(Value) | mean(Value) | |--++-| | a2 | 2 | 1 | | a0 || | | b2 | 2 | 1 | | b0 || | | c|| | #+END Could you please add this example or something in the same sense to the unittests.org before any other change? https://github.com/tbanel/orgaggregate#empty-and-malformed-input-cells continues: The empty cell handling may be changed in the futur. For instance, we may want to compute an average aggregation ignoring empty cells (right now, empty cells contribute to the average by pulling it toward zero). As I understand orgaggregate already uses Calc vectors. Maybe then it could use and benefit from org-table-make-reference which has the necessary arguments and asks for a Lisp list? See testing/lisp/test-org-table.el: - The application of the mode string variations for TBLFM are in test-org-table/references/mode-string-*. - The same variations for org-table-make-reference are in test-org-table/org-table-make-reference/mode-string-* Michael
[O] Why does v8.2.10 include such an old version of ox-html.el?
Hi, I recently wanted org to export SVG images as HTML objects instead of images and, browsing the mailing list, I found a thread dating back from January 2014 [1] addressing that issue. In that thread, Rick Frankel says that he applied a patch to ox-html.el for that, and searching for it in the git repo, I found the commit (e955be90), dating back from January 16, 2014. Now what baffles me is that the contents of this patch is *not* included in version 8.2.10 of org, despite the fact that v8.2.10 was released 10 month after the commit was made. Even more surprising to me, the version of org distributed through ELPA (which I thought to be the bleeding edge, an impression that seems to be vindicated by the frequency of updates) does *not* contain this commit either... I did check that this commit wasn't reverted, and it doesn't seem to be: one can easily find the org-html--svg-image function that was introduced by it in the HEAD version of ox-html.el. So my question is: am I doing something wrong? How can I get a version of org that includes this almost-one-year-old patch, ideally without having to resort to manual installation? Thanks, Michel. [1] http://thread.gmane.org/gmane.emacs.orgmode/80668
Re: [O] Why does v8.2.10 include such an old version of ox-html.el?
Hi, Michel Schinz michel.sch...@gmail.com writes: So my question is: am I doing something wrong? How can I get a version of org that includes this almost-one-year-old patch, ideally without having to resort to manual installation? I think Bastien wrote that he plans to release v8.3 before the end of the year. So probably just stay tuned. If you need the 8.3 functionality you need to Org from the master branch. E.g. Archlinux AUR has a package for this, but you could also just check it out and run the appropriate make commands. I also believe el-get has a bleeding-edge Org package, but I never used el-get. Hope it helps, Rasmus -- Summon the Mothership!
Re: [O] how to prevent long lines being cut when exporting from org to pdf
On Monday, 8 Dec 2014 at 17:28, Suhas Pai wrote: Please see the attached test.org file and the exported test.pdfby using the command C-c C-e l p. What is it you would expect to work? The lines are very long... You could get more text if you switch to landscape output: , | #+latex_header: \usepackage{lscape} | #+latex: \begin{landscape} | ... your text | #+latex: \end{landscape} ` -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-581-g0e52f0
Re: [O] Adding new table rows/cols in a formula update
Achim Gratz writes: Dima Kogan writes: --- a/testing/lisp/test-org-table.el […] +(condition-case […] + #+TBLFM: @1$2=5) + ('user-error t))) That part of the test, specifically the attempt to catch the error is not working for me on Windows, most likely because I use an older version of Emacs there (I don't recall which one, either 23.4 or 24.1 I think). This probably comes about because ert-deftest is a macro, but I don't have time right now to dig into it. It turns out that older Emacsen throw 'error rather than user-error, so you need to catch both. Fixed in 82599d3 on master. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] how to prevent long lines being cut when exporting from org to pdf
Hi Eric, Yes, there has to be physical limits to the length of line. I was hopingto play with the font size to shrink the line in some cases. Is there one?This is at the cost of testing the limits of what you can read without needinga magnifying glass. The landscape feature is however a very good workaround. :] Thanks,Suhas From: Eric S Fraga e.fr...@ucl.ac.uk To: Suhas Pai suhas...@yahoo.com Cc: emacs-orgmode@gnu.org emacs-orgmode@gnu.org Sent: Monday, December 8, 2014 11:45 AM Subject: Re: [O] how to prevent long lines being cut when exporting from org to pdf On Monday, 8 Dec 2014 at 17:28, Suhas Pai wrote: Please see the attached test.org file and the exported test.pdfby using the command C-c C-e l p. What is it you would expect to work? The lines are very long... You could get more text if you switch to landscape output: , | #+latex_header: \usepackage{lscape} | #+latex: \begin{landscape} | ... your text | #+latex: \end{landscape} ` -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-581-g0e52f0
[O] problems with INCLUDE, noweb and tangle
Hello all, The noweb reference in the included file is not present in tangle (and sometimes also is not present within the results in the buffer). I am using: Org-mode version 8.3beta release_8.3beta-625-g8985b3 Please see the attached ECM with my comments (look for BUG). Let me know if you want to have a look to the generated files. You need ledger, but I guess this is a more general problem. Thanks in advance, Daniele #+EXPORT_EXCLUDE_TAGS: noexport * Org Setup :noexport: #+NAME: loadledger #+BEGIN_SRC emacs-lisp :results none (org-babel-do-load-languages 'org-babel-load-languages '((ledger . t) )) #+END_SRC * Financial Summaries ** Inline Opening :noexport: #+NAME: opening-inline #+BEGIN_SRC ledger :noweb yes :results output silent :exports none 2015-01-01 * Opening Assets:bank:savings:inline 1.00 € Equity:Opening Balances #+END_SRC ** Included Opening :noexport: #+INCLUDE: ./included.org ** An overall balance summary #+name: balance #+BEGIN_SRC ledger :noweb yes :exports results :cmdline bal :results output opening-inline opening-included #+END_SRC #+RESULTS: balance : 1.00 € Assets:bank:savings:inline : -1.00 € Equity:Opening Balances : :0 ** An overall balance summary with not working tangle In this section the result in the export are correct, but the tangled files contains only the =opening-inline= ref. BUG? #+name: tangled #+BEGIN_SRC ledger :noweb yes :tangle ledger-buggy1.dat :results output :exports results opening-inline opening-included #+END_SRC #+RESULTS: tangled : 1.00 € Assets:bank:savings:inline : -1.00 € Equity:Opening Balances : :0 ** All the raw data In this section the result: - inline in the document =C-c C-c= are incorrect BUG? - in the tangled files contain only the =opening-inline= ref. BUG? - but in the exported file are correct #+name: tangled-buggy #+BEGIN_SRC ledger :noweb yes :tangle ledger-buggy2.dat :results output :exports results :cmdline print opening-inline opening-included #+END_SRC #+RESULTS: tangled-buggy : 2015/01/01 * Opening : Assets:bank:savings:inline1.00 € : Equity:Opening Balances * Openings #+NAME: opening-included #+BEGIN_SRC ledger :noweb yes :results output silent :exports none 2015-01-01 * Opening Assets:bank:savings:included -1.00 € Equity:Opening Balances #+END_SRC
[O] [dev] New version of org-index.el --- a personal index for org and beyond
Hi all, the new version 3.0.0 of org-index.el has been uploaded to the contrib-directory of orgs git-repository. Features include improved setup-assistant and the new command add, which adds the current node to your index. Moreover the structure of the index-table and its flags has been reworked (hence the increment in major version number). See also org-index.el general description in its own words: ;; Mark and find your favorite things and org-locations easily: ;; Create and update an index table of references and links. When ;; searching, frequently used entries appear at the top and entering ;; some keywords narrows down to matching entries only, so that the ;; right one can be spotted easily. ;; ;; References are essentially small numbers (e.g. R237 or -455-), ;; as created by this package; they are well suited to be used ;; outside of org. Links are normal org-mode links. Best regards Marc
Re: [O] table formula help...
Le 07/12/2014 17:48, Michael Brand a écrit : Hi Thierry On Sun, Dec 7, 2014 at 5:13 PM, Thierry Banel tbanelweb...@free.fr wrote: The new features (:formula parameter and TBLFM survival) have been pushed to https://github.com/tbanel/orgaggregate. The unittests.org file has been updated. The http://melpa.org repository will reflect the change shortly. Cool, thank you. As a hint for the user you could add something like @$4 = string(header) etc. to the TBLFMs in the unittests.org. Michael Good suggestion. What stops me now is that the @$4 formula (or @1$4) does not work, probably because of a bug. More investigation is needed...
Re: [O] (org-agenda-to-appt) with sexp org-diary-class entry?
December, 05 at 8:39 Benjamin Slade wrote: None of my events which are scheduled with org-diary-class sexp entries seem to get pushed with (org-agenda-to-appt) (for triggering alarms etc.). Is this simply a limitation of sexp org-diary-class? Is there are workaround, or would it be better to simply schedule such events as (infinitely) repeating? Do your entries have a time in hour and minutes of the day? Ivan -- A bank is a place that will lend you money if you can prove that you don't need it. -- Bob Hope
Re: [O] table formula help...
Le 08/12/2014 19:02, Michael Brand a écrit : Good. My opinion is about to replace it with what. https://github.com/tbanel/orgaggregate#empty-and-malformed-input-cells says: An input cell may be empty. In this case, it is silently replaced by zero. In an output cell, if the computed result is zero, it not output, leaving a blank cell. This allows for empty input cells to result in empty output cells. I understand the intention very well (the proof is in the references at the bottom ;-) ). Nevertheless I find the compromise goes too far when in the following example the sum and mean for a0 and b0 are empty. I would prefer 0 there even when for the time being it is at the cost of that c results in a sum and mean of 0 too. You instantly found the weakness of the current design! It would mean to remove the above In an output cell, if the computed result is zero, it not output, leaving a blank cell. [...]. I'm inclined to agree with you. Dropping the /zero output becomes blank/ feature would be the best short-term compromise. Or - when you want to bother with the implementation - to change it into If all input cells of a computation are empty then the result cell is left empty.. Yes, this is the correct specification. Testing that *all* inputs are blank. Unfortunately, implementing this is a lot of work, because we need to create new data structures to remember whether input fields are blank. #+TBLNAME: original | Item | Value | |--+---| | a2 | 1 | | a2 | 1 | | a0 |-1 | | a0 | 1 | | b2 | 2 | | b2 | | | b0 | 0 | | b0 | | | c| | | c| | #+BEGIN: aggregate :table original :cols Item sum(Value) mean(Value) | Item | sum(Value) | mean(Value) | |--++-| | a2 | 2 | 1 | | a0 || | | b2 | 2 | 1 | | b0 || | | c|| | #+END Could you please add this example or something in the same sense to the unittests.org before any other change? Good idea. I'll do that. https://github.com/tbanel/orgaggregate#empty-and-malformed-input-cells continues: The empty cell handling may be changed in the futur. For instance, we may want to compute an average aggregation ignoring empty cells (right now, empty cells contribute to the average by pulling it toward zero). As I understand orgaggregate already uses Calc vectors. Yes. Maybe then it could use and benefit from org-table-make-reference which has the necessary arguments and asks for a Lisp list? See testing/lisp/test-org-table.el: - The application of the mode string variations for TBLFM are in test-org-table/references/mode-string-*. - The same variations for org-table-make-reference are in test-org-table/org-table-make-reference/mode-string-* Definitely interesting. Someone else has already bumped into the empty cells thing. Michael Thierry
[O] org the program vs. org the format
Hi, there's a discussion on emacs-devel[1] about replacing texinfo as the documentation format and org is mentioned. RMS correctly mentions that org- mode is not a format but a program. This was also my problem when I thought about using org-mode at work in my team. Since I'm the only emacs user we decided to use asciidoc which is a format that can be edited and processed with different programs. So org-mode is a bit like PHP which also doesn't (didn't) have a specification but the implementation is the specification. Would it be possible to change the format of org-mode to be a superset of e.g. asciidoc or markdown but keep the features? [1] On being web-friendly and why info must die Regards, Thomas Koch
Re: [O] table formula help...
Le 08/12/2014 22:12, Thierry Banel a écrit : Le 07/12/2014 17:48, Michael Brand a écrit : Hi Thierry On Sun, Dec 7, 2014 at 5:13 PM, Thierry Banel tbanelweb...@free.fr wrote: The new features (:formula parameter and TBLFM survival) have been pushed to https://github.com/tbanel/orgaggregate. The unittests.org file has been updated. The http://melpa.org repository will reflect the change shortly. Cool, thank you. As a hint for the user you could add something like @$4 = string(header) etc. to the TBLFMs in the unittests.org. Michael Good suggestion. What stops me now is that the @$4 formula (or @1$4) does not work, probably because of a bug. More investigation is needed... I found this thread in The List started by Dima Kogan which is closely related to the @1$4 issue: http://comments.gmane.org/gmane.emacs.orgmode/91268 He submitted a patch.
Re: [O] org the program vs. org the format
Hello Thomas, Thomas Koch writes: Hi, there's a discussion on emacs-devel[1] about replacing texinfo as the documentation format and org is mentioned. RMS correctly mentions that org- mode is not a format but a program. This was also my problem when I thought about using org-mode at work in my team. Since I'm the only emacs user we decided to use asciidoc which is a format that can be edited and processed with different programs. So org-mode is a bit like PHP which also doesn't (didn't) have a specification but the implementation is the specification. Would it be possible to change the format of org-mode to be a superset of e.g. asciidoc or markdown but keep the features? Sorry for not answering directly but I am not enough knowledgeable. I like to point out that there is an ongoing attempt to specify the org syntax[1], and that there are translators[2] and tools[3] that can work with org source files. My personal workaround (but I am not sure it can scale for a community) is to have emacs and all the org dependencies packaged in a lightweight virtual machine. A set of script take care to send the org files to the vm and retrieve the results. Unfortunately my approach is quite rough, and I am not aware of any recent attempt to offer org-mode as a service[4]. If you have some degree of control of your build/continuous integration server I guess this is a viable solution. My use case is to have a clean environment where build a reproducible doc using babel, IMHO not so farm from using org for creating documentation. Like you I also have problem in sharing the result and the work, because of the high step for newcomers that do know little about emacs, command line and scripting. I think that we have some good examples for solving this, see for example the ipython notebook[5] and rmarkdown[6], both projects month after month gain more and more adoption. The great power of org is still winning for me, but I keep an eye on other approaches. Best, Daniele [1] http://lists.gnu.org/archive/html/emacs-orgmode/2014-09/msg00599.html [2] http://orgmode.org/worg/org-translators.html [3] http://orgmode.org/worg/org-tools/index.html [4] http://lists.gnu.org/archive/html/emacs-orgmode/2012-03/msg01097.html [5] http://ipython.org/notebook.html [6] http://rmarkdown.rstudio.com/
Re: [O] org the program vs. org the format
Thomas Koch tho...@koch.ro writes: there's a discussion on emacs-devel[1] about replacing texinfo as the documentation format and org is mentioned. RMS correctly mentions that org- mode is not a format but a program. With respect to export: - Org is a syntax. The reference interpreter is org-element, but e.g. org-ruby exists and lazyblorg (or something like that) provides a Python interpreter. - Org-mode is an editor supporting the Org syntax. It further has agenda, todo, etc. support. - Ox is a transcoder translating Org syntax to whatever output. See: (info (org) Org syntax) and http://orgmode.org/worg/dev/org-syntax.html Nicolas will probably give a clearer definition. This was also my problem when I thought about using org-mode at work in my team. Since I'm the only emacs user we decided to use asciidoc which is a format that can be edited and processed with different programs. Emacs already runs on all imaginable platforms... Export with Emacs. People are free to use Notepad for editing Org. My coauthor uses texworks for editing Org. Perhaps the issue is rather that it should be easy to use ox in batch. A nice terminal program for exporting documents, shipped with Emacs (/usr/bin/ox, say) would be cool, to make ox {make batch sh}-friendly. Orgmk is a program that tries to do this, but it would be cool to have it with Emacs. These days Emacs can be a shebang on at least Linux. So org-mode is a bit like PHP which also doesn't (didn't) have a specification but the implementation is the specification. This claim is wrong. Would it be possible to change the format of org-mode to be a superset of e.g. asciidoc or markdown but keep the features? No! BTW: Org already exports to md. —Rasmus -- Dung makes an excellent fertilizer
Re: [O] Bug: addt'l multiple property drawers situations when org-log-done set to 'note [8.3beta (release_8.3beta-621-gf212f7) @ /path/to/org-mode/lisp/]
Nicolas Goaziou wrote: This is a recent change in master. PROPERTIES drawer is only recognized as such when at the top of the section, possibly after a planning info line. I apologize for not reading ORG-NEWS before reporting the bug... er, feature. ;) You may want to look into ORG-NEWS file, there's a function to help you fix old documents. Thanks for taking the time to tell me where to look! Yes, it was right there. I'm sorry for taking up your time with pointing me to the obvious place. :) -- bkuhn
[O] [ox-html] classes and list
Hi, Q: Is it possible to give an optional class or something similar to an (unordered) list when exporting to html? I'm porting my CV to Org since I want to export to both html and LaTeX from the same file. At one point I have something like: - 2011--2012 :: #+ATTR_LATEX: :environment iand #+ATTR_HTML: :class iand - item1 - item2 Which is to be printed as: 2011–2012 item1 ∘ item2 I.e. an inline list. From org-html-begin-plain-list it seems it's impossible to add an extra class. Is there a technical HTMLish limitation? Or only an ox-html limitation? If the latter I could try to add it. Thanks, Rasmus -- Hooray!