[O] Weirdness with Agenda and "C-u r"

2016-01-15 Thread Eric Abrahamsen
Something seems to have gone off with the `org-tags-view' Agenda view: if I hit "C-u r" to search with another string, I get this traceback: Debugger entered--Lisp error: (invalid-function 4) (4) (org-tags-view (4) (if current-prefix-arg nil "publishing")) (let nil (org-tags-view (4) (if cur

Re: [O] org-file using tramp + babel?

2016-01-15 Thread John Kitchin
( ( Wow... Mind---( ( blown... (___( I just did this (setq temporary-file-directory "/tmp") opened a file using tramp on a remote server, and ran code on the server, with the output showing in my local emacs from the remote server!!! Simple s

Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a macro?

2016-01-15 Thread Marcin Borkowski
On 2016-01-15, at 22:10, Samuel W. Flint wrote: >> Marcin Borkowski writes: > > MB> This piece of code: #+BEGIN_SRC elisp :results value verbatim > MB> :exports both (defmacro forty-two () (* 6 7)) > > That is not a macro. That's a function. The return value of a macro > (the result of the

Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a macro?

2016-01-15 Thread Nick Dokos
swfl...@flintfam.org (Samuel W. Flint) writes: >> Marcin Borkowski writes: > > MB> This piece of code: #+BEGIN_SRC elisp :results value verbatim > MB> :exports both (defmacro forty-two () (* 6 7)) > > That is not a macro. That's a function. The return value of a macro > (the result of the la

Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a macro?

2016-01-15 Thread Samuel W. Flint
> Marcin Borkowski writes: MB> This piece of code: #+BEGIN_SRC elisp :results value verbatim MB> :exports both (defmacro forty-two () (* 6 7)) That is not a macro. That's a function. The return value of a macro (the result of the last expression in the implicit progn) needs to be a (quasi-)

Re: [O] [PATCH] org-latex-compile timestamp checks

2016-01-15 Thread Anthony Cowley
> On Jan 15, 2016, at 7:13 AM, Rasmus wrote: > > Hi Anthony, > > Thanks for raising this issue. > > Anthony Cowley writes: > >> I’ve had some trouble with toggling latex fragment previews in a >> document on OS X. It would sometimes work, sometimes not, so I could >> just try a few times unt

Re: [O] Org Clock Error

2016-01-15 Thread Nick Dokos
Marco Wahl writes: I have ~(setq org-clock-out-when-done t)~ in my Emacs configuration. I get the following back trace when I mark a task as done: Debugger entered--Lisp error: (void-variable org-state) > ... >> OK - here's some actual research for a change. I was

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread John Hendy
On Fri, Jan 15, 2016 at 12:24 PM, Peter Davis wrote: > > Hi, John, > > Yes, of course I Googled it first. I went through the first couple of pages > of results without finding anything that appeared to be > suitable for use with org. Of course, I'm neither a LaTeX expert nor an Org > expert, so

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Peter Davis
Thank you, Rasmus. Regards, -pd Rasmus writes: > Hi Peter, > > Peter Davis writes: > >>> http://thread.gmane.org/gmane.emacs.orgmode/92820 >> >> This solution looks very specific to a particular problem. > > It is a solution to the problem: > >Place multiple images on one way the Corr

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Peter Davis
Hi, John, Yes, of course I Googled it first. I went through the first couple of pages of results without finding anything that appeared to be suitable for use with org. Of course, I'm neither a LaTeX expert nor an Org expert, so it's likely that I misunderstood. You seem to have a complaint ab

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Peter Davis
Eric S Fraga writes: > On Thursday, 14 Jan 2016 at 17:05, Peter Davis wrote: >> I'm trying to place three images side-by-side to they're top-aligned, >> but I can't see to find a way to get org-mode to do this. My > > Following up on my previous email, I couldn't resist... > > A LaTeX hack that w

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Rasmus
Rasmus writes: > It is a solution to the problem: > >Place multiple images on one way the Correct Wayᵀᴹ when using ox-latex. ^^^ line Typo. -- Look, it is what it is because of what it was

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Rasmus
Hi Peter, Peter Davis writes: >> http://thread.gmane.org/gmane.emacs.orgmode/92820 > > This solution looks very specific to a particular problem. It is a solution to the problem: Place multiple images on one way the Correct Wayᵀᴹ when using ox-latex. > I'm not interested in captions at

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread John Hendy
Have you just googled for this? Honestly, I find StackOverflow (and fam) much better than the mailing list for this sort of thing. Almost any LaTeX question you can ask has already been asked. Try googling "latex top align image tabular" and see if the first page of hits (almost all latex.SE) gets

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Eric S Fraga
On Thursday, 14 Jan 2016 at 17:05, Peter Davis wrote: > I'm trying to place three images side-by-side to they're top-aligned, > but I can't see to find a way to get org-mode to do this. My Following up on my previous email, I couldn't resist... A LaTeX hack that works is: #+begin_src org ,* in

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Eric S Fraga
On Thursday, 14 Jan 2016 at 17:05, Peter Davis wrote: > I'm trying to place three images side-by-side to they're top-aligned, > but I can't see to find a way to get org-mode to do this. My > current code is: > > + > | #+MACRO: p \includegraphics[scale=.3]{$1} > | #+ATTR_LATEX: :align {p{5cm} p

Re: [O] Recurring todos gets closed and not re-scheduled

2016-01-15 Thread Marco Wahl
Hi! Karl Voit writes: > I recently updated Org to d85ff34086e5398b7c83cf66694f3f7d09695ce8 > (git). > > When I mark following recurring todos as done, all of them gets > marked as DONE and CLOSED. > > ,[ examples before being marked as DONE ] > | *** NEXT Test task with scheduled > | SCHEDUL

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Peter Davis
Rasmus writes: > Peter Davis writes: > >> Have I missed something? > > Must it be a table? If not you might have missed the subcaption package. > > http://thread.gmane.org/gmane.emacs.orgmode/92820 Thank you, Rasmus. This solution looks very specific to a particular problem. I'm not inter

[O] org-links in tags

2016-01-15 Thread John Kitchin
Hi all, I think there may be an issue with tags that are defined as links (at least in 8.2.10). For example, if I tag a heading :file:test:, the tags become a file link. This can probably be fixed by adding [^:] to the beginning of the org link regexps? -- Professor John Kitchin Doherty Hall A

[O] Footnote attributes

2016-01-15 Thread Thomas S . Dye
Aloha all, I'm trying to hijack Org footnotes to export \sidenotes with an optional offset parameter to LaTeX. I can't figure out how to specify and access the offset parameter for a footnote. I have an attr_latex line in front of the footnote-definition and footnote-reference, but I can't figur

[O] Recurring todos gets closed and not re-scheduled

2016-01-15 Thread Karl Voit
Hi! I recently updated Org to d85ff34086e5398b7c83cf66694f3f7d09695ce8 (git). When I mark following recurring todos as done, all of them gets marked as DONE and CLOSED. ,[ examples before being marked as DONE ] | *** NEXT Test task with scheduled | SCHEDULED: <2016-01-17 Sun +1w> | :PROPERTI

Re: [O] driving me mad..oeg-agenda kills current buffer

2016-01-15 Thread Xebar Saram
Holy crap, Thomas that was it! now i feel silly for spending half a day bisecting my config :) thx alot best Z On Fri, Jan 15, 2016 at 3:39 PM, Thomas Holst wrote: > Hi Xebar, > > · Xebar Saram wrote: > > > Hi all > > so this issue is driving me mad... > > when im on a file, i launch org-ag

Re: [O] driving me mad..oeg-agenda kills current buffer

2016-01-15 Thread Thomas Holst
Hi Xebar, · Xebar Saram wrote: > Hi all > so this issue is driving me mad... > when im on a file, i launch org-agenda and choose an option (default > view, custom view..dosent matter). this goes on to kill the buffer i > launched the agenda from > sometimes it just closes the buffer other times

Re: [O] driving me mad..oeg-agenda kills current buffer

2016-01-15 Thread Xebar Saram
Hi Nick yeah it also happens without emacs server, ie just running "emacs" anything else i can try? best Z On Fri, Jan 15, 2016 at 3:13 PM, Nick Dokos wrote: > Xebar Saram writes: > > > Hi all > > so this issue is driving me mad... > > when im on a file, i launch org-agenda and choose an op

Re: [O] driving me mad..oeg-agenda kills current buffer

2016-01-15 Thread Nick Dokos
Xebar Saram writes: > Hi all > so this issue is driving me mad... > when im on a file, i launch org-agenda and choose an option (default view, > custom view..dosent matter). this goes on to kill the buffer i launched the > agenda from > sometimes it just closes the buffer other times it will as

Re: [O] Bug: Spurious entries in agenda if tasks have a deadline [8.3.3 (8.3.3-2-g6bc48c-elpa @ /home/nmarais/.emacs.d/elpa/org-20160111/)]

2016-01-15 Thread Charles Millar
Hi Neilen, On 01/15/2016 06:14 AM, Neilen Marais wrote: I tested this with both the packaged org-mode that came with my ubuntu 15.04 emacs24 install and with the latest org version on elpa. Tasks with deadlines in the future spuriously show up under today's schedule. E.g. Today is 2016-01-15 an

Re: [O] Bug: C-c ' and multiple table formulas

2016-01-15 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> org now supports multiple TBLFM lines - see the "Using multiple #+TBLFM >> lines" subsection in >> >> (info "(org) Editing and debugging formulas") >> >> However, editing the formulas with C-c ' does not work, except for the >> first

Re: [O] Vertically aligning images in tables?

2016-01-15 Thread Rasmus
Peter Davis writes: > Have I missed something? Must it be a table? If not you might have missed the subcaption package. http://thread.gmane.org/gmane.emacs.orgmode/92820 Rasmus -- Need more coffee. . .

Re: [O] [PATCH] org-latex-compile timestamp checks

2016-01-15 Thread Rasmus
Hi Anthony, Thanks for raising this issue. Anthony Cowley writes: > I’ve had some trouble with toggling latex fragment previews in a > document on OS X. It would sometimes work, sometimes not, so I could > just try a few times until it worked and get on with things. Looking > into it more, the

[O] Bug: Spurious entries in agenda if tasks have a deadline [8.3.3 (8.3.3-2-g6bc48c-elpa @ /home/nmarais/.emacs.d/elpa/org-20160111/)]

2016-01-15 Thread Neilen Marais
I tested this with both the packaged org-mode that came with my ubuntu 15.04 emacs24 install and with the latest org version on elpa. Tasks with deadlines in the future spuriously show up under today's schedule. E.g. Today is 2016-01-15 and I have a task with a deadline set as 2016-01-19: ** TODO

Re: [O] Org Clock Error

2016-01-15 Thread Marco Wahl
>>> I have ~(setq org-clock-out-when-done t)~ in my Emacs configuration. >>> >>> I get the following back trace when I mark a task as done: >>> >>> Debugger entered--Lisp error: (void-variable org-state) >>> ... > OK - here's some actual research for a change. I was wondering what > > (defvar or

Re: [O] Why does evaluating a piece of Elisp code seemingly not expand a macro?

2016-01-15 Thread Oleh Krehel
Marcin Borkowski writes: > Why? Macro-expand the defun to get: (defalias 'print-answer #'(lambda nil (message "The answer is %s." (forty-two `lambda' is a macro that /quotes/ its body. Therefore, the body of `defun' is not evaluated or expa

[O] Why does evaluating a piece of Elisp code seemingly not expand a macro?

2016-01-15 Thread Marcin Borkowski
This piece of code: #+BEGIN_SRC elisp :results value verbatim :exports both (defmacro forty-two () (* 6 7)) (defun print-answer () (message "The answer is %s." (forty-two))) (symbol-function 'print-answer) #+END_SRC yields this: #+RESULTS: : (lambda nil (message "The answer is

Re: [O] individual alerts

2016-01-15 Thread Eric S Fraga
On Tuesday, 12 Jan 2016 at 14:49, cschr wrote: [...] > I found out already how to export SCHEDULED and DEADLINE timestamps from > orgmode to iCalendar VEVENTs, but the VALARM TRIGGERs produced always have > the same value (VALARM TRIGGER is always “P0DT0H0M0S”). How can I define an > individual a

Re: [O] individual alerts

2016-01-15 Thread Eric S Fraga
On Wednesday, 13 Jan 2016 at 00:30, Nick Dokos wrote: [...] > There are various constraints on the item in order to get a VALARM: it > has to be a TODO item, it has to have a timestamp with both date and > time in it and the timestamp has to *follow* the properties drawer. I don't this is entire

Re: [O] org-file using tramp + babel?

2016-01-15 Thread Rainer M Krug
Martin Yrjölä writes: > Hi John, > > John Kitchin writes: > >> Hi, I opened an org file using tramp on a remote server. It opened fine, >> and I had no trouble writing text and saving it. For fun I tried running >> a src block (a shell block that just returned the hostname), and got >> this erro

Re: [O] org-file using tramp + babel?

2016-01-15 Thread Rainer M Krug
"Charles C. Berry" writes: > On Thu, 14 Jan 2016, John Kitchin wrote: > >> Hi, I opened an org file using tramp on a remote server. It opened fine, >> and I had no trouble writing text and saving it. For fun I tried running >> a src block (a shell block that just returned the hostname), and got >

Re: [O] Changing org-block background with org-src-fontify-natively

2016-01-15 Thread Andreas Leha
Hi, John Kitchin writes: > It doesn't sounds like there is a way to do language specific colors. > Karl Voit writes: >> * Nick Dokos wrote: [ ... ] >> >> It would be fine to have both: org-src-fontify-natively *and* a >> background colour I can set. I'd like to 'back' this feature request.