unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30571: URL vs Homepage in package headers
@ 2018-02-22  0:48 Peter Oliver
  2018-03-05 22:51 ` Glenn Morris
  2018-03-06 14:52 ` bug#30571: [PATCH] Document that URL and Homepage package headers are interchangeable Peter Oliver
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Oliver @ 2018-02-22  0:48 UTC (permalink / raw)
  To: 30571

The Emacs Lisp manual at https://www.gnu.org/software/emacs/manual/html_node/elisp/Simple-Packages.html#Simple-Packages gives an example of a package library headers.  This example includes a URL line.  Later, the reader is directed to https://www.gnu.org/software/emacs/manual/html_node/elisp/Library-Headers.html#Library-Headers for more information about the available headers.  This second page makes no mention of the URL line, and instead describes a Homepage line.

Surveying the Emacs source code, it turns out that both URL and Homepage are used, although Homepage is more popular.

Should one of URL and Homepage be preferred to the other?  Are they aliases?  Is one of these a typo?

-- 
Peter Oliver





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30571: URL vs Homepage in package headers
  2018-02-22  0:48 bug#30571: URL vs Homepage in package headers Peter Oliver
@ 2018-03-05 22:51 ` Glenn Morris
  2018-03-06 14:52 ` bug#30571: [PATCH] Document that URL and Homepage package headers are interchangeable Peter Oliver
  1 sibling, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2018-03-05 22:51 UTC (permalink / raw)
  To: Peter Oliver; +Cc: 30571


By inspection of the code (lm-homepage), these forms are entirely equivalent.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#30571: [PATCH] Document that URL and Homepage package headers are interchangeable.
  2018-02-22  0:48 bug#30571: URL vs Homepage in package headers Peter Oliver
  2018-03-05 22:51 ` Glenn Morris
@ 2018-03-06 14:52 ` Peter Oliver
  2018-03-10 11:58   ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Oliver @ 2018-03-06 14:52 UTC (permalink / raw)
  To: 30571; +Cc: Peter Oliver

* doc/lispref/tips.texi:
URL is an alias for Homepage.
---
 doc/lispref/tips.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index 0695d9b7b1..daf9f5442a 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -1045,6 +1045,9 @@ rather than just the relevant Finder keywords.
 @item Homepage
 This line states the homepage of the library.
 
+@item URL
+This is an alias for @samp{Homepage}.
+
 @item Package-Version
 If @samp{Version} is not suitable for use by the package manager, then
 a package can define @samp{Package-Version}; it will be used instead.
-- 
2.14.3






^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#30571: [PATCH] Document that URL and Homepage package headers are interchangeable.
  2018-03-06 14:52 ` bug#30571: [PATCH] Document that URL and Homepage package headers are interchangeable Peter Oliver
@ 2018-03-10 11:58   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2018-03-10 11:58 UTC (permalink / raw)
  To: Peter Oliver; +Cc: 30571-done, git

> From: Peter Oliver <p.d.oliver@mavit.org.uk>
> Date: Tue,  6 Mar 2018 14:52:14 +0000
> Cc: Peter Oliver <git@mavit.org.uk>
> 
> * doc/lispref/tips.texi:
> URL is an alias for Homepage.

Thanks, fixed.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-10 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-22  0:48 bug#30571: URL vs Homepage in package headers Peter Oliver
2018-03-05 22:51 ` Glenn Morris
2018-03-06 14:52 ` bug#30571: [PATCH] Document that URL and Homepage package headers are interchangeable Peter Oliver
2018-03-10 11:58   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).