help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need to know how to goto-column


From: Michael Heerdegen
Subject: Re: Need to know how to goto-column
Date: Fri, 04 Dec 2020 02:33:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]