Re: [O] problèmes d'accents

2014-08-11 Thread Joseph Vidal-Rosset
Hi Rasmus, hello the list, 2014-08-11 23:15 GMT+02:00 Rasmus : > Hi, > > Joseph Vidal-Rosset writes: > > > The topic of my message is intentionally in French. > > > > I meet a problem the French accents are not directly exported in the pdf > > when I C-c C-l-o . This problem disappears when I c

[O] Dynamicaly #+INCLUDE files

2014-08-11 Thread Mehul Sanghvi
I have a directory which has multiple sub-directories. The sub-directories contain files, some of which I want included into my org file when I export it for publishing to HTML using C-c C-e P p to publish. Rather than manually adding the files I want to an Org file, Is there a way to dynamically

[O] Feature request: copy cell contents into kill ring

2014-08-11 Thread Andrea Rossetti
Hello everone, copying a table cell (C-c C-x M-w) uses a private clipboard, as stated by the `org-table-copy-region' docstring. Sometimes it's handy to paste a cell's text into something that isn't an org-table (my use case was: record a macro to perform some silly updates in bbdb, once per tab

Re: [O] org-8 manual on Amazon!

2014-08-11 Thread Suvayu Ali
On Fri, Aug 08, 2014 at 10:51:49AM -0700, Carlos Sosa wrote: > Rasmus writes: > > > John Kitchin writes: > > > >> I saw on twitter today the org mode 8 manual is available on Amazon > >> today: http://www.amazon.com/dp/9881327709/. It looks like it covers Org > >> 8.2. > > > > I'm surprised by

Re: [O] problèmes d'accents

2014-08-11 Thread Rasmus
Hi, Joseph Vidal-Rosset writes: > The topic of my message is intentionally in French. > > I meet a problem the French accents are not directly exported in the pdf > when I C-c C-l-o . This problem disappears when I compile the .tex file > exported from the org file. C-c C-l exists. C-c C-l o m

Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line

2014-08-11 Thread Nicolas Goaziou
Rasmus writes: > How about adding the possibility to add hooks to org-fill-paragraph? > So that people can add "extensions" to fill as they want and the core > function can rely on org-element only? You can `defadvice' anything to your heart's content. OTOH, providing a hook for such a core fea

Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line

2014-08-11 Thread Nicolas Goaziou
Federico Beffa writes: > The example highlight the difference that I suggested to remove in the > very first place (by making \[...\] an environment). This was rejected > to preserve backward compatibility and that's fine. So I moved on to a > second proposal: modify the paragraph filling functio

Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line

2014-08-11 Thread Rasmus
Federico Beffa writes: > On Mon, Aug 11, 2014 at 3:06 PM, Nicolas Goaziou > wrote: >> Federico Beffa writes: >> > >>> to help me understand what kind of problems one could face with HTML (or >>> another back-end), could you give a concrete example? >> >> line 1 >> line 2 >> \[1+1\] >> >> ==> >

Re: [O] babel: ob-C with Visual C++ and compilation-mode

2014-08-11 Thread Thierry Banel
Le 04/08/2014 18:16, Ernesto Durante a écrit : > One suggestion. It will be nice to put the error buffer in > compilation-mode, this way errors are highlighted and we can jump > directly into the source code. I modified org-babel-eval to launch the > compilation mode in case of errors. I also remov

Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line

2014-08-11 Thread Federico Beffa
On Mon, Aug 11, 2014 at 3:06 PM, Nicolas Goaziou wrote: > Federico Beffa writes: > >> to help me understand what kind of problems one could face with HTML (or >> another back-end), could you give a concrete example? > > line 1 > line 2 > \[1+1\] > > ==> > > > line 1 > line 2 > > > > whereas >

[O] Manipulating Dates Automatically in a Headline

2014-08-11 Thread Matt Price
Hi Everyone, I've asked this before, but that was a year or two ago and am hoping someone has an idea now, perhaps involving babel or something. every year at this time I rewrite a set of syllabi. I do a lot of moving htings around while i'm oding it, and at the end I have to enter a whole bunch

Re: [O] org-table: missing vertical boundary when exported

2014-08-11 Thread Rick Frankel
On Sat, Aug 09, 2014 at 05:49:27PM -0700, Shiyuan wrote: >Hi,� >� � I learned a bit a about html/css and took another look the issue. It >turns out that org-mode uses the border attribute which is not respected >by my browser(Google Chrome version 36.0.1985.125 on Mac 10.9.4) .� >

Re: [O] [patch, ox] Unnumbered headlines

2014-08-11 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> In a recent thread¹ Tom and Alan mention that authors sometimes need >> unnumbered headlines, e.g. for prefaces. This patch (tries to) add >> this feature via the tag :nonumber: (customizable via Custom or >> in-file). > > Interesting.

[O] Latex Preview Equations(with C-u C-u)

2014-08-11 Thread Darlan Cavalcante Moreira
Recently the latex preview equation in org-mode was improved. Particularly 'C-c C-c' no longer removes the latex equations overlays, and now we have a single function, org-toggle-latex-fragment, to create/remove the image and overlays. I think these changes were very good. One small inconvenient,

[O] Need info about code block header arguments in (HTML) export

2014-08-11 Thread Avdi Grimm
Hi there, Org experts! I write books in org-mode, and one of the features I've really started to need is to be able to automatically include filename information when exporting source code listings. That is, given some Org source like this: #+BEGIN_SRC ruby :tangle foo/bar.rb puts "hell

Re: [O] Programming with org-element-cache -> short introduction?

2014-08-11 Thread Nicolas Goaziou
Thorsten Jolitz writes: > Is it ok to do these two things: > > - let-bind a value returned by `org-element-at-point' and modify it (with >plist-put), and No, per advice given before. `plist-put' is destructive. Instead, create a new element. You can use `org-combine-plists' to generate it

Re: [O] [patch, ox] Unnumbered headlines

2014-08-11 Thread Nicolas Goaziou
Hello, Rasmus writes: > In a recent thread¹ Tom and Alan mention that authors sometimes need > unnumbered headlines, e.g. for prefaces. This patch (tries to) add > this feature via the tag :nonumber: (customizable via Custom or > in-file). Interesting. Some comments follow. > I make two ass

Re: [O] Programming with org-element-cache -> short introduction?

2014-08-11 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> when programming with Org elements sometimes things seem to work and >> then something strange happens - what smells like a cache problem. I >> don't mean a cache bug, but a programmer (me) not taking the cache >> into account the ri

Re: [O] Programming with org-element-cache -> short introduction?

2014-08-11 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > when programming with Org elements sometimes things seem to work and > then something strange happens - what smells like a cache problem. I > don't mean a cache bug, but a programmer (me) not taking the cache > into account the right way. It might also be a cach

Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line

2014-08-11 Thread Nicolas Goaziou
Federico Beffa writes: > to help me understand what kind of problems one could face with HTML (or > another back-end), could you give a concrete example? line 1 line 2 \[1+1\] ==> line 1 line 2 whereas line 1 line 2 \begin{equation*} 1+1 \end{equation*} ==> line 1 line 2 IOW, the

Re: [O] [PATCH] docstring improvement of org-agenda-refile

2014-08-11 Thread Charles Millar
Charles Millar wrote: Daimrod wrote: +When GOTO is '(14) or \\[universal-argument] \\[universal-argument], go to the location of the last refiled item. ^^ '(16) Just opened my own reply and the '(16) may be misaligned. Charl

Re: [O] [PATCH] docstring improvement of org-agenda-refile

2014-08-11 Thread Charles Millar
Daimrod wrote: +When GOTO is '(14) or \\[universal-argument] \\[universal-argument], go to the location of the last refiled item. ^^ '(16) --- This email is free from viruses and malware because avast! Antivirus protection

[O] Bug: clock table total time parsed incorrectly [8.2.7c (8.2.7c-elpa @ /home/loic/.emacs.d/elpa/org-20140730/)]

2014-08-11 Thread Loic Dachary
Hi, In the following clock table: #+BEGIN: clocktable :maxlevel 3 :emphasize nil :scope file :block 2014-08 :formula % :narrow 100 #+CAPTION: Clock summary at [2014-08-11 lun. 10:17], for août 2014. | <100>

[O] problèmes d'accents

2014-08-11 Thread Joseph Vidal-Rosset
Hello everybody, The topic of my message is intentionally in French. I meet a problem the French accents are not directly exported in the pdf when I C-c C-l-o . This problem disappears when I compile the .tex file exported from the org file. If someone can help, thanks. It is not a serious prob

Re: [O] How can I autorun M-x linum-mode when file is opened?

2014-08-11 Thread Sharon Kimble
Samuel W Flint writes: > On 10 Aug 2014, Sharon Kimble wrote: > [Edited for the sake of brevity] > How can I have a command auto-run when a file is opened from 'desktop recovery' please? I want to auto-run "M-x linum-mode" when I open my daily journal, which stays open all the time

Re: [O] [PATCH] docstring improvement of org-agenda-refile

2014-08-11 Thread Suvayu Ali
On Sun, Aug 10, 2014 at 01:50:50AM +0200, Daimrod wrote: > > -When GOTO is 0 or '(64), clear the refile cache. > -When GOTO is '(16), go to the location of the last refiled item. > +When GOTO is 0 or '(64) or \\[universal-argument] \\[universal-argument] > \\[universal-argument], clear the refil

Re: [O] Custom environment for LaTeX export

2014-08-11 Thread Suvayu Ali
On Sun, Aug 10, 2014 at 08:59:10AM +0200, Julien Cubizolles wrote: > > > Sebastien Vauban > writes: > > > > Throwing an idea here: make the `consequence' environment be a no-op in > > Beamer? > > How would I do that, is there a variable excluding some environments ? I'm guessing Seb's idea

[O] How to capture to... null

2014-08-11 Thread Marcin Antczak
Hi list, I would like to use org-capture to create entries on my Gitlab host via API and then I would like to make template dissapear and not write output data anywhere. I know that I can use function as target for my capture template. But when I set template as follows: (setq org-capture-t

Re: [O] How can I autorun M-x linum-mode when file is opened?

2014-08-11 Thread Suvayu Ali
On Sun, Aug 10, 2014 at 01:07:36PM -0500, Samuel W Flint wrote: > On 10 Aug 2014, Sharon Kimble wrote: > [Edited for the sake of brevity] > > >>> How can I have a command auto-run when a file is opened from > >>> 'desktop recovery' please? I want to auto-run "M-x linum-mode" when > >>> I open my d