[O] [ox-ascii] Export file overwrites source file

2013-02-15 Thread Sebastien Vauban
Hello, As many people, I think, I've also associated Org-mode to .txt files. Now, with the new exporter, if I export `a.txt' as plain text, it overwrites (without notice, BTW) my source file `a.txt': it's lost. Before, in such a case, the exporter noticed that I already had a file named

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread T.F. Torrey
Hello, Nicolas Goaziou n.goaz...@gmail.com writes: tftor...@tftorrey.com (T.F. Torrey) writes: Now, I have these: #+BIND: org-html-style-include-default nil #+BIND: org-html-style-include-scripts nil But they seem to be silently ignored, though if I setq the values ahead of time, the

Re: [O] Macro expansion in new exporter

2013-02-15 Thread T.F. Torrey
Hello Nicolas, Thank your for your thoughtful reply. Nicolas Goaziou n.goaz...@gmail.com writes: tftor...@tftorrey.com (T.F. Torrey) writes: 1. You wrote before that macros were scaled back because what they did could be done by babel. Is that really a good reason for removing

Re: [O] [PATCH] Stop with an error if the LaTeX class is not known to the new exporter

2013-02-15 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: Sebastien Vauban writes: I've lost (a bit of) time looking at why my documents were wrong with the new exporter. The fact is I've customized: (setq org-e-latex-default-class myarticle) but hadn't added yet that private class to the list

Re: [O] Statistics cookies in org-store-link

2013-02-15 Thread Bastien
Hi William, William william.leche...@ens-lyon.org writes: As for a recent git version, calling org-store-link on a subtree records its statistics cookie¹ in the link, which therefore breaks if the said statistic is changed (with “no match - create this as a new heading ?”) Links not

Re: [O] suggestion: M-m should move point to first word on line

2013-02-15 Thread Bastien
Hi, Bastien b...@altern.org writes: Eric S Fraga e.fr...@ucl.ac.uk writes: this seems to cause a problem with org-ctrl-c-minus when trying to cycle a bullet point past +. That is, it works if the bullet is - so you can cycle to the next which is + but you cannot cycle past that. Attached

Re: [O] syntax table -- active dates

2013-02-15 Thread Bastien
Hi Samuel, Samuel Wales samolog...@gmail.com writes: Should the indicate sexp? Yes, this is the case now in master. Also for {...} are sexps, which ease navigating through macros. Thanks for suggesting this, -- Bastien

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Nicolas Goaziou
tftor...@tftorrey.com (T.F. Torrey) writes: I still don't see any similar options regarding MathJax. Perhaps everyone else uses MathJax, or the functionality simply hasn't been implemented yet. If only the HTML export backend maintainer were still on the list... Would you mind describing

Re: [O] Macro expansion in new exporter

2013-02-15 Thread Nicolas Goaziou
tftor...@tftorrey.com (T.F. Torrey) writes: Perhaps. We still know of no easy/straightforward way at all to replicate using babel the behavior I had (creating 'p class=foobar/p' with a macro), let alone in a pair of single lines. Here is an example. Babel specialists can help you further.

Re: [O] using export filters to emulate multi-column table cells?

2013-02-15 Thread Eric Abrahamsen
Nicolas Goaziou n.goaz...@gmail.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Nicolas Goaziou n.goaz...@gmail.com writes: I'd like to do the same for HTML, but of course the brackets in the cookie are escaped by the time this filter kicks in. Would you recommend using a

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Bastien
Hi, Nicolas Goaziou n.goaz...@gmail.com writes: tftor...@tftorrey.com (T.F. Torrey) writes: I still don't see any similar options regarding MathJax. Perhaps everyone else uses MathJax, or the functionality simply hasn't been implemented yet. If only the HTML export backend maintainer were

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Nicolas Goaziou
Bastien b...@altern.org writes: We need to make `org-html--build-mathjax-config' depends on whether there is an latex-fragment element in the parse tree. Otherwise, including the MathJAX config is useless. I've been looking at this this morning. Is there an org-element function to test

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Nicolas Goaziou
Bastien b...@altern.org writes: Nicolas Goaziou n.goaz...@gmail.com writes: (org-element-map (plist-get info :parse-tree) '(latex-fragment latex-environment) 'identity info t) I used this, but only checking against LaTeX fragments. HTML pages without LaTeX fragments will not include

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: Just to be sure we're not mis-communicating, a latex environment is the following: \begin{equation*} 2 + 2 = 4 \end{equation*} This is not to be confused with a latex block, such as: #+begin_latex \[2 + 2 = 4\] #+end_latex I

[O] New feature: export an agenda to an Org file

2013-02-15 Thread Bastien
Hi all, I've committed a feature that allows you to export your agenda buffer to an Org file. It will create a new file containing the headlines of the agenda. The headlines do not contain any children they may have. Please try the feature extensively before Org 8.0. In an agenda buffer C-x

Re: [O] [Bug] Yasnippet/Org: properties messed up when expanding $1

2013-02-15 Thread Karl Voit
* Karl Voit devn...@karl-voit.at wrote: I updated Org to latest git and I moved from Debian yasnippet to github yasnippet (latest) and I still do have this issue. So it's my set-up which is causing this effect. Damn. I guess I have to debug this by disabling parts of my config ... So a

Re: [O] [ox-ascii] Export file overwrites source file

2013-02-15 Thread Nicolas Goaziou
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: As many people, I think, I've also associated Org-mode to .txt files. Now, with the new exporter, if I export `a.txt' as plain text, it overwrites (without notice, BTW) my source file `a.txt': it's lost.

[O] new export dispatcher window

2013-02-15 Thread Skip Collins
The new export dispatcher confused me when it displayed an incomplete list of backend options. At first I thought my configuration must not be loading LaTeX and HTML properly. Then I discovered that the *Org Export Dispatcher* window does not behave well when the frame is too small. I am using the

Re: [O] [ox-ascii] Export file overwrites source file

2013-02-15 Thread Sebastien Vauban
Nicolas, Nicolas Goaziou wrote: Sebastien Vauban writes: As many people, I think, I've also associated Org-mode to .txt files. Now, with the new exporter, if I export `a.txt' as plain text, it overwrites (without notice, BTW) my source file `a.txt': it's lost. Before, in such a case,

[O] bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'

2013-02-15 Thread Bastien
Let me restate the issue: M-x mark-word RET will highlight the word at point. M-: (mark-word) RET will *not* highlight the word at point. My understanding was that interactive call of mark-word highlight the region, while non-interactive call do not highlight it. Is this wrong?

[O] Dynamic blocks in the new exporter

2013-02-15 Thread T.F. Torrey
Hello again, Does the new export framework impose new restrictions on or change the functionality of dynamic blocks? Best regards, Terry -- T.F. Torrey

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread T.F. Torrey
Hello, Nicolas Goaziou n.goaz...@gmail.com writes: tftor...@tftorrey.com (T.F. Torrey) writes: I still don't see any similar options regarding MathJax. Perhaps everyone else uses MathJax, or the functionality simply hasn't been implemented yet. If only the HTML export backend maintainer

Re: [O] Dynamic blocks in the new exporter

2013-02-15 Thread Sebastien Vauban
Hello T.F., T.F. Torrey wrote: Does the new export framework impose new restrictions on or change the functionality of dynamic blocks? I've used them quite extensively today. Did not notice anything wrong. What are you trying to tell us? Best regards, Seb -- Sebastien Vauban

Re: [O] Bug: [BUG] Interference of radio targets and external links [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-02-15 Thread Bastien
Hi, vdya...@elvees.com (Дядов Васил Стоянов) writes: I've an issue with radio targets and ordinary external links. #+begin_src org #+ATTR_HTML: border=1 frame=border style=max-width:50%; | / || || | | Test | Description|

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Sebastien Vauban
Hi T.F, T.F. Torrey wrote: (Similarly, as someone else wrote, #+HTML_STYLE would be much better named #+HTML_HEAD, given that style is just one of the many things this directive might put into the head element of the html.) I vote +1, at least if we can put anything we would put in the HTML

Re: [O] Macro expansion in new exporter

2013-02-15 Thread Nicolas Goaziou
tftor...@tftorrey.com (T.F. Torrey) writes: This almost works, I think ... #+name: snippet-awesome #+begin_src org :exports results :results raw Snippet of awesome text that changes sometimes. #+end_src #+HTML: p class=foo #+CALL: snippet-awesome :results raw #+HTML: /p ... except that

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread Bastien
Hi Terry, tftor...@tftorrey.com (T.F. Torrey) writes: However, the new HTML exporter includes the MathJax JavaScript every time, and I don't see any variable to set to suppress it. This is not the case anymore since commit 4d7f4d87. Recent posts by Bastien suggest that maybe it is supposed

Re: [O] Macro expansion in new exporter

2013-02-15 Thread Nick Dokos
T.F. Torrey tftor...@tftorrey.com wrote: ... This almost works, I think ... #+name: snippet-awesome #+begin_src org :exports results :results raw Snippet of awesome text that changes sometimes. #+end_src #+HTML: p class=foo #+CALL: snippet-awesome :results raw #+HTML: /p ...

Re: [O] Converting csv (with new lines) to org-mode.

2013-02-15 Thread Bastien
Hi Nicolas, Nicolas Richard theonewiththeevill...@yahoo.fr writes: A csv table can include newlines in its fields, which confuses the csv parser contained in org-table-convert-region. Since I had no time to patch the current implementation of org-table-convert-region, I decided to use an

Re: [O] LaTeX-export: letters after $..$ turn off math-mode

2013-02-15 Thread Bastien
Hi Greg, Greg Minshall minsh...@umich.edu writes: i'd like to plead the case of allowing the user to suppress dollar-sign behavior (or, force dollar-signs to mean math-mode). I'm attaching a patch that introduces `org-latex-escape-chars' which would allow you to bind it to something different

Re: [O] exit code editing buffer without installing the changes

2013-02-15 Thread Bastien
Hi Zech, Not To Miss not.to.m...@gmail.com writes: I know in a source code block, C-c ' will launch a buffer to edit the source code and C-c ' again will install the buffer back to the code block. Sometimes I just want to abort all the changes, so I am wondering: Is there anyway to exit the

Re: [O] obsolete function in org-bibtex.el and merges from emacs

2013-02-15 Thread Bastien
Hi Aaron, Aaron Ecay aarone...@gmail.com writes: org-bibtex.el contains a reference to longlines-mode, which is obsolete in emacs trunk since Dec. 4. When the function was made obsolete, the version of org distributed with emacs was changed to use visual-line-mode (the successor to

Re: [O] Dynamic blocks in the new exporter

2013-02-15 Thread T.F. Torrey
Hello Seb, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hello T.F., T.F. Torrey wrote: Does the new export framework impose new restrictions on or change the functionality of dynamic blocks? I've used them quite extensively today. Did not notice anything wrong. What are you

Re: [O] Macro expansion in new exporter

2013-02-15 Thread T.F. Torrey
Nicolas Goaziou n.goaz...@gmail.com writes: tftor...@tftorrey.com (T.F. Torrey) writes: This almost works, I think ... #+name: snippet-awesome #+begin_src org :exports results :results raw Snippet of awesome text that changes sometimes. #+end_src #+HTML: p class=foo #+CALL:

Re: [O] [Bug] Yasnippet/Org: properties messed up when expanding $1

2013-02-15 Thread Bastien
Hi Karl, Karl Voit devn...@karl-voit.at writes: Bugreport: https://github.com/capitaomorte/yasnippet/issues/362 You've been quick on narrowing the problem, this didn't leave me a chance to learn yasnippet! Next time :) -- Bastien

Re: [O] Links to whole files recently changed

2013-02-15 Thread Bastien
Hi François, François Pinard pin...@iro.umontreal.ca writes: In the recent days, I noticed that org-store-link, when the cursor is on the #+TITLE line of an Org file, saves the information in such a way that a later org-insert-link creates the link by repeating the title before and after ::.

Re: [O] BIND org-html-style-include-*

2013-02-15 Thread T.F. Torrey
Hello, Bastien b...@altern.org writes: Hi Terry, tftor...@tftorrey.com (T.F. Torrey) writes: However, the new HTML exporter includes the MathJax JavaScript every time, and I don't see any variable to set to suppress it. This is not the case anymore since commit 4d7f4d87. Yes. Thank you

Re: [O] [ANN] outorg.el -- reverse Org-Babel

2013-02-15 Thread Samuel Wales
Hi Thorsten, The idea is to allow the option of keeping your notes in your agenda files, so that you can do everything Org does. If you only keep them in comments, you can't do searches, for example. To do this, you put an ID in the comments. Then you have a command that will take you to the

Re: [O] Agenda export with E option (Org entry text lines)

2013-02-15 Thread Bastien
Hi Subhan, For references, I replied on the Help GNU Emacs list: http://lists.gnu.org/archive/html/help-gnu-emacs/2013-02/msg00209.html Best, -- Bastien

[O] bug#13724: Calling 'org-babel-mark-block' with 'M-x cmd' and 'M-: (cmd)'

2013-02-15 Thread Stefan Monnier
,- | M-: (org-mark-element) RET `- moves point to the beginning of source-block (body) and returns the position of point without (visibly) marking the source-block body. Indeed, thank you. Should be fixed now, thanks to the patch below,

Re: [O] Align argument in #+attr_latex for tabular env. is whitespace sensitive

2013-02-15 Thread Nicolas Goaziou
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: For my information (and not only for me, I guess), is there a fundamental reason (I guess yes) why width is a first-class parameter for tables and an option among others for images? Looking from a 50 ft

Re: [O] new export dispatcher window

2013-02-15 Thread Skip Collins
On Fri, Feb 15, 2013 at 2:47 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: I added vertical scrolling to the menu a few hours ago. Could you upgrade Org and report the results? Seems to be an improvement. Now the dispatch window uses all available space. The top of the buffer (Options) is

Re: [O] new export dispatcher window

2013-02-15 Thread Nicolas Goaziou
Skip Collins skip.coll...@gmail.com writes: But for short windows, the bottom of the buffer gets cut off. There is no way to scroll the window that I can find, either in the gui or terminal emacs. Also, in the gui I get a lot of repeated down-mouse-1 messages in the minibuffer when I click

Re: [O] LaTeX-export: letters after $..$ turn off math-mode

2013-02-15 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: Greg Minshall minsh...@umich.edu writes: i'd like to plead the case of allowing the user to suppress dollar-sign behavior (or, force dollar-signs to mean math-mode). I'm attaching a patch that introduces `org-latex-escape-chars' which would allow you

Re: [O] Bug: [BUG] Interference of radio targets and external links [7.9.3e (7.9.3e-956-g3943be.dirty @ /home/vdyadov/Work/Tools/emacs/org-mode/lisp/)]

2013-02-15 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: vdya...@elvees.com (Дядов Васил Стоянов) writes: I've an issue with radio targets and ordinary external links. #+begin_src org #+ATTR_HTML: border=1 frame=border style=max-width:50%; | / || || |