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: Jean Louis
Subject: Re: Need to know how to goto-column
Date: Fri, 4 Dec 2020 09:01:48 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Michael Heerdegen <michael_heerdegen@web.de> [2020-12-04 04:34]:
> 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

Show me the `my-print-table-to-string' if you have it. That is same
approach just without converting numbes to strings.

Jean



reply via email to

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