all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suhail Singh <suhailsingh247@gmail.com>
To: Jeremy Bryant <jb@jeremybryant.net>
Cc: Suhail Singh <suhailsingh247@gmail.com>,
	Emacs-devel mailing list <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package c-intro-and-ref -- was Re: Proposal: Include C Manual from RMS in Emacs git, and/or release
Date: Wed, 04 Dec 2024 18:52:36 -0500	[thread overview]
Message-ID: <87o71rf1kr.fsf@gmail.com> (raw)
In-Reply-To: <87wmgf9h70.fsf@jeremybryant.net> (Jeremy Bryant's message of "Wed, 04 Dec 2024 23:11:47 +0000")

Jeremy Bryant <jb@jeremybryant.net> writes:

>>> Main file: c-intro-and-ref.el
>>> This is simply a placeholder for the c.texi and other files
>>
>> Thank you for packaging this in a repository to make it easily
>> accessible via package-vc-install.
>>
>> It would help if the name of the texinfo file was the same as that of
>> the package.  Currently, when using package-vc-install, the name of the
>> checkout directory has to be specified as 'c (i.e., matching the name of
>> the texinfo file, as opposed to the repository), since that name is used
>> by package-vc when generating the info output from the texinfo source.
>
> The manual example ((emacs) Fetching Package Sources)
> seems to allow a :doc keyword?

This isn't about the :doc keyword.  It's a matter of consistency (or
inconsistency).  I shall leave it up to you and others to decide whether
the desire for consistency is foolish in this instance.

As things currently stand, one needs to do something like the below:

#+begin_src emacs-lisp
  (package-vc-install
   '(c :url "https://github.com/jeremy-bryant/c-intro-and-ref"
       :branch "master"
       :rev :newest
       :doc "./c.texi"))
#+end_src

Note, that while the name of the package is c-intro-and-ref, one needs
to provide the name "c" (i.e., that which matches the texinfo source) in
order for things to work.

The above clones the repository within ~/.emacs.d/elpa/c and compiles
the texinfo source to ~/.emacs.d/elpa/c/c.info.

If one is using use-package along with vc-use-package, the above
translates to:

#+begin_src emacs-lisp
  (use-package c-intro-and-ref :ensure nil
    :vc (c :url "https://github.com/jeremy-bryant/c-intro-and-ref"
           :branch "master"
           :rev :newest
           :doc "./c.texi"))
#+end_src

And in this form the inconsistency between the name being used by
use-package vs the name being used by package-vc-install becomes a
little more apparent.  Since the name given to package-vc-install
determines the name of the generated info file (as opposed to the name
of the texinfo source), this isn't optional.  The result is that the
phantom library "c-intro-and-ref" has to reside in ~/.emacs.d/elpa/c as
opposed to ~/.emacs.d/elpa/c-intro-and-ref.

If the file were instead named "c-intro-and-ref.texi", one could use
something like the below:

#+begin_src emacs-lisp
  (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-intro-and-ref.texi"))
#+end_src

-- 
Suhail



  parent reply	other threads:[~2024-12-04 23:52 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-30 12:56 Proposal: Include C Manual from RMS in Emacs git, and/or release Jeremy Bryant
2024-11-30 13:25 ` Philip Kaludercic
2024-11-30 13:38 ` Arsen Arsenović
2024-11-30 14:12   ` Eli Zaretskii
2024-11-30 18:08     ` Arsen Arsenović
2024-11-30 20:05       ` Eli Zaretskii
2024-11-30 21:09         ` [External] : " Drew Adams
2024-12-01  6:15           ` Eli Zaretskii
2024-12-02  3:00             ` Texinfo reputation (was: Re: [External] : Re: Proposal: Include C Manual from RMS in Emacs git, and/or release) Max Nikulin
2024-12-02 12:47               ` Eli Zaretskii
2024-12-03  2:51                 ` Texinfo reputation Max Nikulin
2024-12-03 12:38                   ` Eli Zaretskii
2024-12-03 18:51               ` Dr. Arne Babenhauserheide
2024-12-05  4:56                 ` Max Nikulin
2024-12-05  7:45                   ` Dr. Arne Babenhauserheide
2024-12-06  4:47                 ` Richard Stallman
2024-12-01  9:53         ` Proposal: Include C Manual from RMS in Emacs git, and/or release Arsen Arsenović
2024-12-01 10:12           ` Eli Zaretskii
2024-12-01 10:54             ` Arsen Arsenović
2024-12-01 13:04         ` Johan Myréen
2024-12-04  6:09           ` Richard Stallman
2024-11-30 13:50 ` Eli Zaretskii
2024-12-01  4:02   ` Sean Whitton
2024-12-01  7:45     ` Eli Zaretskii
2024-12-01  8:36       ` Sean Whitton
2024-12-01 10:01         ` Eli Zaretskii
2024-12-01 11:13           ` Sean Whitton
2024-12-05  5:05       ` Making the GNU C Manual easier to find in Info Richard Stallman
2024-12-05  6:30         ` Eli Zaretskii
2024-12-05  7:25         ` Integration of Info manuals in programming modes; was: " Dr. Arne Babenhauserheide
2024-12-05  7:46           ` Integration of Info manuals in programming modes Eli Zaretskii
2024-12-05  8:52             ` Visuwesh
2024-12-05  9:14               ` Eli Zaretskii
2024-12-05  9:49                 ` Visuwesh
2024-12-05 11:17                   ` Eli Zaretskii
2024-12-05 11:28                     ` Visuwesh
2024-12-05 12:01                       ` Eli Zaretskii
2024-12-05 12:39                         ` Visuwesh
2024-12-05 14:26                           ` Eli Zaretskii
2024-12-15  8:26                             ` Visuwesh
2024-12-08  8:13                           ` Integration of Info manuals in programming modes, " James Thomas
2024-12-08  8:38                             ` James Thomas
2024-12-08 11:34                             ` Eli Zaretskii
2024-12-08 20:10                               ` Björn Bidar
     [not found]                               ` <86msh5b48w.fsf@gmx.net>
2024-12-10  1:08                                 ` James Thomas
     [not found]                               ` <87zfl60wbw.fsf@>
2024-12-08 20:46                                 ` Eli Zaretskii
2024-12-11  4:32                                 ` Richard Stallman
2024-12-13 23:54                                   ` Björn Bidar
     [not found]                                   ` <87msgzp2a9.fsf@>
2024-12-14 19:11                                     ` Dr. Arne Babenhauserheide
2024-12-16  4:02                                     ` Richard Stallman
2024-12-05 10:06             ` Stephen Berman
2024-12-05 15:07             ` Dr. Arne Babenhauserheide
2024-12-05 16:04               ` Eli Zaretskii
2024-12-09  4:58           ` Integration of Info manuals in programming modes; was: Making the GNU C Manual easier to find in Info Richard Stallman
2024-12-09 22:49             ` Dr. Arne Babenhauserheide
2024-12-11  4:35               ` Richard Stallman
2024-12-02  4:10   ` Proposal: Include C Manual from RMS in Emacs git, and/or release Richard Stallman
2024-12-02 12:57     ` Eli Zaretskii
2024-12-03 23:03       ` [ELPA] New package c-intro-and-ref -- was " Jeremy Bryant
2024-12-04 12:33         ` Eli Zaretskii
2024-12-04 22:58           ` Jeremy Bryant
2024-12-05  5:45             ` Eli Zaretskii
2024-12-07 13:30               ` Improving info-look.el for (c) -was- " Jeremy Bryant
2024-12-07 15:09                 ` Eli Zaretskii
2024-12-05  5:03           ` Max Nikulin
2024-12-05 18:47           ` Philip Kaludercic
2024-12-05 19:04             ` Eli Zaretskii
2024-12-06 10:44               ` Philip Kaludercic
2024-12-06 12:10                 ` Eli Zaretskii
2024-12-06 22:40                   ` Philip Kaludercic
2024-12-05 19:17             ` Stefan Monnier
2024-12-05 20:35               ` chad
2024-12-06  4:57               ` Visuwesh
2024-12-06 10:42               ` Philip Kaludercic
2024-12-06 14:58             ` Max Nikulin
2024-12-06 16:30               ` Eli Zaretskii
2024-12-08 16:41                 ` Max Nikulin
2024-12-08  5:15               ` Richard Stallman
2024-12-08  7:15                 ` Xiyue Deng
2024-12-08 16:50                 ` Max Nikulin
2024-12-11  4:32                   ` Richard Stallman
2024-12-12  3:22                     ` Debian package with GNU manuals (was: Re: [ELPA] New package c-intro-and-ref) Max Nikulin
2024-12-04 20:02         ` [ELPA] New package c-intro-and-ref -- was Re: Proposal: Include C Manual from RMS in Emacs git, and/or release Suhail Singh
     [not found]           ` <87wmgf9h70.fsf@jeremybryant.net>
2024-12-04 23:52             ` Suhail Singh [this message]
2024-12-07 13:21               ` Jeremy Bryant
2024-12-08 20:44                 ` Suhail Singh
2024-12-07  4:22           ` Richard Stallman
2024-12-07 12:29             ` Jeremy Bryant
2024-12-07 14:55             ` Björn Bidar
     [not found]             ` <87h67fr18v.fsf@>
2024-12-10  5:38               ` Richard Stallman
2024-12-13 23:44                 ` Björn Bidar
     [not found]                 ` <87r06bp2qm.fsf@>
2024-12-14 21:19                   ` Dr. Arne Babenhauserheide
2024-12-15  6:31                     ` Eli Zaretskii
2024-12-16  4:02                   ` Richard Stallman
2024-12-05  5:05       ` Richard Stallman
2024-12-05  6:27         ` Eli Zaretskii
2024-12-03 20:07     ` Björn Bidar
     [not found]     ` <87cyi8h6n8.fsf@>
2024-12-07 16:02       ` Björn Bidar
2024-12-08  5:10       ` Richard Stallman
2024-12-08 20:07         ` Björn Bidar
2024-12-09 15:11         ` Improve access to documentation in Info format (was: Proposal: Include C Manual from RMS in Emacs git, and/or release) Suhail Singh
2024-12-11  4:37           ` Richard Stallman
2024-12-11 14:13             ` Improve access to documentation in Info format Suhail Singh
2024-12-13 23:41             ` Björn Bidar
     [not found]             ` <87v7vnp2vx.fsf@>
2024-12-14 21:16               ` Dr. Arne Babenhauserheide
2024-12-16  4:03               ` Richard Stallman
2024-12-16  4:03               ` Richard Stallman
     [not found]         ` <874j3e2b2i.fsf@>
2024-12-11  4:32           ` Proposal: Include C Manual from RMS in Emacs git, and/or release Richard Stallman
2024-12-08 23:03 ` John ff

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

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

  git send-email \
    --in-reply-to=87o71rf1kr.fsf@gmail.com \
    --to=suhailsingh247@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jb@jeremybryant.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.