From: <tomas@tuxteam.de>
To: 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:09:30 +0100 [thread overview]
Message-ID: <20171205140930.GD32589@tuxteam.de> (raw)
In-Reply-To: <86wp219t73.fsf@zoho.com>
-----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-----
next prev parent reply other threads:[~2017-12-05 14:09 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
[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 [this message]
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=20171205140930.GD32589@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=help-gnu-emacs@gnu.org \
/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.