From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Newsgroups: gmane.emacs.help 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:09:30 +0100 Message-ID: <20171205140930.GD32589@tuxteam.de> References: <20171204215223.GB1723@tuxteam.de> <86609mduhp.fsf@zoho.com> <20171204221250.GF1723@tuxteam.de> <86o9nddd7i.fsf@zoho.com> <87a7yxijlp.fsf@delle7240.chemeng.ucl.ac.uk> <86indlbeqm.fsf@zoho.com> <874lp5pdtt.fsf@ucl.ac.uk> <86609lb8qo.fsf@zoho.com> <20171205133858.GB32589@tuxteam.de> <86wp219t73.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1512483012 19163 195.159.176.226 (5 Dec 2017 14:10:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 14:10:12 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 05 15:10:01 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 1eMDv3-0004Pq-Si for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 15:09:58 +0100 Original-Received: from localhost ([::1]:49023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMDvB-0004xA-2h for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 09:10:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMDul-0004x2-D4 for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 09:09:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMDuf-0001xs-C1 for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 09:09:39 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:48180) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMDuf-0001xW-4J for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 09:09:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=20171004; h=From:In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=7r5pQQfgX6DfmvQH23vV1GcE4ggu8Z5bGcRPwFhtNVc=; b=pYzOKfF54hhyrtAMBoRuPecdZeTG8V/RAhopMCDvOXyAGZGgV1byMXCOxzPvFHMUOwxGq0Au2y/3L+kz4vf5aqUxxeiEEHU3cMyZ6PzZmzklpoQdcEsztpyEScxgcDB+7c+11s0eJb6svYz1oI3ZX/ZyTa9kYGt1cHmNwoR3YT91Y3v8Y01iJfM2PKnjTGLQMhPm9qTHmzWXsx8QbFPhKmfy51wdEDFGTgyelWFVsmpU0MDstz4BtncZHxOZLr010FoNWnntsr9tiug2fq56u/JiFPf3jdBFc6gOn21WLVBbWmszdaHXfS0hp9T7IpehWyMzZdXPEoObysQZdEtzsw==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1eMDuc-0000Po-Ev for help-gnu-emacs@gnu.org; Tue, 05 Dec 2017 15:09:30 +0100 In-Reply-To: <86wp219t73.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 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:115224 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Dec 05, 2017 at 02:53:52PM +0100, Emanuel Berg wrote: > tomás wrote: > > > And don't forget, the source code is > > a lightweight markup more text-oriented folks > > will be able to make sense of (as well as > > they'd make of Markdown and others). > > I regularly throw org snippets in my text > > mails and no one notices :-) > > Then why do it at all? Because it makes life easier for me. An example: if I want to show to someone what "df -h" does on my box, I just open an org mode buffer and do: This is the output of =df= on my box #+BEGIN_SRC sh :results raw drawer df -h #+END_SRC #+RESULTS: :RESULTS: Filesystem Size Used Avail Use% Mounted on udev 7.7G 0 7.7G 0% /dev tmpfs 1.6G 3.1M 1.6G 1% /run /dev/mapper/trotzki-root 19G 376M 17G 3% / /dev/mapper/trotzki-usr 73G 2.6G 67G 4% /usr tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 3.1G 24M 3.1G 1% /run/shm /dev/sda1 939M 38M 854M 5% /boot /dev/mapper/trotzki-home 640G 137G 471G 23% /home /dev/mapper/trotzki-var 183G 408M 173G 1% /var :END: Note that the whole thing between :RESULTS: and :END: was inserted by org mode, I just had to type C-c C-c in the source code snippet (and confirm that yes, I want this shell snippet executed in my box). No more cutting&pasting from a terminal session and things like that (and I can just redo the whole thing once I've saved that buffer somewhere -- that's what others are talking about repeatable research). As that's Emacs, I can run it remotely on another box (courtesy of Tramp), yadda, yadda. When I do remote sysadmin on other boxes, I often use org to document what I've done and why. Cheers - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlomqJoACgkQBcgs9XrR2kbjyQCfbsbCw/I08EP/mlNWgrWdaOd9 FF0Anima6AKFVowX6UqV5dGMA3gqK2nz =RV52 -----END PGP SIGNATURE-----