From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package c-intro-and-ref -- was Re: Proposal: Include C Manual from RMS in Emacs git, and/or release Date: Sun, 08 Dec 2024 15:44:48 -0500 Message-ID: <87ikrtj45b.fsf@gmail.com> References: <87ser8c230.fsf@jeremybryant.net> <86ser87rut.fsf@gnu.org> <86cyia4503.fsf@gnu.org> <87bjxsbc8h.fsf@jeremybryant.net> <87ikrz6wtl.fsf@gmail.com> <87wmgf9h70.fsf@jeremybryant.net> <87o71rf1kr.fsf@gmail.com> <87jzcb8w8f.fsf@jeremybryant.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31875"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Suhail Singh , Emacs-devel mailing list To: Jeremy Bryant Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 09 04:20:08 2024 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 1tKUJc-00086R-4B for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Dec 2024 04:20:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKUIr-0004sv-BZ; Sun, 08 Dec 2024 22:19:21 -0500 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 1tKO9J-0001q8-8h for emacs-devel@gnu.org; Sun, 08 Dec 2024 15:45:05 -0500 Original-Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tKO9H-0002HX-Q0 for emacs-devel@gnu.org; Sun, 08 Dec 2024 15:45:05 -0500 Original-Received: by mail-qk1-x741.google.com with SMTP id af79cd13be357-7b68e73188cso313050785a.0 for ; Sun, 08 Dec 2024 12:45:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733690701; x=1734295501; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=4NopA7Hm46yM4L9ISZLJtoH43XHbQ+1pEnBHAdp17m4=; b=U1hWSYUJA3qBVnumWOC1dpysZCCGcGViF07874mMDXdXFVDPXnuKyTAkvTaqqDcZ27 DfMAr2Z68f3BMPAWqOCfuY8Y1bp29cyYoZVIIhk+bYQT2KGekvobQDK0o4eHRJpMu9oO NHqhxzHXxfXPP/ub93PvfZT4VcMsmhzrRbxQs9rFupB5q/WEQj339QG6qh/wW9ww/TJX q9aYfbetq8QiGivhsiRk4/gMvps9DZnz03BO5znJ3LXs4lxAFuwvqXqa15dFVGX0oRPw 0PuR+EY+D7wLpEy4bZI5PCBRPyFUmGQ0CbwzN7F7P+yl8vlZiDQk7CXi6BTa7GLBe1wk 7k/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733690701; x=1734295501; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4NopA7Hm46yM4L9ISZLJtoH43XHbQ+1pEnBHAdp17m4=; b=CIWiLu7WCc+PrENThuIG6RjQ4PvDE79pkQ98bCagHe2oWdR8MsZiA/0XBxdwwkUNCK Jxkub/eXlcc37ohzZxQoaGrTGE6GLH3WVD8goc2udi6BxfFR2lwp5KxNB/cw9/aBpdQk vwvzUswp0jn7Bjs9dkKORe4RhcWJ+nA5uBt/OSORQY4lZXBswywbtJjA0yul7QqxgMjd qUUPtQ4zNFF+EMJAczl0LJMgGJBK4mp7d5gZSvNF+Dpx2VWyIfmhF1zP1KCxXPnNWolE 1zNHJ/JPX2urGJJm3LmisFTxcNMhzITxJ4Jwu/PtoabN142E1vYsyLc0t6E7buXmKSJM uW6g== X-Forwarded-Encrypted: i=1; AJvYcCVMKyv5C/cFh2fwNPANL8i+xek1LGHjSZUFIjlrdOp7jAtITqR9D3tZogKcNZI+8GBE5z9bsFT7pRThug==@gnu.org X-Gm-Message-State: AOJu0YyNS3I6pDVItEcm2FDTWVPej+E9rWSz2WQhiJXPJMS0Q9n15inY mVIR++aEF2cnsdt8f7I+7GJzLdqoasvDHhqg9OIIq00zbwM6bDgD+HoOjiFt X-Gm-Gg: ASbGnctEERKrY+B6uDY9HSJ9chx/DfcRnKF5NSmrPijJiPGCmmtixbPn3KrprMh3Hok fz3s8wq9RLlNOtbs3MMo3tbShQ6kE+ZDqWOnwM7k+yYGCu4OK0DN008plCoWr0CSTPa1Fc9+ugs vdtkZ1/Nxl3mdF0pr3opJjXIhmG1rH/jecoD1chCeIp6DpUT0GJtAejEoE0jYyDbpeQZql91dYE wg0BtReus4uRv9e/1LiaVHqV+VLxXtHQXj1TNbi1o++nQ== X-Google-Smtp-Source: AGHT+IFNr/J7r9Pfbeiydq/nwq9PAH399/qqT2gIiix9WTOzuujJm9FxQ4S6/IfRTDJLvwfNHZwe5A== X-Received: by 2002:a05:620a:1aa0:b0:7b1:11d9:446e with SMTP id af79cd13be357-7b6bcac75f6mr1702016085a.3.1733690701641; Sun, 08 Dec 2024 12:45:01 -0800 (PST) Original-Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b6b5a4660esm377399385a.12.2024.12.08.12.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Dec 2024 12:45:00 -0800 (PST) In-Reply-To: <87jzcb8w8f.fsf@jeremybryant.net> (Jeremy Bryant's message of "Sat, 07 Dec 2024 13:21:20 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::741; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x741.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, 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-Mailman-Approved-At: Sun, 08 Dec 2024 22:19:19 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:326227 Archived-At: Jeremy Bryant writes: > In the meantime, I appreciate the detail and have updated the README as > follows so that users can start easily install this Manual when writing C code > in Emacs. You're welcome. > Installation instructions > > (package-vc-install > '(c-intro-and-ref :url "https://github.com/jeremy-bryant/c-intro-and-ref" > :branch "master" > :rev :newest > :doc "./c.texi")) > > or > > (use-package c-intro-and-ref :ensure nil > :vc (c-intro-and-ref :url "https://github.com/jeremy-bryant/c-intro-and-ref" > :branch "master" > :rev :newest > :doc "./c.texi")) The above two should be equivalent, though I have not tested it. The latter form, which I did test, is precisely the one that does _not_ work. Apologies in case this wasn't clear from my last message (or if I had a typo in my explanation). When the name specified to package-vc-install is c-intro-and-ref , the generated info file is named c-intro-and-ref.info. The relevant code (in Emacs 29.4) which sets the name of the generated info file is in the function package-vc--build-documentation : #+begin_src emacs-lisp (output (expand-file-name (format "%s.info" pkg-name))) #+end_src This is problematic with the shipped "dir" file in the repository which references c.info. In order to generate c.info , one has to use the name "c" (even though the repository as well as the phantom elisp package are named c-intro-and-ref). Please let me know in case this is not what you observe on your machine. -- Suhail