unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Dedicated buffer with buttons that show messages in a central display area
Date: Tue, 15 Nov 2022 01:54:06 +0100	[thread overview]
Message-ID: <877czx2g29.fsf@dataswamp.org> (raw)
In-Reply-To: Y3EQcDcTbPt9JDo1@protected.localdomain

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))

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




  reply	other threads:[~2022-11-15  0:54 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 [this message]
2022-11-15 19:39             ` Heime
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=877czx2g29.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --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).