all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Hitt <dan.hitt@gmail.com>
To: Kevin Buchs <kevin.buchs@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: want a file format easily edited and read by emacs that allows (multiple) pictures to be included
Date: Tue, 5 Dec 2017 15:44:27 -0800	[thread overview]
Message-ID: <CAOphizKuKa4-skEjMirmYygf06MOb-MP2jQPexBEzcgwfiRQsg@mail.gmail.com> (raw)
In-Reply-To: <CAKT9s6Ch3+eG3sz7h=yEpVqmrPiStvXD7si_yeWEgaCs6g+cTQ@mail.gmail.com>

On Tue, Dec 5, 2017 at 6:49 AM, Kevin Buchs <kevin.buchs@gmail.com> wrote:
> Emmanuel,
>
> It seems to me you didn’t get a complete answer to your question of the use
> of the org+embedded image. Of course, the OP is the best one to answer, but
> here is what I gleaned.
>
> 1. OP requested a method to create & edit a document in emasculated that
> would include images that were visible during editing and used minimal
> markup. Org Filled that need.
>
> 2. The OP next requested a way to have a single file document with the
> images embedded within that file. Think Microsoft Word documents. Transport
> and sharing are two tasks that are simplified with just a single file, but
> the OP may have other use cases. It also simplifies the file-system foot
> print and “remembering” which image file goes with which document.
>
> 3. Marcion (sorry about incorrect spelling) created a quick answer,
> although it didn’t fully satisfy the OP requirements. It uses org, which
> still requires an independent file for each image, but it now carries Elisp
> code to regenerate the images. So now the single file contains everything
> you need to view and edit, but you need to execute the elisp if the image
> files don’t exist. The export to PDF or HTLM are supported by org mode.
>
> Kevin Buchs
> (My master org-mode file is over 3 MB and contains all my notes for work
> and personal life)

Hi Kevin,

I think that's a good summary of how the question appeared.

It's not exactly what i had in mind, which is what is in the subject
line: "want a file format easily edited and read by emacs that allows
(multiple) pictures to be included", but i didn't explain it very
well.

So what i was looking for was a file format which made a provision for
text portions and image portions, and which could also be edited by
emacs.  I did not have Word in mind, although if emacs could edit it i
guess it would fit the bill.  I had in mind something more like IFF
--- the file format family Electronic Arts introduced in the mid 1980s
(sort of like the later RIFF/wav formats).  It has a little header,
and then chunks of data identified by tags and lengths.  I thought
that if something like this existed and was spread around at all, then
emacs might have a mode for editing the text parts.  Conceptually, at
least, such a format would not be hard to display and edit, especially
if you already have the means for showing images; i would expect emacs
to keep track of the headers and adjust them as the sections expanded
or contracted.  That corresponds to your point #1.

And in fact, if anything like that existed, i'd still be interested.

However, Danny Yue (sheepduke) looked at the actual usage i had in
mind (keeping notes) and thought org would be a good match.

I hadn't used org, even though everybody is always talking about it,
because it didn't sound right for me.  I thought it couldn't hold its
own data but would have to make reference to the underlying file
system.  That's your point #2.

But then Marcin said that would be easy to remedy, and then wrote code
to do exactly that, and described it all in a blog post
http://mbork.pl/2017-12-04_Embedding_files_in_Org-mode

And then it emerged, as was known to most of the world except me, that
there are all kinds of things org can do, such as maintaining lists
that you can easily rearrange, having collapsible points, displaying
Greek letters (which you can toggle back and forth between a parsed
and display form), being much nicer to look at than markdown, and of
course being able to execute arbitrary code.

So although i'm still interested in a file format, because i like
binary things in known formats, and i like using the file program to
identify them, the case for org is pretty compelling. :) :)

dan



  parent reply	other threads:[~2017-12-05 23:44 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-02  8:02 want a file format easily edited and read by emacs that allows (multiple) pictures to be included Dan Hitt
2017-12-02 13:06 ` Daian YUE
2017-12-02 20:31   ` Dan Hitt
2017-12-02 21:08     ` Marcin Borkowski
2017-12-02 22:47       ` Dan Hitt
2017-12-03 10:10         ` tomas
2017-12-03 19:17           ` Dan Hitt
2017-12-03 20:56             ` tomas
2017-12-04 10:02       ` Marcin Borkowski
2017-12-04 11:28         ` Emanuel Berg
2017-12-05  5:11           ` Marcin Borkowski
2017-12-05  5:56             ` Emanuel Berg
2017-12-06 19:29               ` Marcin Borkowski
     [not found]               ` <mailman.5249.1512588581.27995.help-gnu-emacs@gnu.org>
2017-12-07  1:26                 ` Emanuel Berg
2017-12-07  6:27                   ` Marcin Borkowski
2017-12-07  2:06                 ` Emanuel Berg
2017-12-07  2:55                   ` Emanuel Berg
2017-12-07  4:53                   ` Rusi
2017-12-07  5:14                     ` Emanuel Berg
2017-12-07  5:20                       ` Emanuel Berg
2017-12-07  7:17                   ` Eric S Fraga
     [not found]                   ` <mailman.5273.1512631037.27995.help-gnu-emacs@gnu.org>
2017-12-07 11:35                     ` Emanuel Berg
2017-12-07 13:05                       ` Rusi
2017-12-07 13:59                       ` Eric S Fraga
2017-12-07 14:52                         ` Joost Kremers
2017-12-07 15:04                           ` Eric S Fraga
2017-12-07 15:18                             ` Yuri Khan
2017-12-08  9:26                               ` Eric S Fraga
2017-12-08 19:37                                 ` Dan Hitt
2017-12-09 10:20                                   ` Eric S Fraga
2017-12-09 14:03                                     ` Kaushal Modi
     [not found]                                   ` <mailman.5390.1512814836.27995.help-gnu-emacs@gnu.org>
2017-12-09 19:04                                     ` Emanuel Berg
     [not found]                             ` <mailman.5287.1512659955.27995.help-gnu-emacs@gnu.org>
2017-12-07 18:31                               ` Emanuel Berg
2017-12-07 18:50                                 ` Yuri Khan
     [not found]                                 ` <mailman.5293.1512672682.27995.help-gnu-emacs@gnu.org>
2017-12-07 19:07                                   ` Emanuel Berg
2017-12-07 19:19                                     ` Yuri Khan
     [not found]                                     ` <mailman.5295.1512674421.27995.help-gnu-emacs@gnu.org>
2017-12-07 21:23                                       ` Emanuel Berg
     [not found]                           ` <mailman.5286.1512659071.27995.help-gnu-emacs@gnu.org>
2017-12-07 19:02                             ` Emanuel Berg
2017-12-08  9:23                               ` Eric S Fraga
     [not found]                         ` <mailman.5284.1512658429.27995.help-gnu-emacs@gnu.org>
2017-12-07 18:26                           ` Emanuel Berg
2017-12-07 19:04                             ` Joost Kremers
     [not found]                             ` <mailman.5294.1512673483.27995.help-gnu-emacs@gnu.org>
2017-12-07 19:29                               ` Emanuel Berg
2017-12-07 18:43                           ` Emanuel Berg
2017-12-04 20:35         ` Dan Hitt
2017-12-04 21:21           ` Emanuel Berg
2017-12-04 21:52             ` tomas
2017-12-04 22:00               ` Emanuel Berg
2017-12-04 22:12                 ` tomas
2017-12-05  4:13                   ` Emanuel Berg
2017-12-05  8:08                     ` tomas
2017-12-05  8:36                       ` Emanuel Berg
2017-12-05  8:53                         ` tomas
2017-12-05  9:48                           ` Emanuel Berg
2017-12-05 10:03                             ` tomas
2017-12-05 11:31                               ` Emanuel Berg
2017-12-05 11:51                                 ` tomas
2017-12-05 13:44                                   ` Emanuel Berg
2017-12-05 14:00                                     ` tomas
2017-12-05 19:58                                       ` Emanuel Berg
2017-12-05 16:05                                     ` Marcin Borkowski
2017-12-05 20:08                                       ` Emanuel Berg
     [not found]                                 ` <mailman.5155.1512474685.27995.help-gnu-emacs@gnu.org>
2017-12-05 11:59                                   ` Rusi
2017-12-05 15:49                                 ` Marcin Borkowski
     [not found]                             ` <mailman.5149.1512468235.27995.help-gnu-emacs@gnu.org>
2017-12-05 11:29                               ` Rusi
2017-12-05 11:36                                 ` Emanuel Berg
2017-12-05 14:49                                   ` Kevin Buchs
2017-12-05 19:53                                     ` Emanuel Berg
2017-12-05 23:44                                     ` Dan Hitt [this message]
     [not found]                                     ` <mailman.5203.1512517474.27995.help-gnu-emacs@gnu.org>
2017-12-06  3:38                                       ` Rusi
2017-12-06  5:28                                         ` Emanuel Berg
2017-12-06  9:23                                           ` Rusi
2017-12-06  9:40                                             ` Emanuel Berg
2017-12-06 16:54                                               ` Eric S Fraga
     [not found]                                               ` <mailman.5229.1512579276.27995.help-gnu-emacs@gnu.org>
2017-12-07  1:21                                                 ` Emanuel Berg
2017-12-07  2:33                                             ` Dan Hitt
     [not found]                                             ` <mailman.5267.1512614019.27995.help-gnu-emacs@gnu.org>
2017-12-07  4:57                                               ` Rusi
2017-12-09  5:25                                               ` Rusi
     [not found]                                   ` <mailman.5167.1512485401.27995.help-gnu-emacs@gnu.org>
2017-12-05 15:08                                     ` Rusi
2017-12-05 15:47                                   ` Marcin Borkowski
2017-12-05 19:55                                     ` Emanuel Berg
2017-12-05 15:45                             ` Marcin Borkowski
2017-12-05 19:53                               ` Emanuel Berg
2017-12-05  9:56                     ` Eric S Fraga
2017-12-05 11:23                       ` Emanuel Berg
2017-12-05 11:39                         ` tomas
2017-12-05 12:19                         ` Eric S Fraga
2017-12-05 13:32                           ` Emanuel Berg
2017-12-05 13:38                             ` tomas
2017-12-05 13:53                               ` Emanuel Berg
2017-12-05 14:09                                 ` tomas
2017-12-05 20:11                                   ` Emanuel Berg
     [not found]                                 ` <mailman.5165.1512482981.27995.help-gnu-emacs@gnu.org>
2017-12-06  3:37                                   ` Emanuel Berg
2017-12-06  5:55                                     ` Emanuel Berg
2017-12-06  9:03                                       ` tomas
     [not found]                                       ` <mailman.5213.1512550993.27995.help-gnu-emacs@gnu.org>
2017-12-06  9:43                                         ` Emanuel Berg
2017-12-06 10:04                                         ` Emanuel Berg
2017-12-06 13:14                                           ` Rusi
2017-12-07  1:37                                             ` Emanuel Berg
2017-12-06 16:54                                           ` Eric S Fraga
2017-12-05 14:42                               ` Yuri Khan
2017-12-05 15:30                                 ` tomas
2017-12-05 15:50                                 ` Marcin Borkowski
2017-12-05 19:04                             ` Eric S Fraga
2017-12-05  5:09             ` Marcin Borkowski
2017-12-05  5:53               ` Emanuel Berg
2017-12-05  5:08           ` Marcin Borkowski
     [not found]   ` <mailman.4985.1512246680.27995.help-gnu-emacs@gnu.org>
2017-12-03  1:24     ` Dan Espen
2017-12-03  4:58       ` Dan Hitt

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=CAOphizKuKa4-skEjMirmYygf06MOb-MP2jQPexBEzcgwfiRQsg@mail.gmail.com \
    --to=dan.hitt@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kevin.buchs@gmail.com \
    /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.