From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QNfOHrjBpl8reQAA0tVLHw (envelope-from ) for ; Sat, 07 Nov 2020 15:48:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mD2cGrjBpl87cgAAbx9fmQ (envelope-from ) for ; Sat, 07 Nov 2020 15:48:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB72D9403E8 for ; Sat, 7 Nov 2020 15:48:07 +0000 (UTC) Received: from localhost ([::1]:59622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbQRi-0000rr-SV for larch@yhetil.org; Sat, 07 Nov 2020 10:48:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbQRa-0000ra-0c for guix-devel@gnu.org; Sat, 07 Nov 2020 10:47:58 -0500 Received: from mail-m974.mail.163.com ([123.126.97.4]:35840) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kbQRT-0006Ja-Kz for guix-devel@gnu.org; Sat, 07 Nov 2020 10:47:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=xq/4S eyZ5V48FyTi7oDz8qYYd8LepgxfO4fbR3dgIGY=; b=HNqeWqnsazkDWF3b8Ce6M PrT+lO67VFjnWMe/bFof+PSXQWf09Tzc/IniK/evYWwKwsgRxI2u3MFWm9brfTyB 4H/bT9Zi/uURp75L3A/YK9KN4W5jBp48s+QOE2cFURUsj09gA9SNDh/R+NUTiVXg tKqsV667sdVByf7zwUGGp0= Received: from asus-laptop (unknown [27.39.89.100]) by smtp4 (Coremail) with SMTP id HNxpCgBHojiUwaZfKvGmXw--.1824S2; Sat, 07 Nov 2020 23:47:32 +0800 (CST) User-agent: mu4e 1.4.13; emacs 27.1 From: Zhu Zihao To: guix-devel@gnu.org Subject: Add emacs-source-reference for C code discoverablity. Date: Sat, 07 Nov 2020 23:47:26 +0800 Message-ID: <86sg9lrwxd.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: HNxpCgBHojiUwaZfKvGmXw--.1824S2 X-Coremail-Antispam: 1Uf129KBjvdXoWruFWUWr17ZF47tw1kXFy5Jwb_yoW3urgEga yxtr1Fy393GrnFga9Fkw4ava9xKanxCryrta4UGF9I9FyrXF1DXFZ8W3s3tF1fJw4DtrsI kr1xK34rZ3429jkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjX4S3UUUUU== X-Originating-IP: [27.39.89.100] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/1tbitBXVr1SIjIXcCwAAsZ Received-SPF: pass client-ip=123.126.97.4; envelope-from=all_but_last@163.com; helo=mail-m974.mail.163.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/07 10:47:34 X-ACL-Warn: Detected OS = Linux 3.1-3.10 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: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=HNqeWqns; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.31 X-TUID: K0pOrObEj6x/ --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable GNU Emacs can navigate and reference the source code of C function. But the variable source-directory should be setup properly. Current Emacs package discard C source code during the build. There's serveral solution to add it. 1. Modify the emacs package definition, this trigger the rebuild of all emacs-xyz, and increase the closure for who doesn't want the source reference. 2. Like 1. But put the source to another output in emacs package. Still trigger rebuild but doesn't increase closure size.=20 3. Create a new package named emacs-source-reference to hold it. I think this is the better way. BTW, if we add source reference, what about also generate etags file for them? Please leave your comments on these ideas. Thanks a lot. =2D-=20 Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEE7NCVzXX6efyusptG1SOVn+xGFqYFAl+mwY4VHGFsbF9idXRf bGFzdEAxNjMuY29tAAoJENUjlZ/sRhamonAH/iEPocn9UnHpnjTL+ZYbyeP/l6LJ WGyz2fEndZJdyNspdEt8MnMtv0MlWcM39w+yC6MUe8jPCv1EiOd5isGXxRLx/BRg KA21NC5R0zxk9GuDjI3fj+nlPgRYQvRMp28OpPB/BGxIoasAjd4RNBhVPHhDJ2m7 WX1CNB1P3O+TPjskPww+t4uU9qHi6RXaDiFJUI1ac0ULSSBpXvzqB+TNSjjaZ7FB 5ZJpRi3sJu3xMEjWbh3cFEmOasnqDtHX+YM2AtDdJljVybHfmoXcridz31u+2xWe lgZ7FQ/EtIPKeM/pcYyiXcF63BcclXlSzhK1cGRB66pXefwLyc+OyjaAGHM= =C1Lf -----END PGP SIGNATURE----- --=-=-=--