From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master f117b5df4d: Add new functions eol and bol Date: Sun, 21 Aug 2022 14:01:16 +0200 Message-ID: <874jy5olf7.fsf@gnus.org> References: <166091536530.20326.14174671546998200051@vcs2.savannah.gnu.org> <20220819132245.AE2BBC0088A@vcs2.savannah.gnu.org> <87a680v004.fsf@gnus.org> <6bccc5f6-69de-7402-085b-e5f1c84a0592@yandex.ru> <87o7wfqshr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39120"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier , Dmitry Gutov , emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 21 14:03:00 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 1oPjfP-0009vC-LM for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Aug 2022 14:02:59 +0200 Original-Received: from localhost ([::1]:58988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPjfO-0004EJ-6O for ged-emacs-devel@m.gmane-mx.org; Sun, 21 Aug 2022 08:02:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPjdu-0003Nr-SQ for emacs-devel@gnu.org; Sun, 21 Aug 2022 08:01:26 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:59426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPjds-0003wQ-Md for emacs-devel@gnu.org; Sun, 21 Aug 2022 08:01:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HwWNZoFr5YPU1zosk/qh2vgYAjL0Sv0syPHXSeemdnI=; b=hvEM458aNZtcl3ET6djUN/O43p UdWGvJNNGxktGUp0sGBtO3LenlucSoZGhcHT6TM+ZA3kIbwGxBRxeEzrqwwSCt9StUbqFNVqd4HN1 romaS7sFeFkq0tQ+7xd4tEg7mp1uH7Ux8Rs9jxnLexO2nM3yC6dWS8RGPZUJ+TcjMNK8=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oPjdm-0001cA-WC; Sun, 21 Aug 2022 14:01:21 +0200 In-Reply-To: (Stefan Kangas's message of "Sat, 20 Aug 2022 10:14:24 -0700") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEUTBgZdJiewdjL/ //8rHmheAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YIFQslEKJvkTEAAAFVSURBVCjPRZK9asMwEMdP QRJtJhtkSDR1KIXmKRSIO0uQ85Apgw2tn8KBdk+XQDt1cEqtp+xJiu0bJP38v5PuwwA3yzLLQeXo RF4i2R6y3LnC4bZ0ARytOZZREYjKUsgeBQfpYbalNzM0l36GdWVnmGOyCRQAeYhrhFXGOtqOSVEL WlkEUSt1C2XA/kawDMTQ2vRZMSO875KiopJgT8CGTUrRbkoDj+0tX41bWuj+kJPKjThJyiy9Y14+ 4Dkp9wCf71wDjyXt2NlybVYBnk5m9QBLeI31dXYtrPaxfrkDLezG/4QrqgYOsjtQm5YAv0fQA6eG hpcuNWvPd3QOl/t+4Tv+lnJre0nVJGBVL51hEYRtagDD6uRWUC9MyoyA5HEUBRoozHiuzKQgfnfF BJW/tjjOh2wox5l6f/3C5KaDYLFmoVURwg9hqOshpKd9cpvmLXE+/wPSrVmCZ8bLHQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMi0wOC0yMVQxMTozNzoxNSswMDowMPQM2RMAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjItMDgtMjFUMTE6Mzc6MTUrMDA6MDCFUWGvAAAAAElFTkSuQmCC X-Now-Playing: Cirkus Modern's =?utf-8?Q?=5FTr=C3=B8st=5F=3A?= "Match =?utf-8?Q?=28N=C3=A5?= er det mitt liv, =?utf-8?Q?n=C3=A5?= er det min tur)" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:293691 Archived-At: Stefan Kangas writes: >> I like using the `pos-` prefix. > > Using a prefix is more discoverable than a postfix: you can find all > functions by saying, e.g., `C-h f pos TAB'. So I'd prefer that. So I think the votes are in, and `pos-eol' seems to be the winner. I don't think the "-at" is necessary -- I mean, from a grammatical point of view, it's better, but I don't think it makes the code clearer, especially in the presence of the `point-min' and `point-max' work horses. (And it adds confusability with `point-at-eol'.) So I think we'll go with `pos-eol', and I'm adjusting the code in that direction now.