Re: [O] Emacs Barcamp

2013-08-16 Thread joakim
Ivan Kanis i...@kanis.fr writes:

 Le 14 Août à 16h38, joa...@verona.se a écrit :

 BTW with only 12 people it would be fun to do stuff like hands-on
 sessions and hacker sessions, WDYT?

 That's the spirit of a barcamp! Let's wait on Bastien's reply.

BTW Me and Daimrod will attend
http://www.gnu.org/ghm/2013/paris/
so at least two Emacs hackers will be there.

We could have an additional Emacs event there for interested parties.

-- 
Joakim Verona



Re: [O] Timestamp language

2013-08-16 Thread Lukas Fuernkranz
Is your LC_TIME set to sv_SE.UTF-8?


On Fri, Aug 16, 2013 at 10:05 AM, Fredrik fred...@jumans.net wrote:

 When I add a new timestamp by either pressing C-c . or C-c ! the calendar
 shows up in english but when textrepresentation of the date the dayname is
 shown in swedish.

 So adding a date for a wednesday would give me 2013-08-14 on

 I just can't find how to change my language settings so I get this in
 english instead. Any ideas?

 Regards,

 Fredrik




Re: [O] Timestamp language

2013-08-16 Thread Fredrik
I tried to set it in the environment variables on my machine (a Swedish 
Win8) but that made no difference.


On 2013-08-16 10:49, Lukas Fuernkranz wrote:

Is your LC_TIME set to sv_SE.UTF-8?


On Fri, Aug 16, 2013 at 10:05 AM, Fredrik fred...@jumans.net 
mailto:fred...@jumans.net wrote:


When I add a new timestamp by either pressing C-c . or C-c ! the
calendar shows up in english but when textrepresentation of the
date the dayname is shown in swedish.

So adding a date for a wednesday would give me 2013-08-14 on

I just can't find how to change my language settings so I get this
in english instead. Any ideas?

Regards,

Fredrik






[O] LaTeX export: images in margin

2013-08-16 Thread Roger Mason

Hello,

I'd like to have images in the margin when exporting to LaTeX (or 
creating a pdf via LaTeX).  I see from a message on one of the TeX 
mailing lists that this can be done like this:


\marginpar{\includegraphics[]{../images/Walkthrough_1-001.jpg}}

How can I get org (8.0.3 on linux) to wrap calls to \includegraphics 
with a call to \marginpar?  Maybe this is in the FAQ or a mailing list 
message, but if so, I did not find it.


Thanks,
Roger


This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php



Re: [O] LaTeX export: images in margin

2013-08-16 Thread Suvayu Ali
On Fri, Aug 16, 2013 at 09:29:58AM -0230, Roger Mason wrote:
 Hello,
 
 I'd like to have images in the margin when exporting to LaTeX (or creating a
 pdf via LaTeX).  I see from a message on one of the TeX mailing lists that
 this can be done like this:
 
 \marginpar{\includegraphics[]{../images/Walkthrough_1-001.jpg}}
 
 How can I get org (8.0.3 on linux) to wrap calls to \includegraphics with a
 call to \marginpar?  Maybe this is in the FAQ or a mailing list message, but
 if so, I did not find it.

You can adapt this to your needs:

  http://article.gmane.org/gmane.emacs.orgmode/74876

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] LaTeX export: images in margin

2013-08-16 Thread Suvayu Ali
On Fri, Aug 16, 2013 at 02:47:07PM +0200, Suvayu Ali wrote:
 On Fri, Aug 16, 2013 at 09:29:58AM -0230, Roger Mason wrote:
  Hello,
  
  I'd like to have images in the margin when exporting to LaTeX (or creating a
  pdf via LaTeX).  I see from a message on one of the TeX mailing lists that
  this can be done like this:
  
  \marginpar{\includegraphics[]{../images/Walkthrough_1-001.jpg}}
  
  How can I get org (8.0.3 on linux) to wrap calls to \includegraphics with a
  call to \marginpar?  Maybe this is in the FAQ or a mailing list message, but
  if so, I did not find it.
 
 You can adapt this to your needs:
 
   http://article.gmane.org/gmane.emacs.orgmode/74876
 

It's in the FAQ now: http://orgmode.org/worg/org-faq.html#filter

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] LaTeX export: images in margin

2013-08-16 Thread Roger Mason

Hello again,

On 08/16/2013 10:45 AM, Suvayu Ali wrote:
You can adapt this to your needs: 
http://article.gmane.org/gmane.emacs.orgmode/74876 

It's in the FAQ now: http://orgmode.org/worg/org-faq.html#filter

Cheers,


Thanks for your response.  I have it working somewhat:

(defun margin-graphics (contents backend info)
  (when (eq backend 'latex)
(replace-regexp-in-string \\`includegraphics.+\\({.+}\\)
   marginpar{includegraphics\1}  contents)))

(add-to-list 'org-export-filter-link-functions 'margin-graphics)

However, the LaTeX file contains this:

\marginpar{\includegraphics^A}

rather than the expected

\marginpar{\includegraphics[]{filename}}

Something is wrong with my regexp, but what?

Thanks,
Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php



[O] Some orgtbl doc issues

2013-08-16 Thread Rustom Mody
Ive recently been poking around in orgtbl mode and encountered some
issues.  Not sure how much is my own lack of understanding and how
much there are some little doc issues.

1 Option names dont match
=

  - Its orgtbl-radio-table-templates in emacs
  - Its orgtbl-radio-tables in doc Appendix A.6.2


2 Receiving string
==

  - Seems to be RECEIVE ORGTBL
  - String seems to be hardwired. Which may be ok if its by design.
  - Not clear what is the relation of this string and
orgtbl-radio-templates
  - I find 1 space is fixed between RECEIVE and ORGTBL. Multiple
allowed between ORGTBL and table-name
  - Its not clear from the doc whether its RECEIVE ORGTBL or
  /* RECEIVE ORGTBL
  - Subtle interaction between # in org and host mode comment char -- #
in python, shell etc -- could do with some elaboration


3 hook system
=

  - What are the hooks for orgtbl?
  - How do the org hooks relate to the orgtbl hooks?
  - Note: orgtbl is for those who are not otherwise using orgmode


4 Long header line
==

  I could not figure out how to split a long
  :#+ORGTBL: SEND...  line

Regards
Rusi



Re: [O] LaTeX export: images in margin

2013-08-16 Thread Roger Mason

Hello once more,

On 08/16/2013 11:34 AM, Roger Mason wrote:


(defun margin-graphics (contents backend info)
  (when (eq backend 'latex)
(replace-regexp-in-string \\`includegraphics.+\\({.+}\\)
   marginpar{includegraphics\1}  contents)))

(add-to-list 'org-export-filter-link-functions 'margin-graphics)

However, the LaTeX file contains this:

\marginpar{\includegraphics^A}

rather than the expected

\marginpar{\includegraphics[]{filename}}

This line:

(replace-regexp-in-string \\`includegraphics.+\\({.+}\\)
   marginpar{includegraphics\1}  contents)))

should be:

(replace-regexp-in-string \\`includegraphics.+\\({.+}\\)
   marginpar{includegraphics\\1}  contents)))

Note the double backslash before the '1' in the replacement text.

Cheers,
Roger

This electronic communication is governed by the terms and conditions at
http://www.mun.ca/cc/policies/electronic_communications_disclaimer_2012.php



Re: [O] LaTeX export: images in margin

2013-08-16 Thread Suvayu Ali
On Fri, Aug 16, 2013 at 12:02:46PM -0230, Roger Mason wrote:
 
 (replace-regexp-in-string \\`includegraphics.+\\({.+}\\)
marginpar{includegraphics\1}  contents)))
 
 should be:
 
 (replace-regexp-in-string \\`includegraphics.+\\({.+}\\)
marginpar{includegraphics\\1}  contents)))
 
 Note the double backslash before the '1' in the replacement text.

That is a lisp gotcha, :-p.  The regexp needs a backslash, however since
it is the escape character in lisp strings, it needs to be escaped
itself.

Glad things worked out for you.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.



[O] Wrong type argument: processp, nil

2013-08-16 Thread David Arroyo Menéndez

I've been having troubles using org-html-export-to-html in some files,
I can read in the mini-buffer Wrong type argument: processp, nil.

The problem was that in #+BEGIN_SRC, I was using shell instead of bash. I
think that the error showed is not intuitive, it could tell the number
of line or about #+BEGIN_SRC.

Thanks. 

-- 
David Arroyo Menéndez
http://www.davidam.com



Re: [O] [ANN.] org-trello v0.1.0

2013-08-16 Thread eniotna
Hi,

 Enabling org-mode users to cooperate with the rest of the world!

You clearly understood what I was aiming for.
That makes me happy!
Thanks for that!

On github, there are some more feedback.
People must be either quite busy or in holidays :D

Also, this is an org-mode mailing list not an org-trello one!

I created a mailing list without much feedback either at the moment :D (did
not buzz too much about it)

http://ardumont.github.io/org-trello/#mailing-list

Either way, have fun with it.


Antoine R. Dumont
https://github.com/ardumont
https://coderwall.com/ardumont
http://twitter.com/ardumont
http://adumont.fr/blog


On Mon, Aug 12, 2013 at 3:58 PM, Thorsten Jolitz tjol...@gmail.com wrote:

 eniotna eniotn...@gmail.com writes:

 Hi,

  I've release the 0.1.0 version of org-trello - 2 way sync between org and
  trello.
 
  Main page: http://ardumont.github.io/org-trello/
 
  Demos:
  - http://adumont.fr/blog/org-trello-sync-your-org-file-to-trello/
  - http://adumont.fr/blog/org-trello-new-features/

 I did not try it yet, but will in the not so far future - this looks
 very nice and quite useful for anybody interested in enabling Org-mode
 users to cooperate with the rest of the world.

 I'm surprised you don't get more (positive) feedback ...

 --
 cheers,
 Thorsten





Re: [O] Timestamp language

2013-08-16 Thread Sebastien Vauban
Fredrik wrote:
 I tried to set it in the environment variables on my machine (a Swedish Win8)
 but that made no difference.

--8---cut here---start-8---
  ;; system locale to use for formatting time values
  (setq system-time-locale C)
--8---cut here---end---8---

will do.

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] Timestamp language

2013-08-16 Thread Fredrik

On 2013-08-16 19:47, Sebastien Vauban wrote:

;; system locale to use for formatting time values
   (setq system-time-locale C)

Thank you! Worked perfectly...



Re: [O] [ANN.] org-trello v0.1.0

2013-08-16 Thread Torsten Wagner
Maybe you could elaborate a bit more about org-trello. Esp. on the trello
part.
I checked the website but it is one of those shiny flashy polished
we-use-the-cloud sites.
Can I install trello on my own server?
What is the advantage over similar services?
And why and how does org-mode plays well with it?

I really looks interesting however, I would prefer using my own server.

Thanks

Torsten



On 16 August 2013 19:18, eniotna eniotn...@gmail.com wrote:

 Hi,

  Enabling org-mode users to cooperate with the rest of the world!

 You clearly understood what I was aiming for.
 That makes me happy!
 Thanks for that!

 On github, there are some more feedback.
 People must be either quite busy or in holidays :D

 Also, this is an org-mode mailing list not an org-trello one!

 I created a mailing list without much feedback either at the moment :D
 (did not buzz too much about it)

 http://ardumont.github.io/org-trello/#mailing-list

 Either way, have fun with it.


 Antoine R. Dumont
 https://github.com/ardumont
 https://coderwall.com/ardumont
 http://twitter.com/ardumont
 http://adumont.fr/blog


 On Mon, Aug 12, 2013 at 3:58 PM, Thorsten Jolitz tjol...@gmail.comwrote:

 eniotna eniotn...@gmail.com writes:

 Hi,

  I've release the 0.1.0 version of org-trello - 2 way sync between org
 and
  trello.
 
  Main page: http://ardumont.github.io/org-trello/
 
  Demos:
  - http://adumont.fr/blog/org-trello-sync-your-org-file-to-trello/
  - http://adumont.fr/blog/org-trello-new-features/

 I did not try it yet, but will in the not so far future - this looks
 very nice and quite useful for anybody interested in enabling Org-mode
 users to cooperate with the rest of the world.

 I'm surprised you don't get more (positive) feedback ...

 --
 cheers,
 Thorsten






Re: [O] [ANN.] org-trello v0.1.0

2013-08-16 Thread eniotna
One thing.
I do not work for the trello company!

I just exploit their public api to make org-mode compatible with it.
I use their backend to permit the collaboration between org-modian and
trelloans.

I do not think (but i did not check) we can install trello locally.

I have made some videos (links on the main page) to demonstrate how well it
plays.

I too would prefer my own server.
Then again, I made it firstly because I was forced to use it and secondly
as a challenge.

Cheers,



Antoine R. Dumont
https://github.com/ardumont
https://coderwall.com/ardumont
http://twitter.com/ardumont
http://adumont.fr/blog


On Fri, Aug 16, 2013 at 10:58 PM, Torsten Wagner
torsten.wag...@gmail.comwrote:

 Maybe you could elaborate a bit more about org-trello. Esp. on the trello
 part.
 I checked the website but it is one of those shiny flashy polished
 we-use-the-cloud sites.
 Can I install trello on my own server?
 What is the advantage over similar services?
 And why and how does org-mode plays well with it?

 I really looks interesting however, I would prefer using my own server.

 Thanks

 Torsten



 On 16 August 2013 19:18, eniotna eniotn...@gmail.com wrote:

 Hi,

  Enabling org-mode users to cooperate with the rest of the world!

 You clearly understood what I was aiming for.
 That makes me happy!
 Thanks for that!

 On github, there are some more feedback.
 People must be either quite busy or in holidays :D

 Also, this is an org-mode mailing list not an org-trello one!

 I created a mailing list without much feedback either at the moment :D
 (did not buzz too much about it)

 http://ardumont.github.io/org-trello/#mailing-list

 Either way, have fun with it.


 Antoine R. Dumont
 https://github.com/ardumont
 https://coderwall.com/ardumont
 http://twitter.com/ardumont
 http://adumont.fr/blog


 On Mon, Aug 12, 2013 at 3:58 PM, Thorsten Jolitz tjol...@gmail.comwrote:

 eniotna eniotn...@gmail.com writes:

 Hi,

  I've release the 0.1.0 version of org-trello - 2 way sync between org
 and
  trello.
 
  Main page: http://ardumont.github.io/org-trello/
 
  Demos:
  - http://adumont.fr/blog/org-trello-sync-your-org-file-to-trello/
  - http://adumont.fr/blog/org-trello-new-features/

 I did not try it yet, but will in the not so far future - this looks
 very nice and quite useful for anybody interested in enabling Org-mode
 users to cooperate with the rest of the world.

 I'm surprised you don't get more (positive) feedback ...

 --
 cheers,
 Thorsten







[O] org Publish subtree to pdf

2013-08-16 Thread Martin Leduc
Hi,
  I have a large org file with several projects in it. I can export one of
them (a subtree) to pdf by using C-c C-e C-s l o. However, I would like to
use the Publish function since it allows to export the pdf to another folder. 

However, by using C-s (Subtree option) and P (for publish) and x (to choose
template from org-publish-project-alist), the Subtree option does not seem
to work well. The entire tree is exported though without the content of
higher-level headlines. 

Is it the normal behavior to be expected from the publish function ? What is
the best way to export in pdf to another location ?

Thanks,
Martin

  




[O] org-clock-save.el state unwanted Resume clock prompt

2013-08-16 Thread Jeff Kowalczyk
When opening any org mode files or using M-x org-mode on a
buffer, I get the following prompt:

: Resume clock (bsmith re: status update) (y or n)  n

Which refers to a specific heading in one specific org file, used
all day most days.

: ** DONE bsmith re: status update
:CLOSED: [2013-08-06 Tue 13:12]
::LOGBOOK:
:CLOCK: [2013-08-06 Tue 12:53]--[2013-08-06 Tue 13:12] =  0:19
::END:

The cause of the prompt is easily found (org-clock-save.el,
source wrapped):

: ;; org-persist.el - myhost at 2013-08-06 Tue 13:42
: (setq resume-clock '(/home/jtk/org/upwind.org . 2049565))
: 
: (setq stored-clock-history 
: '((/home/myuser/org/acme.org . 2044203)
:   (/home/myuser/org/acme.org . 2044243)
:   (/home/myuser/org/acme.org . 2046954)
:   (/home/myuser/org/acme.org . 2049576)
:   (/home/myuser/org/acme.org . 2049494)))

The above headline corresponds to the last position character
mark, 2049494.

My questions are:

- What's different about that heading that it isn't closed?

- Is there another lisp source of clock insinuate data besides
  org-persist.el?

- What lisp data edit operation would safely clear the
  open clock status?

On a few occasions I've deleted org-clock-save.el to clear
the problem, and had a recurrence on a different heading some
weeks later. There could be some behavior related to running
clocks when emacs daemon stops abruptly on system or X
shutdown.

Thanks,
Jeff