all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emulating Scrivener's binder feature
@ 2019-04-01  8:09 Paul W. Rankin
  2019-04-01 15:06 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Paul W. Rankin @ 2019-04-01  8:09 UTC (permalink / raw)
  To: help-gnu-emacs

Hello Emaczens,

I've started a new Emacs package to try and emulate the behaviour of Scrivener's
binder feature.

A buffer in a side window would display the current project not unlike
dired-sidebar -- each file in the project occupying a single line. The ordering
of these files should be arbitrary (i.e. the user may reorder the files) and
this project structure should be persistent across sessions. Global keybindings
should allow navigation from a file in the current project to the next/previous
file in this structure. The user should (eventually) be able to mark a selection
of files and concatenate/export these into a master output.

The idea would be to have a .binder file in the top directory of the project.
This file should be human-readable. Each line in this file should be a file path
relative to the .binder file. Metadata relating to each file is stored below the
file, terminating at the next file or EOF.

Metadata could be: Tags beginning with ":" e.g. :tag1 :tag2 :toast :piglet.
Multi-line notes prefixed with ">" like Markdown blockquotes. Comments start
with "#". Blank lines are ignored.

An example .binder file might look like this:

    # This is a comment

    The Problem of Space.txt
    :kirin
    First Attempt.txt
    :noomi
    > Intro to Noomi.
    An Angry Driver.txt
    :cameo

    > Uncle Bob could do this?

    Archive/Other Options.txt
    Working Together.txt
    :act3 :revised
    > Putting ego aside, Kirin puts all his faith in Noomi's ability to judge
    > the space from outside the truck. Little by little, they make it in.

Someone might suggest that this info all be stored as lisp objects in
.dir-locals.el but my thinking is that a .binder file could be cross-platform
(i.e. also work outside of Emacs).

Before I go to far,

Question 1: Has someone already made something like this? I don't want to
reinvent the wheel...

Question 2: Any suggestions, pitfalls or edge cases?

Regards,
Paul

p.s. please Reply-All, I'm not on the list.

--
https://www.paulwrankin.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-03  9:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-01  8:09 Emulating Scrivener's binder feature Paul W. Rankin
2019-04-01 15:06 ` Drew Adams
2019-04-03  9:34   ` Paul W. Rankin
2019-04-01 15:27 ` Skip Montanaro
2019-04-01 16:57 ` Marcin Borkowski
2019-04-03  9:59   ` Paul W. Rankin

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.