From: 'Ihor Radchenko' <yantar92@gmail.com>
To: 35419@debbugs.gnu.org
Subject: bug#35419: Fwd: Re: [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter)
Date: Thu, 25 Apr 2019 15:11:50 +0800 [thread overview]
Message-ID: <87lfzyo8y1.fsf__27767.3986785643$1556202430$gmane$org@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <CA+Yh0SQ7yWQBjXhKbJPrCroriNpwhyFyQWAfHsUvxwmojsjKuw@mail.gmail.com>
[-- Attachment #1.1: Type: message/rfc822, Size: 2972 bytes --]
[-- Attachment #1.1.1.1: Type: text/plain, Size: 1736 bytes --]
Dear Dmitrii,
I strongly support the proposal.
Another use case for me is to speed up agenda creation.
I usually do not like to split my org files into too many. However, it
results in very large and slow org buffers later. If I can store some
parts of the org files externally and only show them if some condition
is met (say, for certain todo state of the parent entry), it would speed
up my agenda and the buffer navigation quite significantly.
Example:
#+begin_src org
* Projects
** 2019
*** TODO Project 1 :ORG:
# the project contents is stored in an external file
:PROPERTIES:
:ORG-FILE: project1.org
:END:
# beginning of a lense, which is linked to project1.org
**** Heading 1
**** Heading 2
And many headings below
# ...
# end of the lense
*** HOLD Project 2 :ORG:
:PROPERTIES:
:ORG-FILE: project2.org
:END:
# beginning of another lense
# nothing is included here because the project state is =HOLD=
# end of the lense
#+end_src
Let me put some historical context to this proposal.
There was a discussion of similar feature in emacs-dev last year.
The idea was to implement nested buffers:
https://lists.gnu.org/archive/html/emacs-devel/2018-07/msg00863.html
There are also several projects, which implement part of the
functionality you described:
- mmm-mode: https://github.com/purcell/mmm-mode
- polymode: https://github.com/polymode/polymode
Best,
Ihor
Dmitrii Korobeinikov <dim1212k@gmail.com> writes:
> I have written a proposal for buffer lenses which could prove useful in
> Org-mode, especially for interacting with code.
> If you are interested, please, see this link:
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35419
--
Ihor Radchenko,
[-- Attachment #1.1.1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
[-- Attachment #1.2: Type: text/plain, Size: 24 bytes --]
--
Ihor Radchenko,
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-04-25 14:25 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-24 19:20 [Proposal] Buffer Lenses and the Case of Org-Mode (also, Jupyter) Dmitrii Korobeinikov
2019-04-25 3:25 ` Ihor Radchenko
2019-04-24 18:35 ` bug#35419: " Dmitrii Korobeinikov
2019-04-25 1:37 ` Noam Postavsky
2019-04-25 1:37 ` Noam Postavsky
2019-04-25 8:40 ` Dmitrii Korobeinikov
2019-04-25 8:40 ` Dmitrii Korobeinikov
2019-04-25 17:52 ` Philipp Stephani
2019-04-25 21:14 ` Dmitrii Korobeinikov
2019-04-25 21:14 ` Dmitrii Korobeinikov
2019-04-25 17:52 ` Philipp Stephani
2019-04-26 12:05 ` bug#35419: [O] " Roland Everaert
2019-04-26 12:05 ` Roland Everaert
2019-04-25 7:11 ` 'Ihor Radchenko' [this message]
2019-04-25 7:11 ` bug#35419: Fwd: Re: [O] " 'Ihor Radchenko'
2019-05-02 21:24 ` bug#35419: [O] bug#35419: " Dmitrii Korobeinikov
2019-05-03 11:03 ` Roland Everaert
2019-05-03 11:03 ` bug#35419: " Roland Everaert
2019-05-03 12:06 ` bug#35419: [O] " Dmitrii Korobeinikov
2019-05-03 12:06 ` bug#35419: " Dmitrii Korobeinikov
2019-05-02 21:24 ` Dmitrii Korobeinikov
2019-05-02 21:31 ` Dmitrii Korobeinikov
2019-05-05 6:07 ` Ihor Radchenko
2019-05-14 17:42 ` Dmitrii Korobeinikov
2019-05-14 17:42 ` Dmitrii Korobeinikov
2019-06-01 14:49 ` Ihor Radchenko
2019-06-01 14:49 ` Ihor Radchenko
2019-06-02 9:09 ` Dmitrii Korobeinikov
2019-06-02 9:09 ` Dmitrii Korobeinikov
2019-05-05 6:07 ` Ihor Radchenko
2019-05-02 21:31 ` Dmitrii Korobeinikov
2019-04-25 21:00 ` Dmitrii Korobeinikov
2019-04-25 21:00 ` bug#35419: [O] " Dmitrii Korobeinikov
2020-04-05 1:46 ` Dmitry Gutov
2020-04-05 10:05 ` Dmitrii Korobeinikov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='87lfzyo8y1.fsf__27767.3986785643$1556202430$gmane$org@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me' \
--to=yantar92@gmail.com \
--cc=35419@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.