Re: [O] Slow usage of capture templates

2017-08-02 Thread Johan Ekh
Hi, thanks, but I have 25.2.1 so that will not solve it for me. I'm using several platforms, including Linux, Windows and Cygwin. Only seen this problem n Cygwin, which of course is the platform I need to use at work... On Wed, Aug 2, 2017 at 8:51 AM, Nicolas Goaziou wrote: > Hello, > > Johan Ek

Re: [O] Bug: Git repository doesn't ignore contributed lisp/*.el files [9.0.9 (release_9.0.9-690-g27e5be @ /home/cassou/.emacs.d/lib/org/lisp/)]

2017-08-02 Thread Nicolas Goaziou
Hello, Damien Cassou writes: > I've just cloned the repository and ran this command: > > make compile autoloads info ORG_ADD_CONTRIB="org-notmuch" > > Now, the lisp/ directory contains both org-notmuch.el and > org-notmuch.elc. My problem is that the former is not ignored by git and > my rep

Re: [O] Slow usage of capture templates

2017-08-02 Thread Johan Ekh
Hi again, I googled and found this. (setq x-select-enable-clipboard nil x-select-enable-primary t) It improves the situation but capture is still painfully slow. Any ideas? / Johan On Wed, Aug 2, 2017 at 9:10 AM, Johan Ekh wrote: > Hi, thanks, > but I have 25.2.1 so that will not solve

[O] [feature-request] make org-quote-csv-field customizable

2017-08-02 Thread Thomas von Dein
Hello, currently when exporting a table to CSV, fields are quoted automatically if they contain a comma or a quote character. The regexp for this determination is hard-coded in 'org-quote-csv-field. This is good for most use cases. However, if you want to import such a CSV with MS Excel then some

Re: [O] Slow usage of capture templates

2017-08-02 Thread Adam Porter
This isn't much help, but the best suggestion I have is to try the non-Cygwin, native Windows build. I use the Cygwin build myself, but it is inherently slow compared to Linux builds for some reason. It takes probably 10-20 times as long to startup, and everything I do it in it is slow compared t

[O] problem running certain matlab code

2017-08-02 Thread Uwe Brauer
Hello Using GNU emacs 26 and the latest orgmode (git), I have problem executing the followting matlab code clear all C =[ 7 , 8 , 9 , 10 ] latexarray(C,'format','%3.3f') I can execute the matlab code in a matlab shell or in an emacs matlab shell as provided by by matlab.el. Latexarr

[O] exporting org to latex, execute matlab before exporting

2017-08-02 Thread Uwe Brauer
Hello Take the following example * Test section This is a test #+begin_src matlab :results output latex :exports results X=[1,2,3,4,5,6,7]; p=[1/7 1/7 1/7 1/7 1/7 1/7 1/7]; E=X*p'; x2=X.*X; E2=x2*p'; V=E2-E^2; disp('\begin{align}') fprintf('E[X]&=%g \n', E) fprintf('E^2[X]&=%g\n', E2) fp

[O] Determine min/max values in a table

2017-08-02 Thread Karl Voit
Hi! How can I determine minimum and/or maximum value of a table? Here is my example: #+NAME: myvalues | Values | || | 4 | | 2 | | 3 | | 7 | | 5 | | 6 | | Min| Max| Average | First | Last | |++-+---+--| | #ERROR | #ERR

[O] Bug: Wrong type argument: integer-or-marker-p, nil on refile

2017-08-02 Thread Michaël Cadilhac
Hi there everyone; Here's the ECM. init.el: (require 'org) (setq org-refile-use-outline-path (quote file)) Now open an Org file, say foo.org, and type C-u C-c C-w foo.org/ RET At org.el:11832, pos is nil. Cheers; M.

Re: [O] Slow usage of capture templates

2017-08-02 Thread Johan Ekh
Thanks Adam I've tried the native windows version and it does not have this problem. But I'm an old school Linux user that is forced to use windows at work. I've managed to set up Cygwin and it works quite well, in fact I think Emacs is working very well except for the issue in this post. Not slow

[O] Finding calc/elisp methods (was: Determine min/max values in a table)

2017-08-02 Thread Karl Voit
Hi, * Karl Voit wrote: > > How can I determine minimum and/or maximum value of a table? > > Here is my example: > > #+NAME: myvalues >| Values | >|| >| 4 | >| 2 | >| 3 | >| 7 | >| 5 | >| 6 | > >| Min| Max| Average | First | Last | >|++

Re: [O] Just sharing another orgmode use: usability tests

2017-08-02 Thread Karl Voit
* Eduardo Mercovich wrote: > > + automatic task clocking, including automated time stamping of > every observation. You seem to use headings for any events. If list items does the trick as well, you can take a look at timers for doing the clocking thing: http://orgmode.org/manual/Timers.html

[O] refile workflow -- move to same heading in different file?

2017-08-02 Thread Raymond Zeitler
How do I customize org to refile from one file to another? I am baffled that org-refile is not set up to do this out-of-the-box. versions: Org mode version 9.0.9 (9.0.9-30-g796a78-elpa @ c:/Users/rayz/AppData/Roaming/RZHOME/.emacs.d/elpa/org-20170703/) GNU Emacs 25.2.1 (x86_64-w64-mingw32) o

[O] run bash sessions without config files

2017-08-02 Thread Tyler Smith
Hi, I use shell-mode a lot, and have a very complex prompt, coloured with escape codes and lots of bells and whistles. This appears to confuse org-babel when I'm running code blocks in a session, similar to what's described here: https://emacs.stackexchange.com/questions/19735/emacs-freezes-with-

Re: [O] Happily exporting LaTeX, now want to export to text and HTML, can't figure how to handle latex markup

2017-08-02 Thread Berry, Charles
> On Aug 1, 2017, at 10:20 PM, Grant Rettke wrote: > > Good morning, > > I'm happily exporting an Org-Mode document to LaTeX using the nifty > `letterine' package. An example is attached. Writing using it has been > so fun that naturally now I want to export it both to text and HTML. > My sourc

Re: [O] Finding calc/elisp methods

2017-08-02 Thread Nick Dokos
Karl Voit writes: > ... > Leslie helped here by mentioning vmin/vmax which is that obvious > that I do feel embarrassed now ;-) > > #+TBLFM: > @2$1=vmin(remote(myvalues,@2$1..@>$1))::@2$2=vmax(remote(myvalues,@2$1..@>$1))::@2$3=vmean(remote(myvalues,@2$1..@>$1))::@2$4=remote(myvalues,@2$1)::@2$5

Re: [O] Finding calc/elisp methods

2017-08-02 Thread Adonay Felipe Nogueira
Hi, you can find such information in the Calc Mode info pages: [[info:calc]] Avoid the commands between parenthesis which start with "calc-" because these are actually Emacs Lisp procedures --- if you would really need to use such, you would have to write the formula as a Emacs Lisp notation and

[O] Bug: org-tag-alist defcustom does not allow ("tag") [9.0.9 (9.0.9-40-gb7fdc3-elpaplus @ elpa/org-plus-contrib-20170710/)]

2017-08-02 Thread Allen Li
`org-tag-alist' and `org-tag-persistent-alist' defcustom types are not set up to accept non-cons cell tags like ("tag"). Emacs : GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8), modified by Debian Package: Org mode version 9.0.9 (9.0.9-40-gb7fdc3-elpaplus @ elpa/org-plus-contrib-20170

[O] [PATCH] org.el: Allow tags without keys in customization

2017-08-02 Thread Allen Li
* lisp/org.el (org-tag-alist, org-tag-persistent-alist): Add non-keyed tag type. --- lisp/org.el | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 335d6c48a..28b206d99 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3456,8 +3456,10 @@ See

Re: [O] [PATCH] ob-vala.el: Add Vala support to Babel

2017-08-02 Thread Christian Garbs
Hi, On Wed, Aug 02, 2017 at 12:03:50AM +0200, Nicolas Goaziou wrote: > Christian Garbs writes: > > Some of your proposed changes apply to ob-C.el as well. I could > > prepare a different patch for that (under which topic?), > > Depending on the size of the changes, it could be "Tiny changes",

Re: [O] Determine min/max values in a table

2017-08-02 Thread Thierry Banel
Le 02/08/2017 14:07, Karl Voit a écrit : > Hi! > > How can I determine minimum and/or maximum value of a table? > > Here is my example: > > #+NAME: myvalues > | Values | > || > | 4 | > | 2 | > | 3 | > | 7 | > | 5 | > | 6 | > > | Min| Max| Average | Firs

[O] setting local variables

2017-08-02 Thread Eric Abrahamsen
Hi there, I'm writing an Emacs manual in Org, using https://github.com/tarsius/ox-texinfo-plus to make things a bit easier. I'm trying to locally set `sentence-end-double-space' to t, to conform to the Emacs manual style. If I set it at the top of the file with: -*- sentence-end-double-space: t

Re: [O] setting local variables

2017-08-02 Thread Kaushal Modi
On Wed, Aug 2, 2017, 5:54 PM Eric Abrahamsen wrote: > > I'm trying to locally set `sentence-end-double-space' to t, to conform > to the Emacs manual style. If I set it at the top of the file with: > > -*- sentence-end-double-space: t -*- > It should be the very first line and prefixed with Org c

Re: [O] Slow usage of capture templates

2017-08-02 Thread Tim Cross
Probably no real help, but win10 is (or soon will be) bundling in bash shell, which may address many of the reasons to use Cygwin. From posts I've seen on a number of lists, I would not be surprised to see cygwin slowly decline into obscurity. I see little interest in the emacs devel list for cygw

Re: [O] setting local variables

2017-08-02 Thread Eric Abrahamsen
Kaushal Modi writes: > On Wed, Aug 2, 2017, 5:54 PM Eric Abrahamsen wrote: > > I'm trying to locally set `sentence-end-double-space' to t, to conform > to the Emacs manual style. If I set it at the top of the file with: > > -*- sentence-end-double-space: t -*- > > It should be the very first

Re: [O] Happily exporting LaTeX, now want to export to text and HTML, can't figure how to handle latex markup

2017-08-02 Thread Jeremie Juste
Hello > > Putting together a macro seems like the best option. Recall that you > can use elisp in macros by placing it between `(eval’ and `)', so the > following emits “def’ in all but latex exports and “abc” for latex. > Yes I found this nice piece of code It switches to svg if backend

Re: [O] Just sharing another orgmode use: usability tests

2017-08-02 Thread Eduardo Mercovich
Hi Karl. + automatic task clocking, including automated time stamping of every observation. You seem to use headings for any events. If list items does the trick as well, you can take a look at timers for doing the clocking thing: http://orgmode.org/manual/Timers.html Totally agree, that'