Re: [O] How to make weeks start from Sunday and be numbered from a custom date
Meir Goldenberg mgolde...@gmail.com writes: Two questions: 1. My work week starts on Sunday, so I have: (setq org-agenda-start-on-weekday 0) Now the agenda timeline starts on Sunday as desired. However, it says on top Week agenda (W34-W35), i.e. it still thinks that the week starts on Monday. Can I change that? 2. It would be very useful for me if the weeks were numbered from the week when my big work project started. Can I have the week numbering customized to have W01 on a certain date? I believe the answer is no to both questions: these are ISO week numbers and org depends on calendar functions to calculate them. -- Nick
Re: [O] Babel for eshell?
Okay, if you check this https://emacs.stackexchange.com/questions/14979/access-to-the-elisp-commands-behind-eshell-commands/14981#14981 you'll see the answer I was after. With eshell you can stay within emacs to do system/command line stuff. Now, with the elisp code behind eshell I can stay within org-mode within emacs for system stuff. Sure, I could put sh in blocks, but stepping up into scripting seems like a good practice to develop. On Wed, Aug 19, 2015 at 2:44 PM, Lawrence Bottorff borg...@gmail.com wrote: Is there any way to do literate Babel-style things with eshell? Only shell (sh) seems to be listed among the languages. As I understand, eshell is just a wrapper around actual elisp expressions. For example, find-file foobar.txt is actually (find-file foobar.txt) I'd like to do shell-like stuff and capture everything literate-style in code and result blocks. If no Babel for eshell, is there a way to translate eshell into its raw elisp? Then I could do Babel on the elisp. LB
Re: [O] Collaborative Team Project Management with Orgmode?
So what would it take to make Gnorb work with org-contacts and mu4e? I know Gnorb works with Gnus, but in my opinion, Gnorb's ability to automatically catch and identify incoming emails isn't as useful as its other features. In other words, if using Gnorb with mu4e required the user to manually flag an incoming email through a function like add-message-to-gnorb, Gnorb would still retain 99% of its usefulness. The most useful functionality, as John Kitchin noted, would be to capture information from a mu4e email reply, and process it and incorporate it back into an org-mode file. On Sun, Aug 23, 2015 at 12:39 PM, Eric Abrahamsen e...@ericabrahamsen.net wrote: John Kitchin jkitc...@andrew.cmu.edu writes: unless those services have some kind of API, and you have the desire to implement it in emacs, you might be out of luck. I am trying to figure out a way to do collaborative work via email, where I am the project coordinator. The idea is to use my email.el code to send headlines to people I need information or action from, and then to have them reply to the email. Then, I would have some easy way to get information out of the reply back to the heading (e.g. TODO state change, info etc...). Probably I would embed some org-id link in the email, and train the users not to delete it. This is only a half-baked idea so far. It would integrate org-contacts, mu4e, and org-mode in my setup. Sounds exactly like Gnorb! Except org-contacts instead of BBDB, and mu4e instead of Gnus :( depending in your role in the project, you might get something like that to work too. Tory S. Anderson writes: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] org-comment-string fontification stopped working in sublevel headlines
if not already done, perhaps the ert stuff could always test stuff that is on lower levels also?
Re: [O] Collaborative Team Project Management with Orgmode?
Haha! I have been interested in gnorb a long time but I don't use bbdb or gnus. On Sunday, August23, 2015, Eric Abrahamsen e...@ericabrahamsen.net wrote: John Kitchin jkitc...@andrew.cmu.edu javascript:; writes: unless those services have some kind of API, and you have the desire to implement it in emacs, you might be out of luck. I am trying to figure out a way to do collaborative work via email, where I am the project coordinator. The idea is to use my email.el code to send headlines to people I need information or action from, and then to have them reply to the email. Then, I would have some easy way to get information out of the reply back to the heading (e.g. TODO state change, info etc...). Probably I would embed some org-id link in the email, and train the users not to delete it. This is only a half-baked idea so far. It would integrate org-contacts, mu4e, and org-mode in my setup. Sounds exactly like Gnorb! Except org-contacts instead of BBDB, and mu4e instead of Gnus :( depending in your role in the project, you might get something like that to work too. Tory S. Anderson writes: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu -- John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] Valid use cases for lists?
Agreed, plain-text lists are definitely preferable! On Fri, Aug 21, 2015 at 2:39 PM, Rasmus ras...@gmx.us wrote: Peter Salazar cycleofs...@gmail.com writes: Export isn't a good reason to use lists over headings, since you can always export headings as li lists if you want to, e.g. by setting number of heading levels in export options. This doesn't mean plain text lists aren't useful in org, it just means you don't need them to get lists in your export format. Semantically, lists are nicer. Compare this is your org file. * A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines - A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines A very long item which you'd like to split over several lines Which one do you prefer? -- With monopolies the cake is a lie!
Re: [O] Sticky agendas not redone when using org-agenda-(set|remove)-restriction-lock
Hello, Nikolai Weibull n...@disu.se writes: * org-agenda.el (org-agenda-maybe-redo): Test for org-agenda-this-buffer-name as well. The Agenda buffer will have a different name if it’s in sticky mode, but some commands that alter the agenda should still redo it, for example, org-agenda-remove-restriction-lock, just like org-agenda-filter-by-category does. Applied. Thank you. Regards, -- Nicolas Goaziou
Re: [O] [PATCH 2/2] Allow inserting diary entries last in date tree
On Sun, Aug 23, 2015 at 9:40 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: + (let ((last (eq org-agenda-insert-diary-strategy 'date-tree-last)) + (has-children (save-excursion (org-goto-first-child +(if (not (and last has-children)) + (outline-next-heading) + (org-goto-first-child) + (while (org-get-next-sibling))) +(org-back-over-empty-lines) +(unless (looking-at [ \t]*$) (save-excursion (insert \n))) +(org-insert-heading nil t) +(unless has-children + (org-do-demote))) This part is incorrect, when tree is ill-formed, and slightly inefficient when there are many children. Assuming point is on the parent headline, I think a faster way to do this would be (org-end-of-subtree t t) (org-insert-heading nil t) (org-do-demote) That’s what I used first, but that doesn’t work if the subtree has children that has children.
Re: [O] How to make weeks start from Sunday and be numbered from a custom date
Have you tried customizing org-agenda-format-date with a function? Here's the doc string: Format string for displaying dates in the agenda. Used by the daily/weekly agenda and by the timeline. This should be a format string understood by `format-time-string', or a function returning the formatted date as a string. The function must take a single argument, a calendar-style date list like (month day year). If you're mostly concerned about displaying dates, rather than reading them in, that might do the trick. -- Bill On Sun, Aug 23, 2015 at 9:04 PM Nick Dokos ndo...@gmail.com wrote: Meir Goldenberg mgolde...@gmail.com writes: Two questions: 1. My work week starts on Sunday, so I have: (setq org-agenda-start-on-weekday 0) Now the agenda timeline starts on Sunday as desired. However, it says on top Week agenda (W34-W35), i.e. it still thinks that the week starts on Monday. Can I change that? 2. It would be very useful for me if the weeks were numbered from the week when my big work project started. Can I have the week numbering customized to have W01 on a certain date? I believe the answer is no to both questions: these are ISO week numbers and org depends on calendar functions to calculate them. -- Nick
Re: [O] HTML Export, CSS Styling
On Fri, Aug 21, 2015 at 09:13:13PM -0700, David A. Gershman wrote: I've been reading all evening about HTML exporting, style sheets, etc. Maybe I've been inundated with information, but I haven't been able to determine an answer to my question: can text in the middle of a paragraph by styled? For example: * Heading 1 This is the paragraph body that will allow *bold* or /italic/ or even _underline_, but what if I want only THIS word to have styling? Such as making it red to indicate importance? Also, note that the above examples are exported by default as: - bbold/b - iitalic/i - span class=underlineunderline/span So you can redefine the css associated with them if you want. Also, you can customize `org-html-text-markup-alist' to change the markup. rick
Re: [O] Collaborative Team Project Management with Orgmode?
John Kitchin jkitc...@andrew.cmu.edu writes: unless those services have some kind of API, and you have the desire to implement it in emacs, you might be out of luck. I am trying to figure out a way to do collaborative work via email, where I am the project coordinator. The idea is to use my email.el code to send headlines to people I need information or action from, and then to have them reply to the email. Then, I would have some easy way to get information out of the reply back to the heading (e.g. TODO state change, info etc...). Probably I would embed some org-id link in the email, and train the users not to delete it. This is only a half-baked idea so far. It would integrate org-contacts, mu4e, and org-mode in my setup. Sounds exactly like Gnorb! Except org-contacts instead of BBDB, and mu4e instead of Gnus :( depending in your role in the project, you might get something like that to work too. Tory S. Anderson writes: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
Re: [O] [PATCH 2/2] Allow inserting diary entries last in date tree
Hello, Nikolai Weibull n...@disu.se writes: * org-agenda.el (org-agenda-insert-diary-strategy): Add new value 'date-tree-last. (org-agenda-insert-diary-make-new-entry): Handle `org-agenda-insert-diary-strategy' set to 'date-tree-last. To allow for diary entries to be entered in time order in the date tree, add a new value to `org-agenda-insert-diary-strategy' that allows for this. The code for handling this value, 'date-tree-last, is a bit tricky, as we need to keep track of whether the date-tree already had one or more entries for the given date. Thank you. + (let ((last (eq org-agenda-insert-diary-strategy 'date-tree-last)) + (has-children (save-excursion (org-goto-first-child +(if (not (and last has-children)) + (outline-next-heading) + (org-goto-first-child) + (while (org-get-next-sibling))) +(org-back-over-empty-lines) +(unless (looking-at [ \t]*$) (save-excursion (insert \n))) +(org-insert-heading nil t) +(unless has-children + (org-do-demote))) This part is incorrect, when tree is ill-formed, and slightly inefficient when there are many children. Assuming point is on the parent headline, I think a faster way to do this would be (org-end-of-subtree t t) (org-insert-heading nil t) (org-do-demote) You don't need `has-children' binding at all. Regards, -- Nicolas Goaziou
[O] Automatically tagging DONE items as archived
I would like to achieve two things: 1. Tag all tasks that are already marked DONE as ARCHIVE. I tried the following, but it messes up the file, creating multiple levels of archived items: (defun my-org-archive-done-tasks () (interactive) (org-map-entries 'org-archive-to-archive-sibling /DONE)) (global-set-key (kbd C-c z) 'my-org-archive-done-tasks) 2. Have org-archive-to-archive-sibling be applied automatically when I mark a task DONE. I searched for a while, but was not able to find a solution. Can these be done? Thanks!
Re: [O] Collaborative Team Project Management with Orgmode?
This thread should merge with recent ongoing thread titled [O] Help testing orgmode connection to interactive web environment -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. On Aug 21, 2015, at 11:33, Tory S. Anderson torys.ander...@gmail.com wrote: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you?
Re: [O] Help testing orgmode connection to interactive web environment
In Chrome: The show/hide button doesn't seem to do anything. Clicking CLICKING THIS LINK gives elisp links not supported. Edits don't seem to stick. On Sat, Aug 22, 2015 at 4:42 PM, Bill Burdick bill.burd...@gmail.com wrote: Sorry -- I should have mentioned that it only supports Chromium/Chrome at the moment! On Sat, Aug 22, 2015 at 11:04 PM David A. Gershman gersh...@dagertech.net wrote: I'm not sure what is supposed to happen, but I went to the link, allowed Javascript for the textcraft.org domain (via NoScript), and still just got a blue screen with the title Loading Leisure..nothing else happened. I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied). On 08/22/2015 07:49 AM, Bill Burdick wrote: Hi there! I'm working on an open-source web-based platform for interactive editable documents that uses orgmode format, called Leisure. I have minor mode that connects it to Emacs orgmode buffers so that edits are mirrored between them. I've been working on this for quite a while and I'm putting together an announcement document but I still wouldn't call it robust or complete, yet. My goal is to put together a video and make an announcement soon but I want to make sure I have covered a reasonable amount of orgmode and also have a reasonable amount of neato functionality, so I'm looking for brave souls who: - use orgmode regularly - want an editable web representation that updates as they edit in Emacs - won't mind some exciting adventures - don't mind dirtying their hands with software that's still a bit buggy Anyone think they might be interested in helping me test this thing and giving me their impressions? If you'd like to see what I have, so far, you can view the rough, unpolished version of my Emacs-to-Leisure document (subject to drastic change). At this point, this link is in flux so your mileage may vary: http://textcraft.org/newLeisure/?load=elisp/README.org -- Bill Burdick
[O] how to merge two datetrees?
Hello, I have two datetrees, each in one org-mode file. Any ideas how to merge them? Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-
Re: [O] A bug with expanding headlines of the sparse tree?
I am running on 8.3.1 and am getting the same behavior. In fact, when I run on the simple example from my original message, the heading marked FUTURE does not get hidden to start with. BTW, that message had a typo. The keys I press are: C-c / T. On Tue, Aug 18, 2015 at 6:32 PM, Bastien b...@gnu.org wrote: Hi Meir, Meir Goldenberg mgolde...@gmail.com writes: Now, if we do C-/ T and give TODO for the keyword, then we correctly get: * TODO Task1 [0/1]... However, if we press Tab on this line, then the whole content, including next headline (the one marked FUTURE) shows up, which seems to be wrong. I cannot reproduce this problem here with Org 8.3.1. Can you upgrade and try again? Please be aware of this changelog when upgrading: *** New variable to control visibility when revealing a location org-show-following-heading, org-show-siblings, org-show-entry-below and org-show-hierarchy-above no longer exist. Instead, visibility is controlled through a single variable: org-show-context-detail, which see. Thanks, -- Bastien
Re: [O] Collaborative Team Project Management with Orgmode?
unless those services have some kind of API, and you have the desire to implement it in emacs, you might be out of luck. I am trying to figure out a way to do collaborative work via email, where I am the project coordinator. The idea is to use my email.el code to send headlines to people I need information or action from, and then to have them reply to the email. Then, I would have some easy way to get information out of the reply back to the heading (e.g. TODO state change, info etc...). Probably I would embed some org-id link in the email, and train the users not to delete it. This is only a half-baked idea so far. It would integrate org-contacts, mu4e, and org-mode in my setup. depending in your role in the project, you might get something like that to work too. Tory S. Anderson writes: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you? -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu
[O] How to make weeks start from Sunday and be numbered from a custom date
Two questions: 1. My work week starts on Sunday, so I have: (setq org-agenda-start-on-weekday 0) Now the agenda timeline starts on Sunday as desired. However, it says on top Week agenda (W34-W35), i.e. it still thinks that the week starts on Monday. Can I change that? 2. It would be very useful for me if the weeks were numbered from the week when my big work project started. Can I have the week numbering customized to have W01 on a certain date?
Re: [O] Help testing orgmode connection to interactive web environment
On Sun, Aug 23, 2015 at 9:24 AM Peter Salazar cycleofs...@gmail.com wrote: In Chrome: The show/hide button doesn't seem to do anything. Clicking CLICKING THIS LINK gives elisp links not supported. Edits don't seem to stick. Thanks for the feedback, Peter! Elisp is not supported because it's not connected to your Emacs -- we haven't published the connection mode to Melpa yet because we wanted some people to look it over first before I made an actual announcement. I just put instructions on how to get leisure-connection-mode for Emacs into the doc. Until we publish the Melpa package, you can just clone the GitHub repository if you want to connect to emacs. The instructions go over this in more detail. Show/Hide just toggles visibility for top-level headlines that have the hidden property set to true and in this document, the only hidden slide (i.e. top-level headline) is the last one, which contains some settings, so you have to be at the very bottom of the doc to see it that slide show up. By changes not sticking, do you mean if you refresh the document they disappear? This is true because it's just loading a static web page. If you pop up Leisure from Emacs, it will be connected to what is in the buffer, so your changes will persist. When collaboration works again, changes will be mirrored to other collaborators (the older version has collaboration but the new version does not, yet). For storage, we'll use OAuth to hook up to GitHub, Dropbox, Google Drive, etc., as we get the connectors implemented. -- Bill On Sat, Aug 22, 2015 at 4:42 PM, Bill Burdick bill.burd...@gmail.com wrote: Sorry -- I should have mentioned that it only supports Chromium/Chrome at the moment! On Sat, Aug 22, 2015 at 11:04 PM David A. Gershman gersh...@dagertech.net wrote: I'm not sure what is supposed to happen, but I went to the link, allowed Javascript for the textcraft.org domain (via NoScript), and still just got a blue screen with the title Loading Leisure..nothing else happened. I'm running Debian Jessie w/Iceweasel 38.2.0 (repository supplied). On 08/22/2015 07:49 AM, Bill Burdick wrote: Hi there! I'm working on an open-source web-based platform for interactive editable documents that uses orgmode format, called Leisure. I have minor mode that connects it to Emacs orgmode buffers so that edits are mirrored between them. I've been working on this for quite a while and I'm putting together an announcement document but I still wouldn't call it robust or complete, yet. My goal is to put together a video and make an announcement soon but I want to make sure I have covered a reasonable amount of orgmode and also have a reasonable amount of neato functionality, so I'm looking for brave souls who: - use orgmode regularly - want an editable web representation that updates as they edit in Emacs - won't mind some exciting adventures - don't mind dirtying their hands with software that's still a bit buggy Anyone think they might be interested in helping me test this thing and giving me their impressions? If you'd like to see what I have, so far, you can view the rough, unpolished version of my Emacs-to-Leisure document (subject to drastic change). At this point, this link is in flux so your mileage may vary: http://textcraft.org/newLeisure/?load=elisp/README.org -- Bill Burdick
[O] org-comment-string fontification stopped working in sublevel headlines
Hello, guess the commit c27c101f (08/16/2015 04:14 PM) with the title org.el: Fix `org-comment-string' fontification has chosen a bit too harsh 'fixation' method: Since then, the 'org-special-keyword' face for 'COMMENT' is not applied to heading of lower levels any more but only to the top one. The minimal example below also demonstrates another possibly unintended fontification. Bold and italic faces (or the other options of http://orgmode.org/org.html#Emphasis-and-monospace) are extended across lists which they probably should not. The two issues, however, seem not directly related and I do not know when the second one was introduced. ,--- | * COMMENT Level 1 | ** COMMENT Level 2 | *** TODO COMMENT Level 3 | 1) load all *.el files | 2) tangle all org-* files | * TODO COMMENT Level 4 | 1) load all /*.el files | 2) tangle all org-*/ files `--- Best, mc -- Fetch my gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F smime.p7s Description: S/MIME cryptographic signature
Re: [O] HTML export / list issues
Rick Frankel r...@rickster.com writes: * Problem description The examples below illustrate three problems I have with lists and html export at the moment. 1. lists alphabetized in org are enumerated in html Actually this is a wrong assumption. Org only distinguishes enumerated, itemized and description lists. There are no sub-categories. In the buffer, you may write an enumerated list item 1., 1), a., A., a) or A), but they are all the same. For this kind of thing, setting an appropriate CSS could be an option. Correct. try ~list-style-type: lower-alpha;~ in your css to get lowercase alphanumeric labels for an enumerated list (~ol~). Brilliant. Actually, even better, from here http://stackoverflow.com/questions/12787342/nested-list-styling-how-to-separate-styles I adopted the following, which produces alphanumeric labels only in the second level: ol li ol { list-style-type: lower-alpha; } 2. here is another element with some code; I am trying to center the result of the evalution of this code in html #+NAME: code-example #+BEGIN_SRC elisp :exports results :results raw (- 9 14) #+END_SRC #+BEGIN_CENTER #+RESULTS: code-example -5 #+END_CENTER 3. but for some reason the result is not centered This generates div class=center p -5 /p /div perhaps someone more versed in HTML could tell what is wrong here. I would assume it's because there is no css for ~div.center~. Try (untested): div.center p { text-align: center; } Note that this will center each line, separately. ... My centered elements are actually canvases (the example here was simplified), but with a bit of digging the following CSS worked for me (I just dropped the centerings from the org code and centered all canvases): canvas { display: block; margin: 0 auto; } Thanks! Jarmo
Re: [O] HTML export / list issues
Greetings Nicolas and thank you for your prompt response. Nicolas Goaziou m...@nicolasgoaziou.fr writes: * Example I am making a hierarchical list with some code in it. 1. level 1 first a) level 2 first; I was hoping this would be alphabetized in html like it is in org, but it is still enumerated b) the next item has some code in it; it has been evaluated with C-c C-c to obtain the result c) #+BEGIN_SRC elisp :exports results (+ 1 2) #+END_SRC #+RESULTS: : 3 This is because a) is not recognized as a list item in your buffer. Make sure you have a non-nil 'org-list-allow-alphabetical' and `org-plain-list-ordered-item-terminator' is either t or ?). These variables need to be set before Org is loaded. If you set them in current session, make sure to reload Org. For some reason I can not reproduce your solution. I already had (setq org-list-allow-alphabetical t), and now I added (setq org-plain-list-ordered-item-terminator t), and still the following happens (and the list is broken in html export): == 1. level 1 first a) level 2 first; I was hoping this would be alphabetized in html like it is in org, but it is still enumerated b) the next item has some code in it; it has been evaluated with C-c C-c to obtain the result c) #+BEGIN_SRC elisp :exports results (print (list org-plain-list-ordered-item-terminator org-list-allow-alphabetical (+ 1 2))) #+END_SRC #+RESULTS: | t | t | 3 | d) and due to the way the results of the evaluation are inserted, the code interrupts enumeration in the exported list, and it even breaks the high-level list in the org mode itself == The examples below illustrate three problems I have with lists and html export at the moment. 1. lists alphabetized in org are enumerated in html Actually this is a wrong assumption. Org only distinguishes enumerated, itemized and description lists. There are no sub-categories. ... For this kind of thing, setting an appropriate CSS could be an option. Ok; I already noticed that someone suggested a specific solution. 2. here is another element with some code; I am trying to center the result of the evalution of this code in html #+NAME: code-example #+BEGIN_SRC elisp :exports results :results raw (- 9 14) #+END_SRC #+BEGIN_CENTER #+RESULTS: code-example -5 #+END_CENTER 3. but for some reason the result is not centered This generates div class=center p -5 /p /div perhaps someone more versed in HTML could tell what is wrong here. Also, for this, someone gave detailed pointers above. Thanks! Jarmo
Re: [O] Collaborative Team Project Management with Orgmode?
Heh, well I did add a todo item to the project when I saw this thread, but Leisure doesn't yet handle agenda items. This is the type of feedback I'm looking for though. I'm also wondering if there are any orgmode hackers out there with some JS/HTML skillz who might like to help out with modding the project for things like this. We do have an orgmode parser that can pick out things like tags and properties, etc. -- Bill On Sun, Aug 23, 2015 at 3:03 PM Ken Mankoff mank...@gmail.com wrote: This thread should merge with recent ongoing thread titled [O] Help testing orgmode connection to interactive web environment -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. On Aug 21, 2015, at 11:33, Tory S. Anderson torys.ander...@gmail.com wrote: I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you?
Re: [O] export options and exporting subtrees
Hello, Eric Abrahamsen e...@ericabrahamsen.net writes: I'm not sure why I've never noticed this issue before, but... Is it intentional that, when exporting a subtree, EXPORT_OPTIONS lines at the top of the file (or EXPORT_OPTIONS properties on parent headlines) are ignored? I have `org-use-property-inheritance' set to t. I'm not wrong that that's what happens, am I? I found this a bit surprising, but I guess I could understand why it might happen. Is it intentional? I don't see any reason to hard-code inheritance rules for EXPORT_ these properties. This is now fixed. Thank you. Regards, -- Nicolas Goaziou
Re: [O] [PATCH 2/2] Allow inserting diary entries last in date tree
Nikolai Weibull n...@disu.se writes: That’s what I used first, but that doesn’t work if the subtree has children that has children. Indeed. I realized it was wrong a short time after sending it. What about: (end-of-line) (org-insert-heading '(4) t) (org-do-demote) ? Regards,
[O] org-crypt: Secure encrypted message against inadvertent change
I'm using org-crypt. All text below a heading with the tag :crypt: becomes encrypted with saving the file and looks like this: -BEGIN PGP MESSAGE- Version: GnuPG v2 hQEOAxn9DjwjX2oYEAQAgLl/58dss1VVgmRb1rGIaNV2I5P+smcDjhWa5/arTMPE 9wjxHUpU/HSflCwnV5609H3J9ZSVubCpaUbV3Da0jnDUJuljFbSqapRym1PW0hFn ApfLwze3HTj+A3eODf+p3kbDjFnII9Rfn7lWQ/6OmMrisQbvbsWzS3K/crgqu+cD /j6m3nDURonKGStv5h7sgaSRuLGzqXvHXEnS+d1ad1ZomgTD4abZNvDYt9Y039FE xYwRphWSBs+vtQ34resZewCa4s7h5SES5j839vQPWI4VyA4uRrfzYATHnHtoxfwA RQWzUTeS16FFBxnjqqTXGXqH9go25Ovnl1Np9c2H7veH0lQB/hpwGbUJRnYCx5Nd UlZ/U+aKQJl3aD+ulgOxJhTQNb9ToXxMpwS3FitsZHVh8OaRBLdgjRVFstWw3NhT RTQ3Og0+ts34iKW+u+2ock/LqiDYFx4= =+xma -END PGP MESSAGE- I really hope this example will not irritate your email software. My notebook has one of those large touchpads and once in a while I hit it and go on with typing, but the cursor shifted to text somewhere else and I'm adding letters to a completely different paragraph, before I notice and correct it. Well, this evening I added some letters inadvertently inside a PGP message, because the touchpad shifted to cursor to an encrypted paragraph. If I saved the file, the encrypted paragraph would have become un-decryptable (I tested this: decrypting no longer is possible). Unfortunately I won't always realise what happened, e.g. if I don't watch while dictating into a speech recognition (Dragon Nat. Speak.). And the encrypted parts are not needed often. So the destroyed PGP message might make it into my backups and if I try to encrypt it a year later... Why isn't the text between -BEGIN PGP MESSAGE- and -END PGP MESSAGE- read-only as a default ? Really, an inadvertent change can destroy valuable information and it i
Re: [O] Bug: Displaying timeline for .org-file and then switching to including inactive timestamps will not include old and future inactive timestamps [8.3.1 (8.3.1-16-gf6aa53-elpa @ /Users/cube/.emac
Hello, Jakub Szypulka ja...@szypulka.de writes: Background: Open an org-file with only inactive timestamps. Execute C-c a L to show the timeline for it. The timeline will be empty, and only show the heading for today's date. This is correct. Now press v [ in order to include inactive timestamps in the timeline. --- Expected result: the timeline will include all inactive timestamps, including past and future ones. --- Actual result: the timeline will only include inactive timestamps for today, but not past or future ones. It seems correct. According to manual: ‘v [ or short [ (org-agenda-manipulate-query-add)’ Include inactive timestamps into the current view. Current view here is today. Furthermore, it will not allow the user to execute any date-changing shortcuts such as b or f. There are many advertised limitations to Timeline feature. Actually, Timeline feature is moribund[fn:1][fn:2]. Use Agenda view instead. Regards, [fn:1] http://thread.gmane.org/gmane.emacs.orgmode/39368/focus=40038 [fn:2] http://permalink.gmane.org/gmane.emacs.orgmode/60518 -- Nicolas Goaziou
Re: [O] org-crypt: Secure encrypted message against inadvertent change
If it helps, though aside from the question, all GPG lines (except the last 2) are 64 chars(if memory serves). A little scripting and decryption should be plausible (possible in reasonable time), especially if chars were only added and not deleted/changed. On August 23, 2015 2:31:26 PM PDT, AW alexander.will...@t-online.de wrote: I'm using org-crypt. All text below a heading with the tag :crypt: becomes encrypted with saving the file and looks like this: -BEGIN PGP MESSAGE- Version: GnuPG v2 hQEOAxn9DjwjX2oYEAQAgLl/58dss1VVgmRb1rGIaNV2I5P+smcDjhWa5/arTMPE 9wjxHUpU/HSflCwnV5609H3J9ZSVubCpaUbV3Da0jnDUJuljFbSqapRym1PW0hFn ApfLwze3HTj+A3eODf+p3kbDjFnII9Rfn7lWQ/6OmMrisQbvbsWzS3K/crgqu+cD /j6m3nDURonKGStv5h7sgaSRuLGzqXvHXEnS+d1ad1ZomgTD4abZNvDYt9Y039FE xYwRphWSBs+vtQ34resZewCa4s7h5SES5j839vQPWI4VyA4uRrfzYATHnHtoxfwA RQWzUTeS16FFBxnjqqTXGXqH9go25Ovnl1Np9c2H7veH0lQB/hpwGbUJRnYCx5Nd UlZ/U+aKQJl3aD+ulgOxJhTQNb9ToXxMpwS3FitsZHVh8OaRBLdgjRVFstWw3NhT RTQ3Og0+ts34iKW+u+2ock/LqiDYFx4= =+xma -END PGP MESSAGE- I really hope this example will not irritate your email software. My notebook has one of those large touchpads and once in a while I hit it and go on with typing, but the cursor shifted to text somewhere else and I'm adding letters to a completely different paragraph, before I notice and correct it. Well, this evening I added some letters inadvertently inside a PGP message, because the touchpad shifted to cursor to an encrypted paragraph. If I saved the file, the encrypted paragraph would have become un-decryptable (I tested this: decrypting no longer is possible). Unfortunately I won't always realise what happened, e.g. if I don't watch while dictating into a speech recognition (Dragon Nat. Speak.). And the encrypted parts are not needed often. So the destroyed PGP message might make it into my backups and if I try to encrypt it a year later... Why isn't the text between -BEGIN PGP MESSAGE- and -END PGP MESSAGE- read-only as a default ? Really, an inadvertent change can destroy valuable information and it i -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [O] Bug: Priorities not inheriting [8.3.1 (8.3.1-56-g17a225-elpa @ /Users/luke/.emacs.d/elpa/org-20150817/)]
Completing myself: You are right, but I'm pretty sure the previous implementation of the property API didn't implement it this way, i.e., PRIORITY was not implemented like CATEGORY, at all. My gut feeling is that PRIORITY inheritance happened by side-effect. In any case, I see no objection to treat PRIORITY much like CATEGORY. After some investigations, it appears that priority handling prior to the changes (I tested in Org 7.9.4) was very confusing. It appears PRIORITY could be inherited but not up to `org-default-priority'. In the following example * [#A] Top ** Test 1 * Top ** Test 2 evaluating (org-entry-get (point) PRIORITY t) on second line returned A, but nil on Test 2. I would have expected B (i.e., `org-default-priority', as a string). However, (org-entry-get (point) PRIORITY) is never used throughout the code base. Instead, Org relies on alternates solutions. For example, `org-sort-entries' uses the following snippet, for priority sorting: ((= dcst ?p) (if (re-search-forward org-priority-regexp (point-at-eol) t) (string-to-char (match-string 2)) org-default-priority)) which also completely ignores inheritance. Sometimes, a dedicated function, `org-get-priority', is used: (defun org-get-priority (s) Find priority cookie and return priority. (save-match-data (if (functionp org-get-priority-function) (funcall org-get-priority-function) (if (not (string-match org-priority-regexp s)) (* 1000 (- org-lowest-priority org-default-priority)) (* 1000 (- org-lowest-priority (string-to-char (match-string 2 s Here again, an entry without any priority cookie is treated as default priority. Note that this function is usually called with the headline itself as the argument, even without a priority cookie, not a parent headline containing one. `org-get-priority-function', although broken due to a missing argument, gives another hint. Here is its docstring: Function to extract the priority from a string. The string is normally the headline. If this is nil Org computes the priority from the priority cookie like [#A] in the headline. It returns an integer, increasing by 1000 for each priority level. The user can set a different function here, which should take a string as an argument and return the numeric priority. This one also couldn't care less about inheritance. All in all, I'm not convinced PRIORITY inheritance was an intended feature. At least the current change brings consistency to priority handling: now there is no inheritance anywhere. Another option is to make everything use inheritance. However, `org-get-priority' and `org-get-priority-function' need to be sorted out (e.g., what string should be passed?). It may be not as easy as it seems.
Re: [O] org-comment-string fontification stopped working in sublevel headlines
Hello Martin Carlé m...@aiguphonie.com writes: guess the commit c27c101f (08/16/2015 04:14 PM) with the title org.el: Fix `org-comment-string' fontification has chosen a bit too harsh 'fixation' method: Since then, the 'org-special-keyword' face for 'COMMENT' is not applied to heading of lower levels any more but only to the top one. Fixed. Thank you. The minimal example below also demonstrates another possibly unintended fontification. Bold and italic faces (or the other options of http://orgmode.org/org.html#Emphasis-and-monospace) are extended across lists which they probably should not. Yes, they should not. However there are limits to regexp based fontification. We need to rewrite fontification process to handle this properly, but we're not there yet. Regards, -- Nicolas Goaziou
[O] Org to LaTeX export of tables
Please see the sample org table below, and the way it is exported in LaTeX. I do not want \begin{center} and \end{center}. Having those results in some extra space between the table and the notes. How can I get rid of it? My org version: Org-mode version 8.3 (release_8.3-3-gb5f5d6) Vikas #+NAME: table-name #+CAPTION: Caption of table #+begin_table #+begin_threeparttable #+attr_latex: :environment tabulary :width \textwidth :align LRR | Col1 | col2 | col3 | | | | | | | | | | | | | | | | | #+begin_tablenotes \item[] \footnotesize /Notes/: \item[] \footnotesize Note 1 says something \item[] \footnotesize Note one says something else \item[] \footnotesize /Source/: Imagined by somebody #+end_tablenotes #+end_threeparttable #+end_table The LaTeX export: \begin{table} \caption{\label{orgspecialblock1} Caption of table} \begin{threeparttable} \begin{center} \begin{tabulary}{\textwidth}{LRR} Col1 col2 col3\\ \\ \\ \\ \\ \end{tabulary} \end{center} \begin{tablenotes} \item[] \footnotesize \emph{Notes}: \item[] \footnotesize Note 1 says something \item[] \footnotesize Note one says something else \item[] \footnotesize \emph{Source}: Imagined by somebody \end{tablenotes} \end{threeparttable} \end{table}
Re: [O] A bug with expanding headlines of the sparse tree?
Meir Goldenberg mgolde...@gmail.com writes: I am running on 8.3.1 and am getting the same behavior. In fact, when I run on the simple example from my original message, the heading marked FUTURE does not get hidden to start with. Top level headlines are never hidden. Admittedly, this defeats the purpose of a sparse tree if all the information you need to filter out is located in such constructs. However, hiding them would make a view from which it would be difficult to recover from. Regards,
Re: [O] HTML export / list issues
Jarmo Hurri jarmo.hu...@iki.fi writes: For some reason I can not reproduce your solution. I already had (setq org-list-allow-alphabetical t), and now I added (setq org-plain-list-ordered-item-terminator t), and still the following happens (and the list is broken in html export): == 1. level 1 first a) level 2 first; I was hoping this would be alphabetized in html like it is in org, but it is still enumerated b) the next item has some code in it; it has been evaluated with C-c C-c to obtain the result c) #+BEGIN_SRC elisp :exports results (print (list org-plain-list-ordered-item-terminator org-list-allow-alphabetical (+ 1 2))) #+END_SRC #+RESULTS: | t | t | 3 | d) and due to the way the results of the evaluation are inserted, the code interrupts enumeration in the exported list, and it even breaks the high-level list in the org mode itself == I realize this is because you are indenting with TABs. I overlooked it in your first report. The issue is now fixed. Thank you. Regards,
Re: [O] org-crypt: Secure encrypted message against inadvertent change
I am not sure if you put the comment on this post: http://kitchingroup.cheme.cmu.edu/blog/2014/09/13/Make-some-org-sections-read-only/ but it is possible to setup a hook that makes headings read-only. You could do that for headings tagged crypt, for example. AW writes: I'm using org-crypt. All text below a heading with the tag :crypt: becomes encrypted with saving the file and looks like this: -BEGIN PGP MESSAGE- Version: GnuPG v2 hQEOAxn9DjwjX2oYEAQAgLl/58dss1VVgmRb1rGIaNV2I5P+smcDjhWa5/arTMPE 9wjxHUpU/HSflCwnV5609H3J9ZSVubCpaUbV3Da0jnDUJuljFbSqapRym1PW0hFn ApfLwze3HTj+A3eODf+p3kbDjFnII9Rfn7lWQ/6OmMrisQbvbsWzS3K/crgqu+cD /j6m3nDURonKGStv5h7sgaSRuLGzqXvHXEnS+d1ad1ZomgTD4abZNvDYt9Y039FE xYwRphWSBs+vtQ34resZewCa4s7h5SES5j839vQPWI4VyA4uRrfzYATHnHtoxfwA RQWzUTeS16FFBxnjqqTXGXqH9go25Ovnl1Np9c2H7veH0lQB/hpwGbUJRnYCx5Nd UlZ/U+aKQJl3aD+ulgOxJhTQNb9ToXxMpwS3FitsZHVh8OaRBLdgjRVFstWw3NhT RTQ3Og0+ts34iKW+u+2ock/LqiDYFx4= =+xma -END PGP MESSAGE- I really hope this example will not irritate your email software. My notebook has one of those large touchpads and once in a while I hit it and go on with typing, but the cursor shifted to text somewhere else and I'm adding letters to a completely different paragraph, before I notice and correct it. Well, this evening I added some letters inadvertently inside a PGP message, because the touchpad shifted to cursor to an encrypted paragraph. If I saved the file, the encrypted paragraph would have become un-decryptable (I tested this: decrypting no longer is possible). Unfortunately I won't always realise what happened, e.g. if I don't watch while dictating into a speech recognition (Dragon Nat. Speak.). And the encrypted parts are not needed often. So the destroyed PGP message might make it into my backups and if I try to encrypt it a year later... Why isn't the text between -BEGIN PGP MESSAGE- and -END PGP MESSAGE- read-only as a default ? Really, an inadvertent change can destroy valuable information and it i -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu