emacs-devel
[Top][All Lists]
Advanced

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

Re: Searching for line beginning


From: Eli Zaretskii
Subject: Re: Searching for line beginning
Date: Sun, 14 Aug 2022 18:48:47 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: "Basil L. Contovounesios" <contovob@tcd.ie>,  emacs-devel@gnu.org
> Date: Sun, 14 Aug 2022 17:43:38 +0200
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> FWIW, one could also say (beginning-of-line) or (beginning-of-line 1)
> >> instead of (goto-char (line-beginning-position)).
> >
> > As a matter of principle, I don't like calling commands from Lisp if I
> > can avoid that, because commands frequently have extensive checks of
> > the arguments that are redundant in non-interactive calls.
> 
> `goto-char' is also a command, though.

No one is perfect.



reply via email to

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