From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Searching for line beginning Date: Sun, 14 Aug 2022 18:48:47 +0300 Message-ID: <83o7wmkeqo.fsf@gnu.org> References: <831qtkm9ni.fsf@gnu.org> <878rnqq1qr.fsf@tcd.ie> <83pmh2kfaj.fsf@gnu.org> <8735dyhlud.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13497"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 14 17:50:49 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNFt3-0003OQ-8y for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Aug 2022 17:50:49 +0200 Original-Received: from localhost ([::1]:37834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNFt1-0007Gl-Rn for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Aug 2022 11:50:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNFrN-0006Vp-Iq for emacs-devel@gnu.org; Sun, 14 Aug 2022 11:49:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNFrM-0006CT-TU; Sun, 14 Aug 2022 11:49:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=puMQvhDbPG4LfmZppNOjSGlodMfd0vICofSRdG1/myA=; b=KSpaUpPG8gkb xWbkAwPQ6HxV3sXSpMxXtkD3AQ4XTmoSTxcZyZfgJBBgzkZD5NVKfU2ClKC6HYIoeXnmQY8sEdCV/ 7/8eiCMH5ekzezzc2rsrLoUN79g+8EiNyt34MvfyjjPVvtMi5OPDsa8eFqud3VNvztwqrZkNKKUEj sfRnYkWznBsizFSTH0qYtNVet1lHHd8wuwtpcrR9f5mu67P0T3+JtZD5/L8wM/3br57SLNqlrtLsl tnLQLYhUaW6Rw9jfbV1S1YG3t4fiC0aZOq5y784S5hTIVJ1AMMUzb56Xf6zmuiTaVkvgJwVG093+j IPZwJ+6npyTzfxJYEVxdLw==; Original-Received: from [87.69.77.57] (port=2064 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNFrM-00042n-Cj; Sun, 14 Aug 2022 11:49:04 -0400 In-Reply-To: <8735dyhlud.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 14 Aug 2022 17:43:38 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293451 Archived-At: > From: Lars Ingebrigtsen > Cc: "Basil L. Contovounesios" , emacs-devel@gnu.org > Date: Sun, 14 Aug 2022 17:43:38 +0200 > > Eli Zaretskii 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.