[O] org-entities: Another issue [was: org-entities: why \lang instead of \langle?]

2014-03-25 Thread Anders Johansson
\\slash nil / / / /) Could this be changed without breaking people's documents? Cheers, Anders Johansson

Re: [O] Bug? org-set-tags never uses ido

2014-04-02 Thread 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

[O] Bug: org-beamer-select-environment (ox-beamer.el) should temporarily disable persistent tags

2014-05-19 Thread Anders Johansson
-environment: (org-tag-persistent-alist nil) Cheers, Anders Johansson

[O] Bug: ob-ditaa fails in generating pdf correctly

2014-05-22 Thread 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

[O] Bug in org-paste-subtree

2014-06-19 Thread Anders Johansson
(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

[O] Suggestion, ox-latex: Perhaps a line break should be inserted into low-level headlines

2014-10-03 Thread Anders Johansson
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

Re: [O] Suggestion, ox-latex: Perhaps a line break should be inserted into low-level headlines

2014-10-03 Thread 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

[O] Bug: Setting HTML_INCLUDE_STYLE: nil doesn't work [8.0.3 (8.0.3-32-g0c789f-elpa @ /home/aj/.emacs.d/elpa/org-20130617/)]

2013-06-20 Thread 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

[O] Suggestion: Weektree

2013-10-01 Thread 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

[O] Bug? org-set-tags never uses ido

2013-10-31 Thread Anders Johansson
of this really. Is it a bug? Have I misunderstood something? Greetings, Anders Johansson

[O] Bug: org-beamer-select-environment (ox-beamer.el) assumes org-use-fast-tag-selection is on

2014-01-07 Thread Anders Johansson
-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

[O] Suggestion/bug: Parse inlinetask END with level sensitivity

2014-02-17 Thread 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

Re: [O] Suggestion/bug: Parse inlinetask END with level sensitivity

2014-02-17 Thread 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

[O] org-entities: why \lang instead of \langle?

2014-02-23 Thread Anders Johansson
, like what is done for e.g. clubs: (langle \\langle t lang; ⟨) (rangle \\rangle t rang; ⟩) Cheers, Anders Johansson

[O] Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits

2014-02-23 Thread 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

Re: [O] Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits

2014-02-23 Thread 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

Re: [O] Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits

2014-02-23 Thread Anders Johansson
/folding is done. I have no idea what should be done about this. Cheers, Anders Johansson

Re: [O] Bug? org-set-tags never uses ido

2014-03-04 Thread 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

Re: [O] Bug? org-set-tags never uses ido

2014-03-04 Thread Anders Johansson
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

Re: [O] Bug: Problems with sub/super-script when using: org-cdlatex + org-pretty-entities + org-catch-invisible-edits

2014-03-15 Thread 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

[O] Suggestion for improvement, org-read-date: prefer-closest-date instead of only prefer-future*

2014-03-15 Thread Anders Johansson
. 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

[O] Icalendar-export, priorities missing, possible bug

2013-02-10 Thread 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

Re: [O] Icalendar-export, priorities missing, possible bug

2013-02-10 Thread 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

Re: [O] [Bug] org-indent-mode underindents body in variable-pitch-mode

2014-11-27 Thread Anders Johansson
how this can have worked better before. Doesn't anyone else use variable-pitch-mode for org and suffer from this? Cheers, Anders Johansson

Re: [O] [Bug] org-indent-mode underindents body in variable-pitch-mode

2014-11-27 Thread 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

Re: [O] [Bug] org-indent-mode underindents body in variable-pitch-mode

2014-12-01 Thread Anders Johansson
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

[O] Bug: Inlinetask bodies begun with a link (or other invisible elements) are not folded correctly

2015-05-17 Thread 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

[O] Bug? Changed behaviour makes tags in headlines without a title parsed as the title

2015-04-08 Thread Anders Johansson
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) ***

Re: [O] Bug? Changed behaviour makes tags in headlines without a title parsed as the title

2015-04-10 Thread Anders Johansson
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

Re: [O] Some projects

2015-10-25 Thread 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

Re: [O] Some projects

2015-10-25 Thread Anders Johansson
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

Re: [O] Organizing and taming hectic Academia work (faculty viewpoint)? Tips or a good guides sought after :)

2015-08-26 Thread 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

[O] Why does quote and verse block fontification have to override local fontification?

2017-02-22 Thread Anders Johansson
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

[O] [PATCH 1/1] org.el: Make faces org-quote and org-verse be appended

2017-02-22 Thread 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

[O] Bug? Encoding trouble in org-id-locations-load

2017-11-03 Thread Anders Johansson
unwanted effects from using ~insert-file-contents~, but otherwise this seems to me to be a more correct solution. Cheers, Anders Johansson

[O] Better org-indent alignment when using variable-pitch-mode

2019-01-16 Thread Anders Johansson
/archive/html/emacs-orgmode/2014-12/msg00014.html -- Anders Johansson

Re: [O] Tracking Tags ??

2019-01-23 Thread Anders Johansson
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

[O] [PATCH] Use regexp-opt in org-set-tag-faces

2019-01-31 Thread Anders Johansson
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

[PATCH] Fix bug in org-num check for commented headlines

2020-08-25 Thread Anders Johansson
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

[wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-06-23 Thread Anders Johansson
in org. Feel free to use it as suitable (I have FSF copyright assignment for emacs). Best, Anders Johansson ;;; oc-pandoc.el --- Export org to pandoc markdown with citations -*- lexical-binding: t; -*- ;; Copyright (C) 2021 Anders Johansson ;; Author: Anders Johansson ;; Created: 2021-06-23

Re: [wip-cite-new] Exporting to pandoc md (and from there to zotero odt)

2021-07-02 Thread Anders Johansson
> Anders, I just want to say that I tested this out and it works great. It's > quite shocking, actually, to have such an easy path from org to odt with live > citations. I'd love to see this stuff in MELPA or otherwise made more > generally accessible, as i think it fills a substantial need.