[O] Klipse change removed line breaks in html export of code blocks

2017-09-14 Thread Alexander Vorobiev
Hi, I noticed that at some point source code blocks lost the line breaks in the html export. Closer investigation revealed that the reason was the change ( https://www.mail-archive.com/emacs-orgmode@gnu.org/msg113099.html) which started using html tags instead of so setting (setq org-html-keep-o

[O] v9.0 ignores org-export-babel-evaluate

2016-12-01 Thread Alexander Vorobiev
I noticed this happening with R source code blocks after the upgrade. The simple example is below. The resulting html file has different time in the "Time" section than the org file. Reverting to 8.3.6 fixes the issue. Thanks, Alex * Environment #+begin_src emacs-lisp :exports both :results out

Re: [O] Capture with org-directory not working?

2016-11-29 Thread Alexander Vorobiev
The workaround with lambda worked, thanks a lot! As I mentioned I didn't have any problems with the templates in years but they stopped working after a recent update. Alex On Tue, Nov 29, 2016 at 3:05 PM, Nick Dokos wrote: > Alexander Vorobiev writes: > > > I have recently st

Re: [O] Capture with org-directory not working?

2016-11-29 Thread Alexander Vorobiev
I have recently started having this issue with my capture templates. In my case I want to ask the user (me) which file should be used to store the note, so I have a bunch of templates like this (setq org-capture-templates '(("o" "Project todo" entry (file+headline (av/choose-agenda-fi

[O] [export] Tables in ox-reveal export

2014-02-19 Thread Alexander Vorobiev
Hi, Is it possible to control appearance of tables in reveal.js presentations created with ox-reveal? The resulting html tables appear on the left and I want to be able to have them centered. There is a comment at http://stackoverflow.com/questions/20583341/tables-and-div-elements-are-not-centred-

Re: [O] orgtble and flyspell interaction causing mem exhaustion error?

2014-02-17 Thread Alexander Vorobiev
I am seeing similar behavior with tables: if I type a bar and some text, then as soon as I enter second bar emacs freezes. Turning flyspell off seems to fix the problem. I actually see this both on Windows 7 with hunspell and on linux with aspell. I use org-mode from git on both but I haven't used

Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-24 Thread Alexander Vorobiev
Thanks, I will try and see if it can be improved. Regards, Alex On Fri, Nov 22, 2013 at 3:54 AM, Bastien wrote: > Hi Alexander, > > Alexander Vorobiev writes: > > > The patch doesn't work unfortunately. I stepped through > > x-get-selection-value in w32-common

Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-21 Thread Alexander Vorobiev
Hi Bastien, The patch doesn't work unfortunately. I stepped through x-get-selection-value in w32-common-fns.el and the correct value from the clipboard gets assigned to x-last-selected-text but then the function just returns nil (line 120). I would say x-last-selected text needs to be used somehow

Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-18 Thread Alexander Vorobiev
would be applied to the w32 data too. > Is that relevant? I don't know if w32 clipboard data can have text > properties. > > Fabrice > > > 2013/11/18 Bastien > >> Hi Alexander, >> >> Alexander Vorobiev writes: >> >> > Sorry for the mis-

Re: [O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-17 Thread Alexander Vorobiev
Hi Bastien, Sorry for the mis-formatting. Here is the patch as an attachment. Thanks, Alex On Sun, Nov 17, 2013 at 2:20 AM, Bastien wrote: > Hi Alexander, > > Alexander Vorobiev writes: > > > I noticed that %x capture template doesn't work under Windows which &g

[O] [PATCH] org-compat: Support for getting data from Windows clipboard

2013-11-16 Thread Alexander Vorobiev
I noticed that %x capture template doesn't work under Windows which made my templates non-portable, so I made this small change to org-get-x-clipboard to fix that. This is my very first patch, please let me know if it is acceptable. Thanks, Alex * lisp/org-compat.el (org-get-x-clipboard): Use w32

Re: [O] Help, I need to paste raw image from clipboard into emacs/orgmode

2013-11-06 Thread Alexander Vorobiev
Hi Klaus, I found the function very useful so I expanded it a little to have more flexible image file names. First, I use the base name of the file in the current buffer as a prefix to the image file name. Then I added an integer buffer-local variable to be the image file name's suffix (preceded b

Re: [O] Customization Survey 2013

2013-11-05 Thread Alexander Vorobiev
at 1:43 AM, Bastien wrote: > Hi Alexander, > > Alexander Vorobiev writes: > > > I tried running the function but got an error: > > Maybe you are setting variables about org-remember while not having > org-remember.el in your load-path anymore ? (It is not par

Re: [O] Customization Survey 2013

2013-11-04 Thread Alexander Vorobiev
Hi, I tried running the function but got an error: Debugger entered--Lisp error: (file-error "Cannot open load file" "org-remember") require(org-remember) mapc(require (org-agenda org-archive org-attach org-clock org-colview org-id org-remember org-table org-timer)) org-require-autoloaded-m

Re: [O] Full org-mode on unrooted Android

2013-10-10 Thread Alexander Vorobiev
t although Zhaolin works pretty well > with an external keyboard, the terminal emulator seems to have more trouble > with the soft keyboard popping up and down. I do have press ESC then Enter > to get a new org heading. ALT+Enter doesn't seem to work. > > Scot > > > &g

Re: [O] Full org-mode on unrooted Android

2013-10-09 Thread Alexander Vorobiev
There is also emacs for Android https://play.google.com/store/apps/details?id=com.zielm.emacs but after trying it and playing with some other ports of unix applications, I decided to bit the bullet and install full Ubuntu on my Galaxy Note 8 using https://play.google.com/store/apps/details?id=com.z

Re: [O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-10-07 Thread Alexander Vorobiev
te to ob-sql.el. If you have > those, then by all means, please add Netezza support and get the ball > rolling on sessions. > > All the best, > Tom > > Alexander Vorobiev writes: > > > Hi Tom, > > > > Unfortunately I can't have pure SQL output in my org f

Re: [O] Getting rid of split frame with org-capture

2013-10-03 Thread Alexander Vorobiev
I also wanted to have new pop-up org-capture window that would be created in response to some shortcut anywhere in Windows and occupied the entire frame. Since I haven't found any solutions, I just modified a function I saw in this thread: (defun make-capture-frame () "Create a new frame

Re: [O] org mode R remote code evaluation

2013-09-26 Thread Alexander Vorobiev
. Thanks, Alex On Thu, Sep 26, 2013 at 11:53 AM, Michael Albinus wrote: > Alexander Vorobiev writes: > > > Hi Michael, > > Hi Alex, > > > I can't apply the patch for some reason. > > Strange. > > > Could you send it and/or new ob-core.el as a attach

Re: [O] org mode R remote code evaluation

2013-09-25 Thread Alexander Vorobiev
Michael, I found that the patch doesn't work for sql code blocks. Here is an example * this works #+BEGIN_SRC sh :results output :dir /grid: ls #+END_SRC * this doesn't work #+BEGIN_SRC sql :engine postgresql :dir /grid: :results output select 1+2 as three; #+END_SRC and here is what appear

Re: [O] org mode R remote code evaluation

2013-09-24 Thread Alexander Vorobiev
Outside of org/babel setup-cygwin has no effect on Tramp. Thanks, Alex On Tue, Sep 24, 2013 at 1:40 PM, Michael Albinus wrote: > Alexander Vorobiev writes: > > > Hi Michael, > > Hi Alex, > > > Here it is. > > Thanks. I believe, the following patch shall cure it: >

Re: [O] org mode R remote code evaluation

2013-09-24 Thread Alexander Vorobiev
Here is what I have: ELISP> emacs-version "24.3.1" ELISP> tramp-version "2.2.7" ELISP> org-version "8.2" Thanks, Alex On Tue, Sep 24, 2013 at 7:57 AM, Michael Albinus wrote: > Alexander Vorobiev writes: > > > The ":results output&q

Re: [O] org mode R remote code evaluation

2013-09-23 Thread Alexander Vorobiev
The ":results output" doesn't help in my setup (I'm on Windows, the remote system is linux, access is via putty/plink) #+BEGIN_SRC sh :results output :dir /grid: ls #+END_SRC executing Sh code block... Tramp: Encoding region using function `base64-encode-region'...done Tramp: Decoding region in

Re: [O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-09-19 Thread Alexander Vorobiev
#+begin_src R :session *R* :noweb yes result <- submit_query(" <>") #+end_src It doesn't look as nice as before but it works. Alex On Wed, Sep 18, 2013 at 7:43 PM, Alexander Vorobiev < alexander.vorob...@gmail.com> wrote: > Hi Tom, > > Unfortunately I can&#x

Re: [O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-09-18 Thread Alexander Vorobiev
> > For me, seeing the SQL output in a table is a sanity check. > > hth, > Tom > > Alexander Vorobiev writes: > > > I have R code which submits SQL statements to a database server. Since > the > > SQL is rather complex, I want to put it into a separate c

[O] [Babel][R] Inclusion of multi-line named code blocks in R code

2013-09-18 Thread Alexander Vorobiev
I have R code which submits SQL statements to a database server. Since the SQL is rather complex, I want to put it into a separate code block in order to have proper formatting, syntax highlighting, etc: #+name: long-sql #+begin_src sql select * from many, tables where complex_

Re: [O] Org-mode outside Org-mode

2013-04-24 Thread Alexander Vorobiev
First of all, thank you for the tutorial and the code! Outshine has become a major component of my workflow, I use it in all my source code buffers (sql, R, elisp). I have one question/proposal regarding key bindings. Outshine binds TAB to outshine-cycle-subtree which only does something useful (c

Re: [O] LaTeX export problem

2012-09-24 Thread Alexander Vorobiev
n Mon, Sep 24, 2012 at 4:15 PM, Nicolas Goaziou wrote: > Hello, > > Alexander Vorobiev writes: > >> Here is my configuration section (it goes at the end of the org file). >> Nothing in the LaTeX_HEADER lines gets inserted into output tex >> document. The old

Re: [O] New exporter doesn't like #+LaTeX_CLASS

2012-09-24 Thread Alexander Vorobiev
Richard, See the discussion in the following thread http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg00505.html. It has a lot of helpful hints on the new exporter. Alex On Mon, Sep 24, 2012 at 12:46 PM, Richard Stanton wrote: > To get my favorite default sty files loaded with org mode

Re: [O] LaTeX export problem

2012-09-24 Thread Alexander Vorobiev
ent} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.1.}} \begin{document} \maketitle Thanks Alex On Sat, Sep 22, 2012 at 3:07 AM, Nicolas Goaziou wrote: > Hello, > > Alexander Vorobiev writes: > >> I tried the new exporter (usin

Re: [O] LaTeX export problem

2012-09-21 Thread Alexander Vorobiev
e the new LaTeX exporter? Thanks Alex On Fri, Sep 21, 2012 at 3:48 AM, Bastien wrote: > Hi Alexander, > > Alexander Vorobiev writes: > >> Could you point us to any documentation on how to switch to the new >> exporter? > > Add contrib/lisp to your load-path. >

Re: [O] LaTeX export problem

2012-09-20 Thread Alexander Vorobiev
Hi, I am having similar problems with LaTeX export. I am exporting source code snippets (XML) which has many variables with underscores in their names. At some point in the process of switching to more recent Org the export started producing incorrect LaTeX so the generation of PDF fails, therefor

Re: [O] R and babel on Windows problem

2012-06-29 Thread Alexander Vorobiev
t 10:24 AM, John Hendy wrote: > On Fri, Jun 29, 2012 at 9:59 AM, Alexander Vorobiev > wrote: > > John, > > > > Do you have native Windows emacs or cygwin emacs? I use native emacs on > XP > > with the latest released ess and org-mode, and have no problems with &

Re: [O] R and babel on Windows problem

2012-06-29 Thread Alexander Vorobiev
John, Do you have native Windows emacs or cygwin emacs? I use native emacs on XP with the latest released ess and org-mode, and have no problems with calling R from babel. I do not set the org-babel-R-command which has its default value "R --slave --no-save" and let ess find path to R on my syste

[O] Exporting to PDF using Windows Emacs and Cygwin TexLive

2012-06-04 Thread Alexander Vorobiev
Hi, I am trying to use Cygwin's TexLive for PDF generation. The problem is that it does not seem to understand Windows paths: This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011/Cygwin) \write18 enabled. entering extended mode ! I can't find file `c:/alex/prj/test.tex'. Is it possible

Re: [O] Org-mode version 7.8.05 (release_7.8.05.19.gb32d.dirty) `org-agenda-filter' bug pushing to mobile

2012-03-20 Thread Alexander Vorobiev
Hi, I have just downloaded zip for 7.8.06 and the org-mobile.el's line (org-agenda-filter org-agenda-filter) is still there, had to apply the patch to make org-mobile-push work. Thanks Alex On Mon, Mar 19, 2012 at 8:37 PM, Bastien wrote: > Nick Bell writes: > > > Using the above version, neede

Re: [O] OrgMobile problem: only three files in checksums.dat

2012-03-18 Thread Alexander Vorobiev
quot;\n" "'\n'" (replace-regexp-in-string "[^-0-9a-zA-Z_./\n:]" "\\&" argument) Regards, Alex On Sat, Mar 17, 2012 at 10:50 PM, Alexander Vorobiev < alexander.vorob...@gmail.com> wrote: > Hi, > > I have many files in the

[O] OrgMobile problem: only three files in checksums.dat

2012-03-17 Thread Alexander Vorobiev
Hi, I have many files in the org-mobile-files list. On org-mobile-push all of them are copied to my MobileOrg directory, syncronized via Dropbox to my phone, etc. But the file checksums.dat always has only three lines - for files index.org, mobileorg.org, and agendas.org. The org-mobile-checksum-f

[O] permanent LaTeX preview

2011-09-29 Thread Alexander Vorobiev
Hi, Is it possible to stop rendered (with C-c C-x C-l) formulas from reverting back to LaTeX source in case of: 1. Pressing C-c C-x C-l to render a formula in other part of the document. All other formulas revert to LaTeX code in that case. 2. Pressing C-c C-c to, for instance, evaluate some babe

[O] using Cygwin Gnuplot with org-babel-gnuplot

2011-09-28 Thread Alexander Vorobiev
Hi, It is mentioned in http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-gnuplot.html#sec-2_1 that there were some problems with gnuplot on Windows machines. I came up with a small fix which makes it possible to use Cygwin version of gnuplot with org-mode. The change is in the org-babel-e