unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Inserting at particular buffer position
Date: Sun, 04 Dec 2022 09:24:50 +0200	[thread overview]
Message-ID: <83wn77bph9.fsf@gnu.org> (raw)
In-Reply-To: <b59rrawnqMDGBcrsOuCHwwOCWGT5SN16UJJFIFFu2cWuQQXccfJf_dI4edbLgiKBhQ1xeCmPIkyiM_qYo9b_TXwXYiq5XVszJ8i68ynPbY8=@protonmail.com> (message from Heime on Sun, 04 Dec 2022 01:12:52 +0000)

> Date: Sun, 04 Dec 2022 01:12:52 +0000
> From: Heime <heimeborgia@protonmail.com>
> 
> 
> The function "insert", inserts characters into the current buffer, at point, moving point forward.
> But how can I insert at a particular position (row column).

You need to move point there first.  For example, with goto-char (if you
know the buffer position), or with forward-line followed by move-to-column
(of you know the line and column).



  reply	other threads:[~2022-12-04  7:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-04  1:12 Inserting at particular buffer position Heime
2022-12-04  7:24 ` Eli Zaretskii [this message]
2022-12-04  8:04   ` Heime
2022-12-04 10:01     ` Eli Zaretskii
2022-12-04 11:16       ` Heime
2022-12-04 11:49         ` Eli Zaretskii
2022-12-04 12:10           ` Eli Zaretskii
2022-12-04 12:27           ` Heime
2022-12-04 12:38             ` Eli Zaretskii
2022-12-04 13:22     ` Jean Louis
2022-12-04 13:52       ` Heime
2022-12-04 14:11         ` Jean Louis
2022-12-04 13:30     ` Jean Louis
2022-12-05  6:21       ` Heime
2022-12-05 18:59         ` Jean Louis
2022-12-04 13:21 ` Jean Louis
2022-12-04 15:52   ` Dr Rainer Woitok
2022-12-04 20:04     ` Heime

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=83wn77bph9.fsf@gnu.org \
    --to=eliz@gnu.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).