Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-12-01 Thread Thorsten Jolitz
Jonas Bernoulli writes: Hi List, > Aaron Ecay writes: > >> Thorsten Jolitz wrote the outshine library > > I know. I used it for a while and contributed a few commits. But I > pretty much only used the cycling functionality at the time and when > I

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-19 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > Nicolas Goaziou writes: > >> Jonas Bernoulli writes: >> >>> Thanks. But could you please change it to >>> >>> (if (or outline-minor-mode orgstruct-mode) >>> (call-interactively

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-19 Thread Jonas Bernoulli
Nicolas Goaziou writes: > Jonas Bernoulli writes: > >> Nicolas Goaziou writes: >> >>> Jonas Bernoulli writes: >>> Thanks. But could you please change it to (if (or outline-minor-mode

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-19 Thread Rasmus
Hi Jonas, Jonas Bernoulli writes: > Nicolas Goaziou writes: > >> Jonas Bernoulli writes: >> >>> Nicolas Goaziou writes: >>> Jonas Bernoulli writes: > Thanks. But could you

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-18 Thread Jonas Bernoulli
Nicolas Goaziou writes: > Hello, > > Jonas Bernoulli writes: > >> Thanks. But could you please change it to >> >> (if (or outline-minor-mode orgstruct-mode) >> (call-interactively #'show-children) >> ...) > > You could set `orgstruct-mode'

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-14 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > Thanks. But could you please change it to > > (if (or outline-minor-mode orgstruct-mode) > (call-interactively #'show-children) > ...) You could set `orgstruct-mode' to a non-nil value whenever `outline-minor-mode' is enabled.

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-10 Thread Rasmus
Hi Jonas, Jonas Bernoulli writes: > Well currently I am just using `org-cycle' + `outline-minor-mode', which > works well enough for now. But eventually I would like to also start > using Org's navigational commands. Unfortunately `orgstruct-mode' only > supports org-like

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-09 Thread Jonas Bernoulli
> #+BEGIN_SRC emacs-lisp > (add-hook 'elisp-mode-hook 'turn-on-orgtbl) > (add-hook 'elisp-mode-hook > (lambda () > (setq-local orgstruct-heading-prefix-regexp > ";; "))) > #+END_SRC It appears the stupid thing I did was that I

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-09 Thread Jonas Bernoulli
Aaron Ecay writes: > Thorsten Jolitz wrote the outshine library I know. I used it for a while and contributed a few commits. But I pretty much only used the cycling functionality at the time and when I discovered that `org-cycle' worked for that too, I stopped using

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-08 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > I would like to use `orgstruct-mode' in `emacs-lisp-mode' but I cannot > get it to work at all. So for now I would be happy if I could just use > `org-cycle' as I used to. Thank you for the report. `orgstruct-mode' really needs some love.

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-08 Thread Jonas Bernoulli
Nicolas Goaziou writes: > `orgstruct-mode' really needs some love. It's really hard to understand what is going on for someone not familiar with the Org code. Furthermore I am not using the default Emacs bindings (but I also tested with emacs -Q), so code that

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-08 Thread Aaron Ecay
Hi Jonas, 2015ko azaroak 8an, Jonas Bernoulli-ek idatzi zuen: > > `outline-minor-mode' combined with `org-cycle' gives me the feature I > *really* want/need. Thorsten Jolitz wrote the outshine library to provide something like this. Sadly it’s not actively maintained ATM, but I believe it

Re: [O] Using orgstruct-mode (or just org-cycle) in emacs-lisp-mode

2015-11-08 Thread Jorge A. Alfaro-Murillo
Jonas Bernoulli writes: `orgstruct-mode' sounds like it could be really useful too, but as I mentioned it doesn't work for me at all. So for now I would like to stick to just `outline-minor-mode'. Thanks Jonas Ps: I am still not sure whether I am just doing something stupid or why