I found an easily solved bug in org-num.
This happens when org-num-skip-commented is non-nil.
When creating a new headline, often org-num--skip-value is invoked
before any headline text is created. This means that ‘title‘ is nil
and the string-match check breaks. Checking if title is non-nil
I just noticed a place where it would be appropriate to use
regexp-opt instead of doing:
(concat ":\\(" (mapconcat 'car value "\\|") "\\):"
regexp-opt promises to be more efficient.
--
Anders Johansson
>From 2a70a709dcbdb1ff7d00b20de8410935d725ac70 Mon
helm that optionally fetches info
from the codebook file.
Another approach for keeping a sort of index is John Kitchin’s
org-db
http://kitchingroup.cheme.cmu.edu/blog/2017/01/03/Find-stuff-in-org-mode-anywhere/
Current code:
https://github.com/jkitchin/scimax/blob/master/org-db.el
--
Anders
/archive/html/emacs-orgmode/2014-12/msg00014.html
--
Anders Johansson
unwanted effects from using
~insert-file-contents~, but otherwise this seems to me to be a
more correct solution.
Cheers,
Anders Johansson
This means fontification of emphasis, links etc. is kept in quote
and
verse blocks even with org-fontify-quote-and-verse-blocks non-nil.
TINYCHANGE
---
lisp/org.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/org.el b/lisp/org.el
index 3290a2b..282c078 100644
nce of org-quote and org-verse (I have them
as font-lock-comment-face, just a slightly different colour, on
top of which italics etc. look good).
--
Anders Johansson
Anders Johansson gmail.com> writes:
> I hacked together something like this a while ago when I needed to add
> inline-comments that would later be exported as odt-comments (but I also
> made it work for latex).
>
> I chose to implement it via a unicode-bracket ❰❙❱, like
I also
made it work for latex).
I chose to implement it via a unicode-bracket ❰❙❱, like this:
❰Simple comment❱
❰Text that is commented on❙Comment❱
❰[Author] Simple comment❱
❰Commented text❙[Author] Comment❱
These are inserted with a custom command to make it easy (including an
author-history-list selectable with helm).
I've put it up in a gist if anyone finds it useful:
https://gist.github.com/andersjohansson/6baa1e42ad4d7353e125
Cheers,
Anders Johansson
, and then the tool http://zotero-odf-scan.github.io/zotero-odf-scan/ to
convert the generated citations like { | Smith, (2012) | |
|zu:2433:WQVBH98K} to Zotero citation marks in the odt-file.
Perhaps someone else will have use for this as well,
Cheers,
Anders Johansson
'outline (get-char-property (1+ start) 'invisible))
I don't know if this has any unwanted side-effects though. Or if this
should be avoided for some reason.
This is using the latest org from git.
Cheers,
Anders Johansson
Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.9)
of 2015-03
Den 2015-04-10 18:24, Nicolas Goaziou skrev:
Hello,
Anders Johansson mejlaande...@gmail.com writes:
I have been using degenerate inlinetasks with empty titles but many
tags for implementing a kind of coding scheme for coding texts for
qualitative data analysis. Like this:
-
Some text
Hi,
I have been using degenerate inlinetasks with empty titles but many
tags for implementing a kind of coding scheme for coding texts for
qualitative data analysis. Like this:
-
Some text that I want to tag (The inlinetask in my scheme refers to the
paragraph above it)
***
Anders Johansson mejlaandersj at gmail.com writes:
Anders Johansson mejlaandersj at gmail.com writes:
Tobias Getzner tobias.getzner at gmx.de writes:
Hello,
After updating to Emacs 24.4 and org-mode 20141020, I’ve noticed that
org-indent-mode now underindents item
how this can have worked better before.
Doesn't anyone else use variable-pitch-mode for org and suffer from this?
Cheers,
Anders Johansson
Anders Johansson mejlaandersj at gmail.com writes:
Tobias Getzner tobias.getzner at gmx.de writes:
Hello,
After updating to Emacs 24.4 and org-mode 20141020, I’ve noticed that
org-indent-mode now underindents item bodies when variable-pitch-mode is
used. I. e., in the following
HEADLINE-TEXT
\label{sec-1-3}\\
CONTENTS
Or:
\item HEADLINE-TEXT
\label{sec-1-3}
CONTENTS
The first variant means modifying the headline-label variable (or
something like that) in org-latex-headline. The second is less messy to
implement.
Cheers,
Anders Johansson
Nicolas Goaziou writes:
Hello,
Anders Johansson mejlaande...@gmail.com writes:
Currently low-level headlines in latex export to:
\item HEADLINE-TEXT
\label{sec-1-3}
CONTENTS
Not really. Export respects blank lines between the headline an its
contents. So
* Headline
Contents
(point-at-bol) (point
(- (match-end 1) (match-beginning 1)))
((and (bolp)
(looking-at org-outline-regexp))
(- (match-end 0) (point) 1
Cheers,
Anders Johansson
patch to fix it is attached (this is ugly because it repeats the
line:
(org-babel-process-file-name (concat in-file .eps))
)
Cheers,
Anders Johansson
--- /home/aj/H\303\244mtningar/ob-ditaa.el2014-05-22 17:15:35.489071991
+0200
+++ ob-ditaa.el 2014-05-22 17:08:46.617089186 +0200
@@ -90,6 +90,12
-environment:
(org-tag-persistent-alist nil)
Cheers,
Anders Johansson
A hack to get ido selection for multiple tags. It uses
ido-completing-read-multiple (available here and included below:
https://gist.github.com/mgalgs/1329188) to allow for completing one tag
at a time and ending it by typing :.
I haven't tested it much and it might possibly break things (or
\\slash nil / / / /)
Could this be changed without breaking people's documents?
Cheers,
Anders Johansson
2014-02-23 16:20, Anders Johansson wrote:
Hi,
I used the configuration:
org-catch-invisible-edits 'show
org-pretty-entities t
together with org-cdlatex. This breaks the insertion of subscripts
and superscripts through org-cdlatex because _{} is fontified and the
{} are hidden so typing
.
Perhaps this would add to much complexity to org-read-date, with little
gain, and there may certainly be complications I haven't thought of, but
I think it would be an interesting option for many people.
Cheers,
Anders Johansson
-completion-function
nil nil current 'org-tags-history)
Cheers,
Anders Johansson
2013-11-01 02:33, Eric Abrahamsen skrev:
Anders Johansson mejlaande...@gmail.com writes:
Greetings,
I want to use ido everywhere and wanted to know why this doesn't seem
to work for setting org-mode tags
or the
inherit-input-method argument is non-nil or the collection
argument is a function (which ido can't handle).
which seems to suggest that passing 'org-tags-completion-function as the
second argument (collection) to the advised completing-read wouldn't use
ido in this case either
Cheers,
Anders
, like what is done for e.g. clubs:
(langle \\langle t lang; ⟨)
(rangle \\rangle t rang; ⟩)
Cheers,
Anders Johansson
(or sometimes
a_bc, but should be a_{bc}) and gives the message Unfolding
invisible region around point before editing.
Setting org-catch-invisible-edits to nil let's cdlatex do it's work so I
guess an easy solution would be to let that in
org-cdlatex-underscore-caret.
Cheers,
Anders Johansson
(or
sometimes a_bc, but should be a_{bc}) and gives the message
Unfolding invisible region around point before editing.
Setting org-catch-invisible-edits to nil let's cdlatex do it's work so
I guess an easy solution would be to let that in
org-cdlatex-underscore-caret.
Cheers,
Anders Johansson
Hi,
I
/folding is done. I have no idea what should be done about this.
Cheers,
Anders Johansson
)
+ limit t)
(match-beginning 0
(contents-begin (progn (forward-line)
(and task-end ( (point) task-end) (point
But perhaps this is too unstable? (Although it could be expected from
the comments above).
Cheers,
Anders Johansson
Great!
Taking a look at your solution I realize where the bug lay as well.
Level is unimportant, it just scanned too long previously (it should
only look if the next headline contains END, not look for the next
headline with END).
Regards,
Anders Johansson
Den mån 17 feb 2014 23:05:02 skrev
-fast-tag-selection to t in the
let*-construct in org-use-fast-tag-selection, as is now done with
org-fast-tag-selection-single-key.
Greetings,
Anders Johansson
of this really.
Is it a bug? Have I misunderstood something?
Greetings,
Anders Johansson
.
If someone else thinks this is a good idea I think there are more people
than me that would find it quite useful though.
Greetings from Sweden,
Anders Johansson
is interpreted as a
string, nil, in the info-plist and therefore evaluates as true in the
check in org-html--build-head:
(when (plist-get info :html-head-include-default-style)
(org-element-normalize-string org-html-style-default))
(from: ox-html.el:1448)
Greetings,
Anders Johansson
the case and fix it.
I can provide more debugging output and examples if needed and if others
can't reproduce this.
Greetings,
Anders Johansson
Hi,
2013-02-10 20:31, Nicolas Goaziou skrev:
Hello,
Anders Johansson mejlaande...@gmail.com writes:
When I'm exporting to icalendar, the priorities of todo items (or
perhaps any items) don't get carried through correctly. It always
falls back to priority 5 (the default).
After doing some
39 matches
Mail list logo