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

2014-09-27 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Thanks for all time you've put into the comments. I appreciate it, and I will try to revise the patches over the weekend. Thanks. Again, there's no rush. I worry about this approach based on some observations Alan sent off-list. When you export the

Re: [O] How to re-bind C-,?

2014-09-27 Thread Teika Kazura
How about this? (define-key org-mode-map [(control ?,)] 'your-lambda-expression) Teika (Teika kazura)

Re: [O] Boxquote for code in UTF-8 export

2014-09-27 Thread Nicolas Goaziou
Hello, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: * ox-ascii.el (org-ascii--box-string): Choose more universal Unicode characters for boxquote corners. Applied. Thank you. Regards, -- Nicolas Goaziou

[O] line numbers in a code block?

2014-09-27 Thread John Kitchin
Does anyone know a way to get dedicate line numbers in an org code block? I know how to get buffer code lines, but when we run a code block and there is an error, the error line number is relative to line 1 of the code block. Currently, we type C-c ' to get a code buffer, and navigate to the

Re: [O] How to get the link the point is on?

2014-09-27 Thread Sebastien Vauban
Marcin Borkowski wrote: On 2014-09-25, at 23:50, Thorsten Jolitz wrote: Marcin Borkowski mb...@wmi.amu.edu.pl writes: my question is as in subject. It is done by org-open-at-point (somehow), but the logic seems to be buried in that function. What I'd like to have is a function that would

Re: [O] How to re-bind C-,?

2014-09-27 Thread Grant Rettke
That works as expected. Thank very much Jorge and Teika. Bit of a mystery why that local-set-key didn't work; and I'm OK with it remaining so :). On Sat, Sep 27, 2014 at 7:30 AM, Teika Kazura te...@gmx.com wrote: How about this? (define-key org-mode-map [(control ?,)] 'your-lambda-expression)

Re: [O] Header Arguments of Code Blocks - problems and challenges

2014-09-27 Thread Grant Rettke
On Fri, Sep 26, 2014 at 3:20 AM, Rainer M Krug rai...@krugs.de wrote: OK - I hope we can geth this going and make a usefull contribution to org babel, Three ideas for ways work on this: • Purely technically driven • Learn the current test framework • Identify property permutations •

[O] How to export to S5 HTML presentation

2014-09-27 Thread Jay Iyer
Hi, I would like to use the S5 backend for HTML presentations but I am not able to figure out how: (1) to set up headlines for incremental slide builds and (2) to add speaker notes. I spent a lot of time on the mailing list archive and other places but couldn’t find clear instructions on what

Re: [O] line numbers in a code block?

2014-09-27 Thread Charles Berry
John Kitchin jkitchin at andrew.cmu.edu writes: Does anyone know a way to get dedicate line numbers in an org code block? I know how to get buffer code lines, but when we run a code block and there is an error, the error line number is relative to line 1 of the code block. Currently, we

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Richard Lawrence
Hi Kaushal, Kaushal kaushal.m...@gmail.com writes: I am requesting a consistent solution. If // at the end of a line inserts newline when exporting in all formats, then it should do the same when used in between a line too for ALL export formats. Example: #+TITLE: Line one // Line two

[O] [bug, ox-html] Invalid html output

2014-09-27 Thread Rasmus
Hi, Using emacs -q an exporting the following document using ox-html * h1 The html contains title/title According to the W3 online validator this is an error. When I change it to title /title I only get a warning. Should we worry about this? If we should, perhaps ox-html can

Re: [O] Bug: Export to html inserts strange unicode characters at line breaks because of fci-mode [8.2.7c (8.2.7c-64-g01f736-elpa @ /home/kmodi/.emacs.d/elpa/org-20140915/)]

2014-09-27 Thread Aaron Ecay
Hi Nicolas and Kaushal, 2014ko irailak 26an, Nicolas Goaziou-ek idatzi zuen: Hello, Kaushal kaushal.m...@gmail.com writes: I have fci-mode installed and enabled for programming modes. When org exports to html, htmlize figures out the syntax highlighting of the code by calling

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Aaron Ecay
Hi Ken, 2014ko irailak 26an, Ken Mankoff-ek idatzi zuen: debug-on-error doesn't help because there isn't actually an error as far as I can tell. It is a bug, not an error. Nothing shows up in *Messages* How about setting debug-on-quit and hitting C-g when the prompt shows up? -- Aaron Ecay

Re: [O] line numbers in a code block?

2014-09-27 Thread John Kitchin
Charles Berry ccbe...@ucsd.edu writes: John Kitchin jkitchin at andrew.cmu.edu writes: Does anyone know a way to get dedicate line numbers in an org code block? I know how to get buffer code lines, but when we run a code block and there is an error, the error line number is relative to

Re: [O] line numbers in a code block?

2014-09-27 Thread John Kitchin
I came up with a reasonable solution to this that I think is pretty nice. It doesn't put linenumbers on the src block, but it does something even better! The gist is to write the block to a temporary file, then run pyflakes, pep8 and pylint on it. The output of those goes into a temporary

Re: [O] autosave in org-src buffer only works ones

2014-09-27 Thread Nicolas Goaziou
Hello, Adriaan Sticker adriaan.stic...@gmail.com writes: Hi, is it possible that these function cause the buffer automatically scrolling when saving? When I save My buffer jumps/scrolls up so that my cursor is on the last row on my screen. I do not understand. Are you saying that

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Nicolas Goaziou
Hello, Richard Lawrence richard.lawre...@berkeley.edu writes: Does anyone know why the behavior of \\ is presently restricted to appearing at the end of the line in a paragraph? I certainly can see a good reason for it, although I don't know if it is the historical one. Org syntax is

Re: [O] Is it possible to export Org properties as ODT user defined fields?

2014-09-27 Thread Nicolas Goaziou
Hello, Kevin D. Robbins krobb...@alumni.princeton.edu writes: I would like to export some Org document properties as ODT user defined fields for use in ODT templates. For example, it would be great if something like #+ODT_FIELD: FOO:17 BAR:Hello, world! in the Org document exported the

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Kaushal
I needed to have multi line titles exported in all formats consistently and that's when I need to use '\\' mid-line. -- Kaushal Modi On Sep 27, 2014 5:16 PM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Richard Lawrence richard.lawre...@berkeley.edu writes: Does anyone know why the

Re: [O] Changed behaviours of LaTeX exporter in version 8.0+

2014-09-27 Thread Nicolas Goaziou
Hello, Kyeong Soo (Joseph) Kim kyeongsoo@gmail.com writes: Below I provide ECM for LaTeX cross-referencing you requested, which itself summarizes the issues in the current export engine: We see that there are mix of results for different cases of heading title (i.e., \texttt{},

Re: [O] Bug: aborting capture to new file leaves 1-byte file behind [8.2.7c]

2014-09-27 Thread Nicolas Goaziou
Hello, Ben Winslow r...@bluecherry.net writes: I'm using a capture template to create a new file (via read-file-name) with some pre-filled #+STARTUP options. I'm using immediate-finish, but while I was setting it up I noticed that captures to a new file will leave behind a 1-byte file

[O] How to extend the HTML exporter for e-learning stuff

2014-09-27 Thread Marcin Borkowski
Hi list, some time ago i asked about extending the exporter, but I did not experiment with it yet. Now the time has come - I'll need to generate some HTML + CSS + JS e-learning materials, and I want to do it with Org-mode. I think I'll manage the CSS and JS parts, but what gets tricky is the

Re: [O] How to utilize the vc package inside of the edit source block buffer?

2014-09-27 Thread Grant Rettke
Thank you Aaron and Jonathan. Here is what I did: (defadvice vc-next-action (before vc-next-action-in-org-src-block last activate) If in org source block, exit it. (when (condition-case nil (org-src-in-org-buffer) (error nil)) (org-edit-src-exit))) I had trouble

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
On Sep 27, 2014, at 15:27, Aaron Ecay aarone...@gmail.com wrote: Hi Ken, 2014ko irailak 26an, Ken Mankoff-ek idatzi zuen: debug-on-error doesn't help because there isn't actually an error as far as I can tell. It is a bug, not an error. Nothing shows up in *Messages* How about

[O] Bug: Buffer restriction lost with org-agenda-sticky enabled

2014-09-27 Thread Thomas Morgan
Dear Org mode hackers, I discovered a bug where refreshing a sticky agenda view can cause a buffer restriction to be lost. I'm using the maint branch of Org-mode version 8.2.7c (`release_8.2.7c-85-g4f4002') and GNU Emacs 24.3.1 (`x86_64-unknown-linux-gnu', X toolkit, Xaw3d scroll bars). I

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Aaron Ecay
Hi Ken, 2014ko irailak 27an, Ken Mankoff-ek idatzi zuen: How about setting debug-on-quit and hitting C-g when the prompt shows up? Still nothing in *Messages*. I know this is related to fill-paragraph, because that triggers this too, even if used below the CAPTION line. CAPTION doesn't let

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Alexis
Richard Lawrence writes: Does anyone know why the behavior of \\ is presently restricted to appearing at the end of the line in a paragraph? Does anyone need it to be exported literally when it appears elsewhere? When exporting code listings in any programming language which uses '\' for

Re: [O] [bug?] org-copy-face doesn’t add faces to org-faces customize group

2014-09-27 Thread Aaron Ecay
Hi Seb, 2014ko irailak 23an, Sebastien Vauban-ek idatzi zuen: OK, thanks for the followup. I’m attaching the patch to this email. If I don’t hear any further feedback, I’ll commit it to master in a few days. I'd say: commit it now, so that it really gets to a broad audience. Anyway,

Re: [O] Call speed-commands with prefix-arg?

2014-09-27 Thread Aaron Ecay
Hi Thorsten, 2014ko irailak 23an, Aaron Ecay-ek idatzi zuen: 2. when not edebugging, C-u 4 : seems to work in both Org and Outshine - All tags realigned to column 0 Good. :) I pushed this patch to the master branch. Thanks for testing it out. -- Aaron Ecay

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
* On 2014-09-27 at 21:02, Aaron Ecay wrote: Hi Ken, 2014ko irailak 27an, Ken Mankoff-ek idatzi zuen: How about setting debug-on-quit and hitting C-g when the prompt shows up? Still nothing in *Messages*. I know this is related to fill-paragraph, because that triggers this too, even if

Re: [O] [RFC] [PATCH] Warn about unexpanded macros on export

2014-09-27 Thread Aaron Ecay
Hi Nicolas, Thanks for the feedback. 2014ko irailak 23an, Nicolas Goaziou-ek idatzi zuen: Hello, Aaron Ecay aarone...@gmail.com writes: Um...but the patch I sent works precisely by defining a macro translator, which does get called for any unexpanded (because undefined) macros.

Re: [O] [RFC] [PATCH] Warn about unexpanded macros on export

2014-09-27 Thread Aaron Ecay
Hi Rasmus, 2014ko irailak 23an, Rasmus-ek idatzi zuen: Hi, Aaron Ecay aarone...@gmail.com writes: You have two options. Either report an error, as you suggested, or insert an obnoxious message in the output, e.g., UNKNOWN MACRO, à la DEFINITION NOT FOUND. for footnote definitions. In

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-09-27 Thread Aaron Ecay
Hi Nicolas, 2014ko irailak 23an, Nicolas Goaziou-ek idatzi zuen: Hello, Aaron Ecay aarone...@gmail.com writes: Thanks for all your feedback. The patch is now applied on master. Thank you. I’m confused about how ‘org-latex--wrap-label’ works. It tries to put \label commands

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
* On 2014-09-27 at 23:45, Ken Mankoff wrote: I find it strange that y'all can't re-create this since I can do it with emacs -Q, although perhaps it is specific to the emacs-mac port. Just checked and it isn't in latest emacs HEAD. I'll submit a bug report to the emacs-mac project. -k.

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-27 Thread Ken Mankoff
* On 2014-09-28 at 00:27, Ken Mankoff wrote: * On 2014-09-27 at 23:45, Ken Mankoff wrote: I find it strange that y'all can't re-create this since I can do it with emacs -Q, although perhaps it is specific to the emacs-mac port. Just checked and it isn't in latest emacs HEAD. I'll submit a

Re: [O] [RFC] [PATCH] [babel] read description lists as lists of lists

2014-09-27 Thread Aaron Ecay
Hi Nicolas, 2014ko irailak 26an, Nicolas Goaziou-ek idatzi zuen: Why? Babel’s representation is for babel. Which I strongly frown upon. Let’s back up a step. The representation I am targeting with my change is what babel uses to ship a list off as input to code in a babel block. This