Re: [O] [PATCH] Strip text properties from string code block arguments

2014-01-12 Thread Bastien
Achim Gratz strom...@nexgo.de writes: Daniel Gerber writes: Not quite. I thought %S was not a typo because it escapes characters more nicely. E.g. with %s the buffer should contain \\\ to mean in python. If that's the intention, then %S is arguably a latent bug, since the escaping it

Re: [O] Local variables in org files

2014-01-12 Thread Bastien
Hi Sebastien, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: It would make sense to be prefixed by `org' (or `ob' or ...) somehow. It's now named `org-sbe'. `sbe' in itself is quite cryptic, even if it's the (quite logical) abbreviation of source block

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Dror Atariah
On Dec 15, 2013, at 15:17 PM, Nick Dokos wrote: Dror Atariah dror...@gmail.com writes: On Dec 14, 2013, at 22:06 PM, Nick Dokos wrote: Nick Dokos ndo...@gmail.com writes: Dror Atariah dror...@gmail.com writes: 2. What's next? I believe this is a bug... How can I report it?

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Bastien
Dror Atariah dror...@gmail.com writes: Update: I have just updated from ELPA, and the patch is not there... I had to re-patch the missing line. The ELPA packages are built from the maint branch, from the master branch, so patches in the master branch do not show up there, that's why you had to

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Dror Atariah
On Jan 12, 2014, at 13:53 PM, Bastien wrote: Dror Atariah dror...@gmail.com writes: Update: I have just updated from ELPA, and the patch is not there... I had to re-patch the missing line. The ELPA packages are built from the maint branch, from the master branch, so patches in the master

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Bastien
Hi Dror, Dror Atariah dror...@gmail.com writes: So what's the point of the daily updates of the ELPA packages? To get bug fixed when you use ELPA. -- Bastien

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Dror Atariah
On Jan 12, 2014, at 14:26 PM, Bastien wrote: Hi Dror, Dror Atariah dror...@gmail.com writes: So what's the point of the daily updates of the ELPA packages? To get bug fixed when you use ELPA. Wasn't the issue discussed originally in this thread a bug (and its fix)? Why it is not

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-12 Thread John Hendy
On Sat, Jan 11, 2014 at 7:53 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Sat, Jan 11, 2014 at 6:26 PM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Sat, Jan 11, 2014 at 4:29 PM, Eric Schulte

[O] Extract source code /with/ captions

2014-01-12 Thread James Harkins
I'm working on a set of Beamer presentations with a bunch of source code blocks. I would like to collect all the blocks into one text file per presentation, but I also need the captions and ideally a numeric index. That is, I'm *not* looking for the normal behavior of org-babel-tangle, which

Re: [O] Citations and references in ODT

2014-01-12 Thread Christopher Kotfila
On 01/10/14 13:10, Ken Mankoff wrote: Hi, I have export with references and bibliography working well in LaTeX export. I'm now exporting to ODT, and wonder if there is reference and bibliography support for this file format. I've found this 2011 post saying no

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-12 Thread Eric Schulte
I tried two things: ;;; file-server.el --- serve any files using Emacs Web Server (lexical-let ((docroot /home/jwhendy/Desktop/e-web-server-test/)) (ws-start (lambda (request) (with-slots (process headers) request (let ((path (substring (cdr (assoc :GET headers)) 1)))

Re: [O] [PATCH] Strip text properties from string code block arguments

2014-01-12 Thread Eric Schulte
Bastien b...@gnu.org writes: Achim Gratz strom...@nexgo.de writes: Daniel Gerber writes: Not quite. I thought %S was not a typo because it escapes characters more nicely. E.g. with %s the buffer should contain \\\ to mean in python. If that's the intention, then %S is arguably a latent

Re: [O] [ANN, OT] Emacs web-server, a new option for serving Org-mode files

2014-01-12 Thread David Belohrad
yeah, that worked. cool, thanks. Eric Schulte schulte.e...@gmail.com writes: David Belohrad da...@belohrad.ch writes: Hmm, I got Caught Error: (void-function symbol-macrolet) when browsing the web page. Do I miss something? .d. You might want to try requiring the cl library with

Re: [O] sending HTML e-mail

2014-01-12 Thread Eric Schulte
Peter Salazar cycleofs...@gmail.com writes: Yes, that works! But now I'm getting a different error: Debugger entered--Lisp error: (file-error Opening input file No such file or directory /Users/peter/Documents/ http://img2u.info/ckgni/i/g9c7948fd.jpg;) i.e. it seems to be prepending my

Re: [O] Extract source code /with/ captions

2014-01-12 Thread John Kitchin
I think I have done something like that before. What I did was make it so each code block would be written out to a file, e.g. course-notes/script-%d.py and a link would be put in the exported pdf right after that block. I do not know how you could get the captions though. In the header I have

[O] org-clock-report by hours

2014-01-12 Thread Nikolay Kudryavtsev
Hello. Recently I've updated my org to a newer version and it by default uses days in clock reports. In the earlier version I had something like this: *Total time* | *28:40* Now I get this: *Total time* | *1d 4:40* How can I get the old

[O] Navigating org-mode customization file

2014-01-12 Thread Oleh
Hi all, I'd like to share a small hack that might be useful for people that edit their org config a lot. Mine is more than 500 lines. A great way to jump about a source file is `helm-semantic'. But it only allows to jump to function and variable definition within current file. My org file is full

Re: [O] Extract source code /with/ captions

2014-01-12 Thread Charles Berry
James Harkins jamshark70 at gmail.com writes: I'm working on a set of Beamer presentations with a bunch of source code blocks. I would like to collect all the blocks into one text file per presentation, but I also need the captions and ideally a numeric index. [deleted] So, for

[O] Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)]

2014-01-12 Thread Jon Degenhardt
Export to Latex (org-latex-export-to-pdf) generates incorrect latex when list items start with a left square bracket. This occurs because the \item command interprets the left square bracket as the start of an argument list. An example:    An item list:    - abc def    - [def] ghi    - [jkl m n

[O] Variable for clocktable's :scope

2014-01-12 Thread Barton Yadlowski
Hi, I have a list of files for the custom agenda view in a variable, i.e. (setq org-work-files '(file1 file2 file3)) Is there a way to somehow pass this variable to the scope of the clocktable? I know I can just have a list itself there, but something like the following doesn't work: #+BEGIN:

Re: [O] org-clock-report by hours

2014-01-12 Thread Subhan Tindall
Try adding this to your .emacs file: '(org-time-clocksum-format (quote (:hours %d :require-hours t :minutes :%02d :require-minutes t))) That should do it for you. Subhan On Sun, Jan 12, 2014 at 9:36 AM, Nikolay Kudryavtsev nikolay.kudryavt...@gmail.com wrote: Hello. Recently I've updated

Re: [O] Navigating org-mode customization file

2014-01-12 Thread John Hendy
On Sun, Jan 12, 2014 at 11:42 AM, Oleh ohwoeo...@gmail.com wrote: Hi all, I'd like to share a small hack that might be useful for people that edit their org config a lot. Mine is more than 500 lines. A great way to jump about a source file is `helm-semantic'. But it only allows to jump to

[O] multi-line citation export issue

2014-01-12 Thread Ken Mankoff
If I have some text and then \cite{a, b c, d, e}, these citations do not export properly to LaTeX, due to the newline in the \cite{}. The command is escaped and appears as \cite\{a, b, c, d, e\}. -k.

Re: [O] multi-line citation export issue

2014-01-12 Thread Ken Mankoff
And a slightly more complicated example: \cite[some text here where spaces are not optional]{citekey1,citekey2} Exports as \cite[some text here where spaces are not optional]\{citekey1,citekey2\} -k. On Sun, Jan 12, 2014 at 6:21 PM, Ken Mankoff mank...@gmail.com wrote: If I have some

Re: [O] [PATCH] Strip text properties from string code block arguments

2014-01-12 Thread Bastien
Hi Eric, Eric Schulte schulte.e...@gmail.com writes: I think using %S with strip-properties will address the great majority of cases, and is certainly a better interim solution than the current use of %s with no escaping. I find string escaping is *normally* very consistent between

Re: [O] Bug dragging lines in tag-restricted agenda

2014-01-12 Thread Bastien
Hi Thomas, Bastien b...@gnu.org writes: I'm afraid I'm still seeing the same behavior described in the bug report. You're right, there are still annoying bugs after filtering. I'll have a look when I have more time at hand. This should now be fixed in maint, please test heavily and report

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Bastien
Dror Atariah dror...@gmail.com writes: Wasn't the issue discussed originally in this thread a bug (and its fix)? Why it is not reflected in the ELPA? I just want to understand what's going on... No criticism or anything like that :) Yep, no problem: as I said, the bug was fixed in master,

Re: [O] Sh-ALT-RightArrow behavior has changed to demote only first subheader when subheaders collapsed

2014-01-12 Thread Bastien
Hi Susan, Susan Cragin susancra...@earthlink.net writes: This may be new functionality, or it may be a bug. I'm not able to reproduce this -- can you sum up the steps for a minibuffer reproducible recipe? Please note that I have a today-compiled version of both emacs and org-mode on my

Re: [O] multi-line citation export issue

2014-01-12 Thread Nicolas Goaziou
Hello, Ken Mankoff mank...@gmail.com writes: If I have some text and then \cite{a, b c, d, e}, these citations do not export properly to LaTeX, due to the newline in the \cite{}. Use export snippets: @@latex:\cite{}@@ Outside math mode, Org support for LaTeX is very limited.

Re: [O] Selecting Date Causes Complete Lockup of Emacs

2014-01-12 Thread Bastien
Hi Ian, Ian Barton li...@wilkesley.net writes: Place the point in the Date column and type C-c !. Now select a date in the calendar. I chose a date in the past few days, but don't know if this is relevant. Emacs locks up completely, no back trace and the only way out is kill -9. I can't

Re: [O] Bug: Export to Latex - Incorrect output for list items starting with left bracket [8.2.3c (8.2.3c-elpa @ /Users/jdegenhardt/.emacs.d/elpa/org-20131115/)]

2014-01-12 Thread Vladimir Lomov
Hello, ** Jon Degenhardt [2014-01-11 13:18:29 -0800]: Export to Latex (org-latex-export-to-pdf) generates incorrect latex when list items start with a left square bracket. This occurs because the \item command interprets the left square bracket as the start of an argument list. An example:  

Re: [O] multi-line citation export issue

2014-01-12 Thread Ken Mankoff
On Mon, 13 Jan 2014, Nicolas Goaziou wrote: Use export snippets: @@latex:\cite{}@@ I am not familiar with export snippets, but I guess from that syntax that I will not be able to export with citations to ODT/DOC. Right now one org file exports well to both formats. I will deal with

[O] M-right does not demote some subheadings in a region

2014-01-12 Thread Samuel Wales
I can't produce an ECM at this time, or compare with Susan's bug, but there is a serious demote bug in recent Org. In this tree: # * a # *** a # *** b # *** c # * ca # * cb # * cc # *** d # *** e # *** f If I mark b through e and m-right,

Re: [O] Citations and references in ODT

2014-01-12 Thread Ken Mankoff
Hi, I find the ODT export very useful. Working on another document imported from LaTeX I have a lot of \citep{} and \citet{} in addition to \cite{}. Is it possible for ox-jabref.el to support this even if it does not distinguish between the T and P? I edited the line near the bottom with the

Re: [O] Extract source code /with/ captions

2014-01-12 Thread James Harkins
On Monday, January 13, 2014 1:19:28 AM HKT, John Kitchin wrote: I think I have done something like that before. What I did was make it so each code block would be written out to a file, e.g. course-notes/script-%d.py and a link would be put in the exported pdf right after that block. I do not

Re: [O] Unable to push to org-mobile

2014-01-12 Thread Nick Dokos
Dror Atariah dror...@gmail.com writes: On Jan 12, 2014, at 14:26 PM, Bastien wrote: Hi Dror, Dror Atariah dror...@gmail.com writes: So what's the point of the daily updates of the ELPA packages? To get bug fixed when you use ELPA. Wasn't the issue discussed originally in this thread

Re: [O] Citations and references in ODT

2014-01-12 Thread Nick Dokos
Ken Mankoff mank...@gmail.com writes: Hi, I find the ODT export very useful. Working on another document imported from LaTeX I have a lot of \citep{} and \citet{} in addition to \cite{}. Is it possible for ox-jabref.el to support this even if it does not distinguish between the T and P?