From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dan Hitt Newsgroups: gmane.emacs.help Subject: want a file format easily edited and read by emacs that allows (multiple) pictures to be included Date: Sat, 2 Dec 2017 00:02:49 -0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512201808 15684 195.159.176.226 (2 Dec 2017 08:03:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 2 Dec 2017 08:03:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 02 09:03:23 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eL2la-0003UC-Qh for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Dec 2017 09:03:18 +0100 Original-Received: from localhost ([::1]:34698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eL2lg-00059e-IT for geh-help-gnu-emacs@m.gmane.org; Sat, 02 Dec 2017 03:03:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eL2lA-00059O-96 for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 03:02:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eL2l9-0005LB-EQ for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 03:02:52 -0500 Original-Received: from mail-ot0-x229.google.com ([2607:f8b0:4003:c0f::229]:46508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eL2l9-0005Kf-94 for help-gnu-emacs@gnu.org; Sat, 02 Dec 2017 03:02:51 -0500 Original-Received: by mail-ot0-x229.google.com with SMTP id j2so10941142ota.13 for ; Sat, 02 Dec 2017 00:02:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4Z0qTitv/2NP4OWTwTPs8NIcqFQv1l2ncSUHS84D7Qg=; b=gODcsCtiCshzLU+CM8gY8sGaNdaaS7viPOnfdJyZ5v636CSFBZA375a8K03XEmPvYv GjINMQcXV8gMC4XNV4saz+14i3AyUGw9YOa/TAKP9QwBH5HahmYQY2cIXZddNHM5OfMA MOSkxo7ph4n5ZOCKzrsne+IO9RdPlvAltuNplGthsB40qekdqW8rV+Q9bkDAiizcSMeA nCFNZ6BV2hFQq3Cr6sDzcNUWt0Qg2Sw8BVJCxoBRyvTwxi/lxuOwg5E33DORnV8Pw06T 0KT0IrHp8sTNW7TMkbDeBY/TArwGVjiams2Bz/gk3X9uWOPPpS/ULhkFCj6huRia2/nM kcqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4Z0qTitv/2NP4OWTwTPs8NIcqFQv1l2ncSUHS84D7Qg=; b=fmJ1ingpJxRC9i9MZHuoA3NVD5h1cdZuA7vHQoNfyhIm7cuayb5+t+eEqMN4LaYAaR HicxqtN8iU7IJVy5eD0vXFEA7WW8/Fj3P+nKrTacIDE+fvIMaif5M2f25e3gNGKIDZ83 ryb/V+0sa2SXMyug4WxlKPXPLNP+mboD4XXr4pyUmdwJQSb1Pg6srBcfNn5dUaaMrd6E n2SJjjEkEgNuVK74QMytKlW729soCgVEZKDj90IBd52Z5yI+EqEy4fcAGl9cgjvRrkwc r0ODxk5r5UJL0ZONQULO0g3n+XCOYVUauJPIlQ47B0IcgIS+Ltbt5jWXYWA2lc0gqaE1 sHBw== X-Gm-Message-State: AJaThX5c3RhJlTsQKbNyUu88/lb68LPqdQ/UDv4oC9WOo0sJa8rQCYQm CEY7WWs/dsU/7okdn24BHWiflY5XLDplRaJFa2Q= X-Google-Smtp-Source: AGs4zMaLYv+sWnJP1xBkyQc0bNidCDMN28Lm8Ntu9R3AxpQWXeiDmPt7tLpoDVEaJNNRWPEr4tvNwI2CtrXEs2P3Dqo= X-Received: by 10.157.12.205 with SMTP id o13mr9814700otd.199.1512201770098; Sat, 02 Dec 2017 00:02:50 -0800 (PST) Original-Received: by 10.74.92.140 with HTTP; Sat, 2 Dec 2017 00:02:49 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115165 Archived-At: For the notes i keep, sometimes i would like to sometimes include a picture (jpg or png or maybe some other format). emacs seems to have no problem displaying a picture but i would like to add words to it. So reading the file in emacs would be something like looking at html, but i would prefer it something to be hot-editable, just like text files are. That is, i would prefer not to have any markup in the file whatsoever, just a block of text, then a picture, then more text, then another picture, and so on. Perhaps an unprintable character could divide the sections, and each section type could be recognized as either starting with the magic words of a jpg or png and be presented as a picture, or otherwise, presented as utf-8. (So i guess the unprintable character would be markup, but certainly i wouldn't want something as lengthy as to appear in the file.) Ideally, emacs would recognize the type of file it was by a mode-defining like at the top, like -*- text -*- (except, of course, not text). Does any file format/mode combo like this exist? TIA for any clues!! :) dan