From: Heime <heimeborgia@protonmail.com>
To: Emanuel Berg <incal@dataswamp.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Dedicated buffer with buttons that show messages in a central display area
Date: Tue, 15 Nov 2022 19:39:10 +0000 [thread overview]
Message-ID: <513hgEiUCrI-3lMXk703SRPx7f8lc5w_JbcTyb4McLCM_wUK52Y0ZdSnyz_gAE94bn_SUjitCbpUzfmXK2_LfYgKk0WyT9uh3mcHMoOtzus=@protonmail.com> (raw)
In-Reply-To: <877czx2g29.fsf@dataswamp.org>
------- Original Message -------
On Tuesday, November 15th, 2022 at 12:54 AM, Emanuel Berg <incal@dataswamp.org> wrote:
> Jean Louis wrote:
>
> > You may use function `goto-char' as linear movement.
> >
> > You could as well use `goto-line' and then (goto-char (point-at-bol)) and after` forward-char' to go to some
> > column of the text, this reminds me as coordinate with
> > X and Y.
> >
> > (defun goto-x-y (x y)
> > "Goto to line X, char Y."
> > (goto-line x)
> > (goto-char (point-at-bol))
> > (forward-char y))
This does not work when buffer does not have position (x,y) as whitespace.
> Problematic, you can use gamegrid for this
>
> M-x tetris RET
>
> > (goto-char (point-at-bol))
>
>
> It's called `line-beginning-position' now ...
>
> --
> underground experts united
> https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-11-15 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-11 14:33 Dedicated buffer with buttons that show messages in a central display area Heime
2022-11-11 15:15 ` Emanuel Berg
2022-11-11 18:38 ` Jean Louis
2022-11-12 7:58 ` Heime
2022-11-12 8:31 ` Jean Louis
2022-11-13 10:02 ` Heime
2022-11-13 15:42 ` Jean Louis
2022-11-15 0:54 ` Emanuel Berg
2022-11-15 19:39 ` Heime [this message]
2022-11-13 11:26 ` Emanuel Berg
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='513hgEiUCrI-3lMXk703SRPx7f8lc5w_JbcTyb4McLCM_wUK52Y0ZdSnyz_gAE94bn_SUjitCbpUzfmXK2_LfYgKk0WyT9uh3mcHMoOtzus=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=incal@dataswamp.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).