[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Lentic.0.6 and org mode
From: |
Alan Schmitt |
Subject: |
Re: [O] Lentic.0.6 and org mode |
Date: |
Fri, 09 Jan 2015 18:57:08 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (darwin) |
On 2015-01-09 17:12, address@hidden (Phillip Lord) writes:
> It's configurable, though. By default, the two windows share the same
> text (which is nearly the same behaviour as indirect buffers). But they
> can also be different (but related). I use a file or dir-local variable
> for this. So, the lentic source code uses:
>
> ((emacs-lisp-mode
> .
> ((lentic-init . lentic-orgel-org-init)
> (eval . (require 'm-buffer-macro)))))
I've used a similar configuration
#+begin_src emacs-lisp
(add-hook 'emacs-lisp-mode-hook (lambda () (setq lentic-init
'lentic-orgel-org-init)))
#+end_src
but it's not as nice as in the demo. For instance, the following:
#+begin_src emacs-lisp
;;; Code:
;; ** Startup
;; #+begin_src emacs-lisp
;; Turn off mouse interface early in startup to avoid momentary display
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
#+end_src
becomes
#+begin_src org
* Code
;; ** Startup
;; #+begin_src emacs-lisp
;; Turn off mouse interface early in startup to avoid momentary display
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1))
#+end_src
Why the "Startup" is not promoted at the org level?
Thanks,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
signature.asc
Description: PGP signature
- [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/08
- Re: [O] Lentic.0.6 and org mode, Thierry Banel, 2015/01/08
- Re: [O] Lentic.0.6 and org mode, joakim, 2015/01/11
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/15
- Re: [O] Lentic.0.6 and org mode, Thierry Banel, 2015/01/15
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/15
- Re: [O] Lentic.0.6 and org mode, Thierry Banel, 2015/01/16
- Re: [O] Lentic.0.6 and org mode, Thomas S. Dye, 2015/01/16
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/16
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/09
- Re: [O] Lentic.0.6 and org mode,
Alan Schmitt <=
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/09
- Re: [O] Lentic.0.6 and org mode, Alan Schmitt, 2015/01/10
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/15
- Re: [O] Lentic.0.6 and org mode, Alan Schmitt, 2015/01/15
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/15
- Re: [O] Lentic.0.6 and org mode, Alan Schmitt, 2015/01/16
- Re: [O] Lentic.0.6 and org mode, Phillip Lord, 2015/01/16