unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Zhu Zihao <all_but_last@163.com>
To: guix-devel@gnu.org
Subject: Add emacs-source-reference for C code discoverablity.
Date: Sat, 07 Nov 2020 23:47:26 +0800	[thread overview]
Message-ID: <86sg9lrwxd.fsf@163.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]


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. 

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.
-- 
Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp

Zihao

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

                 reply	other threads:[~2020-11-07 15:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86sg9lrwxd.fsf@163.com \
    --to=all_but_last@163.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).