help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inserting at particular buffer position


From: Eli Zaretskii
Subject: Re: Inserting at particular buffer position
Date: Sun, 04 Dec 2022 14:38:58 +0200

> Date: Sun, 04 Dec 2022 12:27:05 +0000
> From: Heime <heimeborgia@protonmail.com>
> Cc: help-gnu-emacs@gnu.org
> 
> ------- Original Message -------
> On Sunday, December 4th, 2022 at 11:49 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
> 
> > > Date: Sun, 04 Dec 2022 11:16:47 +0000
> > > From: Heime heimeborgia@protonmail.com
> > > Cc: help-gnu-emacs@gnu.org
> > > 
> > > > > A problem that I encounter is that if the position (row col) is not 
> > > > > available,
> > > > > point does not switch to the correct position.
> > > > 
> > > > What do you mean by "position not available"?
> > > > 
> > > > How do you compute that position's row and column, if it isn't 
> > > > available?
> > > 
> > > Suppose I insert in the current buffer, to a line larger than the 
> > > greatest line
> > > where the cursor can go. Nothing gets printed after that. And if I try to 
> > > print
> > > to a column which is larger than available whitespace, things do not get 
> > > printed.
> > 
> > 
> > Insert enough newlines where you lack lines, and insert enough SPC
> > characters to have the column you want.
> 
> I want to make a buffer with the respective text inserted automatically, 
> without
> any inputs from the user.

I meant your Lisp program should make these insertions, not the user.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]