[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
forward 1 (was: Re: indent-buffer)
From: |
Emanuel Berg |
Subject: |
forward 1 (was: Re: indent-buffer) |
Date: |
Tue, 15 Feb 2022 02:35:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> (forward-line 1) is the same as (forward-line) BTW ... don't
> know when that changed, I myself has 8 occurences of
> (forward-line 1) ...
It seems that `forward-line', `forward-char', `forward-word'
and `backward-char' now takes 1 as the default, and it also
seems to be the case that using `backward-char' does no longer
make the byte-compiler say that the correct way is to use
(forward-char -1) - which is good, since `backward-char' is
more idiomatic - but (forward-char -1) still works, as do
(backward-char -1) - i.e., that's the same as (forward-char 1)
- or, now, (forward-char) ...
Take a look at `forward-button' tho, and `backward-button',
with those, N is still explicit ... don't know why, I suspect
a reason?
--
underground experts united
https://dataswamp.org/~incal
- indent-buffer, Emanuel Berg, 2022/02/14
- forward 1 (was: Re: indent-buffer),
Emanuel Berg <=