I have written a plugin for org agenda, which allows gamification of
task management. Define currencies, earn them by completing tasks, and
spend them on rewards. Inspired by HabitRPG, Epic Win and similar
systems.
http://bitbucket.org/eeeickythump/org-gamify
Note - I am well aware of existing
I just never got around to fixing that minor glitch until now. I have committed
a fix to the org-drill repository at
http://bitbucket.org/eeeickythump/org-drill
So if you download and use the org-drill.el from there, the problem will be
fixed.
On 24/02/2013, at 9:16 PM, Bastien
Bastien bzg at altern.org writes:
If you can send a patch against master for this, I'd be happy to apply
it! Thanks again for pointing to these problems,
Below are patches against org.el and org-capture.el.
Are you sure it works correctly? The following setting for the variable
does causes
org-capture-templates-contexts currently appears not to work. The structure
that the function 'org-contextualize-validate-key' expects to find in the
variable seems quite different from the structure described in the docstring.
Here are fixed versions of the functions
Sean O'Halpin sean.ohalpin at gmail.com writes:
Thanks!
I just noticed that the main function, orgl-enable, sets the buffer's
modification status to true when it runs. This is because altering text
properties is considered a modification of the buffer.
Fixed by wrapping the offending line in a
Sean O'Halpin sean.ohalpin at gmail.com writes:
Is that publicly available anywhere?
Here you go. To use, add orgl-enable to the relevant mode-hook, eg:
(add-hook 'python-mode-hook 'orgl-enable)
(defface orgl-target-face
'((t (:foreground cyan :background royalblue4 :weight normal)))
I would like to be able to control whether the '[[' ...']]' brackets around
links are made invisible during fontification. The motivation is that I have a
minor mode that makes org-style links fully active and fontifed in other major
modes. But I can imagine some others might want to use it, as
Marcelo de Moraes Serpa celoserpa at gmail.com writes:
Hey list,Just updated to the latest rev. of org in git. When I try to press
ret just in the beginning of a headline in order to move it one line below,
I'm getting this error message:: Wrong type argument: listp, org-level-1Any
Jambunathan K kjambunathan at gmail.com writes:
May be you could cook something up with org-lparse? The file is in
contrib dir and org-xhtml and ord-odt make use of it.
Thanks, it looks interesting, but I can't find any documentation?
Wes Hardaker's org-export-generic (in worg) does a pretty good job of
exporting to markdown syntax. The following works (use C-c C-e g to
run the exporter):
(require 'org-export-generic)
(org-set-generic-type
markdown
'(:file-suffix .markdown
:key-binding ?M
:title-format
Hi, I would like to customise the behaviour of C-c C-c on plain text
(specifically I would like to make it alter the tags, as if the cursor
were on the item header). A variable exists called org-ctrl-c-ctrl-c-hook,
but if any function contained in that variable runs, it overrides
all other C-c
I think there's an error in 'org-without-partial-completion' in org-macs.el.
The variable pc-mode gets bound to the value of partial-completion-mode - but
this is a VARIABLE (t if that mode is enabled). Funcalling the value of
the variable produces an error, unsurprisingly. This breaks insertion
By default, if used within ordinary paragraphs in org mode, M-up and M-down
transpose *lines* (not sentences). This was not useful to me. The following
code makes these keys transpose paragraphs, keeping the point at the start
of the moved paragraph. Behaviour in tables and headings is
Nick Dokos nicholas.dokos at hp.com writes:
I can certainly confirm that: I reported it a week ago - see
http://thread.gmane.org/gmane.emacs.orgmode/42546
Nick
Lots of org syntax remains inappropriately live inside EXAMPLE blocks.
For example, a property drawer inside an EXAMPLE
Thanks Michael, I'm glad you think it will be helpful. I have implemented
something like what you have requested here. I have hived this code off
into a separate file called org-player.el.
You can get it at:
http://bitbucket.org/eeeickythump/org-player/
I intend to add it to worg in the next
brian powell briangpowellms at gmail.com writes:
* Something like this; respectively!?:
[[shell:mplayer -ss 00:03:21 -endpos 00:06:54 ~/some_podcast.mp3 ]]
[[shell:mplayer -ss 00:03:21 ~/some_podcast.mp3 ]]
[[shell:mplayer ~/some_podcast.mp3 ]]
The troubles with using shell commands in
I have spent a few hours figuring this out so I thought I would post it for
the benefit of others.
I am learning a language, and wanted to include hyperlinks to audio files
within my org document, and be able to play each file by clicking on the
link.
I eventually discovered the variable
Curt Bergmann curt.bergmann at visi.com writes:
The first interval for my first question is always 4 whether I mark it
as a 3,
4, or 5. When I change org-drill-learn-factor it doesn't appear to
change the
first interval.
I would like to reduce the first interval and I assume that the
The macro 'org-save-outline-visibility' in org-macs.el seems like
it should return the value of the last statement in its body (like
save-excursion and save-restriction do). Instead it discards this
value and returns nothing useful.
The macro is only used in 2 places in the org sources, and its
I Just thought I would let people know I have made extensive updates to
org-drill recently. Org-drill uses orgmode topics as flashcards for
self-testing,
using spaced repetition algorithms like those used in programs such as
SuperMemo, Anki and Mnemosyne. It resides in the contrib directory but
The default value of `org-export-babel-evaluate' is t.
Having just crashed my Emacs session 5 times in a row trying to get
a file containing a BEGIN_SRC emacs-lisp ... END_SRC *code example*
to export to HTML...
I strongly feel it should default to nil.
I also feel that executable code block
Bastien bastien.guerry at wikimedia.fr writes:
#+begin_src emacs-lisp
(when (looking-at org-bracket-link-analytic-regexp)
(match-string-no-properties 5))
#+end_src emacs-lisp
Thanks. Here is version 3 if the function, which is now able to count
words in link descriptions.
The code to
Samuel Wales samologist at gmail.com writes:
This looks great.
How hard do you think it would be to show how many words there are for
every subtree in a similar way to how clock durations are summed in
c-c c-x c-d and displayed in the subtree itself in reverse video?
I might leave that
Christian Moe mail at christianmoe.com writes:
Forgot to add the code.
#+begin_src emacs-lisp
;; Adapted from code posted by Paul Sexton 2011-02-16 Wed 4:51am
;; - Everything now contained in one function
;; - Will count correct number of words inside Latex macro
(defun
Thanks for all the suggestions. Here is version 2.
Improvements:
- ignores source code blocks
- ignores tags and TODO keywords in headings
- ignores footnotes by default (option to force counting them)
- skips any sections tagged as not for export
- option to count words in latex macro arguments
That looks really good. My suggestion would be to modify it so that
'wc-count' can be redefined on a per-major-mode or per-buffer basis,
eg via a buffer-local variable 'wc-count-function'.
Then my org-word-count function could be slotted in fairly easily -
I would just have to modify it so that
I am trying to reduce the word count in a document I am writing. The
existing word count functionality for emacs is surprisingly lacking.
I wanted a word count function for org mode which excluded tables and
comments, and ended up writing one myself.
If this function is called with a region
I am experiencing a couple of significant bugs with inline src blocks in
org-babel -- ie blocks of the form src_LANG{EXPRESSION}. I am using the
development version of org, checked out a few days ago.
Pressing C-c C-c with the cursor on such a block is supposed to evaluate it and
echo the
Matt Lundin mdl at imapmail.org writes:
[snip]
Thanks Matt! (And it was mostly your idea.)
Paul
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
I have an org-mode document that uses a lot of R code (via babel). I have found
that using inline code blocks, ie src_R{...}, within org tables works
erratically, often either causing emacs to hang during latex export, or
producing a table where random cells containing 'nil' instead of the result
Eric Schulte schulte.eric at gmail.com writes:
The following function could be bound to a key, and should do the job if
called with the point on the src_lang portion of the inline code block.
[snip - gmane web-thingy won't let me quote the function]
Thanks Eric!
I will try to come up with
In agenda todo lists, currently it is possible to ignore scheduled
items according to when they are scheduled, using the variable
'org-agenda-todo-ignore-scheduled'. This can take one of three
values - all, future (ignore if scheduled after today), or past
(ignore if scheduled TODAY or in the
In org-agenda.el, the function org-agenda-holidays is coded as:
(defun org-agenda-holidays ()
Display the holidays for the 3 months around the cursor date.
(interactive)
(org-agenda-execute-calendar-command 'list-calendar-holidays))
'list-calendar-holidays' does not exist. It should be
Check out: http://ccrypt.sourceforge.net/
There is an emacs package provided, ps-ccrypt.el, which provides seamless
loading saving of encryted files. I have been using it with my org agenda
file for several months with no problems.
Paul
Marcelo de Moraes Serpa celoserpa at gmail.com writes:
Hi guys
My .org document contains the following sentence.
In R, procedures in the =survey= library were
used\footnote{Available at: http://faculty.washington.edu/tlumley/survey/}.
This is exported to:
In R, procedures in the \texttt{survey} library were
used\footnote{Available at:
Joseph Buchignani joseph.buchignani at gmail.com writes:
Yes, here is how it looks:
...
Hi Joseph
The following item has been working fine for me. However I can't see any
glaring
differences wrt to your example item.
** TODO Add MCQs
SCHEDULED: 2010-09-03 Fri .+1d/4d
- State DONE
David Maus dmaus at ictsoc.de writes:
I cannot reproduce this wiht Org-mode version 7.01trans (pulled
yesterday) on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version
2.20.0) of 2010-08-14 on raven, modified by Debian
There is a documentation file, README.org, that accompanies org-drill.
It can
Erik Iverson eriki at ccbr.umn.edu writes:
See the :exports argument, the default is code only.
http://orgmode.org/org.html#exports
That was my initial assumption, which is why I had BEGIN_SRC blocks in the file.
But then I found that it crashed during export with these blocks, and stopped
Today (31 August),
if I evaluate (org-read-date t), then at the prompt type
+3
The string returned is:
2010-08-34
Paul
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
There seems to be a fairly nasty bug caused by :PROPERTIES: drawers still
being recognised by org when they appear inside BEGIN_EXAMPLE or
BEGIN_SRC blocks. I encountered this behaviour while writing docs for
org-drill. The doc file, README.org, contains quoted examples of org
items, and also
Detlef Steuer detlef.steuer at gmx.de writes:
What is the intended way to input a few hundred two-sided
cards?
If I understand spanish.org correctly I need a headline like
*** Noun :drill:
:PROPERTIES:
:DRILL_CARD_TYPE: twosided
Org-Drill has recently been added to the contrib directory of the org
repository.
Latest version is in repository at:
http://bitbucket.org/eeeickythump/org-drill
I have made a couple of major updates recently. Changelogs are below.
Reports of user experiences are welcome.
Version 1.0
Added
#+BEGIN_SRC R :eval query
...
#+END_SRC
If the above is in an org file, the user runs an export (C-c C-e), and the user
types 'no' when asked whether to evaluate the code block, then the whole export
process is aborted (no further blocks are processed and no export output is
produced).
The same
Eric Schulte schulte.eric at gmail.com writes:
I've just pushed up a fix for this issue. For more information see
http://eschulte.github.com/babel-dev/DONE-eval-and-noeval.html
Wow, that was fast!
Thanks very much.
Paul
___
Emacs-orgmode
Can anyone tell me how I can write elisp code to force drawers to appear closed
(folded) in an org buffer?
Thanks
Paul
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
In org, timestamps can be in the usual angle-bracket format,
eg 2010-08-19 +2w, or you can use lisp s-expressions. These are in the same
format as the s-expressions used in the 'diary'/'calendar' emacs packages. I
only discovered these recently but have been able to use them to schedule some
Detlef Steuer detlef.steuer at gmx.de writes:
Hi!
Just to give some feedback on org-drill. I had a look into writing something
similar some time ago, but never got around learning enough emacs lisp.
[...]
Thanks for the feedback. If by whitespace you mean blank lines, that's not a
Paul Sexton psexton at xnet.co.nz writes:
Unfortunately this doesn't seem to work as well as I thought. For some reason
when org-bracket-link-context-ok is called, (point) is not at the end of the
link, despite the fact that the docs for re-search-forward state that is where
the point should
In agenda view, tasks which are supposed to be blocked using org-depend's
:BLOCKER: property, are not actually blocked and do not show up dimmed.
This is because of a logic error in 'org-depend-block-undo', hopefully
fixed below.
index eb38aa0..84fa1a7 100644
---
Hi,
I posted a bit of code here a while back which allows org [[links]] and
targets to be fontified and active in any major mode.
I have been using this with great success in elisp and common lisp source code
files, where it actually works much more smoothly than linkd mode (see
emacswiki) which
To activate and correctly fontify org [[hyperlinks]] in any
major mode, add the following to your .emacs:
(defun orgl-do-font-lock (add-or-remove)
Add or remove font-lock rules for org hyperlinks.
(funcall add-or-remove nil '((org-activate-bracket-links (0 'org-link t)
(defun
Hi
I think org is a good platform for writing documentation for
source code. The babel module is one approach, but it presumes
that org is the dominant major mode, and the actual source code
is divided into snippets here and there.
I wanted to look into another way of doing it: the source
Happy Xmas everyone.
I have updated org-ctags to use an existing hook which has recently been added
to the development version of org-mode by Carsten. So now, no patch is needed.
I have also fixed a couple of bugs.
Latest version can be downloaded at:
Hi,
I have rewritten org-ctags, a package which allows org mode to use Emacs tags
to seamlessly navigate to link targets in other org files (as well as source
code files etc). See below for more of an explanation.
The patch to org.el now creates a hook, as suggested by Carsten. Basically, if a
Carsten Dominik carsten.dominik at gmail.com writes:
[snip]
I think it would be useful to discuss this proposal first in a broader
sense.
Let me try to make a start.
A few days ago, Paul Sexton submitted his proposal for simple
file-to-file links based on etags.
He wanted to make
Carsten Dominik carsten.dominik at gmail.com writes:
Hi Paul,
I like this very much. But I would like to change the implementation
so that
there will be a hook. Then people can do different things, including
matching tags in source code files etc.
Would you be interested to turn
Also I realised there was a misplaced parenthesis in the (if (y-or-n-p...
clause. Corrected patch follows.
BEGIN PATCH for org.el (delete this line)
8349,8369c8349,8350
{ (condition-case nil (eval cmd)
{ ;; ORG-TAGS
{ (error
{(progn
Sorry guys, I seem to be spamming this topic, but I just fixed another problem
-- properties on the link string were causing problems with find-tag, which
expected a propertyless string.
Fixed patch follows.
BEGIN PATCH for org.el (delete this line)
8349,8369c8349,8350
{
Hi,
I have managed to get exuberant ctags working with org mode. This means that
plain links [[like this]], instead of defaulting to plain text search when no
match is found in the current file, now look for a matching tag like this in
all your *.org files, and jumps there.
This means your org
Hi,
I am interested in using Org mode to create a personal wiki (along the
lines of Wikidpad: http://wikidpad.sourceforge.net/ ), treating top
level headings (one star) as wiki topics.
To do this, I have added 2 behaviours to Org-mode.
1. Always narrow to subtree after following an internal
60 matches
Mail list logo