Re: Document management system with Org?

2022-11-08 Thread Max Brieiev
Thank you. This was very useful.

Seems like attachments will work for me.

Also seems like I can use org capture templates to record metadata for
different types of documents.

Now I need to dig in to the Org manual...



Document management system with Org?

2022-11-07 Thread Max Brieiev
Org newbie here.

Org advertizes itself as a note management and organizer system.

How suitable is it to manage documents?

Documents are files, usually in pdf format, stored as blobs on file
system. I need to attach some meta data to them. Like tags, for example,
'invoice' or 'contract' or some random notes.

I would also like to have a way to categorize a group of documents by
some criteria, e.g. by the name of a contractor.

It would be good to have a dired-like interface to browse documents and
manipulate them: view/copy/delete/attach to email etc.

What approach could I use for this?
Is there anything like that in Org ecosystem?

Thanks.



Re: Org and Hyperbole

2022-07-07 Thread Max Brieiev
Hi Robert,

Robert Weiner  writes:

> Oantolin no doubt can speak to Embark much better but my present
> understanding is that it is a toolkit package for generating contextual
> popup or completion menus with a few standard context menus included.
>
> Hyperbole is a much broader personal information management
> environment, one part of which is to turn every common type of
> cross-reference found in buffers from programming identifiers to
> page links into immediately useable hyperlinks with no effort
> or markup on your part (implicit buttons).

I struggle to understand the core difference between Embark and
Hyperbole.

In terms of Embark, the context around point is called /target/. So if
the target is a filename, then the default action is to visit the
file. If the default action is not what you want, then Embark can
present you with a context menu - you can choose amongst the actions
that can be executed on the file, like deleting it or locating it in a
dired buffer.

In terms of Hyperbole, the contextual information is called /implicit
button/. Pressing M-RET on it sounds very much the same as executing
the default action in terms of Embark.

Embark defines the following targets: file, symbol, URL, s-expression,
defun, etc. It seems it is conceptually the same as implicit buttons in
Hyperbole. Is this correct?



Converting document from hard whitespace indentation to org-indent-mode

2022-01-12 Thread Max Brieiev


Several of my documents use indentation to line up with the headings,
like below:

* Top level headline
  paragraph
  + list item lorem ipsum
dolor sit amet
** Second level
   some text
*** Third level
more text

I would like to strip leading whitespace, so that I could switch to
=org-indent-mode= to have a nice view of the document instead of using
hard whitespace indentation.

Basically I want to:
- strip leading whitespace,
- but preserve the indentation of lists and src blocks
- refill all paragraphs according to what =org-fill-paragragh= would do.

How would I do it programmatically? My current Elisp knowledge is poor.

Thanks in advance.