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: Patch proposal: display symbol source code in help buffers Date: Fri, 01 Oct 2021 13:24:48 +0300 Message-ID: <83wnmxdoun.fsf@gnu.org> References: <875yuvlrz3.fsf@gnus.org> <87r1djixiw.fsf@gnus.org> <878rzrzpfz.fsf@localhost> <87zgs7y5wc.fsf@localhost> <87sfxyftrw.fsf@gnus.org> <87mto6ifd2.fsf@localhost> <83r1diz5k9.fsf@gnu.org> <87r1diqodc.fsf@localhost> <87ee9h27rm.fsf@gnus.org> <87wnmxcjhm.fsf@localhost> <8335plfbs7.fsf@gnu.org> <87lf3dcdtt.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11949"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, arthur.miller@live.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 01 12:27:39 2021 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 1mWFlS-0002u2-7W for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Oct 2021 12:27:38 +0200 Original-Received: from localhost ([::1]:58172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWFlQ-0006Ly-NF for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Oct 2021 06:27:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWFjj-0005Pk-S6 for emacs-devel@gnu.org; Fri, 01 Oct 2021 06:25:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWFjb-0000Q3-S9; Fri, 01 Oct 2021 06:25:48 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1214 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 1mWFj0-0006RK-JF; Fri, 01 Oct 2021 06:25:34 -0400 In-Reply-To: <87lf3dcdtt.fsf@localhost> (message from Ihor Radchenko on Fri, 01 Oct 2021 17:08:14 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:275974 Archived-At: > From: Ihor Radchenko > Cc: larsi@gnus.org, stefankangas@gmail.com, arthur.miller@live.com, > emacs-devel@gnu.org > Date: Fri, 01 Oct 2021 17:08:14 +0800 > > > This assumes that if point is at BOB, we "just opened the buffer"? > > What if the user moves point, then returns to BOB? > > Lars applied the patch without (= 1...) clause, so it does not matter > anymore. And I sent my comment before I saw that Lars already installed, so it doesn't matter anymore. > > And why do you use 1 instead of point-min? > > Mostly because I prefer to state it explicitly to not confuse BOB with > beginning of a narrow. Is there any scenario when BOB is not at 1? When the buffer is narrowed, of course. Suppose some Help function decides for some reason to narrow the buffer: then 1 won't work anymore the way you intended.