From: Jean Louis <bugs@gnu.support>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Need to know how to goto-column
Date: Fri, 4 Dec 2020 03:00:33 +0300 [thread overview]
Message-ID: <X8l8ISKJgyQKygwa@protected.rcdrun.com> (raw)
In-Reply-To: <87o8jaa2hz.fsf@web.de>
* Michael Heerdegen <michael_heerdegen@web.de> [2020-12-04 02:34]:
> Jean Louis <bugs@gnu.support> writes:
>
> > Only presented to user in window, saved as file, or sent by email.
>
> AFAIK we don't have anything built-in that allows to print a table
> conveniently. I can offer some code I wrote for myself the last time I
> needed something like this.
>
> What I know Emacs does have is ses, the "Simple Emacs Spreadsheet", and
> table support in Org-Mode. But they probably help only if you also use
> the same tools to save your data.
Yes, I have tried SES and I use Org tables. Alignment of text should
not be in tables, just something like
FIELD FIELD HERE AND MORE
FIELD AND MORE FIELD AND MORE TOO
MORE HERE AND HERE ALSO MORE
And I would need to inject in those fields values whichever come
first. Like if there is no value A, then B, and so on. So it is better
that I construct list programmatically and then make it display.
+--------------------+--------------------+--------------------+
|Something here |And more here |And here more |
| | | |
+--------------------+--------------------+--------------------+
|And osmething |This works |well |
| | | |
+--------------------+--------------------+--------------------+
|And more |more |more |
| | | |
+--------------------+--------------------+--------------------+
This type of tables also exist under Tools / Table but I did not see
there is anything nice to make it programmatically. And I need not
have the lines, it could be empty as long as programmatically possible
without writing much code myself.
I will try to use something like:
https://www.emacswiki.org/emacs/AlignCommands#toc2
And this command:
(align BEG END &optional SEPARATE RULES EXCLUDE-RULES)
Jean
next prev parent reply other threads:[~2020-12-04 0:00 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 [this message]
2020-12-04 1:33 ` Michael Heerdegen
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=X8l8ISKJgyQKygwa@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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).