From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Patch proposal: display symbol source code in help buffers Date: Fri, 01 Oct 2021 22:14:27 +0800 Message-ID: <87y27cde7w.fsf@localhost> 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> <83wnmxdoun.fsf@gnu.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="9199"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefankangas@gmail.com, arthur.miller@live.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 01 16:15:19 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 1mWJJn-00028Z-Kr for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Oct 2021 16:15:19 +0200 Original-Received: from localhost ([::1]:58196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWJJm-0000nd-8o for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Oct 2021 10:15:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWJHm-0007UF-Nv for emacs-devel@gnu.org; Fri, 01 Oct 2021 10:13:14 -0400 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:36404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWJHl-00082F-9M; Fri, 01 Oct 2021 10:13:14 -0400 Original-Received: by mail-pf1-x434.google.com with SMTP id m26so8058856pff.3; Fri, 01 Oct 2021 07:13:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=U9KB0mdrh4NyVcgcp571S9qpM/NJFNkU5vfelQwvr54=; b=owGDo81f5rbPduWzlSFMMaJECFuEkmQpRTRkNRvxDyHtFMTwGVvmjY/FuVCUJPkwnl ESs/qhBXeibfeElNF5KrLx0eYl6F4XVEhfdUZN1eBMpvkBdNPwXcQvKkkl7bpBBPpj6P MkenD/caM2LO7Hep8xL7F6BuuYYVbgLchkz5MHPdGYJoKDcaa1khSW8l3vFxKpd8Nzx4 vsftjZWLBrbNPS1K8nwWFwJhyITN936UMBuM+gm2+45TiY9LuL8tcxEerhh4y3nyVr74 /vMJTMzvlOMAcrLDgGbZ9zgKRIO3So8DVqq0navtLrIFF3EKA93Wh0fYC5vZOb0ALWGb 9nhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=U9KB0mdrh4NyVcgcp571S9qpM/NJFNkU5vfelQwvr54=; b=Pel303lZdVYUt4bdRy1xjL8dbdbThn0+vH9VaVUU7R3UbOocLwPaYJvHKBZwuC45Sk GjV454k+wdsuXjI7pXjSzBgfxDxJ2Gqiak5O8CupjLWL7RNveTAEZHBso8buUsi87t/T mzj+ji4jJximPRTIYhQcky/ClTTqOqT7ybyQw/ahGa3h6zNHys8JtMFdr/JFzOTAsViC XhClRXxn5ZEw6fba3BxnZKBcKQl84J+dqrqGkjZGaQx8UP9K2wW617ecSK67ow+uz0qH 2Y5SbX+dyeaqs3PP+j5ev+rIVRw5x356aGm8LHOM13nJ0HoJFhbHcu1zC31fi+YCtYTq hC3A== X-Gm-Message-State: AOAM530gJ76el2QMmx2lMfIVFHRh9AmQalZll7kCIYnlnh1ypVpeZp/W rBX6ortDe5ukqaVzzi07uJrF0zD7JVlId9L7 X-Google-Smtp-Source: ABdhPJxj4jCQHg1I2apFi7R81r7B05NJVvwbVJxiIzLLu5Rm55E+QMkRhVtJZhnrA5mE+DkgtRoKYQ== X-Received: by 2002:a63:cf44:: with SMTP id b4mr10071905pgj.215.1633097589915; Fri, 01 Oct 2021 07:13:09 -0700 (PDT) Original-Received: from localhost ([210.3.160.230]) by smtp.gmail.com with ESMTPSA id s22sm6472444pfe.76.2021.10.01.07.13.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Oct 2021 07:13:09 -0700 (PDT) In-Reply-To: <83wnmxdoun.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=yantar92@gmail.com; helo=mail-pf1-x434.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:275982 Archived-At: Eli Zaretskii writes: >> > 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. I understand. But then (point-min) will not be the actual beginning of (bare) buffer. That's why I used 1 explicitly to not confuse beginning of norrowed part of the buffer with the actual beginning of the buffer. Best, Ihor