From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Enclosing text in a box
Date: Thu, 17 Nov 2022 07:57:13 +0100 [thread overview]
Message-ID: <87wn7u2hme.fsf@dataswamp.org> (raw)
In-Reply-To: Y3XX9POFHmP24NID@protected.localdomain
Jean Louis wrote:
> ┏━━━━━━━━━━━━━━━━━━━━━━━━━┓
> ┃ And now good bye to all ┃
> ┗━━━━━━━━━━━━━━━━━━━━━━━━━┛
Can you use your program to make a neat table out of
this, perhaps?
It looks neat below but I post-processed it. I mean,
e-manually ...
;;; -*- lexical-binding: t -*-
;;
;; this file
;; https//dataswamp.org/~incal/emacs-init/war.el
(require 'math)
(defun war ()
(let*((ukr 603628)
(pre 42000)
(smo 119000)
(ret 74443)
(most (+ pre smo))
(now (- most ret)) )
(insert (format "Ukraine area %d (km2)\n" ukr)
(format "Occupied pre-2022 %d %s\n" pre (percent pre ukr t))
(format "Additionally occupied in 2022 %d %s\n" smo (percent smo ukr t))
(format "Biggest area occupied %d %s\n" most (percent most ukr t))
(format "Retaken during counteroffensive %d %s\n" ret (percent ret most t))
(format "Occupied area 2022-11-17 %d %s\n" now (percent now ukr t)) )))
;; Ukraine area (km2) 603 628
;; Occupied pre-2022 42 000 7.0%
;; Additionally occupied in 2022 119 000 19.7%
;; Biggest area occupied 161 000 26.7%
;; Retaken during counteroffensive 74 443 46.2%
;; Occupied area 2022-11-17 86 557 14.3%
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-11-17 6:57 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 12:47 Enclosing text in a box Heime
2022-11-16 13:07 ` Heime
2022-11-16 13:34 ` Alexis Roda
2022-11-16 13:58 ` Eli Zaretskii
2022-11-16 14:11 ` Yuri Khan
2022-11-16 14:20 ` Heime
2022-11-16 14:47 ` Eli Zaretskii
2022-11-16 14:51 ` Heime
2022-11-16 14:55 ` Emanuel Berg
2022-11-16 20:56 ` Emanuel Berg
2022-11-16 16:44 ` Eli Zaretskii
2022-11-16 16:48 ` Heime
2022-11-16 16:53 ` Heime
2022-11-16 19:20 ` Eli Zaretskii
2022-11-16 19:35 ` Heime
2022-11-16 19:42 ` Emanuel Berg
2022-11-16 21:01 ` Heime
2022-11-16 20:00 ` Eli Zaretskii
2022-11-16 20:55 ` Emanuel Berg
2022-11-18 14:48 ` Eli Zaretskii
2022-11-18 15:10 ` tomas
2022-11-18 19:18 ` Emanuel Berg
2022-11-16 21:04 ` Emanuel Berg
2022-11-16 14:55 ` Yuri Khan
2022-11-16 15:06 ` Yuri Khan
2022-11-16 16:12 ` tomas
2022-11-16 16:43 ` Heime
2022-11-17 6:43 ` Jean Louis
2022-11-17 6:57 ` Emanuel Berg [this message]
2022-11-18 19:11 ` Jean Louis
2022-11-21 12:53 ` Emanuel Berg
2022-11-18 16:20 ` [External] : " Drew Adams
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wn7u2hme.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).