[O] org-bibtex-yank for multiple bibtex entries - or: import .bib file

2014-11-07 Thread Rainer M Krug
Hi

I started using org-bibtex and ox-bibtex which, after a few initial
struggles got to work. I just have one question: how can I import
multiple entries from bibtex format to the org-bibtex format?

org-bibtex yank does only convert one entry, even if mulatiple entries
are selected. Is there a way of iomporting a .bib file with multiple
entries?

Thanks,

Rainer


-- 
Rainer M. Krug
email: Raineratkrugsdotde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] org links and outshine

2014-11-07 Thread Thorsten Jolitz
Alan Schmitt alan.schm...@polytechnique.org writes:

Hi Alan,

 On 2014-11-03 09:06, Thorsten Jolitz tjol...@gmail.com writes:

 Grant Rettke g...@wisdomandwonder.com writes:

 On Sat, Nov 1, 2014 at 5:58 AM, Thorsten Jolitz tjol...@gmail.com
 wrote:
 And there is a new library

 [[http://goo.gl/pYYzS6][outorg-export]]

 I just used http://goo.gl/pYYzS6 and it worked fine; that looks like
 an org mode link.

 It is an Org-mode link inserted with C-c C-l while writing the post in
 the *outorg-edit-buffer*, in case this was a question.

 I'll seize this opportunity to ask about this: I have my emacs init file
 in outshine syntax, and inside it there are several links (to info
 pages, to gnus messages, and so on). They look great and can be acted
 upon in org mode, but not so great in lisp mode. Could it be possible
 for outshine to nicely display these links?

nice display of links is done with overlays in Org-mode, see e.

#+BEGIN_SRC emacs-lisp
(defun org-toggle-link-display ()
  Toggle the literal or descriptive display of links.
  (interactive)
  (if org-descriptive-links
  (progn (org-remove-from-invisibility-spec '(org-link))
 (org-restart-font-lock)
 (setq org-descriptive-links nil))
(progn (add-to-invisibility-spec '(org-link))
   (org-restart-font-lock)
   (setq org-descriptive-links t
#+END_SRC

and it might be easy to port this to outshine, unfortunately I have _no_
time right now, maybe you could have a look yourself (patches very
welcome). 

Another requested feature is making the :ARCHIVE: tag work in outshine,
something I definitely would like to have too, maybe thats related to
'invisibility-spec' too (hide archived subtrees when doing visibility
cycling), but unfortuntely right now I cannot investigate.

--
cheers,
Thorsten




[O] Avoid canceling of events which do have multiple time-stamps

2014-11-07 Thread Karl Voit
Hi!

Sometimes, I use single events and use
org-clone-subtree-with-time-shift to create clones for multiple
occurrences. (method A)

: ** 2014-08-30 Sat 15:00-17:00 Volleyball
:
: Do some sport.


For other events, I do have one single * Volleyball heading and
multiple time-stamps for each occurrence in its body. (method B)

: 
: ** Volleyball
: 
: - 2014-08-30 Sat 15:00-17:00 
: - 2014-09-06 Sat 15:00-17:00 
: - 2014-09-13 Sat 15:00-17:00 


Unfortunately in the agenda view, both entries are visualized the same
way. This is causing issues in certain cases.

For example, when I see an event on my agenda and I know that I don't
have time for it, I usually cancel the event right away in my agenda.

However, when this time-stamp occured only in the body of a heading
(method B), cancelling does cancel *all* occurrences. For example when
I cancel Volleyball on the agenda of 2014-09-06, I'd cancel also
2014-08-30 (in the past) and 2014-09-13 (in the future).

And much worse: I do not notice my error.


There is a certain issue with this: how to determine whether or not a
time-stamp is the only one or if it is mentioned in the heading
itself.

Is there a clever way to differ the two methods so that we are able to
come up with different visualizations?

What are your thoughts on this issue?






Re: [O] Org and ledger

2014-11-07 Thread Sharon Kimble
Alan Schmitt alan.schm...@polytechnique.org writes:

Thanks Alan for this. Ledger is something that I would dearly love to be
using, but I can't find a good tutorial [by which I mean, it works in
small steps which build on the previous steps]. I've looked at

http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
http://hledger.org/step-by-step

The last one looked the most promising until I tried ledger add which
replied -

--8---cut here---start-8---
ledger add -f ~/.emacs.d/ledger/ledger.journal
Error: Unrecognized command 'add'
--8---cut here---end---8---

So now I'm stumped!

Sharon.

 On 2014-10-31 12:32, Vikas Rawal vikasli...@agrarianresearch.org writes:
snip.

 I generate reports and deal with my budget using org. I describe my
 setup here:
 http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html

 Since then, I've slightly refined these functions, here is the current
 version:

 #+begin_src org
 #+name: call_ledger
 #+begin_src emacs-lisp :var lcmd=bal :var bucket=Quotidien :var 
 prefix=Expenses: :var period=()
   (let* ((name (org-trim bucket))
  (bname (concat '^ prefix name '))
  (ledger ledger -f ~/Documents/Org/mescomptes.ledger)
  (parg (when period (concat  -p ' period ')))
  (cutcmd tail -1 | cut -d ' ' -f 2)
  (cmd 
   (concat ledger  -J  parg   lcmd   bname  |  cutcmd))
  (res (org-trim (shell-command-to-string cmd
 (if (equal res ) 0 res))
 #+end_src
 #+name: monthly_average_since
 #+begin_src emacs-lisp :var start-date=2014-03-01 :var amount=100
   (let ((nbdays (- (time-to-days (current-time))
(time-to-days (org-read-date nil t start-date)
 (calc-eval round($ / (12 * ($$ / 365.25)), 2) nil amount nbdays))
 #+end_src

 #+name: monthly_average
 #+begin_src emacs-lisp :var starty=2014 :var startm=3 :var amount=100 
   (let* ((tm (decode-time))
  (cmonth (nth 4 tm))
  (cyear (nth 5 tm))
  (nbmonths (+ (* 12 (- cyear starty)) (- cmonth startm
 (calc-eval round($ / $$, 2) nil amount nbmonths))
 #+end_src

 #+name: ledger_average
 #+begin_src emacs-lisp :var b=Quotidien :var sy=2014 :var sm=3  :var 
 sd=2014-03-01 :var p=Expenses:
   (let* ((per (format from %d-%d-01 to this month sy sm))
  (a (org-sbe call_ledger (bucket (eval b)) (prefix (eval p)) (period 
 (eval per)
 (org-sbe monthly_average (amount (eval a)) (starty (eval sy)) (startm 
 (eval sm
 #+end_src

 #+name: ledger_budget
 #+BEGIN_SRC emacs-lisp :results output :var table=budget :var year=2014 :var 
 month=04
   (princ (format %d-%02d-01 * Budget %d %02d\n year month year month))
   (mapcar
(lambda (tuple)
  (princ (format Bucket:Expenses:%s%d €\n (car tuple) (cadr 
 tuple
(butlast (cdr table) 1))
   (princ Bucket:Unallocated:EUR\n)
 #+END_SRC
 #+end_src

 The table looks like this now

 #+begin_src org
 #+name: budget
 | Bucket | Planned | Remaining | This Month | Last Month | Average |
 |+-+---+++-|
 | Name   ||  |   |   ||
 |+-+---+++-|
 | Total  ||  |   |   ||
 #+TBLFM: @2$3..@$3='(org-sbe call_ledger (bucket (concat \ $1 \)) 
 (prefix \Bucket:Expenses:\))
 #+TBLFM: @2$4..@$4='(org-sbe call_ledger (bucket (concat \ $1 \)) 
 (period \this month\))
 #+TBLFM: @2$5..@$5='(org-sbe call_ledger (bucket (concat \ $1 \)) 
 (period \last month\))
 #+TBLFM: @2$6..@$6='(org-sbe ledger_average (b (concat \ $1 \)))
 #+TBLFM: @$2..@$6=vsum(@2..@-1)
 #+end_src

 Best,

 Alan

-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0


signature.asc
Description: PGP signature


Re: [O] Org and ledger

2014-11-07 Thread Eric Abrahamsen
Sharon Kimble boudic...@skimble.plus.com writes:

 Alan Schmitt alan.schm...@polytechnique.org writes:

 Thanks Alan for this. Ledger is something that I would dearly love to be
 using, but I can't find a good tutorial [by which I mean, it works in
 small steps which build on the previous steps]. I've looked at

 http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
 http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
 http://hledger.org/step-by-step

 The last one looked the most promising until I tried ledger add which
 replied -

 ledger add -f ~/.emacs.d/ledger/ledger.journal
 Error: Unrecognized command 'add'

 So now I'm stumped!

That last link is a tutorial for hledger, which actually isn't the same
as normal ledger -- it's sort of inspired by ledger, but has different
commands, as you discovered.

Documentation for ledger is a little spotty. I've found the official
docs to be better than anything else, though they still leave a little
to be desired:

http://www.ledger-cli.org/3.0/doc/ledger3.html#Ledger-Tutorial




Re: [O] [bug] Alignment bug in clock tables

2014-11-07 Thread Stormking
Stormking stormking at web.de writes:

 
 Francesco Pizzolante fpz at ... writes:
 
  
  Hi Joost,
  
   I reported this on September 2nd too.
 
 I'm having this problem, too. 

For now, I have added the following code to my init.el:

(eval-after-load org-clock
  '(defun org-clocktable-indent-string (level)
  (if (= level 1) 
(concat \\ (let ((str  ))
  (dotimes (k (1- level) str)
(setq str (concat _ str

It redefines the function org-clocktable-indent-string to
what it was before the whole emsp thing.




Re: [O] font colour in a table row

2014-11-07 Thread kevin.lemorzadec
Thanks for your answer,

Unfortunatly the #+attr_latex: :environment tabu seem to not be taken into
account

I have org 6.33x, could that be the problem?

Code used:
#+DRAWERS: LATEX
:LATEX:
#+LATEX_HEADER: \usepackage[table]{xcolor}
#+LATEX_HEADER: \usepackage{tabu}

#+TITLE: Some statistics about the oceanographic data
#+AUTHOR: Kevin Le Morzadec
#+OPTIONS: toc:nil todo:nil

:END:

 #+attr_latex: :environment tabu
 |   | | |
 |   min | 10th percentile | 25th percentile |
 |---+-+-|
 | \rowfont{\color{red}}   1 | 1.2 | 1.7 |
 | 1 | 1.5 | 1.9 |
 |   1.1 | 1.5 | 1.9 |
 | 1 | 1.9 | 2.3 |
 | 1 |   2 | 2.3 |

Thanks,
Kevin

On Thu, Nov 6, 2014 at 6:02 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 On Wednesday,  5 Nov 2014 at 21:06, kevin.lemorzadec wrote:

 [...]

  in org mode. I don't see how to include replace the \begin{tabular}
  generated automaticly by the following code by \begin{tabu}

 Try

 #+attr_latex: :environment tabu

 just before the table, assuming you are using a relatively recent
 version of org.  This is described in the org manual in the exporting -
 LaTeX and PDF export section.
 --
 : Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf




-- 
Kevin Le Morzadec - Ph.D. candidate
   Dept of Physics and Physical Oceanography,
   Memorial University of Newfoundland, Canada
   Tel 709-864-8654


[O] wrong-type-argument listp when filtering agenda on `work' tag

2014-11-07 Thread Sebastien Vauban
Hello,

In the agenda view, when filtering for the tasks marked `work' (through
`/ w') [1], I get the following error:

--8---cut here---start-8---
Debugger entered--Lisp error: (wrong-type-argument listp 
#({(?:work\\)\\} 0 16 (grouptag t)))
  reverse(#({(?:work\\)\\} 0 16 (grouptag t)))
  (or (reverse rpl) (list rtnmatch))
  (if single-as-list (or (reverse rpl) (list rtnmatch)) rtnmatch)
  (let* ((case-fold-search t) (stable org-mode-syntax-table) (tal (or 
org-tag-groups-alist-for-agenda org-tag-groups-alist)) (tal (if downcased 
(mapcar (function (lambda (tg) (mapcar ... tg))) tal) tal)) (tml (mapcar (quote 
car) tal)) (rtnmatch match) rpl) (modify-syntax-entry 64 w stable) 
(modify-syntax-entry 95 w stable) (while (and tml (let ((table 
(syntax-table)) (buffer (current-buffer))) (unwind-protect (progn 
(set-syntax-table stable) (string-match (concat \\(?1:[+-]?\\)\\(?2:\\ ... 
)) rtnmatch)) (save-current-buffer (set-buffer buffer) (set-syntax-table 
table) (let* ((dir (match-string 1 rtnmatch)) (tag (match-string 2 
rtnmatch)) (tag (if downcased (downcase tag) tag))) (setq tml (delete tag tml)) 
(if (not (get-text-property 0 (quote grouptag) (match-string 2 rtnmatch))) 
(progn (setq rpl (append (org-uniquify rpl) (assoc tag tal))) (setq rpl (concat 
dir {\\ (regexp-opt rpl) \\})) (if (stringp rpl) (org-add-props rpl 
(quote ...))) (setq rtnmatch (replace-match rpl t t rtnmatch)) (if 
single-as-list (or (reverse rpl) (list rtnmatch)) rtnmatch))
  (if org-group-tags (let* ((case-fold-search t) (stable org-mode-syntax-table) 
(tal (or org-tag-groups-alist-for-agenda org-tag-groups-alist)) (tal (if 
downcased (mapcar (function (lambda ... ...)) tal) tal)) (tml (mapcar (quote 
car) tal)) (rtnmatch match) rpl) (modify-syntax-entry 64 w stable) 
(modify-syntax-entry 95 w stable) (while (and tml (let ((table 
(syntax-table)) (buffer (current-buffer))) (unwind-protect (progn 
(set-syntax-table stable) (string-match ... rtnmatch)) (save-current-buffer 
(set-buffer buffer) (set-syntax-table table) (let* ((dir (match-string 1 
rtnmatch)) (tag (match-string 2 rtnmatch)) (tag (if downcased (downcase tag) 
tag))) (setq tml (delete tag tml)) (if (not (get-text-property 0 (quote 
grouptag) (match-string 2 rtnmatch))) (progn (setq rpl (append ... ...)) (setq 
rpl (concat dir {\\ ... \\})) (if (stringp rpl) (org-add-props rpl ...)) 
(setq rtnmatch (replace-match rpl t t rtnmatch)) (if single-as-list (or 
(reverse rpl) (list rtnmatch)) rtnmatch)) (if single-as-list (list (if 
downcased (downcase match) match)) match))
  org-tags-expand(work t t)
  (mapcar (function (lambda (f1) (concat dir f1))) (org-tags-expand f0 t t))
  (append (mapcar (function (lambda (f1) (concat dir f1))) (org-tags-expand f0 
t t)) rtn)
  (setq rtn (append (mapcar (function (lambda (f1) (concat dir f1))) 
(org-tags-expand f0 t t)) rtn))
  (let (f0 dir) (if (string-match ^\\([+-]\\)\\(.+\\) f) (setq dir 
(match-string 1 f) f0 (match-string 2 f)) (setq dir (if no-operator  +) f0 
f)) (setq rtn (append (mapcar (function (lambda (f1) (concat dir f1))) 
(org-tags-expand f0 t t)) rtn)))
  (lambda (f) (let (f0 dir) (if (string-match ^\\([+-]\\)\\(.+\\) f) (setq 
dir (match-string 1 f) f0 (match-string 2 f)) (setq dir (if no-operator  +) 
f0 f)) (setq rtn (append (mapcar (function (lambda (f1) (concat dir f1))) 
(org-tags-expand f0 t t)) rtn(+work)
  mapc((lambda (f) (let (f0 dir) (if (string-match ^\\([+-]\\)\\(.+\\) f) 
(setq dir (match-string 1 f) f0 (match-string 2 f)) (setq dir (if no-operator 
 +) f0 f)) (setq rtn (append (mapcar (function (lambda (f1) (concat dir 
f1))) (org-tags-expand f0 t t)) rtn (+work))
  (let ((case-fold-search t) rtn) (mapc (function (lambda (f) (let (f0 dir) (if 
(string-match ^\\([+-]\\)\\(.+\\) f) (setq dir (match-string 1 f) f0 
(match-string 2 f)) (setq dir (if no-operator  +) f0 f)) (setq rtn (append 
(mapcar ... ...) rtn) filter) (reverse rtn))
  (if org-group-tags (let ((case-fold-search t) rtn) (mapc (function (lambda 
(f) (let (f0 dir) (if (string-match ^\\([+-]\\)\\(.+\\) f) (setq dir ... f0 
...) (setq dir ... f0 f)) (setq rtn (append ... rtn) filter) (reverse rtn)) 
filter)
  org-agenda-filter-expand-tags((+work))
  (let ((nfilter (org-agenda-filter-expand-tags filter)) nf nf1 (ffunc 
(function (lambda (nf0 nf01 fltr notgroup op) (let ((--dolist-tail-- fltr) x) 
(while --dolist-tail-- (setq x ...) (if ... ... ... ...) (setq nf0 ...) (setq 
--dolist-tail-- ...))) (if notgroup (setq f (cons ... f)) (setq f (cons ... 
f))) (cond ((equal filter (quote (+))) (setq f (list (list (quote not) 
(quote tags) ((equal nfilter filter) (funcall ffunc f1 f filter t nil)) (t 
(funcall ffunc nf1 nf nfilter nil nil
  (while --dolist-tail-- (setq x (car --dolist-tail--)) (let ((nfilter 
(org-agenda-filter-expand-tags filter)) nf nf1 (ffunc (function (lambda (nf0 
nf01 fltr notgroup op) (let (... x) (while --dolist-tail-- ... ... ... ...)) 

Re: [O] Contribution to org-mode, Eldoc support

2014-11-07 Thread Łukasz Gruner


On Sun, Nov 2, 2014, at 20:28, Rasmus wrote:
 It works nice for source blocks.  However, I don't get any feedback in
 header-lines:
 
  #+header:
  #+begin_src emacs-lisp
This works only on #XXX_SRC header lines (I don't use anything else and
am not very knowledgable about it, thus I only support this)



[O] Inline code :results replace not working

2014-11-07 Thread mcg

Hello,

I use inline code for simple calculations to insert numeric results into
text apart from normal code blocks for more complex calculations and
graphics (all in R).


The :results replace option is not working for inline code, even if I
explicitly set it in the code block. So I get

#+PROPERTY: session *R*

  #+begin_src R :results replace value
2+3
  #+end_src

  #+RESULTS:
  : 5

src_R[:results replace value]{2+3} =5= =5= =5= =5= =5= =5=

I would really like to have numeric outcome in the buffer (not only
minibuffer upon evaluation) but also evaluate the whole buffer when
exporting to have everything updated.

What is the problem here? For now I would have to
- evaluate only on export and keep :results silent
- evaluate all manually - meaning I get repeated results if I call
org-evaluate buffer

Cheers,

Michael


System:
LMDE Update Pack 8 (jessie)
GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.4) of 2013-09-27
on trouble, modified by Debian
Org version 8.2.10 (release_8.2.10-5-g20dcd0).



Re: [O] Org and ledger

2014-11-07 Thread Sharon Kimble
Eric Abrahamsen e...@ericabrahamsen.net writes:

 Sharon Kimble boudic...@skimble.plus.com writes:

 Alan Schmitt alan.schm...@polytechnique.org writes:

 Thanks Alan for this. Ledger is something that I would dearly love to be
 using, but I can't find a good tutorial [by which I mean, it works in
 small steps which build on the previous steps]. I've looked at

 http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
 http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
 http://hledger.org/step-by-step

 The last one looked the most promising until I tried ledger add which
 replied -

 ledger add -f ~/.emacs.d/ledger/ledger.journal
 Error: Unrecognized command 'add'

 So now I'm stumped!

 That last link is a tutorial for hledger, which actually isn't the same
 as normal ledger -- it's sort of inspired by ledger, but has different
 commands, as you discovered.

 Documentation for ledger is a little spotty. I've found the official
 docs to be better than anything else, though they still leave a little
 to be desired:

 http://www.ledger-cli.org/3.0/doc/ledger3.html#Ledger-Tutorial

Thanks Erik, that looks understandable and comprehensive, so I'll try
having a play with it over the weekend. And I reckon that I will be
keeping my own instruction docs which might be able to be used to setup
another tutorial later on, but lets try walking before running
though! :)

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.4.1.0


signature.asc
Description: PGP signature


Re: [O] font colour in a table row

2014-11-07 Thread Eric S Fraga
On Friday,  7 Nov 2014 at 13:03, kevin.lemorzadec wrote:
 Thanks for your answer,

 Unfortunatly the #+attr_latex: :environment tabu seem to not be taken into
 account

 I have org 6.33x, could that be the problem?

Yes, most definitely.  org 6.33 is ancient!  there have been two major
releases since then.  I am not sure what the current stable version is
but it's at least 8.x...  You really should upgrade.

I am using 8.3.

There probably is no way of accomplishing what you want in 6.33 without
resorting to LaTeX.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf



Re: [O] Org and ledger

2014-11-07 Thread Eric S Fraga
On Friday,  7 Nov 2014 at 13:19, Sharon Kimble wrote:
 Alan Schmitt alan.schm...@polytechnique.org writes:

 Thanks Alan for this. Ledger is something that I would dearly love to be
 using, but I can't find a good tutorial [by which I mean, it works in
 small steps which build on the previous steps]. I've looked at

 http://lists.gnu.org/archive/html/emacs-orgmode/2014-04/msg00727.html
 http://orgmode.org/worg/org-tutorials/weaving-a-budget.html
 http://hledger.org/step-by-step

 The last one looked the most promising until I tried ledger add which
 replied -

 ledger add -f ~/.emacs.d/ledger/ledger.journal
 Error: Unrecognized command 'add'

 So now I'm stumped!

Well, ledger and hledger are different tools that use the same (very
similar) data files.  The invocation of each is different.  org supports
ledger out of the box but not hledger.

The ledger manual is good enough to get started, in my opinion, if you
stick to the simple examples and don't try to customise much.

There is a short org ledger tutorial on Worg.  I'm offline at the moment
so cannot give you the link but it's there!  I wrote it... :)

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.1, Org release_8.3beta-372-gdd70cf



Re: [O] Bug: commit a197236bde2e6 breaks one of my agenda views [8.3beta (release_8.3beta-530-g31b56b @ /home/whirm/.emacs.d/var/el-get/org-mode/lisp/)]

2014-11-07 Thread Nicolas Goaziou
Hello,

Karl Voit devn...@karl-voit.at writes:

 * Elric Milon em...@whirm.eu wrote:

 (i Incoming ((tags REFILE ((org-agenda-overriding-header
 Tasks to Refile) (org-tags-match-list-sublevels nil))) (tags-todo
 -SOMEDAY-NOTES-@office-@home-@errands
 ((org-agenda-overriding-header Tasks with no context)
 (org-tags-match-list-sublevels t nil)

 And the stacktrace top:

 Debugger entered--Lisp error: (wrong-type-argument listp 
 #(-{(?:@office\\)\\} 0 20 (grouptag t)))

This should now be fixed. Thanks to both of you.


Regards,

-- 
Nicolas Goaziou



Re: [O] wrong-type-argument listp when filtering agenda on `work' tag

2014-11-07 Thread Nicolas Goaziou


Hello,

Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org
writes:

 In the agenda view, when filtering for the tasks marked `work' (through
 `/ w') [1], I get the following error:

 Debugger entered--Lisp error: (wrong-type-argument listp 
 #({(?:work\\)\\} 0 16 (grouptag t)))

This should already be fixed. Please update if you can.


Regards,

-- 
Nicolas Goaziou




[O] issues with non-bracketed links in org 8.3

2014-11-07 Thread Christopher Dannheim
Hi,

I have an issue with links created by org-ref's function
'org-ref-insert-cite-link' and John Kitchin asked me to post it on this
list.

in my textfiles, links created with org-ref-insert-cite-link are not enclosed
in brackets (textcite:sth), while those created with  org-insert-link are
([[textcite:sth]]). Recently, the links without the  brackets are not
recognized by my emacs anymore (clicking on them results in 'user error. no
link found' and they are not exported to latex correctly). However, they
are underlined and thus 'look' like links.

My emacs-Version is 24.4.1, my org-mode version is 8.3.

I know that I used to be able to compile the files that contained links without
brackets fine in the past. Do you have any idea what could cause this?

Thank you a lot in advance,
Christopher.


Re: [O] issues with non-bracketed links in org 8.3

2014-11-07 Thread Nicolas Goaziou
Hello,

Christopher Dannheim ch.dannh...@gmail.com writes:

 in my textfiles, links created with org-ref-insert-cite-link are not enclosed
 in brackets (textcite:sth), while those created with  org-insert-link are
 ([[textcite:sth]]). Recently, the links without the  brackets are not
 recognized by my emacs anymore (clicking on them results in 'user error. no
 link found' and they are not exported to latex correctly). However, they
 are underlined and thus 'look' like links.

 My emacs-Version is 24.4.1, my org-mode version is 8.3.

 I know that I used to be able to compile the files that contained links 
 without
 brackets fine in the past. Do you have any idea what could cause this?

textcite:sth is correct as long as textcite is recognized as a link
type. Does it belong to `org-link-type' value?


Regards,

-- 
Nicolas Goaziou



Re: [O] issues with non-bracketed links in org 8.3

2014-11-07 Thread Christopher Dannheim
Hi,

the variable org-link does contain 'textcite' (as well as all other bibtex
and biblatex link types defined by org-ref/reftex).

org-link-types is a variable defined in `org.el'.
Its value is
(http ... citep* citealt citealt* citealp citealp* citenum
citetext citeauthor citeauthor* citeyear citeyear* Citet
Citep Citealt Citealp Citeauthor Cite parencite Parencite
footcite footcitetext textcite Textcite ... rmail)

Regards,
Christopher.

On Fri, Nov 7, 2014 at 9:54 PM, Nicolas Goaziou m...@nicolasgoaziou.fr
wrote:

 Hello,

 Christopher Dannheim ch.dannh...@gmail.com writes:

  in my textfiles, links created with org-ref-insert-cite-link are not
 enclosed
  in brackets (textcite:sth), while those created with  org-insert-link are
  ([[textcite:sth]]). Recently, the links without the  brackets are not
  recognized by my emacs anymore (clicking on them results in 'user error.
 no
  link found' and they are not exported to latex correctly). However, they
  are underlined and thus 'look' like links.
 
  My emacs-Version is 24.4.1, my org-mode version is 8.3.
 
  I know that I used to be able to compile the files that contained links
 without
  brackets fine in the past. Do you have any idea what could cause this?

 textcite:sth is correct as long as textcite is recognized as a link
 type. Does it belong to `org-link-type' value?


 Regards,

 --
 Nicolas Goaziou



Re: [O] Avoid canceling of events which do have multiple time-stamps

2014-11-07 Thread Jorge A. Alfaro-Murillo

Hi, Karl.

Karl Voit writes:

For other events, I do have one single * Volleyball heading 
and multiple time-stamps for each occurrence in its body. 
(method B) 

Unfortunately in the agenda view, both entries are visualized 
the same way. This is causing issues in certain cases. 

For example, when I see an event on my agenda and I know that I 
don't have time for it, I usually cancel the event right away in 
my agenda. 

However, when this time-stamp occured only in the body of a 
heading (method B), cancelling does cancel *all* occurrences. 
For example when I cancel Volleyball on the agenda of 
2014-09-06, I'd cancel also 2014-08-30 (in the past) and 
2014-09-13 (in the future). 


And much worse: I do not notice my error.

There is a certain issue with this: how to determine whether or 
not a time-stamp is the only one or if it is mentioned in the 
heading itself. 


I use several time stamps as well, but I use 
org-agenda-follow-mode by default (see the variable 
`org-agenda-start-with-follow-mode') so I can see the entry with 
its multiple entries before archiving or killing it.


Is there a clever way to differ the two methods so that we are 
able to come up with different visualizations?


In the case of something like Volleyball, perhaps you might want 
to look at habits: (info (org) Tracking your habits)


Another option is to create subheadlines for each activity, and 
avoid multiple timestamps.


Best,

--

Jorge.




Re: [O] Bug: commit a197236bde2e6 breaks one of my agenda views

2014-11-07 Thread Karl Voit
* Nicolas Goaziou m...@nicolasgoaziou.fr wrote:
 Hello,

Hello Nicolas!

 Karl Voit devn...@karl-voit.at writes:

 * Elric Milon em...@whirm.eu wrote:

 Debugger entered--Lisp error: (wrong-type-argument listp 
 #(-{(?:@office\\)\\} 0 20 (grouptag t)))

 This should now be fixed. Thanks to both of you.

Agenda works again as expected.

So therefore my issue is gone due to your magic spell - thank you
very much once again :-)





[O] latex formatted output in buffer?

2014-11-07 Thread Lawrence Bottorff
Is there any way to have latex formatted math in a live org buffer? That
is, not in separate outputted pdf, ps, or html file, but right in the
running buffer?  I'm guessing it would be like babel where you run the code
snippet to see output -- and some sort of image of the formatted math would
be inserted?

LB


Re: [O] latex formatted output in buffer?

2014-11-07 Thread William Denton

On 7 November 2014, Lawrence Bottorff wrote:


Is there any way to have latex formatted math in a live org buffer? That
is, not in separate outputted pdf, ps, or html file, but right in the
running buffer?  I'm guessing it would be like babel where you run the code
snippet to see output -- and some sort of image of the formatted math would
be inserted?


Like this?

http://orgmode.org/org.html#Previewing-LaTeX-fragments


Bill
--
William Denton ↔  Toronto, Canada ↔  https://www.miskatonic.org/