unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Need to know how to goto-column
Date: Fri, 04 Dec 2020 02:33:07 +0100	[thread overview]
Message-ID: <877dpy9wz0.fsf@web.de> (raw)
In-Reply-To: X8l8ISKJgyQKygwa@protected.rcdrun.com

Jean Louis <bugs@gnu.support> writes:

> (align BEG END &optional SEPARATE RULES EXCLUDE-RULES)

Yeah, this is not bad.

I chose to implement something that transforms a table given as a list
of lists to a string.  So that I can e.g. call

#+begin_src emacs-lisp
(insert (my-print-table-to-string
          '((1 "xx") (20 "yyy"))
          `(,#'number-to-string ,#'identity) ; how cols are formatted
          '(left right)))                    ; col alignments
#+end_src

and I would get

 1   xx
 20 yyy

inserted.


Regards,

Michael.




  reply	other threads:[~2020-12-04  1:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 11:20 Need to know how to goto-column Jean Louis
2020-12-03 11:46 ` tomas
2020-12-03 14:22   ` Jean Louis
2020-12-03 14:33     ` Joost Kremers
2020-12-03 16:23       ` tabulated-list-mode for dynamic knowledge repository - " Jean Louis
2020-12-03 22:27     ` Michael Heerdegen
2020-12-03 22:29       ` Jean Louis
2020-12-03 23:33         ` Michael Heerdegen
2020-12-04  0:00           ` Jean Louis
2020-12-04  1:33             ` Michael Heerdegen [this message]
2020-12-04  6:01               ` Jean Louis
2020-12-05 21:40                 ` Michael Heerdegen
2020-12-06  5:02                   ` Jean Louis
2020-12-06 22:34                     ` Michael Heerdegen
2020-12-07  6:37                       ` Jean Louis
2020-12-04  8:15             ` Eli Zaretskii
2020-12-07  6:04               ` 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

  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=877dpy9wz0.fsf@web.de \
    --to=michael_heerdegen@web.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.
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).