From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Patch proposal: display symbol source code in help buffers Date: Mon, 20 Sep 2021 00:43:00 -0700 Message-ID: References: <875yuvlrz3.fsf@gnus.org> <87r1djixiw.fsf@gnus.org> <878rzrzpfz.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40345"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Arthur Miller , emacs-devel@gnu.org To: Ihor Radchenko , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 20 09:44:57 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 1mSDyz-000ACw-GQ for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Sep 2021 09:44:57 +0200 Original-Received: from localhost ([::1]:40794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSDyx-0000bK-SA for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Sep 2021 03:44:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSDxA-0006hy-3R for emacs-devel@gnu.org; Mon, 20 Sep 2021 03:43:05 -0400 Original-Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:43529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSDx8-0006bp-KC for emacs-devel@gnu.org; Mon, 20 Sep 2021 03:43:03 -0400 Original-Received: by mail-pj1-x102c.google.com with SMTP id k23-20020a17090a591700b001976d2db364so12000692pji.2 for ; Mon, 20 Sep 2021 00:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=tWihhGYe1gopEmEtgoBFjLUNI3hfEfcOjCogi8rxAFY=; b=PjHgvcbxHJkXIQz3v3PcTRHVVi2ywOaoQTvROELisGPkAsh409Le9vcQTgDscEam0e XUXgXcHRvuBfDa1HMGdhN2dj9Mgp5m+LRpEi81pJKI4LhUugzljMRr/yv6NVYc3BsXWS GdfotDgRygT0tPX0OBWv0XqkwP2eOhFW5YdnfNbt0ULJG5cdvGsCaWA0ZEoll0dY9vVu 1Lkaj4TpffOWHvCb8ZnNTkBsyhLZWqxl257w+QfzgysoY1jUltHeLVEfnqWo27x7n6Sb 2lq+dhFg/4I3cUP4y0jNJfcWXMAhTpzrjhX2EVPcsEdlpqZWGa5js7DGVgM5qkJoD93L qcOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=tWihhGYe1gopEmEtgoBFjLUNI3hfEfcOjCogi8rxAFY=; b=8MOuVufLm6KPHdC0qgtLHVEGjd6EicpUvkoDBFzTaA/fR/X4PCzAq0+cDNAGIIydTg vlOpynwwc5FAJqiyxr/4Oq6paprCcsqF9bbDaq38HdPvFwcxqQRzJLoUDn38n1lD+An3 YJj+gIHwXgPWXPbZUle4gEZKr1h3NggIj570e9+kBHcFtXhpnoepxWRbvRl/euZj3+J7 RjY2IdowhskYfr3HKBM+ZbwHmMjbTsC/hwWIBlnLCyN5ka3W7pCeT/6NiTRZexO75ucX 0N0HWTaaFkgYjonwH1F10d3Yv3RO3J9+41MAUiTGPKKdYlLfLUDo5UGWMMWtdgGinPco BxmQ== X-Gm-Message-State: AOAM533l1Ok0s2oVet2F9hKjqgWaz6leDQnPd8wBu2XfRVBbcZtpL2uD jiEBG5NK/pkReTetArCNNLYcqoIvfj6JMPJPbYU= X-Google-Smtp-Source: ABdhPJxSqvvs4brm78ZDo3ugxrFd45/DVeQJuuDAtRkY7EaDRQ7Zwgc3EUsBL/cjjYtG9/p72sl646nfRgnBQdYQlkU= X-Received: by 2002:a17:902:d505:b0:13d:b037:2087 with SMTP id b5-20020a170902d50500b0013db0372087mr3425723plg.22.1632123781032; Mon, 20 Sep 2021 00:43:01 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 20 Sep 2021 00:43:00 -0700 In-Reply-To: <878rzrzpfz.fsf@localhost> Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=stefankangas@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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:275113 Archived-At: Ihor Radchenko writes: > Consider scenario when you are editing some-file.el and narrowed the > buffer to a defun A. Then, you need to examine source code of another > function B also defined in some-file.el. > > Opening help buffer for B is easy - f with point at the B's > call. However, without source code being shown in the help buffer, if I > try to hit s, the narrowing is removed and the point is moved to a > function definition. Not convenient. I'm not arguing against the new feature here, but is the above a bug? It seems to me that `help-view-source' should respect the users narrowing, for example by querying to open a new indirect buffer or something in that case.