Re: [O] tags in clock table
Hi Anton, There was a discussion over a year ago with a patch that generates clock tables for tags. http://thread.gmane.org/gmane.emacs.orgmode/26371 I'm not sure if that works with the agenda for a time range or not but it might be closer to what you are looking for. Regards, Bernt Anton Travleev trato...@yandex.ru writes: Hello Bernt, I want to get clock summary over a week for each tag I set during this week. I have a lot of tags, so the manual filtering is tedious, not to mention that I can forget some of them. There is no possibility to split the clocktable into chunks by tags, only by days or weeks, see option :step (there was discussion in the thread http://thread.gmane.org/gmane.emacs.orgmode/38195/focus=38889, maybe it is outdated) So I thought I can first just see all tags I set during the week in the clocktable (that is my initial question), and then use :tag option of the clocktable to get time summary for each tag. Regards, Anton 31.01.2012, 21:34, Bernt Hansen be...@norang.ca: Anton Travleev trato...@yandex.ru writes: Hi, is there possibility to see tags in the clock table? What exactly are you trying to do? There is supposed to be a way to limit the clock report to specific tags using the :tags heading but I haven't played with this at all. The agenda clock report used to limit to the filtered tags with C-u R but that no longer seems to work either :/ I haven't looked into which commit broke that functionality yet. If you use 'v c' in the agenda to look at clocking lines the tags associated with the headline are included -- but this isn't a clock report which totals the values, it just shows the raw data. Regards, Bernt
[O] [RFC] warn time for appointments
Hi Bastien, In bzr emacs there is a new variable called appt-warning-time-regexp. It contains a string for how many minutes we want to be reminded of an appointment. For example, to be warned 30 minutes in advance of an appointment you would put the following in the diary file: 2011/06/01 12:00 Do something ## warntime 30 I would very much like this feature in org. How about we use the same regexp? We could use this when we call org-agenda-to-appt. A typical entry would look like this: * Do something 2012-02-04 Sat warntime 30 What do you think of the specifications? If it's OK with you I will find the time to do it. Take care, -- Ivan Kanis http://kanis.fr Nothing in life is to be feared. It is only to be understood. -- Marie Curie
Re: [O] org-special-ctrl-a/e induces problems in items
Hello, pin...@iro.umontreal.ca (François Pinard) writes: When org-special-ctrl-a/e is active, and when a list item is a whole paragraph spanning many visual lines, `C-a' and `C-e' both misbehave. This should be fixed now. Thanks for the report. Regards, -- Nicolas Goaziou
Re: [O] Way to replace normal tabular env with booktabs?
Hello, John Hendy jw.he...@gmail.com writes: On Fri, Jan 13, 2012 at 9:39 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Jan 13, 2012, at 3:52 PM, Niels Giesen wrote: There is a patch from me waiting to be incorporated into org mode that lets one use booktabs as export for normal org tables. You can find it @ http://patchwork.newartisans.com/patch/1016/ Hi NIels, I am looking now at this patch, and maybe it would be better to implement these three variables as one, holding a property or association list? Makes it easily extendable. Equally important - it would be great if you could try to implement this same change in the new exporter engine from Nicolas, to ensure that the new exporter will not lag behind. Regards - Carsten Any new thoughts on this? It would be great if this could be adjusted as mentioned and merged into org-mode! I'm still using the current patch from Niels in a separate branch because I like it so much! I looked at the patch. I think the three variables expose too much Org internals to the user. It would be simpler to make use of `org-export-latex-tabular-environment' with a booktabs value. Also and #+attr_latex: booktabs should transform the table into a booktab-table locally. If Niels Giesen (CC'ed) doesn't mind, I will implement a modified version of his changes for the new exporter, in a couple of days. Regards, -- Nicolas Goaziou
Re: [O] org-special-ctrl-a/e induces problems in items
Nicolas Goaziou n.goaz...@gmail.com writes: When org-special-ctrl-a/e is active, and when a list item is a whole paragraph spanning many visual lines, `C-a' and `C-e' both misbehave. This should be fixed now. Thanks for the report. Hi, Nicolas. And it does work! :-) Thanks! François
Re: [O] [ANN] ASCII back-end for new export engine
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, t...@tsdye.com (Thomas S. Dye) writes: I haven't been able to export a listing yet. The following source exports with the old exporter, but fails with the experimental exporter. This long standing bug should be fixed now. Regards, Yes, I think it is fixed now. Thanks for your good work. Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] [BUG] cannot open menu when in an org buffer
suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi, In a minimal Emacs session when I open _any_ org file and try to access the GUI menu with a mouse, I get the following back trace: Debugger entered--Lisp error: (void-function org-in-clocktable-p) org-in-clocktable-p() org-context() (assq :todo-keyword (org-context)) Switching to a non-org buffer (e.g. scratch) the problem disappears. Can someone take a look? Confirmed. If I add (require 'org-clock) to my minimal .emacs, it goes away. So it seems to be a missing dependency. Nick
[O] [code] Small elisp snippet to search among toplevel headlines in a file
Hello, I have one big org-file for a lot of smaller projects, each of them represented by a toplevel item. And I have difficulties finding them quickly: In most cases I know a buzzword from the headline; however, if I do a search-forward I normally find some other text within the body of an unrelated project further above in the file; and only after several repetitions of search I find the toplevel heading (i.e. the project) I was looking for. To make it easier to search only among toplevel headings (i.e. among the the titles of my projects), I wrote this small piece of elisp, which lives in my initialization-file (e.g. .emacs): (define-key org-mode-map [(f11)] (lambda () (interactive) (progn (occur (concat ^\\* .* (read-from-minibuffer Occur for toplevel headlines containing: )) nil) (pop-to-buffer *Occur*) (use-local-map (copy-keymap (current-local-map))) (local-set-key (kbd RET) (lambda () (interactive) (progn (occur-mode-goto-occurrence) (delete-other-windows))) To find a project I just press f11 (please choose your own key) and enter a keyword to do an occur for this keyword. Normally several toplevel headings are found and the right one is chosen by typing return. I hope, that someone might find this useful too. with kind regards, Marc-Oliver Ihm
[O] Recurring multiple days events
Hi all, it seems to me that specifying recurring multi-days things like 2012-12-24 +1y--2012-12-15 do not show up in the agenda. I know there sexp dates, but these have other drawbacks. Is that just the wrong notation or not even something org-mode intends to support? Cheers, Simon
Re: [O] Strange non-existent agenda file message
Bastien b...@altern.org writes: Hi François, Bonjour! Command C-c C-e d yields this strange message: non-existent agenda file ~/fp/notes/Bureautique/Org_mode_Présentation.org. [R]emove from list or [A]bort? I cannot reproduce this. Can you provide a minimal setup and an example file that will help me reproduce this? Well, the problem did not show on my side, since then. I just retried once more, and everything apparently works. So, let me abandon this report, and restart afresh if the diagnostic ever returns. Thanks for your patience, and for all the work! François
Re: [O] org-babel export latex problem
Thanks for the suggestion, the update fix the problem. Best Riccardo 2012/2/3 Thomas S. Dye t...@tsdye.com The current version is 7.8. Could you update and see if the problem persists? Tom Sent from my iPhone On Feb 3, 2012, at 1:43 AM, Riccardo Romoli ric.rom...@gmail.com wrote: The version is 6.33x Best 2012/2/3 Thomas S. Dye t...@tsdye.com Riccardo Romoli ric.rom...@gmail.com writes: Hi, I'm new of these list and of the org-babel world. I need to use both LaTeX and R, so I write the R code within an src block: #+begin_src R :results output silent :exports none library(chemometrics) library(MASS) library(lattice) #+end_src When I export to LaTex (C-c C-e l) the R code I wrote, this is the result: \begin{verbatim} library(chemometrics) library(MASS) library(lattice) \end{verbatim} How could I not display the result of the R computation? In the org- manual (chapter 14 ) I read that what I need should be done using: :results output silent :exports none but despite I use this option nothing change. Do you have any suggestion?? Best Riccardo Aloha Riccardo, What version of Org mode are you using? All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Recurring multiple days events
On 4 Feb 2012 22:55, Simon Thum simon.t...@gmx.de wrote: Hi all, it seems to me that specifying recurring multi-days things like 2012-12-24 +1y--2012-12-15 do not show up in the agenda. I know there sexp dates, but these have other drawbacks. I've not tried such things, but if that is your actual example, your start date is for a date after your end date. That can't be helping :-) Best, Brian vdB
[O] Generating plot with org-babel-R
Hi, I'm trying to generate some figure with R, into an org session. Firstly I use the code in the org site. The problem is that the code do not generate any figure. This is the code: #+TITLE:Test #+AUTHOR: Your Name #+EMAIL: your-em...@server.com #+BABEL: :session *R* :cache yes :results output graphics :exports both :tangle yes * Example of Org-Babel for R Literate Programming ** R text output A simple summary. #+begin_src R x - rnorm(10) summary(x) #+end_src ** R graphics output Note we use the object =x= generated in previous code block, thanks to the header option =:session *R*=. The output graphics file is =a.png=. #+begin_src R :file a.png y - rnorm(10) plot(x, y) #+end_src Same plot with larger dimension: #+begin_src R :file b.png :width 800 :height 800 plot(x, y) #+end_src Where do I wrong? Best Riccardo
Re: [O] Generating plot with org-babel-R
Hi Riccardo, This code appears to be outdated. I don't recall this code on the org site. Could you send a URL? All the best, Tom Riccardo Romoli ric.rom...@gmail.com writes: Hi, I'm trying to generate some figure with R, into an org session. Firstly I use the code in the org site. The problem is that the code do not generate any figure. This is the code: #+TITLE:Test #+AUTHOR: Your Name #+EMAIL: your-em...@server.com #+BABEL: :session *R* :cache yes :results output graphics :exports both :tangle yes * Example of Org-Babel for R Literate Programming ** R text output A simple summary. #+begin_src R x - rnorm(10) summary(x) #+end_src ** R graphics output Note we use the object =x= generated in previous code block, thanks to the header option =:session *R*=. The output graphics file is =a.png=. #+begin_src R :file a.png y - rnorm(10) plot(x, y) #+end_src Same plot with larger dimension: #+begin_src R :file b.png :width 800 :height 800 plot(x, y) #+end_src Where do I wrong? Best Riccardo Hi, I#39;m trying to generate some figure with R, into an org session. Firstly I use the code in the org site. The problem is that the code do not generate any figure. This is the code: #+TITLE:Test #+AUTHOR: Your Name #+EMAIL: mailto:your-em...@server.com #+BABEL: :session *R* :cache yes :results output graphics :exports both :tangle yes * Example of Org-Babel for R Literate Programming ** R text output A simple summary. #+begin_src R x - rnorm(10) summary(x) #+end_src ** R graphics output Note we use the object =x= generated in previous code block, thanks to the header option =:session *R*=. The output graphics file is =a.png=. #+begin_src R :file a.png y - rnorm(10) plot(x, y) #+end_src Same plot with larger dimension: #+begin_src R :file b.png :width 800 :height 800 plot(x, y) #+end_src Where do I wrong?BestRiccardo -- Thomas S. Dye http://www.tsdye.com
Re: [O] Variable settings in .emacs VS cross device portability.
Eric S Fraga e.fr...@ucl.ac.uk writes: Thomas S. Dye t...@tsdye.com writes: [...] If you (and the receiver) tangle your export-settings source code block to init.el (:tangle init.el), then execute something like the following source code block #+begin_src sh emacs -Q -l init.el examplebug.org #+end_src you should be able to ensure that the receiver will get the same result you get. Of course, anything in your .emacs (or other initialization files) that is needed to produce the results will need to be included in export-settings. hth, Tom Thanks Tom! Actually, I must apologise. Your message addresses the OP's initial question but somehow the thread has diverged from that and it's probably my fault it has... Sorry! Hi Eric, No worries. I tried and failed to get buffer local variables to do what I wanted, as it appears you have, too. My failure probably has to do with my ignorance as much as anything, but Dan's analysis and your thread convinced me that it wasn't all me. I found it liberating to work on an Org mode file that would run in a precisely defined environment, separate from the environmental mish-mash that feels comfortable to me in my everyday work. At any rate, I appreciate your good humor, even when I sound dull and off point. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] [ANN] ASCII back-end for new export engine
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, I've commited an ASCII back-end for new export engine. Assuming contrib directory is in your load-path, you just need to (require 'org-export) to have both LaTeX and ASCII exporters ready to boot. You can then access to the dispatcher with M-x org-export-dispatch and test various configurations from there. As a reminder, you can ask for a table of contents, list of tables and list of listings with, respectively, #+toc: headlines, #+toc: tables and #+toc: listings. Also, drawers[1] are exported transparently by default. Feedback is welcome. Regards, [1] properties drawers excepted: those are different elements anyway. Hi Nicolas, On line 427 of org-e-latex.el, reference to the variable org-e-latex-to-pdf-process in the docstring should be to org-e-latex-pdf-process. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] Recurring monthly appointment, limited time
The example here is for appointments that recur every week: http://orgmode.org/worg/org-faq.html#org-class Is there a way to use org-class for recurring appointments that last for a limited period of time, but the appointment frequency is something other than weekly (e.g., monthly)?
[O] Hyphens for tags, todo keywords, and properties
For some reason I can't get used to underscores[1] and I want to use hyphens (i.e. -) for tags, todo keywords, and properties. Yeah, I'm a maverick. :) Or maybe a Luddite. :) Or both. :) I know it isn't usual. :) Org has borrowed from Lisp in other areas, but not fully for these. Hyphens seem to work, but I have not tried them much. What should I know about in order to achieve this aesthetic with minimal chance of things not working? I've come to realize I just won't stand for underscores, most likely. I think tags are highest priority for this. Thanks. Samuel [1] Can't seem to get used to FunnyCase or funnyCase either. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com
Re: [O] [ANN] ASCII back-end for new export engine
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, I've commited an ASCII back-end for new export engine. Assuming contrib directory is in your load-path, you just need to (require 'org-export) to have both LaTeX and ASCII exporters ready to boot. You can then access to the dispatcher with M-x org-export-dispatch and test various configurations from there. As a reminder, you can ask for a table of contents, list of tables and list of listings with, respectively, #+toc: headlines, #+toc: tables and #+toc: listings. Also, drawers[1] are exported transparently by default. Feedback is welcome. Regards, [1] properties drawers excepted: those are different elements anyway. Hi Nicolas, References to org-e-latex-packages-alist in org-e-latex.el docstrings should be to org-export-latex-packages-alist. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
[O] save-excursion not saving when I call org-capture-goto-last-stored
I'm currently trying to write a function to do some post-capture updates to an entry. My intention is to add it to org-capture-after-finalize-hook. First step is navigating to the captured item but I'd like to return to the current buffer I was in before. I'm still a novice with elisp, so I could use a pointer here. Here is a simplified example: M-: (save-excursion (org-capture-goto-last-stored)) Is there a better way to navigate to the last capture and then return to my current buffer? Thanks, Jon Miller ;; My current full version: (defun jsm/org-project-properties () Takes the current heading title, denoting the project, and sets the :EXPORT_TITLE: and :CATEGORY: properties to the same. (interactive) (save-excursion (org-capture-goto-last-stored) ; Aka C-u C-u org-capture (let ((project-title (org-get-heading t t))) (org-set-property EXPORT_TITLE project-title) (org-set-property CATEGORY project-title
[O] A visibility (ellipsis) problem with `C-c .'
Hi, Org people. Consider a header having many sub-headers, and which is closed. So I only see that header, followed by an ellipsis at the end of that line. On that header, command `C-c .' turns the initial star (or string thereof) into a dash. Now, I see an item with the same text as the previous header, still followed by an ellipsis at the end of that line. Now, TAB has no effect: it does not expand the ellipsis into the previous contents (the minibuffer writes EMPTY ENTRY, which is likely improper) So I have to fight a tiny bit for being able to edit the contents. I go one level up, collapse then expand, and everything becomes OK. François
[O] Turning a link into a non-link
Hi, Org mode people. I sometimes want to turn [[POINTER][COMMENT]] into COMMENT. That is, I want to remove the clickability, but retain the text. To do so, I try `C-c C-l', empty the pointer, type RET, leave the comment as it is, and type RET. Org mode reacts by writing Empty link in the minibuffer, and removing the COMMENT from the text. Could it keep COMMENT in the text, instead of deleting it? François P.S. The converse operation is easier! :-) For adding a POINTER to an already existing COMMENT text, I first do `C-c l' somewhere, than select COMMENT with the mouse, and complete with `C-c C-l RET RET'.
Re: [O] [code] Small elisp snippet to search among toplevel headlines in a file
Another possible idea may be to write project titles in bold while on headlines. That way all you need search for is the beginning of a line followed by a single * followed by a blank followed by the opening mark for bolding and if this is only done with project titles you got yourself an index.On Sat, 4 Feb 2012, Marc-Oliver Ihm wrote: Hello, I have one big org-file for a lot of smaller projects, each of them represented by a toplevel item. And I have difficulties finding them quickly: In most cases I know a buzzword from the headline; however, if I do a search-forward I normally find some other text within the body of an unrelated project further above in the file; and only after several repetitions of search I find the toplevel heading (i.e. the project) I was looking for. To make it easier to search only among toplevel headings (i.e. among the the titles of my projects), I wrote this small piece of elisp, which lives in my initialization-file (e.g. .emacs): (define-key org-mode-map [(f11)] (lambda () (interactive) (progn (occur (concat ^\\* .* (read-from-minibuffer Occur for toplevel headlines containing: )) nil) (pop-to-buffer *Occur*) (use-local-map (copy-keymap (current-local-map))) (local-set-key (kbd RET) (lambda () (interactive) (progn (occur-mode-goto-occurrence) (delete-other-windows))) To find a project I just press f11 (please choose your own key) and enter a keyword to do an occur for this keyword. Normally several toplevel headings are found and the right one is chosen by typing return. I hope, that someone might find this useful too. with kind regards, Marc-Oliver Ihm Jude jdashiel-at-shellworld-dot-net http://www.shellworld.net/~jdashiel/nj.html
Re: [O] Hyphens for tags, todo keywords, and properties
Samuel Wales samolog...@gmail.com wrote: For some reason I can't get used to underscores[1] and I want to use hyphens (i.e. -) for tags, todo keywords, and properties. I suspect that this is going to be difficult, if not impossible. In particular, tags and properties search uses - as a metacharacter, so having it appear as part of a tag or property would probably break things there. Nick
[O] Custom agenda views: display date, not tags
I am trying to create a custom agenda view that displays the deadline date (rather than the tags) associated with certain entries. So, rather than: todo: TODO Finish the task :Work: I want to display: todo: TODO Finish the task 5 February 2012 I haven't been able to find the appropriate variables to control this. Suggestions?
Re: [O] Turning a link into a non-link
François Pinard pin...@iro.umontreal.ca wrote: Hi, Org mode people. I sometimes want to turn [[POINTER][COMMENT]] into COMMENT. That is, I want to remove the clickability, but retain the text. To do so, I try `C-c C-l', empty the pointer, type RET, leave the comment as it is, and type RET. Org mode reacts by writing Empty link in the minibuffer, and removing the COMMENT from the text. This is done by org-make-link-string: it considers an empty link to be an error. If you toggle-debug-on-error, you will get a backtrace. Could it keep COMMENT in the text, instead of deleting it? IMO, that'd be bad programming practice: you should write a separate function that unlinks the link. Nick
Re: [O] A visibility (ellipsis) problem with `C-c .'
François Pinard pin...@iro.umontreal.ca wrote: Consider a header having many sub-headers, and which is closed. So I only see that header, followed by an ellipsis at the end of that line. On that header, command `C-c .' turns the initial star (or string thereof) into a dash. I don't understand: C-c . does org-time-stamp - how/why is the initial start turned into a dash? Where exactly is the cursor at the time? If I do C-c . at the end of the line (the final dot of the ellipis), a timestamp is inserted in the header. I can still TAB to unfold. Nick Now, I see an item with the same text as the previous header, still followed by an ellipsis at the end of that line. Now, TAB has no effect: it does not expand the ellipsis into the previous contents (the minibuffer writes EMPTY ENTRY, which is likely improper) So I have to fight a tiny bit for being able to edit the contents. I go one level up, collapse then expand, and everything becomes OK. François