From: Joost Kremers <joostkremers@fastmail.fm>
To: help-gnu-emacs@gnu.org
Subject: Re: Need to know how to goto-column
Date: Thu, 03 Dec 2020 15:33:52 +0100 [thread overview]
Message-ID: <87r1o7c627.fsf@fastmail.fm> (raw)
In-Reply-To: <X8j0m+NTEC8mSI4x@protected.rcdrun.com>
On Thu, Dec 03 2020, Jean Louis wrote:
> * tomas@tuxteam.de <tomas@tuxteam.de> [2020-12-03 14:46]:
>> On Thu, Dec 03, 2020 at 02:20:31PM +0300, Jean Louis wrote:
>> > I would like to use function goto-column but it is not there.
>> >
>> > Somebody knows how can I move cursor to specific column?
>>
>> move-to-column
>
> That works, especiall with
>
> (move-to-column column t) to go to column even if there are no spaces.
>
> I am trying to construct ordered display of various items. Maybe I
> should use skeleton for that. I have 2 columns and in first one
> sometimes, sometimes not, appear various properties, in second one
> sometimes, sometimes not appear various properties. But in any case I
> want them aligned.
>
> If anybody knows what is usually used in Emacs to align text, may let me know.
There is `tabulated-list-mode`, which may be of use. There is also the function
`truncate-string-to-width`, in case `tabulated-list-mode` is too high-level for
your purpose.
--
Joost Kremers
Life has its moments
next prev parent reply other threads:[~2020-12-03 14: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 [this message]
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
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=87r1o7c627.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--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).