Re: problem with org-highest-priority
Kyle Meyer writes: > joa...@verona.se writes: > >> This used to work: >> (defun jv-org-priorities () >> (setq org-highest-priority ?0 ;; 64 @ 48 0, bugs start happening if you >> have higher prios tnan 0, like '!' >> org-lowest-priority ?E ;; E >> org-default-priority ?0 ;; 0 >> org-priority-regexp ".*?\\(\\[#\\([;:<=>?@A-Z0-9]\\)\\] ?\\)" >> )) >> >> I could then have priority cookies from [#0] to [#E]. >> >> With the current org I get [#48] instead of [#0]. >> >> Is there any way to restore the previous behaviour? > > The change in behavior you describe came with 4f98694bf (Allow numeric > values for priorities, 2020-01-30). Based on quickly skimming that > commit, I think the issue boils down to intentionally not supporting a > mix of numbers and letters. I'm out of time tonight to look at it too > closely, but I think support for your use case could be restored with > something like the lightly tested patch below. Thanks, I tested your patch, and it helps a little bit. - m-x org-priority works, I can set any priority from 0 to Z - org-priority-down and org-priority-down doesn't work as expected, as they worked previously. I dont step through all the priority cookies, instead I quickly wind up in prio 0, then I'm stuck there, for lack of better description. - sorting of priorities still work with or withouth the patch, that is prio 0 is highest prio, prio Z is lowest prio. I would like to mention that in my case the characters between letters and numbers are also priority cookies, @ is a cookie as well as 0 and z. Limiting to just letters and numbers would be fine for me though, I dont use the in-between prios much. Because the sorting still works, I have been able to work around this new behaviour, by writing the cookie by hand. I'm not sure how to proceed. It seems I'm the only org-user affected by this change? Should I maintain a local patch to get the behaviour I want? What is the recomended way to do that? I usually run org-plus-contrib from elpa. > > diff --git a/lisp/org.el b/lisp/org.el > index 425e9391b..8237f39f6 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -11166,8 +11166,7 @@ (defun org-priority (&optional action show) > (unless org-priority-enable-commands >(user-error "Priority commands are disabled")) > (setq action (or action 'set)) > -(let ((nump (< org-priority-lowest 65)) > - current new news have remove) > +(let (current new news have remove) >(save-excursion > (org-back-to-heading t) > (when (looking-at org-priority-regexp) > @@ -11181,27 +11180,18 @@ (defun org-priority (&optional action show) > (integerp action)) > (if (not (eq action 'set)) > (setq new action) > - (setq > - new > - (if nump > - (string-to-number > - (read-string (format "Priority %s-%s, SPC to remove: " > -(number-to-string org-priority-highest) > -(number-to-string org-priority-lowest > -(progn (message "Priority %c-%c, SPC to remove: " > - org-priority-highest org-priority-lowest) > - (save-match-data > - (setq new (read-char-exclusive))) > + (setq new > + (progn (message "Priority %c-%c, SPC to remove: " > + org-priority-highest org-priority-lowest) > + (save-match-data > +(setq new (read-char-exclusive)) > (when (and (= (upcase org-priority-highest) org-priority-highest) >(= (upcase org-priority-lowest) org-priority-lowest)) > (setq new (upcase new))) > (cond ((equal new ?\s) (setq remove t)) > ((or (< (upcase new) org-priority-highest) (> (upcase new) > org-priority-lowest)) > - (user-error > - (if nump > - "Priority must be between `%s' and `%s'" > - "Priority must be between `%c' and `%c'") > - org-priority-highest org-priority-lowest > + (user-error "Priority must be between `%c' and `%c'" > + org-priority-highest org-priority-lowest >((eq action 'up) > (setq new (if have > (1- current) ; normal cycling > @@ -11235,7 +11225,7 @@ (defun org-priority (&optional action show) > (setq remove t))) > ;; Numerical priorities are limited to 64, beyond that number, > ;; assume the priority cookie is a character. > - (setq news (if (> new 64) (format "%c" new) (format "%s" new))) > + (setq news (format "%c" new)) > (if have > (if remove > (replace-match "" t t nil 1) > > -- Joakim Verona joa...@verona.se
problem with org-highest-priority
This used to work: (defun jv-org-priorities () (setq org-highest-priority ?0 ;; 64 @ 48 0, bugs start happening if you have higher prios tnan 0, like '!' org-lowest-priority ?E ;; E org-default-priority ?0 ;; 0 org-priority-regexp ".*?\\(\\[#\\([;:<=>?@A-Z0-9]\\)\\] ?\\)" )) I could then have priority cookies from [#0] to [#E]. With the current org I get [#48] instead of [#0]. Is there any way to restore the previous behaviour? -- Joakim Verona joa...@verona.se
Re: [O] Is is possible to summarize contents of a task in the agenda headings?
Hello, I made some progress. I can generate agendas where each todo shows how many sub-tasks it has: Emacs ideas < 3> Emacs: TODO [#0] show context of subtasks in agenda < 1> Emacs: TODO [#0] fixate gnus structure < 1> Emacs: TODO [#2] kungsgetens org-brain < 11> Emacs: TODO [#3] emslaved (make initial repo) The number inside the initial brackets < num > indicate number of open subtasks. I'm also using org-super-agenda here. This is the code, a little bit messy still. #+BEGIN_SRC emacs-lisp :tangle yes (defun jv-todoinfo() (let ((numchilds 0)) (save-mark-and-excursion (org-narrow-to-subtree) (setq numchilds (length (--filter (eq 'todo it) (progn (let ((parsetree (org-element-parse-buffer 'headline))) (org-element-map parsetree 'headline (lambda (hl) (org-element-property :todo-type hl ;;im not sure why the widen is needed, but otherwise agenda generating breaks (widen)) numchilds)) (setq org-agenda-prefix-format '((agenda . " %i %-20:c%?-12t% s") (timeline . " % s") (todo . " %i <%3(jv-todoinfo)> %-20:c") (tags . " %i %-12:c") (search . " %i %-12:c")) ) #+END_SRC David Masterson writes: > writes: > >> Thanks, I'm already using (setq org-agenda-todo-list-sublevels nil) and >> org-super-agenda. Both reduce clutter which is good. OTOH I now lack >> information about subtasks that has been removed from the agenda >> view. It is this concern i would like to address. > > A bit of work, but, if you set a property name of (say) PARENT on each > parent project and gave it the value of that parent project name, each > child of the parent would pick up the property and then should show up > in an :auto-property group under org-super-agenda-mode (I think). That > might get a bit cluttered, though, if you're doing a deep hierarchy of > projects. > > -- > David -- Joakim Verona joa...@verona.se
Re: [O] Is is possible to summarize contents of a task in the agenda headings?
David Masterson writes: > writes: > >> Say I have a bunch of tasks like this: >> >> * TODO task with many subtasks >> ** TODO subtask 1 >> ** TODO subtask 2 >> * TODO another task with many subtasks >> ** TODO another subtask 1 >> ** TODO another subtask 2 >> >> And so on. >> >> Now, in the agenda, I would like some kind of summarizing, perhaps like: >> >> * TODO task with many subtasks, subtask 1, subtask 2 >> * TODO another task with many subtasks, another subtask 1, another subtask 2 >> >> Is this possible? >> >> The reason is that I have many "tasks with many subtasks", so I have >> used the setting to hide them in the Agenda. Still, I would like to know >> something about the contents of such grouping tasks in the agenda, if >> possible. > > Maybe you want the 'org-agenda-todo-list-sublevels' variable? > > Another more complicated option that I've just begun looking at is the > :agenda-group capability in the org-super-agenda package on MELPA. The > documentation is interesting on the website, but I haven't quite figured > out the trick to make it work for me. You can find it here: > > https://github.com/alphapapa/org-super-agenda Thanks, I'm already using (setq org-agenda-todo-list-sublevels nil) and org-super-agenda. Both reduce clutter which is good. OTOH I now lack information about subtasks that has been removed from the agenda view. It is this concern i would like to address. > > -- > David Masterson -- Joakim Verona joa...@verona.se
[O] Is is possible to summarize contents of a task in the agenda headings?
Say I have a bunch of tasks like this: * TODO task with many subtasks ** TODO subtask 1 ** TODO subtask 2 * TODO another task with many subtasks ** TODO another subtask 1 ** TODO another subtask 2 And so on. Now, in the agenda, I would like some kind of summarizing, perhaps like: * TODO task with many subtasks, subtask 1, subtask 2 * TODO another task with many subtasks, another subtask 1, another subtask 2 Is this possible? The reason is that I have many "tasks with many subtasks", so I have used the setting to hide them in the Agenda. Still, I would like to know something about the contents of such grouping tasks in the agenda, if possible. -- Joakim Verona joa...@verona.se
[O] doing something yesterday?
Hello, I have a number of habits I keep track of in Org, with repeat TODO:s. They should be done every day. Quite often I want to change the "DONE" date from today to yesterday. As it is now, I manually change the done date and the next date. Can I achive this automatically somehow, by advicing some function perhaps? -- Joakim Verona joa...@verona.se
Re: [O] Literate config and :tangle clauses
aaermo...@gmail.com writes: > Hi all! > > Recently I've experienced a kind of a problem - my literate Emacs config > stopped tangling correctly, only a subset of code blocks were found in > resulting .el file. > I've looked at it a bit closer and it seems now (not earlier than 9.0.2) > the :tangle clause became required. I've searched Org repo but failed to > find a respective commit or any reference to the relevant info. I also experienced the same behaviour. :tangle became required, which it wasn't previously. My solution was just to add the ":tangle yes" tag everywhere. > > Can anyone point me to the right direction? > > regards, > Alex > -- Joakim Verona
[O] difficulty installing org-plus-contrib
During install with package.el I get errors like: org-attach.el:42:1:Error: Symbol’s function definition is void: org-link-set-parameters I'm using the repo: ("org" . "http://orgmode.org/elpa/";) Am I doing something wrong? -- Joakim Verona
[O] using rgrep, ag, etc in folded org files?
Hello, I would like to use ag search, or rgrep etc, to jump to matches in my org files, and have the matched lines tree be unfolded. - isearch works in a folded orgfile - jumping with occur in a folded file works - rgrep, ag, etc doesnt unfold the tree where the match is I found this 6 year old thread discussing the same issue: "org-mode, grep and folding issue". The thread described some workarounds which used agenda search or something like that. I would rather like to use helm-projectile though. Is it possible? -- Joakim Verona -- Joakim Verona
Re: [O] blog refurbised: how is it in 2015 ?
Xavier Maillard writes: > Hey, > > in the same vein I am refurbishing my Gnus (and love it), I'd like, as a 2k16 > resolution (right word in english ?), to restart my long abandoned blog. As > usual, this is something I can't imagine doing outside GNU emacs and thus > orgmode. > > My question is simply: what are the tools/technics in 2015 to blog ? Can you > share some good recipes with me ? > > Thank you I use "oblog" which can render an org file to a blog. My "oblog" is here, http://www.verona.se, if you are interested in how it looks in practice. > > -- Xavier. > -- Joakim Verona
Re: [O] Emacs+org-mode in a Docker?
John Kitchin writes: > Has anyone tried setting up a Docker with an Emacs and org-mode setup? > > I am looking for some kind of solution like this to use with some > students. Any thoughts? I made a docker image for my xwidget emacs branch: https://github.com/jave/xwidget-aux/tree/master/emacs-xwidget-docker-debian There are notes there also how to run the dockerized emacs in graphical mode by forwarding X. It would be very straightforward to use the same technique with plain gnu emacs rather than my branch. > > Thanks, > > -- > 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 > > -- Joakim Verona
[O] How can I call the exporter from function?
I want to call the exporter in a certain way, so I don't have to type the same options every time. Basically I want to do first this: (re-search-backward "^\\*\\* ") (org-mark-subtree) Then I want to export the marked subtree as odt. With command keys it becomes something like: c-c c-e c-s o o ... If I remember correctly. In this case I would rather do m-x my-own-canned-exporter I tried following the exporting dispatcher function but got lost in the wilderness. Does anyone have a suggestion? -- Joakim Verona
Re: [O] ox-odt roundtrip editing?
Ken Mankoff writes: > Hi Joakim, > > On 2015-06-26 at 07:45, joa...@verona.se wrote: >> I'm writing a manuscript for a publisher. The process looks like: >> >> - I write a chapter in org mode, export it to odt >> >> - I apply the styles the publisher wants to use with a libreoffice >> macro. This isn't particularily efficient, but I failed at modifying >> ox-odt to use custom templates. >> >> - I get back comments on the chapter from the publisher, that use the >> libreoffice annotation feature. Here I basically can't use org-mode >> anymore. >> >> Has someone attempted doing roundtrip editing ith libreoffice and org? >> That is, convert the odt file back to org, including the annotations, >> and edit fro there? > > Does this workflow describe what you want to do (but change DOCX to ODT)? > > https://lists.gnu.org/archive/html/emacs-orgmode/2015-06/msg00246.html It seems so. I'm not quite sure, I will have a close look. Thanks! > > > -k. -- Joakim Verona
[O] ox-odt roundtrip editing?
I'm writing a manuscript for a publisher. The process looks like: - I write a chapter in org mode, export it to odt - I apply the styles the publisher wants to use with a libreoffice macro. This isn't particularily efficient, but I failed at modifying ox-odt to use custom templates. - I get back comments on the chapter from the publisher, that use the libreoffice annotation feature. Here I basically can't use org-mode anymore. Has someone attempted doing roundtrip editing ith libreoffice and org? That is, convert the odt file back to org, including the annotations, and edit fro there? -- Joakim Verona
Re: [O] including svg files in odt exports?
Nicolas Goaziou writes: > Hello, > > joa...@verona.se writes: > >> Adding svg to the org-odt-inline-image-rules regexp works. Could this be >> included in org? > > This is already the case in master. Default value is Okay, good! Obviously I should switch to master then :) > > '(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\)\\'")) > > > Regards, -- Joakim Verona
[O] including svg files in odt exports?
Hello, I would like to include svg files in odt exports. png files seem to work fine, but svg files do not get inlined by default. Adding svg to the org-odt-inline-image-rules regexp works. Could this be included in org? -- Joakim Verona
Re: [O] [OT] djvu?
Martin Schöön writes: > Anyone using djvu? > http://en.wikipedia.org/wiki/DjVuhttp://www.djvu.org/ > > Just curious. OT but I implemented Imagemagick support in Emacs mostly to work with djvu. The primary benefit over alternatives IMHO is that the algorithm is free, as far as I can determine. Image coding is a minefield. -- Joakim Verona
Re: [O] Why don't datetrees use timestamps?
Nick Dokos writes: D> Reuben Thomas writes: > >> On 16 March 2015 at 16:52, Subhan Michael Tindall >> wrote: >> >> You can use a custom capture template and have timestamps of various >> sorts inserted. >> >> For example, I have one datetree I use that inserts a date/time stamp >> using %T (%t gives only date, not time) >> >> See the documentation for capture (hit C-c C C to get into the >> customize interface then scroll down) >> >> My question was about the datetree entry headings of the form "2015-03-16 >> Monday". These aren't controlled by the template. I was interested to know >> why these >> headings look very much like timestamps (and effectively are timestamps, >> though at the top level they mention just a year and at the second level >> just a year and a >> month), but aren't actual timestamps. >> >> Eric Fraga said "I don't think it would make sense for the headlines in the >> date-tree to have time stamps"; but my question is not why they don't have >> time stamps, >> but why they ARE not time stamps (purely in the formal sense: the >> information they contain is already effectively a time stamp, as far as I >> can see). >> > > This is third-hand knowledge and guesswork on my part, but I think that > datetrees are used for things like journals: "that's what I did that > day". Datetrees just give you a hierarchical structure of nodes for > easy navigation: you can look at your journal and open and close nodes > at will, so you can navigate to the date of interest. The fact that the > third-level headings look like timestamps is purely coincidental. > > Timestamps are given to things that are going to appear in an agenda: > "that's what I have to do today, tomorrow or next week". They are > completely orthogonal to datetrees in that respect. > > The stuff that ends up in your journal is stuff that (mostly) did not > appear in the agenda: all the little things that you did that day, > probably unplanned (otherwise they would be in the agenda!) > > Not that the headings in a datetree couldn't be made into timestamps; > but that's not what people use datetrees for[fn:1]. The one thing that > would be facilitated if they *were* timestamps, would be clicking on one > and getting the day agenda for that long-gone day, so you could > reminisce about the other things that you did that day, that did not end > up in your journal. Maybe that's enough reason to make them > timestamps, but there are other (perhaps less convenient) ways > to do that. > > Of course, I may be suffering from a failure of imagination: you might > be using datetrees in a completely different way, one where having the > heading be a timestamp is a very good idea, but I can't think of any: > if you *have* something in mind, do tell. I often feel the same thing, that datetrees should use timestamps(the 'quiet' kind). The main reason is that I often write a journal entry the day after, and it would be easier to manipulate the date like you do a time stamp. > >> I was hoping to discover the rationale for the design from a developer :) > > You'll have to ask Carsten about it: he invented datetrees I believe (as > well as most of org), but he does not frequent org circles much these > days. > > Footnotes: > > [fn:1] Remember however my caveat about third-hand knowledge and > guesswork: I don't use datetrees. > > Nick > > > -- Joakim Verona
Re: [O] Lentic.0.6 and org mode
Thierry Banel writes: > Nice! I also tried it and found it really interesting! > > I spent some time figuring out how to use it. > > This is what I did eventually: > M-xlentic-mode > M-xlentic-mode ;; twice > M-x lentic-mode-split-window-below > Then change the new buffer to the desired mode (Java mode, C++ mode, > whatever). > (I was created in fundamental mode). > > Is this the standard way to use it? I also scratched my head before figuring anything out. I installed from Melpa, and the Melpa Lentic comes with 0 docs, which is sad. Then I cloned the github repo, and tried the examples, and got a bit more enlightened. To summarize, it would be nice if Lentic came with some form of docs in the Melpa repo. Or, why not install it en Elpa? BTW my interest in Lentic comes from that I recently started using Litterate programming for my emacs init file (which works very well) and also for some clojure/overtone code, where the literate paradigm is pretty useful (because overtone is a music live coding environment) > > Thierry > > > Le 08/01/2015 14:55, Phillip Lord a écrit : >> I thought some of you might be interested in the new release of my >> package, lentic. One of the things that it now does is allow >> multi-modal of editing of Emacs source, using org mode for the >> documentation. I realise that it's already possible to use ELPA >> org-babel to write literate el files, or to use outorg.el, but lentic >> provides a different form of interaction. You can edit the org form or >> the emacs-lisp form as you choose. The source code of lentic is, itself, >> written in this way. There is a screen cast linked below which shows >> what the interaction looks like. >> >> Available on MELPA-stable, MELPA and Marmalade >> https://github.com/phillord/lentic> http://www.russet.org.uk/blog/3035> >> https://vimeo.com/116078853> >> > > > -- Joakim Verona
Re: [O] Emacs Barcamp
Ivan Kanis writes: > Le 14 Août à 16h38, joa...@verona.se a écrit : > >> BTW with only 12 people it would be fun to do stuff like hands-on >> sessions and hacker sessions, WDYT? > > That's the spirit of a barcamp! Let's wait on Bastien's reply. BTW Me and Daimrod will attend http://www.gnu.org/ghm/2013/paris/ so at least two Emacs hackers will be there. We could have an additional Emacs event there for interested parties. -- Joakim Verona
Re: [O] Emacs Barcamp
Ivan Kanis writes: > Le 14 Août à 15h39, joa...@verona.se a écrit : > >>> How many people can sit at your office meeting room? I would like to >>> visit Stockholm. >> >> The office is limited to 150 people by fire regulations I think. But >> that would be crowded. > > I would like to be about 12. More is too much for me to handle. > >> Theres a fridge and a kitchen. The company I work for can likely also >> provide snacks and some t-shirts :) > > Is Swedish beer any good ? :) Hmm not as compared to the great beer nations of Europe. But there are acceptable swedish beers, and theres large amounts of imported beer. The company usually keeps enough beer for 12 people in the fridge. (I'm not exactly sure since I dont drink alcohol since approx 2009) To use the office I must be able to attend, and I'm doing some traveling this autumn. BTW with only 12 people it would be fun to do stuff like hands-on sessions and hacker sessions, WDYT? -- Joakim Verona
Re: [O] Emacs Barcamp
Ivan Kanis writes: > Hi, > > Following the success of the emacs conference, Bastien and I would like > to arrange a barcamp. This is something informal involving about twelve > persons. I envision this to be in Europe. It would be in French or > English, I don't care. > > I am good at organizing stuff. I am a bad MC and bad speaker. I can show > two people how to have fun programming lisp. > > Let's focus on the basic questions: > > Where? > > Someone mentioned Stockholm I think but I can't recall who. It was I that mentioned Stockholm. Our company has an office we could probably use. But I think places to be are probably easy to come by, so do what you feel is easiest! > I know of two places in Paris > > When? > > Early December > > Who? > > Well, just respond. > > And what's next? -- Joakim Verona
Re: [O] org-export raises stringp nil error
Eli Zaretskii writes: >> From: Leo Liu >> Date: Fri, 08 Mar 2013 15:16:57 +0800 >> Cc: emacs-de...@gnu.org, emacs-orgmode@gnu.org, >> Lele Gaifax >> >> Bundling [org-mode] in emacs doesn't help anybody. > > You never had to work for an organization whose network is closed to > outside world, did you? In those situations, using package.el to > seamlessly fetch unbundled packages is impossible, which makes > building a full and functional Emacs a pain if important packages are > left out of the bundle. > Just a small reminder of the idea Stefan sometimes drops in these discussions: - Emacs "trunk" could be stripped of all but the bare essentials to achieve bootstrap. - distribution tarballs could be made from trunk+elpa. Since I dont do releases for Emacs I dont get to have an opinion on the matter, but if pressed, I would say this idea has considerable merit. -- Joakim Verona
Re: [O] bbdb or bbdb3 or org-contacts
Bastien writes: > Hi Grégoire, > > Daimrod writes: > >> See the attached patch files. I still need to need to take into account >> what could be after the cursor > > I've applied the patch against org-contacts.el, thanks for it. > > Do you want write access to the repo for maintaining org-contacts.el? > >> Moreover, `org-contacts.el' doesn't use the new parser from >> `org-element.el' ATM, and using it might improve the performance >> too. > > Indeed! I've been using Daimrods patch for a while, and it makes org-contacts entirely usable even for my 80kb contacts file. I'm looking forward to further improvements! -- Joakim Verona
Re: [O] bbdb or bbdb3 or org-contacts
Daimrod writes: > Bastien writes: > >> Hi Dieter, >> >> Dieter Wilhelm writes: >> >>> What do you advise, what is already usable and what is the way >>> ahead, still bbdb or bbdb3 or already org-contacts? >> >> BBDB is great. org-contacts.el is too slow when you have many >> contacts, and it is not really maintained anymore. > > I've started to use org-contacts.el. I haven't (yet) problem with its > speed but I've improved the completion mecanism which prevented me to > use it. When I'll finish to document/comment it, I'll post it here. I would be very interested in having a look. I migrated from bbdb to org-contacts, but it turned out to be too slow, so now I mostly isearch for the contact I want. Recently I've bee thinking of trying a strategy where bbdb could act as a cache for org-contacts, but I havent tried it yet. It shouldnt be too hard I think. org-contacts can generate a list of all contacts, that you then iterate and generate the bbdb database from. It might be a useful addition in any case. >> Best, -- Joakim Verona
Re: [O] How to generate agenda view tasks of all states?
Bastien writes: > Hi Joakim, > > joa...@verona.se writes: > >> I would like to experiment with a graphical view of all tasks I've ever >> finished, produced with graphviz or something. >> >> However, I can't seem to reliably generate a suitable view for further >> processing. For some reason arg 0 only shows TODO items, not all states. >> >> Here is some tentative code, that is supposed to setup a local state so >> my customizations doesnt affect the view. Am I missing something? >> >> (let ((org-agenda-todo-list-sublevels t) >> (org-agenda-todo-ignore-with-date nil) >> (org-todo-keywords '((sequence "TODO" "DONE" "CANCELLED" >> "dummystate"))) ) >> >> (org-todo-list 0)) > > This works: > > (let ((org-agenda-todo-list-sublevels t) > (org-agenda-todo-ignore-with-date nil) > (org-not-done-regexp (regexp-opt org-todo-keywords-1 t))) > (org-todo-list)) > > (org-todo-list) should be called with no argument. > > You need to set `org-not-done-regexp' so that done tasks are not > skipped, which is the default behavior of `org-todo-list'. Thanks, this does inded seem to work! > HTH, -- Joakim Verona
[O] How to convert to odt with specific styles?
Hello list, I have an article I've written in Org. To submit it to the publisher, it needs to follow a particular ms word style template. I hope to achieve this with the odt exporter. Reading the org manual it seems the style sheet that the odt exporter uses will need to contain a couple of hard coded format names. In my case I would like map the org factory default format names to other names as defined in the template given to me by the publisher. What is simplest way to achieve this? At the moment I'm changing the formats by hand so nearly any other method would be more efficient. Also, I'm more proficient with elisp than wordprocessors. TIA -- Joakim Verona
Re: [O] Emacs user conference
Nic Ferrier writes: > Nic Ferrier wrote: >>> My understanding is that the guy who started the emacsconf.herokuapp.com >>> IS planning to do a conference in London in March/April time. > > joa...@verona.se replied: > >> That would be nice! Anyway, I wouldnt be able to put in much in the way >> of planning, so if a better organizer can find us a locale, that is >> probably for the best. (or I can ask our admin to help us, they are >> proficient at that sort of thing) > > well, as I say. It would be annoying if there were 2 at the same time. > > He *is* working on it. He has a venue. He has speakers (the emacsconf > heroku app was setup by him). > > So I think you should maybe let him get on with it? Cool, I'll do that. -- Joakim Verona
Re: [O] Emacs user conference
Nic Ferrier writes: > Ivan Kanis writes: > >> Good we got a place! So it will be Stockholm. >> > >> The next question is when? >> >> I think like you that a week-end is best. I can't think talking about >> emacs for more than two days. I am thinking between April and June >> 2013. > > That's a shame. I would like to come and present Elnode. But I wouldn't > do a weekend. I think the office can handle 200 people during events. Office hours we can only have one room, like 20 people or so(so, 20 people during weekday work hours, evenings and weekends 200 people) > My understanding is that the guy who started the emacsconf.herokuapp.com > IS planning to do a conference in London in March/April time. > That would be nice! Anyway, I wouldnt be able to put in much in the way of planning, so if a better organizer can find us a locale, that is probably for the best. (or I can ask our admin to help us, they are proficient at that sort of thing) > > > Nic Ferrier -- Joakim Verona
Re: [O] Emacs user conference
Burton Samograd writes: > Ivan Kanis writes: > >> Hello, >> >> A user emacs conference would consist of talks of about an hour. I think >> a week end should be sufficient. If we don't have enough talks we can >> split workshops in smaller group on a given topic. >> >> They are plenty of talk proposals listed on this web site. >> >> http://emacsconf.herokuapp.com/> >> I can give a talk on GTD with org mode. >> >> And since we are speaking of GTD, what need to happens next for this >> event to happen? > > What city/country/continent are you thinking of holding it? I think this would be very interesting! I think the original idea was to host the conference in London, but if this doesnt manifest, my previous proposal to host the conference at my company offices in Stockholm still stands: http://emacsconf.herokuapp.com/proposals/40 , | LOCATION PROPOSAL: STOCKHOLM | by joakim verona | votes: 0 | I can likely provide a location free of charge, our company office. Its located in Stockholm, here: http://www.it-huset.se/kontakt/karta/ A weekend would be best. `---- I can (likely) provide beverages and snacks free of charge as well. > > -- > Burton > -- Joakim Verona
[O] How to generate agenda view tasks of all states?
I would like to experiment with a graphical view of all tasks I've ever finished, produced with graphviz or something. However, I can't seem to reliably generate a suitable view for further processing. For some reason arg 0 only shows TODO items, not all states. Here is some tentative code, that is supposed to setup a local state so my customizations doesnt affect the view. Am I missing something? (let ((org-agenda-todo-list-sublevels t) (org-agenda-todo-ignore-with-date nil) (org-todo-keywords '((sequence "TODO" "DONE" "CANCELLED" "dummystate"))) ) (org-todo-list 0)) -- Joakim Verona
Re: [O] Mindwave Emacs. EEG reading and Data gathering in an org-mode buffer.
Jonathan Arkell writes: > Hi Orgers! > > I recently picked up a Neruosky Mindwave, a consumer level EEG device (it > reads brainwaves). Unfortunately, the software bundle doesn't include a > way to log the EEG levels. Since I am fairly decent at Elisp, I thought I > would write a little library to interface with the mindwave, and store the > results. Naturally I thought of using an org-mode buffer for this. > > So I present, mindwave-emacs: > https://raw.github.com/jonnay/emagicians-starter-kit/master/extra/mindwave-emacs.org > > Mindwave-emacs.el really is just a low-level interface for emacs. Inside > of the org file are 2 examples (actually, fully working programs) that > show you how to work with it. > > - gather-into-org.el :: allows you to write data into an org-mode file > - solarized-mind.el :: uses the "eSense" Attention and Meditation > measurements to provide feedback to the user on their brian state. > > I am also working on a lower-level serial/binary connection to retrieve > data from the mindwave to help facilitate raw EEG logging. > > I don't know if this is going to be useful to anyone, but I figured some > people may be interested. Cool! I did some Neurosky Mindset integration for my zen.el package: https://github.com/jave/zen-mode Maybe I can integrate your package and mine, I'll have a look! > > Cheers! > __ > > > Jonathan Arkell > Sr. Developer > Inspired By Drum & Bass, Scheme, Kawaii > > p. 403.206.4377 > 1011 9th Ave SE, Suite 300 > > Calgary, AB, Canada T2G 0Y4 > > jonath...@criticalmass.com > criticalmass.com > > > > > > > The information contained in this message is confidential. It is intended to > be read only by the individual or entity named above or their designee. If > the reader of this message is not the intended recipient, you are hereby > notified that any distribution of this message, in any form, is strictly > prohibited. If you have received this message in error, please immediately > notify the sender and delete or destroy any copy of this message. > > -- Joakim Verona
Re: [O] [OT] ELNODE is soon to be released as version 1.0
"Sebastien Vauban" writes: > Hello Brian, > > brian powell wrote: >> * Some people have expressed interest in Elnode in the past: ELNODE is soon >> to be released as version 1.0 >> >> ** Video mentions Emacs OrgMode (and includes an example) and Node.js: >> >> http://www.youtube.com/embed/TR7DPvEi7Jg> >> ** Elnode - the EmacsLisp Async Webserver @ version 0.9.9 >> Elnode is a webserver for Emacs 24, written in EmacsLisp. It turns your >> Emacs into a web ... >> nic.ferrier.me.uk/.../elnode-nears-1-point-0?... > > A pitty he only picked up Org for the tables, not for the entire file syntax. It is pretty simple to serve org files with elnode. Nic made an example for me: #+begin_src elisp (require 'elnode) (defun elnode-org-handler (httpcon) (elnode-docroot-for "~/Plans" with org-file on httpcon do (with-current-buffer (find-file-noselect org-file) ;;org-file (let ((org-html ;; This might throw errors so you could condition-case it (org-export-as-html 3 nil nil 'string))) (elnode-send-html httpcon org-html) (elnode-start 'elnode-org-handler :port 8003) #+end_src Of course you need to elaborate on that for a real site, but you get the idea. I intend to use elnode for my own future personal org based website. > > However, very very nice work! > > Best regards, > Seb -- Joakim Verona
Re: [O] New feature branch: org-xhtml-and-org-odt
Bastien writes: > Hi Joakim, > > joa...@verona.se writes: > >> Interesting. Is this available in a branch somewhere? Meanwhile I'll >> have a look at org-lparse. > > Not yet. > > org-lparse is a line parser, currently used for the ODT exporter, > and planned to be used for the HTML exporter (which is already based > on line parsing, but does not use an external parser.) > > The parser from Nicolas stores an Org buffer (or region) into a list, > reflecting the structure of all the elements and their properties. > > Maybe you saw the slides I presented at the GNU Hackers meeting, > I presented an sneak preview of an early prototype by Nicolas - see > > http://lumiere.ens.fr/~guerry/emacs-orgmode-gnu-hackers-meeting-2011.html > > See slide 19. > > HTH, Yes, I saw the presentation and the idea seems nice. However it would be nice if the code could be put under public scrutiny regardless of its current state. For instance, Semantic(part of CEDET in the Emacs core) implements on the fly parse tree generators for a number of languages and it also has proof of concept support for emacs outlines, of which org is a descendant. So it would be nice to know if the org parser re-uses Semantic or if it chooses another path. If Semantic was used we could also use SRecode as a template language to implement other formats. I could certainly use it in my application. Even if the new org parser doesn't reuse the parser part of semantic, Wisent, we could probably still hook it into Semantic. Anyway, we are all busy so it would be nice to reduce wasted effort. -- Joakim Verona
Re: [O] New feature branch: org-xhtml-and-org-odt
Bastien writes: > Hi Joakim, > > joa...@verona.se writes: > >> I have a project at github called inkmacs, which integrates inkscape, >> org-mode, and emacs: >> >> https://github.com/jave/inkmacs> >> There I support interactive transfer of org nodes to inkscapes text >> nodes. >> >> My current code to extract the org nodes is not beautiful and I though >> maybe org-lparse improves the situation? > > Along with org-lparse.el, the next release will contain a proper Org > parser in contrib/ -- it will do what you want. I let Nicolas publicly > announce this code when he thinks it's mature enough. Interesting. Is this available in a branch somewhere? Meanwhile I'll have a look at org-lparse. > > Thanks, -- Joakim Verona
Re: [O] New feature branch: org-xhtml-and-org-odt
Jambunathan K writes: > Bastien > > I have created a new feature branch named "org-xhtml-and-org-odt". > > The main "feature" introduced by this branch is: > > 1. The HTML exporter in lisp/org-html.el is *totally* rewritten. It >should be on par with the current HTML exporter in the master branch. > >Note: Anyone who depends on HTML export for his day-to-day work >*must* make sure that nothing is broken. > > 2. The ODT exporter is now moved to lisp/org-odt.el > > Additional Info: > > 1. testing >- There is a testfile in contrib/odt/tests/test.org which users can use > to unit test the changes. > > 2. info manual > >- I have updated the ODT section in the info manual and it is worth a > read for serious users. (Chirstian, I will revise the manual later > in the day. For now, it is pretty much same as what you had seen > last time.) > > Let me know if there are any questions or comments. I hope this is not OT but I have a question regarding this new infrastructure. I have a project at github called inkmacs, which integrates inkscape, org-mode, and emacs: https://github.com/jave/inkmacs There I support interactive transfer of org nodes to inkscapes text nodes. My current code to extract the org nodes is not beautiful and I though maybe org-lparse improves the situation? Below is an excerpt from the code. As you can see it's very primitive and does not support many org constructs. (Its surprisingly useful anyway though) - (defun org-get-entry-2 () "Get the entry text, after heading, to next heading, or eof." (save-excursion (org-back-to-heading t) (let ((p1 (point-at-bol 2)) (p2 (progn (forward-line) (search-forward "*" nil t (setq p2 (if (null p2) (point-max) (1- p2))) (buffer-substring p1 p2 (defun inkorg-entry-text () "Extract text from current org node. Return a format suitable to create an inkscape text node from. asterisks and properties are removed." ;;TODO there ought to be some code in org-exp for this somewhere(org-ascii for example) (let ((text (concat (org-get-heading) "\n" (org-get-entry-2 (set-text-properties 0 (length text) nil text ) (replace-regexp-in-string "\\([^\n]\\)\n\\([^\n]\\)" "\\1 \\2" (concat (substring text 0 (string-match org-property-start-re text)) (if (string-match org-property-end-re text) (substring text (progn (string-match org-property-end-re text) (match-end 0)) (length text))) -- > > Jambunathan K. -- Joakim Verona
Re: [O] Web bookmarks in ORG?
Angel de Vicente writes: > Hi, > > Is there anyone using ORG for keeping web bookmarks? Basically I'm > looking at Delicious-like functionality, where I just put tags to web > addresses and I can search the bookmarks either for their name or with > tags. > > I have looked at webjump and w3m but they seem to keep old-fashioned > ways for organizing the bookmark file. I just thought that perhaps this > could be done with Org. Any ideas? > > Thanks, Im also interested in this for my webkit embedded in emacs project. (bzr co bzr+ssh://j...@bzr.savannah.gnu.org/emacs/xwidget/) Currently I just use urls in org files and open them with c-o. It works well for links you seldomly use because its easier to find them by context than by name. -- Joakim Verona
[O] Re: [ANN] Inkmacs
Jambunathan K writes: > Joakim > >> https://github.com/jave/inkmacs> >> Inkmacs integrates Inkscap and Emacs. Interesting for this list is >> inkorg-mode which lets you write text in Org mode and update text in >> Inkscape. >> >> It's work in progress with some cmubersome dependencies still. >> >> Maybe it could be mentioned here: >> http://orgmode.org/worg/org-contrib/. > > I have seen the entry for this in EmacsWiki for quite sometime now [1]. > It looks quite wonderful. > > For a common user who doesn't understand much of Inkmacs, SVG etc etc > what does all this amount to? From the overall description it seems like > it would help create wonderful mashups involving graphics and text > (within or outside of Emacs?). The only thing that comes to my mind is - > animated powerpoint slides and posters may be mindmappers. > > Could you please add a couple of lines to this announcement that > summarizes the potentiatlities of your work in a way common Emacs user > can understand? > > Footnotes: > [1] http://www.emacswiki.org/emacs/Inkmacs Maybe this scenario helps? - start out with an Org mode text tree - M-X inkmacs-edit This binds the tree to an Inkscape instance - C-M-x will copy the Org mode text tree to Inkscape and bind each node to an Inkscape text node. The default layout will be ugly - Drag around the text nodes as you please and add graphics - Edit the Org mode text tree and update the text nodes in Inkscape again with C-M-x I use this for things like mindmaps. There are more possibilities but the above scenario should give a hint anymay. -- Joakim Verona
[O] [ANN] Inkmacs
https://github.com/jave/inkmacs Inkmacs integrates Inkscap and Emacs. Interesting for this list is inkorg-mode which lets you write text in Org mode and update text in Inkscape. It's work in progress with some cmubersome dependencies still. Maybe it could be mentioned here: http://orgmode.org/worg/org-contrib/. -- Joakim Verona
[Orgmode] Re: Xiki framework (wiki and tree emacs features)
Glauber Alex Dias Prado writes: > Richard Stallman writes: > >> Please point me to the part of OrgMode with features for >> navigating and searching the filesystem in a tree structure. I'm >> interested in checking i= t out and comparing it to xiki. >> >> The question that suggests itself to me >> is whether there is a way to separate out the various ideas, >> implemented by xiki and by Org mode, into modular features. > > Just to tell my grandchildren that once i was in the same thread as rms > :), these two tools are awesome and i am using both, and would take > advantage of a more modular design for easy integration instead of each > one working in its own pet. Just a data-point, but I've been using planner-mode for years, which resembles Org-mode, and also seemingly Xiki, which I havent tried yet. Planner uses Muse as its underlying wiki mode, and Muse is included in Emacs. As a user, I would also favor modularisation and re-use between these modes. > > cheers, > glauber. > -- Joakim Verona ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode