Re: [O] Org mode for the new guy.

2015-02-21 Thread Thierry Banel
Cool! You may share on the Worg site. Look here for easy instructions: http://orgmode.org/worg/worg-about.html Le 21/02/2015 04:31, Garrett Fuller a écrit : I am still learning how to use emacs. When I was learned about org mode, I was really excited. I found it very difficult to extract the

Re: [O] table formula help...

2015-01-25 Thread Thierry Banel
Le 07/12/2014 04:25, Eric Abrahamsen a écrit : Now I'd like to do more calculations based on the rows in the sum(Chars) and sum(Lines) columns. The new version of Aggregate supports adding new columns in the aggregated table.  This can

Re: [O] Bug: Proposed new version of ob-C.el [8.3beta (release_8.3beta-944-g830cf3 @ /Users/snapp/.emacs.d/vendor/org/)]

2015-04-02 Thread Thierry Banel
Le 01/04/2015 00:14, Nick Dokos a écrit : I was thinking of an ob-C.el customizable variable that is set by default to some useful list of includes, not file-settable things. But I'm probably the last person you should ask about what is useful here. Real users should speak up. I think

Re: [O] searching for csv utilities

2015-06-04 Thread Thierry Banel
You may want to consider a slightly different approach. It may (or maynot) be relevant depending on your context. First, denormalize your table into a fact table (which is handy when dealingwith cubes): #+name: data | date | type | q | |--+---+-| |

Re: [O] [feature request] org-capture-window-setup to stop capture window taking up whole frame

2015-06-08 Thread Thierry Banel
You might want to investigate the display-buffer-alist variable. This article may help: http://www.lunaryorn.com/2015/04/29/the-power-of-display-buffer-alist.html Also of interest: M-x winner-mode, then C-c left and C-c right (kind of undo-redo for

Re: [O] [OT] djvu?

2015-05-31 Thread Thierry Banel
Off topic, but, interesting question anyway. You can compress pictures taken by your phone. A shrinking of 2 or 4, or more can be obtained with no visible difference. You can also collect a set of pictures in a single djvu album. The viewer (djview) is able to zoom very fast. Unfortunately

Re: [O] [ANN] orgtbl-join

2015-08-16 Thread Thierry Banel
Le 05/08/2015 02:00, Bastien Guerry a écrit : Hi Thierry, Thierry Banel tbanelweb...@free.fr writes: I am glad to announce the orgtbl-join package. this is really nice. Would you be okay to add this to Org's core feature for Org 8.3? Of course I'm okay. As 8.3 is already out, it should

Re: [O] [ANN] orgtbl-join

2015-08-20 Thread Thierry Banel
make doc C-u C-h i doc/org goto node Joining tables Thierry From 44507a06d5213ca986bd901c50fb96915a208ef4 Mon Sep 17 00:00:00 2001 From: Thierry Banel tbanelweb...@free.fr Date: Mon, 17 Aug 2015 14:45:50 +0200 Subject: [PATCH] Add table joining feature * org-tbljoin.el (orgtbl-join

Re: [O] emacs & org mode for scholars questions

2015-09-05 Thread Thierry Banel
Le 05/09/2015 02:29, John Kitchin a écrit : > Thanks. org-ref has been pretty stable lately, and given my fall > schedule it is likely to stay that way ;) > > It might be ready for MELPA. I don't have a lot of experience packaging > for MELPA. Is there a set of instructions on how to do that

Re: [O] convert a simple list of lines each to a orgmode header

2015-10-01 Thread Thierry Banel
No problem, this thread was useful: I learned C-c * and C-c - on region. Le 29/09/2015 15:13, Kaushal Modi a écrit : Christian is correct. Selecting a region and doing `C-c *` *does* work. Please ignore my

[O] fix bug in ascii plot

2015-12-14 Thread Thierry Banel
esult with the fix: | 1 | | | 2 | WW | | 3 | | #+TBLFM: $2='(orgtbl-ascii-draw $1 1 3 12) >From 19f0712d8bdefb76f54218068599b5abce6b18b9 Mon Sep 17 00:00:00 2001 From: Thierry Banel <tbanelweb...@free.fr> Date: Mon, 14 Dec 2015 22:22:03 +0100 Subject: [PATCH] Fix

Re: [O] [RFC] Removal of [1]-like footnotes

2015-12-19 Thread Thierry Banel
I vote "yes". It was annoying to see bracketed numbers as links to nowhere.   The Nobel prize for the detection of the neutrino [1995] was   Frederick Reines and the prizes for the discovery of neutrino   oscillations [2015]

Re: [O] syntax for remote table/cell references

2015-11-30 Thread Thierry Banel
You may want to give the orgtbl-aggregate package a try. (Available on http://melpa.org, documentation here: https://github.com/tbanel/orgaggregate) It creates the following table: #+BEGIN: aggregate :table "grades" :cols "Precis count()" | Precis | count() | |-+-| | A-

Re: [O] ob-C doesn't support load libraries

2016-06-10 Thread Thierry Banel
Change the first line to   #+BEGIN_SRC C :libs -lm This instructs the C++ compiler to link with the "m" library (mathematical functions). You need a pretty new version of ob-C.el, as the :libs parameter was introduced recently.

Re: [O] Require feedback on an idea: move to a central server all my org file and edit from there?

2016-01-23 Thread Thierry Banel
Syncthing is your own cloud. Released under the Mozilla Public License. Le 23/01/2016 20:46, Peter Davis a écrit : > I use Dropbox for this purpose. It works perfectly and is completely > transparent. > > -pd >

Re: [O] Problem using org-sbe

2016-02-21 Thread Thierry Banel
Try typing C-c C-c on the line (defun fibbd ...) This will actually define fibbd. Then update the table with C-u C-c * Le 21/02/2016 06:24, Bachir El Khadir a écrit : > Hello all, > I am new to org-mode. I have just installed the latest version using > el-get, but I am having a very

Re: [O] org-babel C math.h issue

2016-03-11 Thread Thierry Banel
m I missing anything? Oz On Fri, Mar 11, 2016 at 1:52 PM, Thierry Banel <tbanelweb...@free.fr> wrote: To summarize this thread: It seems there was an issue long ago. Versio

Re: [O] org-babel C math.h issue

2016-03-11 Thread Thierry Banel
To summarize this thread: It seems there was an issue long ago. Version 5 of GCC magically fixed it. But it is still here for older compilers. - To debug, execute the following piece of lisp code: (defadvice org-babel-eval (before xxx (cmd body)) ""

Re: [O] [PATCH] org-babel C math.h issue

2016-03-20 Thread Thierry Banel
(libs (mapconcat 'identity >(if (listp libs) libs (list libs)) " ")) > L142: (format "%s -o %s %s %s %s" ;; (added %s) > L147: libs > > Am I missing anything? > > Oz > >From 69661d4406c51f678dad6f14aaa8f3447c398825 Mon Sep 17 00:00:00 2001 From: Th

Re: [O] Bug: Incorrect type in ob-C.el for D code [8.3.4 (8.3.4-elpa @ ~/.emacs.d/elpa/org-20160222/)]

2016-03-20 Thread Thierry Banel
The use of `size_t` is correct for array indexes, and fixes the error in >> the compiler. > Thank you for the report. > > Do you want to provide a patch for that? See > <http://orgmode.org/worg/org-contribute.html> for details, if you're > interested. > > Regards, >

Re: [O] [PATCH] org-babel C math.h issue

2016-03-26 Thread Thierry Banel
Done. Le 26/03/2016 00:42, Nicolas Goaziou a écrit : > Applied. Thank you. > > Would you (or the OP) mind documenting the feature at > ? >

Re: [O] Add caching to org-buffer-property-keys

2016-03-02 Thread Thierry Banel
Nice function! Maybe a rewrite of (org-read-property-name) calling (org-entry-properties) could speed up things. (org-entry-properties) returns an assoc list of the local header properties. Le 02/03/2016 12:29, Karl Voit a écrit : > Hi! > > In short: can we get a cached org-buffer-property-keys

Re: [O] Bug in vsum in org-mode table?

2016-04-22 Thread Thierry Banel
Le 22/04/2016 22:10, Charles Millar a écrit : On 04/22/2016 03:34 PM, Thierry Banel wrote: You can format the result as 2.0 with the f1 modifier (or f5 to get 2.0 and so

Re: [O] Bug in vsum in org-mode table?

2016-04-22 Thread Thierry Banel
You can format the result as 2.0 with the f1 modifier (or f5 to get 2.0 and so on) #+TBLFM: @>$1=vsum(@2..@>>);f1 Le 22/04/2016 21:00, Kaushal Modi a écrit : Hi, The vsum is putting a sum as "2." instead

Re: [O] wishful thinking: using SQL to process tables. in the meantime, use R

2016-07-21 Thread Thierry Banel
Le 21/07/2016 03:13, dmg a écrit : Hi everybody, I was wondering if there was a way to join two tables given a common column. I searched but found nothing. it

Re: [O] [ANN] ox-clip on MELPA

2016-07-02 Thread Thierry Banel
Le 02/07/2016 14:02, John Kitchin a écrit : > Hi all, > > ox-clip (https://melpa.org/#/ox-clip) is now available on MELPA. ox-clip > provides a command to copy a region from an org-file with formatting so > it can be pasted into other applications such as office programs, > webmail, etc... with

Re: [O] startup with 2 levels of headings shown?

2017-01-27 Thread Thierry Banel
Le 27/01/2017 09:57, Eric S Fraga a écrit : > Hello, > > Is there an easy way to have an org file start up with 2 levels of > headings shown without having to evaluate > > (org-content 2) > > ? > > E.g. it would be nice to be able to say: > > #+startup: overview 2 > > or similar. I only want this

[O] Leslie Lamport has a foot in the 21st century

2016-10-08 Thread Thierry Banel
Last week I attended a lecture by Leslie Lamport, author of LaTex: "How to Write a 21st Century Proof". His answer: write in a structured, hierarchical way. At the deepest level lie obvious assertions on which the proof is built. The best medium, he said, is hypertext. Hypertext gives the ability

[O] single file export in HTML (as easy as PDF) (well, almost)

2016-10-23 Thread Thierry Banel
A single, nicely packaged, PDF file, easy to distribute:this is one of the appealing features of PDF export. But actually, this can be achieved in HTML, out-of-the-box with Org Mode and Firefox. My recipe: - Write your book in Org Mode, with any content you want: + tables, headers, bullet

Re: [O] table and field reference a la OO/LO

2016-10-23 Thread Thierry Banel
Le 23/10/2016 18:33, Uwe Brauer a écrit : > Hi > > What I still missing in the otherwise excellent table/spreadsheet is a > sort of coordinate system which would easily allow me to find the column > and line number. > I mean something like this. > > | 1/A | B | C | D | > | 2 | 200 | 10 |

Re: [O] table and field reference a la OO/LO

2016-10-23 Thread Thierry Banel
Le 23/10/2016 18:33, Uwe Brauer a écrit : > Hi > > What I still missing in the otherwise excellent table/spreadsheet is a > sort of coordinate system which would easily allow me to find the column > and line number. > I mean something like this. > > | 1/A | B | C | D | > | 2 | 200 | 10 |

Re: [O] table and field reference a la OO/LO

2016-10-24 Thread Thierry Banel
Le 24/10/2016 11:48, Uwe Brauer a écrit : >> Le 23/10/2016 18:33, Uwe Brauer a écrit : > >> Maybe you can try C-c } org-table-toggle-coordinate-overlays > > That is a great suggestions thanks >> First outline the header (C-c -): > >> | 1/A | B | C | D | >>

Re: [O] Math equations in html export

2016-11-22 Thread Thierry Banel
Le 21/11/2016 19:37, Orm Finnendahl a écrit : > Hi, > > I can't seem to get Math equations exported correctly to html from an > org file. Can someone provide me with a full example? > > I set > > #+OPTIONS: tex:t > > on top of the org file and tried these things, but they all render >

Re: [O] Time-Event-Diagrams

2016-12-06 Thread Thierry Banel
Or with babel-gnuplot? The result is an SVG file that a web browser can display. #+name: whentable | When | How many | |--+--| | [2016-11-17 Thu] |    3 | | [2016-11-23 Wed] |   

Re: [O] Time-Event-Diagrams

2016-12-06 Thread Thierry Banel
What about GnuPlot? #+plot: ind:1 deps:(2) type:2d with:"impulse lw 6" set:"yrange [0:]" | When | How many | |--+--| | [2016-11-17 Thu] |3 | | [2016-11-23 Wed] |4 | | [2016-12-10 Sat] |1 | Type org-plot/gnuplot or C-c " g in the

Re: [O] HTML export for math markup

2017-01-09 Thread Thierry Banel
Le 09/01/2017 16:28, Lawrence Bottorff a écrit : I've got an org file with Latex math markup, e.g. $x_2/y^3$. When I export this to HTML, it produces png files for each markup and puts them in a subfolder ltximg. Is there any way to skip

Re: [O] spee-up table refresh

2017-01-09 Thread Thierry Banel
Le 09/01/2017 00:24, Nicolas Goaziou a écrit : > Note that recalculating a table is inherently quadratic. Well, on the test-case your change made recalculation linear (which is good): | rows | seconds | |---+-| | 1000 | 1.5 | | 1 | 13 | | 2 | 25 | | 3 |

Re: [O] speeding up Babel Gnuplot

2017-01-05 Thread Thierry Banel
Le 05/01/2017 00:15, Charles C. Berry a écrit : > On Wed, 4 Jan 2017, Achim Gratz wrote: > > > I'm late to this party, but AFAICS input vars are processed just once. > > Running this: > > #+BEGIN_SRC emacs-lisp :var a=(setq runvar (+ 1 runvar)) > a > #+END_SRC > > increments runvar by one each

Re: [O] speeding up Babel Gnuplot

2017-01-05 Thread Thierry Banel
Le 04/01/2017 23:36, Nicolas Goaziou a écrit : > >> Your proposal provides an additional benefit: caching file generation >> between several invocations of Babel. (The cache in my patch is intended >> to be used within a single Babel invocation, and is then garbage >> collected.). The drawback is

Re: [O] speeding up Babel Gnuplot

2017-01-06 Thread Thierry Banel
Le 06/01/2017 10:41, Nicolas Goaziou a écrit : > Hello, > > Thierry Banel <tbanelweb...@free.fr> writes: > >> By "going through the table" I mean going through this structure. >> Remember the issue in the first place was a slow conversion of this >>

Re: [O] speeding up Babel Gnuplot

2017-01-01 Thread Thierry Banel
Babel Gnuplot can be further accelerated. A table is converted to a temporary file readable by Gnuplot. I found two issues in this process: 1. the temporary file is generated twice, 2. the generation is quadratic. I have not provided a committable patch because I am not happy with myfixes. Of

Re: [O] speeding up Babel Gnuplot

2017-01-03 Thread Thierry Banel
The worst thing that can happen is the caching no longer working in case 'param' would be copied some day. Results would stay correct. Regards, Thierry >From 6e72396c6d5b280be900676fdcddcb14cdaf2f60 Mon Sep 17 00:00:00 2001 From: Thierry Banel <tbanelweb...@free.fr> Date: Tue, 3 Jan

Re: [O] speeding up Babel Gnuplot

2017-01-03 Thread Thierry Banel
Le 03/01/2017 22:55, Nicolas Goaziou a écrit : > Hello, > > Thierry Banel <tbanelweb...@free.fr> writes: > >> Here is a patch to avoid generating temporary files multiple times. >> >> There is no way to ensure a single call to >> (org-babel-gnuplot-pro

Re: [O] speeding up Babel Gnuplot

2016-12-29 Thread Thierry Banel
Le 29/12/2016 21:04, Nicolas Goaziou a écrit : > I did some optimizations in master branch. I go below 1 sec for the 1500 > rows table. Confirmed! Your latest commit givesa huge boost. >> Here is a fix to speed up the rendering to a mere fraction of a second. >> >> #+BEGIN_SRC elisp >> (defun

Re: [O] speeding up Babel Gnuplot

2017-01-02 Thread Thierry Banel
Le 02/01/2017 00:34, Nicolas Goaziou a écrit : > Hello, > > Thierry Banel <tbanelweb...@free.fr> writes: > >> 1. Temporary generated twice >> Because org-babel-gnuplot-process-vars is called twice. >> >> There is no obvious fix. Here is a dirty patch. I

Re: [O] speeding up Babel Gnuplot

2017-01-04 Thread Thierry Banel
Le 04/01/2017 18:32, Achim Gratz a écrit : > Thierry Banel writes: >> There is no way to ensure a single call to >> (org-babel-gnuplot-process-vars) without modifying ob-core.el. I don't >> want to do that because I would have to change a lot of babel backends. > But that i

[O] spee-up table refresh

2017-01-08 Thread Thierry Banel
Re-computing a large table is slow. Hereafter is a test case for a 1000 row table. My computer refreshes it in 44 seconds. Here is a fast-and-dirty-not-to-be-commited patch which speed-up the refresh to less than 1 second. I just removed the last 3 lines of (org-at-table-p). I don't understand

Re: [O] Ignore pattern when syncing Org-mode files between hosts

2016-12-28 Thread Thierry Banel
Le 28/12/2016 16:42, Karl Voit a écrit : > Hi! > > I wonder how others are handling synchronization ignore patterns > between different hosts. > > ... > > Currently, I am evaluating Syncthing[0] which looks very good so > far. It is a game-changer to be because similar to Dropbox[1], it >

[O] speeding up Babel Gnuplot

2016-12-28 Thread Thierry Banel
Babel Gnuplot is quite slow on large tables. Example: 45 seconds for a 1500 rows table. Why? Because orgtbl-to-generic is too slow (or too generic). Its behavior seems to be quadratic O(size^2). Should we bypass it? Should we try to optimize it? Here is a fix to speed up the rendering to a mere

Re: [O] Time-Event-Diagrams

2016-12-06 Thread Thierry Banel
Le 06/12/2016 18:54, Karl Voit a écrit : * Thierry Banel <tbanelweb...@free.fr> wrote: What about GnuPlot? Heard about it. Never used. #+plot: ind:1 deps:(2) type:2d with:"impulse lw 6" set:&quo

Re: [O] Complex conversion of text to org table

2017-03-12 Thread Thierry Banel
Use a regex replacement. Basically you replace the 1st space with a vertical pipe: M-x query-replace-regexp ^\([^ ]+\) |\1| answer yes repeatedly, then type TAB to align the table. Le 12/03/2017 16:14, Xebar Saram a écrit : > Hi list > > so im trying to use orgmode to collect food recepies. i

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 |

[O] [PATCH] small bug in Babel GnuPlot on % character

2017-05-07 Thread Thierry Banel
Here is a patch for a small bug in Babel GnuPlot. When GnuPlot outputs a message containing a % character, Emacs mis-interprets it. This happens when using commands such as print or fit. Example showing the bug: #+BEGIN_SRC gnuplot :file x.svg :session none print "hello %s\n" plot x #+END_SRC

Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point

2017-09-16 Thread Thierry Banel
You may use the :includes header parameter. Also, you may omit the main() function. In this case, all your code will become the body of a default main function. Type C-c C-v v on the following example to understand what is happening. #+BEGIN_SRC C++ :includes std::cout<<"hello";

Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point

2017-09-16 Thread Thierry Banel
16/09/2017 10:54, Thierry Banel wrote: You may use the :includes header parameter. Also, you may omit the main() function. In this case, all your code will become the body of a default main function. Type C-c C-v v on the following example to understand what is happening. #+BEGIN_SRC C++

Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point

2017-09-16 Thread Thierry Banel
the result. This seems to be another topic. One that Babel is not concerned about. Are you trying to set up a work-flow where students submit their solutions to a teacher who is the "judge"? Isn't email between students and teacher just the simple and straightforward work-flow? Thi

Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point

2017-09-16 Thread Thierry Banel
A starting point could be as follows. Type C-c C-c to evaluate. Type C-c C-v v to expand the source. #+BEGIN_SRC C++ :flags -std=c++11 #include #include using namespace std; class Solution { public: vector twoSum(vector& nums, int target) { vector result; result.push_back(0);

Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point

2017-09-16 Thread Thierry Banel
Another starting point without hard-coding inputs: #+name: NUMS | 2 | | 7 | | 11 | | 15 | #+BEGIN_SRC C++ :flags -std=c++11 :var target=9 :var inputnums=NUMS #include #include using namespace std; class Solution { public: vector twoSum(vector& nums, int target) { vector result;

Re: [O] evaluate cpp snippet in org babel with default includes and customized entry point

2017-09-16 Thread Thierry Banel
You still need to explicitly call twoSum(), and that cannot be hidden. On 16/09/2017 10:58, Amos Bird wrote: Ok, i get the idea. So how can I customized the default code expansion so that it can directly evaluate this

Re: [O] Bug?? #+begin_src sh :file

2017-09-16 Thread Thierry Banel
I get the expected result without the redirection: #+begin_src sh :file this.txt cat << EOF 1 2 3 EOF #+end_src On 16/09/2017 15:09, Charles Millar wrote: Hi, The following ECL is based on Grant Rettke's Org Scraps - https://eschulte.github.io/org-scraps/scraps/2011-02-15-recutils.html

Re: [O] reformatting a quite large table

2017-09-14 Thread Thierry Banel
A huge table reformatting speed-up was achieved and committed on January 9th. The mail thread was "spee-up table refresh". On 14/09/2017 10:48, Luca Ferrari wrote: Hi all, I'm just curios, having a an org table that is 140 MB of text in size (it's a dump of an sql table if that matters), how

Re: [O] Trying to get chart from table working

2017-10-01 Thread Thierry Banel
Do you get the following lines? (you can erase them, they will be recreated). #+results: [[file:timeseries.pdf]] If you click on the link, it should open okular or acrobat reader or whatever displaying the plot. Otherwise you can try a different format, PNG for instance: #+begin_src

Re: [O] C++ code block not linked [SOLVED]

2017-11-28 Thread Thierry Banel
On 28/11/2017 18:08, Roger Mason wrote: Hello, Roger Mason writes: It compiles fine: c++ -std=c++11 -I/usr/local/include -L/usr/local/lib -lginac C-src-1053hn1.cpp Solved by setting: (setq org-babel-C++-compiler "c++")

Re: [O] C++ code block not linked

2017-11-25 Thread Thierry Banel
On 25/11/2017 15:59, Roger Mason wrote: Hello, This code compiles fine on command line but org-babel can't link it. #+BEGIN_SRC C++ :flags "-std=c++11 -I/usr/local/include" :libs "-L/usr/local/lib -lginac" #include #include using namespace std; using namespace GiNaC; int main () {

Re: [O] C++ code block not linked

2017-11-26 Thread Thierry Banel
On 26/11/2017 12:42, Roger Mason wrote: Hello, Thierry Banel <tbanelweb...@free.fr> writes: On 25/11/2017 15:59, Roger Mason wrote: This code compiles fine on command line but org-babel can't link it. #+BEGIN_SRC C++ :flags &

Re: [O] schedule third last day of every month

2017-11-25 Thread Thierry Banel
On 24/11/2017 21:32, ma343...@openmailbox.org wrote: Hi, Can it be possible to schedule third last day of every month? Thanks, Matt Try    M-x calendar i m To fine tune do   C-h f diary-cyclic

Re: [O] schedule third last day of every month

2017-11-25 Thread Thierry Banel
On 24/11/2017 21:32, ma343...@openmailbox.org wrote: Hi, Can it be possible to schedule third last day of every month? Thanks, Matt Try    C-h f diary-list-sexp-entries What you are looking for could be something close to:   

Re: [O] extract a column from a table but but an name on the new table

2018-05-26 Thread Thierry Banel
On 24/05/2018 15:08, Uwe Brauer wrote: Hi Thierry Banel one of the authors of orgtbl-aggregate.el Suggested to me the following code, if just want to extract one column of a table. #+TBLNAME: raw-data | 1 | a | 3 | | 2 | b | 4 | | 3 | c | 6 | | 4 | d | 7

Re: [O] extract a column from a table but but an name on the new table

2018-05-27 Thread Thierry Banel
On 26/05/2018 10:32, Uwe Brauer wrote: > You may name the Lisp block like that: > -- > #+TBLNAME: raw-data > | 1 | a | 3 | > | 2 | b | 4 | > | 3 | c | 6 | > | 4 | d | 7 | Thank you! BTW I found it strange that the extracting

Re: [O] very long table calc expressions ?

2018-06-22 Thread Thierry Banel
On 22/06/2018 18:48, Nick Dokos wrote: > Uwe Brauer writes: > >> Hi Jonathan >> >>> Hi Uwe, >>> On Fri, Jun 22, 2018 at 10:16 AM, Uwe Brauer wrote: >> >>> (::) >>> not just a single. Brent's example has it with double while yours only >>> shows >>> it with a single one.

Re: [O] very long table calc expressions ?

2018-06-20 Thread Thierry Banel
Le 19/06/2018 19:21, Uwe Brauer a écrit : Hi Take the following example #+TBLNAME: data | Name | Cual 1 | |--+| | A| NT | | B| NT | | C| MH | | D| AP | | E| MH | | F| SS | | G| NP | | H| NP | |

Re: [O] very long table calc expressions ?

2018-06-20 Thread Thierry Banel
Le 20/06/2018 11:09, Uwe Brauer a écrit : > Le 19/06/2018 19:21, Uwe Brauer a écrit : > You may want to take a look at the orgtbl-aggregate package available on > Melpa. Thanks very much. I have already installed that package but the example presented in the documentation were

Re: [O] Ridiculously long (2 minutes) startup time for org agenda

2018-02-18 Thread Thierry Banel
On 18/02/2018 13:38, JI Xiang wrote: Hello, first time posting on the mailing list. I encountered a problem where my agenda view (`C-c a a`) is taking ridiculously long (nearly 2 minutes) to be shown the first time. From the second time onwards, the time is about 11 seconds, which is still

[O] [PATCH] adding flexibility to ASCII bar plot

2018-02-18 Thread Thierry Banel
erence passed to the MAX parameter. Previously, only hard coded values like 4 could be used. Regards Thierry >From f12eea7d34bf7d6445dc8a03923264fef73279a2 Mon Sep 17 00:00:00 2001 From: Thierry Banel <tbanelweb...@free.fr> Date: Sun, 18 Feb 2018 17:59:16 +0100 Subject

Re: [O] TBLFM and a remote table lookup on two columns

2018-06-22 Thread Thierry Banel
On 22/06/2018 07:40, Brad Knotwell wrote: Good day all-- I've been using TBLFM and orgmode-lookup-first to conditionally update a table.  It works great but I've run

Re: [O] aggregate: percent, table headers, float format

2018-07-31 Thread Thierry Banel
Done. Now orgaggregate takes org-calc-default-modes into account. The priority is as follow: If given, a formatter modifier (like ;p17) takes precedence. Otherwise, if a customization of org-calc-default-modes is found (like

Re: [O] How to combine Lisp style and Calc style Table Formula together?

2018-04-09 Thread Thierry Banel
Try this: $2=$1;%1.1e Le 09/04/2018 04:42, stardiviner a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I try to display table columns value like 1 with format "1.0e+4". So I use function (format "%1.1e" $1). Here is my org table: |n | Algorithm A (n) | Algorithm B (4n + 8)

Re: [O] how to save script created when executing a babel block?

2018-06-21 Thread Thierry Banel
Le 21/06/2018 00:47, dmg a écrit : hi everybody, is there a way to save the script created by babel that is being executed? thank you, You may type C-c C-v v (M-x org-babel-expand-src-block) inside a babel block. Regards

Re: [O] aggregate: percent, table headers, float format

2018-06-28 Thread Thierry Banel
On 28/06/2018 14:53, Uwe Brauer wrote: > Hi > > Org-aggregate is great and very helpful. > > However I have some problems/questions which I think a maybe interesting > for the list. > > Take the following code > > > #+begin_src emacs-lisp > (setq org-calc-default-modes '(calc-internal-prec 12

Re: [O] [Feature Request] Add an dispatcher command (keybinding) for inserting dynamic blocks

2018-11-16 Thread Thierry Banel
On 16/11/2018 02:15, stardiviner wrote: In package `orgtbl-aggregate` has bellowing command to insert different dynamic blocks. #+begin_src emacs-lisp (defun org-insert-dblock () "Inserts an org table dynamic block. This is a dispatching function which prompts

<    1   2