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

2014-09-27 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > Attached is a revised patch. WDYT? Looks good. Some small comments follow. > + (if value > + (progn > + (push signature record) > + (delete-region > +begin > +;;

Re: [O] [ANN] Merge export-block type within special-block

2014-09-27 Thread Aaron Ecay
Hi Nicolas, I like the thrust of your initial patch very much; I would like to help you make it happen. Here’s some discussion as you requested in a follow-up message. 2014ko abuztuak 31an, Nicolas Goaziou-ek idatzi zuen: > > Unfortunately, no, I cannot fix it. > > The problem is even deeper. I

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

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 submi

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] [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 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 outside of

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 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 an

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 writes: > >> Um...but the patch I sent works precisely by defining a macro translator, >> which does get called for any unexpanded (because undefined) macros. > > Macros are no

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 t

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?] 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. > > A

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 '\' fo

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 does

[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 starte

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 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 setting debu

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 w

[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 HTM

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 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 (containing a newline

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

2014-09-27 Thread Nicolas Goaziou
Hello, "Kyeong Soo (Joseph) Kim" 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{}, > \hyperref[]{}, & \ref{}) an

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" wrote: > Hello, > > Richard Lawrence writes: > > > Does anyone know why the behavior of "\\" is presently restricted to

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

2014-09-27 Thread Nicolas Goaziou
Hello, "Kevin D. Robbins" 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 following user defin

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Nicolas Goaziou
Hello, Richard Lawrence 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 primarily intended for Org docum

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

2014-09-27 Thread Nicolas Goaziou
Hello, Adriaan Sticker 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 auto-saving feature in src block

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 org-buff

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

2014-09-27 Thread John Kitchin
Charles Berry writes: > John Kitchin 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

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 Eca

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 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 =(funcall lang-m

[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 According to the W3 online validator this is an error. When I change it to I only get a warning. Should we worry about this? If we should, perhaps ox-html can fall back on the file-

Re: [O] Enforcing newlines in plain text export

2014-09-27 Thread Richard Lawrence
Hi Kaushal, Kaushal 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 > > I am simply

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

2014-09-27 Thread Charles Berry
John Kitchin 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 type

[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 prop

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 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 • Verify tests and do

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 wrote: > How about this? > (define-key org-mode-map [(control ?,)] 'your-lambda-expression) > > Teika (

[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 line.

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

2014-09-27 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > * ox-ascii.el (org-ascii--box-string): Choose more universal Unicode > characters for boxquote corners. Applied. Thank you. Regards, -- Nicolas Goaziou

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 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 just ex

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] [patch, ox] Unnumbered headlines

2014-09-27 Thread Nicolas Goaziou
Hello, Rasmus 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 quoted docume