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.bugs Subject: bug#66750: Unhelpful text in C-h v for variables with a lambda form as value Date: Thu, 2 Nov 2023 14:44:28 -0700 Message-ID: References: <83il6k8yyd.fsf@gnu.org> <837cn08o13.fsf@gnu.org> <831qd88dt5.fsf@gnu.org> 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="18810"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, 66750@debbugs.gnu.org, monnier@iro.umontreal.ca To: Alan Mackenzie , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 02 22:46:05 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qyfVs-0004fK-HO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Nov 2023 22:46:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyfVP-0002Pz-J9; Thu, 02 Nov 2023 17:45:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qyfVL-0002IP-B9 for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 17:45:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyfVH-0007yg-K5 for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 17:45:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qyfVq-0002xl-G1 for bug-gnu-emacs@gnu.org; Thu, 02 Nov 2023 17:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Nov 2023 21:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66750 X-GNU-PR-Package: emacs Original-Received: via spool by 66750-submit@debbugs.gnu.org id=B66750.169896152011320 (code B ref 66750); Thu, 02 Nov 2023 21:46:02 +0000 Original-Received: (at 66750) by debbugs.gnu.org; 2 Nov 2023 21:45:20 +0000 Original-Received: from localhost ([127.0.0.1]:56306 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyfV6-0002wQ-A4 for submit@debbugs.gnu.org; Thu, 02 Nov 2023 17:45:20 -0400 Original-Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:61659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qyfV0-0002vz-Oi for 66750@debbugs.gnu.org; Thu, 02 Nov 2023 17:45:14 -0400 Original-Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2c59a4dd14cso18921251fa.2 for <66750@debbugs.gnu.org>; Thu, 02 Nov 2023 14:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698961469; x=1699566269; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=sAGW/bjZZzuoOQt/AYQQBZPVBTYWRhIVHa9bviQdZhc=; b=iBdOgdXfZOn0UJLyJlztBlLtFqN/sTM+MeKdjlJH1gBiLqqq/x8YsL1EB4irebM1Xi NNzeKrxqKMqXAqLw1PB++dc3g1VRkXMP1LI/gAefx2dg3GDKVV8BA8eM9+CDyGWKyMTb bDPZS2iI1rXZFFN+WfNVpXjUOZR3TetfAs6qz9Ea+MGzZ45gPgzir043eIbIbzyomMgs 4PgDwKj8/vhMZimtdwyCcod2zxInGiK3HCXWMthUUqxYEG3iBAE2CHdHBgyOdNvMOWl3 4ESd5y4YC0y9pFM8Qvhl7Ub+SY0O0cyM7i190SN/wVAo/1olFQ+4uMUBeVPTVdkAqW70 Eikg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698961469; x=1699566269; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sAGW/bjZZzuoOQt/AYQQBZPVBTYWRhIVHa9bviQdZhc=; b=B69taJRiyXC3OtYuysuITJ78D2chMDFI7U00ljIWM5gGq/oBxUQ8wlorbAK1Nw/A3+ OmkfzK8MJDiCt1oha4dd0BkDbHAPU736EJXlt7U0fogWr+PPOsBSt88tKqA3adHtrumD rNl32GGLkFWF5FWqaDqMcapUOsYr2/oncsovrWSmtNOcSabgqkd0+CZ6JKGVmN9Jvnyb 1SKrIAp5ruYb7XTOIrydPdorIpRL/U/6C2P5Z8rtsQgI92JEcD4b3oED6vnCyoJHTF9p rOXCX12IqlZ2Z9BznRLIFuMxxZry5CQiApPgwZCZap++UytQ+ax05jxq8bQrE+uOBsN6 8gJQ== X-Gm-Message-State: AOJu0YzpQMDwpf+wJ1feSkvPrBNvk9KL+Nj0kOQd3IepRns+ecqzfGk1 ZdQqgFzmFia1AYykFbB05lnTktVioHxUVOcvs+8= X-Google-Smtp-Source: AGHT+IE/k+BgmMWYUUf7I2Z4qS+0d/lB7nG6pLwIQuHdkpj27UbZqYBjk4KxjAqJZQssD82vKhupb4komMGIQKsp51k= X-Received: by 2002:a2e:b52c:0:b0:2c5:2132:24f5 with SMTP id z12-20020a2eb52c000000b002c5213224f5mr15325278ljm.53.1698961469296; Thu, 02 Nov 2023 14:44:29 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 2 Nov 2023 14:44:28 -0700 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273682 Archived-At: Alan Mackenzie writes: > On Thu, Nov 02, 2023 at 15:50:14 +0200, Eli Zaretskii wrote: > >> How about if you propose a compromise with which you could live? > > That is difficult. Thanks for persevering despite the difficulties. I have just now reviewed this thread in full, and I reread also the beginning of the discussion. The contention here is not around the general idea, which everyone seems to find more or less useful, but some of the design decisions in the proposed implementation. > I could see myself replacing the defining symbol with FILE:POSITION > information, but I doubt that would make the two of you happy enough. > Or, maybe put this defining symbol or F:P information into the doc > string somehow (including in the interpreted format) like Stefan was > suggesting recently. If I understand you correctly here, you are willing to consider using FILE+LINE+COL instead of defining symbol, and storing the information in the docstring instead of the lambda form. And if I understand Stefan Monnier's argument correctly, it seems like he wouldn't object to that. So why not proceed along those lines?