NetBSD Problem Report #54162

From van@wakeman.localdomain  Sun May  5 09:55:28 2019
Return-Path: <van@wakeman.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 70B957A175
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  5 May 2019 09:55:28 +0000 (UTC)
Message-Id: <20190505083958.3B28316CDD6@wakeman.localdomain>
Date: Sun,  5 May 2019 18:39:58 +1000 (AEST)
From: van@scratch.space
Reply-To: van@scratch.space
To: gnats-bugs@NetBSD.org
Subject: 26.2; emacs/src C files are not in pkgsrc/editors/emacs26/PLIST
X-Send-Pr-Version: 3.95

>Number:         54162
>Category:       pkg
>Synopsis:       26.2; emacs/src C files are not in pkgsrc/editors/emacs26/PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 05 10:00:00 +0000 2019
>Last-Modified:  Sat Jul 20 23:55:01 +0000 2019
>Originator:     van@scratch.space
>Release:        NetBSD 8.99.37
>Organization:

>Environment:
System: NetBSD wakeman 8.99.37 NetBSD 8.99.37 (GENERIC) #0: Wed Apr 24 20:53:10 UTC 2019 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	The C files from emacs/src in the source distribution are not listed in the PLIST layout of files installed. As a result, inside Emacs, C-h f defvar, the hyperlink to the source code is unspecified.
>How-To-Repeat:
	1) inside Emacs on X11 gui frame
	2) C-h f defvar
	3) mouse click on the hyperlink at the end of the topline
	4) expected behavior jumps to the C source code definition
>Fix:
	include emacs/src directory C files in the PLIST layout for installation

>Audit-Trail:
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54162: 26.2; emacs/src C files are not in pkgsrc/editors/emacs26/PLIST
Date: Sat, 13 Jul 2019 16:26:52 +0100

 On Mon, May 6, 2019 at 5:51 AM <van@scratch.space> wrote:
 >         include emacs/src directory C files in the PLIST layout for installation

 Just to make sure I follow: you want the source code to emacs to be
 installed as part of the binary package, so that you can browse the
 emacs source more easily?

 This seems not super useful, unless you are developing emacs itself.
 Or am I missing something?

 -- 
 Benny

From: VanL <van@scratch.space>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
 gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54162: 26.2; emacs/src C files are not in pkgsrc/editors/emacs26/PLIST
Date: Fri, 19 Jul 2019 21:47:39 +1000

 > On 14 Jul 2019, at 01:30, Benny Siegert <bsiegert@gmail.com> wrote:
 >=20
 > The following reply was made to PR pkg/54162; it has been noted by =
 GNATS.
 >=20
 > From: Benny Siegert <bsiegert@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, =
 pkgsrc-bugs@netbsd.org
 > Subject: Re: pkg/54162: 26.2; emacs/src C files are not in =
 pkgsrc/editors/emacs26/PLIST
 > Date: Sat, 13 Jul 2019 16:26:52 +0100
 >=20
 > On Mon, May 6, 2019 at 5:51 AM <van@scratch.space> wrote:
 >>        include emacs/src directory C files in the PLIST layout for =
 installation
 >=20
 > Just to make sure I follow: you want the source code to emacs to be
 > installed as part of the binary package, so that you can browse the
 > emacs source more easily?

 There is a variable 'source-directory' if set to a populated directory =
 for 'emacs/src' will allow straight forward hyperlinking to the specific =
 source file's function from the help documentation.

 For example, C-h f setq-default has a hyperlink at the end of the first =
 line.

 > This seems not super useful, unless you are developing emacs itself.
 > Or am I missing something?

 IMO it is super helpful to be able to interpret the actual source code.

 Perhaps, there is the possibility to provide an option to populate =
 'emacs/src' directory as part of the install for expected natural =
 behavior.  And, the default behavior tells what needs to be done should =
 a user have no 'emacs/src' and would like that.=

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/54162: 26.2; emacs/src C files are not in
 pkgsrc/editors/emacs26/PLIST
Date: Sat, 20 Jul 2019 18:32:57 +0000

 On Fri, Jul 19, 2019 at 09:47:39PM +1000, VanL wrote:
  > > Just to make sure I follow: you want the source code to emacs to be
  > > installed as part of the binary package, so that you can browse the
  > > emacs source more easily?
  > 
  > There is a variable 'source-directory' if set to a populated
  > directory for 'emacs/src' will allow straight forward hyperlinking
  > to the specific source file's function from the help documentation.
  > 
  > For example, C-h f setq-default has a hyperlink at the end of the
  > first line.

 Are you talking about the elisp library sources, or the Emacs C
 sources?

  > > This seems not super useful, unless you are developing emacs itself.
  > > Or am I missing something?
  > 
  > IMO it is super helpful to be able to interpret the actual source code.
  > 
  > Perhaps, there is the possibility to provide an option to populate
  > 'emacs/src' directory as part of the install for expected natural
  > behavior.  And, the default behavior tells what needs to be done
  > should a user have no 'emacs/src' and would like that.

 ISTM that the best way to do this is to untar the distfile in your
 homedir somewhere and set source-directory in your .emacs.

 -- 
 David A. Holland
 dholland@netbsd.org

From: VanL <van@scratch.space>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
 gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org
Subject: Re: pkg/54162: 26.2; emacs/src C files are not in pkgsrc/editors/emacs26/PLIST
Date: Sun, 21 Jul 2019 09:43:29 +1000

 > On 21 Jul 2019, at 04:35, David Holland <dholland-pbugs@netbsd.org> =
 wrote:
 >=20
 >>=20
 >> For example, C-h f setq-default has a hyperlink at the end of the
 >> first line.
 >=20
 > Are you talking about the elisp library sources, or the Emacs C
 > sources?

 The help documentation's first line reads as follows.

  : setq-default is a special form in =E2=80=98C source code=E2=80=99.

 I'm not talking about the elisp library sources.  They work.

 > ISTM that the best way to do this is to untar the distfile in your
 > homedir somewhere and set source-directory in your .emacs.

 I have a git checkout to /i/share/src/emacs which keeps changing.

 Having the pkgsrc/editors/emacs26/PLIST include emacs/src has the =
 advantage of exactly accurately matching pkg's Emacs program to pkgsrc's =
 Emacs C sources.

>Unformatted:
 	Wed Apr 24 20:53:10 UTC 2019

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.