all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ag Ibragimov <agzam.ibragimov@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: ASCII Tables with row and colspans
Date: Wed, 18 Oct 2023 21:13:08 -0500	[thread overview]
Message-ID: <m2v8b37423.fsf@gmail.com> (raw)
In-Reply-To: <878r863f3p.fsf@localhost>

Ihor Radchenko <yantar92@posteo.net> writes:

> Ag Ibragimov <agzam.ibragimov@gmail.com> writes:
>
>> I've driven myself into a self-imposed headache. I need to render an
>> HTML table (Elisp representation of it, result of libxml-parse) in
>> ASCII.
>> ...
>> What's fast and easy way to render it in ASCII?
>
> AFAIK, AsciiDoctor has a very flexible table syntax. So, you may
> consider converting the AsciiDoctor format and then using AsciiDoctor
> ASCII export.

I think you missed the point that I'm trying to do this in Elisp. This is for a small package I'm writing. I couldn't
find a function anywhere that prints an ASCII table with spans. I thought it would be trivial to write one, turned out
to be a bit trickier than I expected. I'm surprised that something like this doesn't exist already. I'm still hoping
someone already solved that.



  reply	other threads:[~2023-10-19  2:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12 21:05 ASCII Tables with row and colspans Ag Ibragimov
2023-10-13 12:02 ` Ihor Radchenko
2023-10-19  2:13   ` Ag Ibragimov [this message]
2023-10-19  3:21     ` Emanuel Berg
2023-10-19  6:46 ` Visuwesh
2023-11-03 10:20 ` Jean Louis
2023-11-03 16:09   ` Emanuel Berg
2023-11-03 19:12     ` [External] : " Drew Adams
2023-11-03 19:27       ` Emanuel Berg
2023-11-04 15:17         ` Eric S Fraga
2023-11-05 15:53           ` Emanuel Berg
2023-11-08  6:13     ` Jean Louis

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=m2v8b37423.fsf@gmail.com \
    --to=agzam.ibragimov@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=yantar92@posteo.net \
    /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.