Re: [O] org-babel: insert named source block

2017-11-15 Thread Berry, Charles
> On Nov 15, 2017, at 4:12 PM, Deepak Cherian wrote: > > Thanks. That works well, but only shows named source blocks in the particular > file. > > Is there a way to make it show library of babel blocks too? Sure. `org-babel-library-of-babel' is an association list

Re: [O] org-babel: insert named source block

2017-11-15 Thread Deepak Cherian
Thanks. That works well, but only shows named source blocks in the particular file. Is there a way to make it show library of babel blocks too? Deepak On 11/15/2017 02:56 PM, Berry, Charles wrote: On Nov 15, 2017, at 11:04 AM, Deepak Cherian wrote: Has anyone here

[O] Bug: linum-mode + org-indent-mode cursor movement problems [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)]

2017-11-15 Thread Tom Schutter
If both linum-mode (or nlinum-mode) and org-indent-mode are enabled, then moving the cursor to the previous line using causes it to jump horizontally to the right. The jump matches the current indentation. I would expect the cursor to remain in the same column. Load linum.org (contents

Re: [O] Table refuses to forget cell formula which once overrode a column formula

2017-11-15 Thread Ruy Exel
Thanks for your reply. I now understand and I also agree it is a good solution. Best, Ruy On Nov 15, 2017 19:54, "Nicolas Goaziou" wrote: > Ruy Exel writes: > > > Thanks very much. Just out of curiosity I'd be interested in > understanding > > how

Re: [O] org-babel: insert named source block

2017-11-15 Thread Berry, Charles
> On Nov 15, 2017, at 11:04 AM, Deepak Cherian wrote: > > Has anyone here managed to configure ivy or helm to show a list of named > source blocks that org knows about? > > I am imagining this workflow: > 1. M-x org-babel-insert-named-source-block (imaginary function)

Re: [O] Table refuses to forget cell formula which once overrode a column formula

2017-11-15 Thread Nicolas Goaziou
Ruy Exel writes: > Thanks very much. Just out of curiosity I'd be interested in understanding > how did you do it. My (non expert) impression is that using properties to > override column formulas isn't a good idea. The property is here to prevent evaluation of a column

Re: [O] How to use case sensitive org-search-view?

2017-11-15 Thread Tim Cross
Yes, that seems like a reasonable and consistent approach to me and most likely to keep consistency across org-* and core emacs search functions. regards, Tim Nicolas Goaziou writes: > Hello, > > Tim Cross writes: > >> my 2 cents would vote

Re: [O] Table refuses to forget cell formula which once overrode a column formula

2017-11-15 Thread Nick Dokos
Ruy Exel writes: > Hi Nicolas, > > Thanks very much.  Just out of curiosity I'd be interested in understanding > how did you do it.  My (non > expert) impression is that using properties to override column formulas isn't > a good idea.  It seems to > me it would be more

Re: [O] Table refuses to forget cell formula which once overrode a column formula

2017-11-15 Thread Ruy Exel
Hi Nicolas, Thanks very much. Just out of curiosity I'd be interested in understanding how did you do it. My (non expert) impression is that using properties to override column formulas isn't a good idea. It seems to me it would be more natural to apply cell formulas AFTER all column formulas

Re: [O] org-mode gets confused with column widths when 'time-stamp-custom-formats' are applied.

2017-11-15 Thread Ruy Exel
Wow! That was quick. Thanks. Ruy On Nov 15, 2017 15:15, "Nicolas Goaziou" wrote: > Hello, > > Ruy Exel writes: > > > Consider the table below: > > > > | Name | Date of Birth| > > |---+--| > > | John | <1978-11-14 Tue> | >

[O] org-babel: insert named source block

2017-11-15 Thread Deepak Cherian
Has anyone here managed to configure ivy or helm to show a list of named source blocks that org knows about? I am imagining this workflow: 1. M-x org-babel-insert-named-source-block (imaginary function) 2. List of named source blocks pops up 3. Hit enter and "#+call: name-of-source-block()" is

Re: [O] org-mode gets confused with column widths when 'time-stamp-custom-formats' are applied.

2017-11-15 Thread Nicolas Goaziou
Hello, Ruy Exel writes: > Consider the table below: > > | Name | Date of Birth| > |---+--| > | John | <1978-11-14 Tue> | > | Peter | <1970-11-14 Sat> | > |---+--| > > Suppose we want to format time stamps differently, such as with

Re: [O] Table refuses to forget cell formula which once overrode a column formula

2017-11-15 Thread Nicolas Goaziou
Hello, Ruy Exel writes: > The following is very simple org-mode spreadsheet in which the cells in the > second column show the triple of the corresponding cell in the first column > due to the "column formula" in its TBLFM row $2=3*$1;N. However the third > row (actually row

Re: [O] function for inserting a block

2017-11-15 Thread Eric Abrahamsen
"numbch...@gmail.com" writes: > I think the function `org-insert-structure-template' also should respect the > `org-babel-uppercase-example-markers'. > Besides, your new diff does not have a condition on > `org-babel-uppercase-example-markers', you just use

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread Nick Dokos
"numbch...@gmail.com" writes: > I checked out your answer, I have meet all your said requirements. GHCi, > inf-haskell (after I installed package haskell-mode) and setting > `haskell-program-name`, I found there is no > `defcustom` variable option named

Re: [O] org-hide-emphasis-markers not mentioned in the org manual

2017-11-15 Thread Nick Dokos
alain.coch...@unistra.fr writes: > Thomas Rikl writes on Tue 14 Nov 2017 14:10: > > > (and perhaps other customization variables) > > > > Version: Release 9.1.2 (release 9.1.2-192-gc029c4) > > of the org manual > > > > regards Thomas R. > > In a recent (late sept.) discussion on this

Re: [O] How to use case sensitive org-search-view?

2017-11-15 Thread Nicolas Goaziou
Hello, Tim Cross writes: > my 2 cents would vote for a variable which manages case folding. This > would be in-line with how isearch works and something familiar to most > Emacs users. I also prefer a single function which behaves differently > depending on a config

Re: [O] [rfc] org-dired

2017-11-15 Thread Marco Wahl
Hi! Nicolas Goaziou writes: > Marco Wahl writes: > >> I just pushed the functionality to master. > > > Thank you. > > However, I didn't have time to comment the code. > > There are a few stylistic issues: > > `mapc' + `lambda' -> `dolist' in

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread numbch...@gmail.com
I checked out your answer, I have meet all your said requirements. GHCi, inf-haskell (after I installed package haskell-mode) and setting `haskell-program-name`, I found there is no `defcustom` variable option named `haskell-program-name` at all. [stardiviner] GPG key ID: 47C32433

Re: [O] ob-haskell evaluation needs inf-haskell but it does not exist

2017-11-15 Thread numbch...@gmail.com
I required `(require 'inf-haskell)` But have not found the command `inf-haskell` to start inferior process. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433

Re: [O] function for inserting a block

2017-11-15 Thread numbch...@gmail.com
I think the function `org-insert-structure-template' also should respect the `org-babel-uppercase-example-markers'. Besides, your new diff does not have a condition on `org-babel-uppercase-example-markers', you just use `upcase-initials` by default. Then the new `tempo` snippets will be uppercase,

Re: [O] How to use case sensitive org-search-view?

2017-11-15 Thread Alain . Cochard
Nicolas Goaziou writes on Wed 15 Nov 2017 12:55: > alain.coch...@unistra.fr writes: > > > Thanks for pointing this out. But boy is it complicated: > It is not. [...] It still is for me, but your explanations do clarify things a bit. Thanks for your time. -- EOST (École et

Re: [O] How to use case sensitive org-search-view?

2017-11-15 Thread Nicolas Goaziou
Hello, alain.coch...@unistra.fr writes: > Thanks for pointing this out. But boy is it complicated: It is not. It follows regular isearch in Emacs. Quoting Emacs manual: An upper-case letter anywhere in the search string makes the search case-sensitive. Thus, searching for ‘Foo’

Re: [O] [rfc] org-dired

2017-11-15 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > I just pushed the functionality to master. Thank you. However, I didn't have time to comment the code. There are a few stylistic issues: `mapc' + `lambda' -> `dolist' in `org-attach-attach-files'. However, I think

Re: [O] [rfc] org-dired

2017-11-15 Thread Marco Wahl
Nicolas Goaziou writes: >> Prepare >> - In a dired buffer mark files or have the cursor on a file. >> - Have also an org mode window open. >> - Place the cursor in an orgee. (Orgee is short for org subtree.) >> Act >> - M-x

Re: [O] How to use case sensitive org-search-view?

2017-11-15 Thread Alain . Cochard
Nicolas Goaziou writes on Tue 14 Nov 2017 21:35: > Matt Lundin writes: > > > alain.coch...@unistra.fr writes: > >> Suppose I have an org file with > >> > >> * FOO > >> * foo > >> > >> I would like to use org-search-view (C-c a s) so as to (say) list > >> only the