unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39861: master; Documentation of package-menu--generate incomplete
@ 2020-03-01 19:58 Pieter van Oostrum
  2020-03-03 15:30 ` Pieter van Oostrum
  2020-03-15 13:36 ` bug#39861: Close " Pieter van Oostrum
  0 siblings, 2 replies; 4+ messages in thread
From: Pieter van Oostrum @ 2020-03-01 19:58 UTC (permalink / raw)
  To: 39861

In the master branch, the documentation string of `package-menu--generate' is missing the description of the `remember-pos' parameter. 
Originally it contained:

If REMEMBER-POS is non-nil, keep point on the same entry.

but this line disappeared in commit aea12d4903.
-- 
Pieter van Oostrum <pieter@vanoostrum.org>
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]





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

* bug#39861: master; Documentation of package-menu--generate incomplete
  2020-03-01 19:58 bug#39861: master; Documentation of package-menu--generate incomplete Pieter van Oostrum
@ 2020-03-03 15:30 ` Pieter van Oostrum
  2020-03-13  9:52   ` Eli Zaretskii
  2020-03-15 13:36 ` bug#39861: Close " Pieter van Oostrum
  1 sibling, 1 reply; 4+ messages in thread
From: Pieter van Oostrum @ 2020-03-03 15:30 UTC (permalink / raw)
  To: Pieter van Oostrum; +Cc: 39861

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

Pieter van Oostrum <pieter@vanoostrum.org> writes:

> In the master branch, the documentation string of
> `package-menu--generate' is missing the description of the
> `remember-pos' parameter.
> Originally it contained:
>
> If REMEMBER-POS is non-nil, keep point on the same entry.
>
> but this line disappeared in commit aea12d4903.

Here is a patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-emacs-lisp-package.el-package-menu-generate-Fix.patch --]
[-- Type: text/x-patch, Size: 881 bytes --]

From 8bbb779bfa70f91641d7ebd508bd1506452f65b7 Mon Sep 17 00:00:00 2001
From: Pieter van Oostrum <pieter@vanoostrum.org>
Date: Tue, 3 Mar 2020 16:27:21 +0100
Subject: [PATCH] * lisp/emacs-lisp/package.el (package-menu--generate): Fix
 docstring

Add REMEMBER-POS to docstring (bug#39861)
---
 lisp/emacs-lisp/package.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 43eb038a86..6d6b31f1f3 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3042,6 +3042,7 @@ package-menu--display
 
 (defun package-menu--generate (remember-pos &optional packages keywords)
   "Populate and display the Package Menu.
+If REMEMBER-POS is non-nil, keep point on the same entry.
 PACKAGES should be t, which means to display all known packages,
 or a list of package names (symbols) to display.
 
-- 
2.25.1


[-- Attachment #3: Type: text/plain, Size: 87 bytes --]


-- 
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]

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

* bug#39861: master; Documentation of package-menu--generate incomplete
  2020-03-03 15:30 ` Pieter van Oostrum
@ 2020-03-13  9:52   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2020-03-13  9:52 UTC (permalink / raw)
  To: Pieter van Oostrum; +Cc: pieter, 39861-done

> From: Pieter van Oostrum <pieter-l@vanoostrum.org>
> Date: Tue, 03 Mar 2020 16:30:10 +0100
> Cc: 39861@debbugs.gnu.org
> 
> > In the master branch, the documentation string of
> > `package-menu--generate' is missing the description of the
> > `remember-pos' parameter.
> > Originally it contained:
> >
> > If REMEMBER-POS is non-nil, keep point on the same entry.
> >
> > but this line disappeared in commit aea12d4903.
> 
> Here is a patch:

Thanks, pushed.

Please in the future always end sentences with a period (I fixed this
case for you).  The header line of a commit message doesn't have to
have a period (although in this case it should), but the subsequent
line do.





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

* bug#39861: Close bug#39861: master; Documentation of package-menu--generate incomplete
  2020-03-01 19:58 bug#39861: master; Documentation of package-menu--generate incomplete Pieter van Oostrum
  2020-03-03 15:30 ` Pieter van Oostrum
@ 2020-03-15 13:36 ` Pieter van Oostrum
  1 sibling, 0 replies; 4+ messages in thread
From: Pieter van Oostrum @ 2020-03-15 13:36 UTC (permalink / raw)
  To: 39861-done






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

end of thread, other threads:[~2020-03-15 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-01 19:58 bug#39861: master; Documentation of package-menu--generate incomplete Pieter van Oostrum
2020-03-03 15:30 ` Pieter van Oostrum
2020-03-13  9:52   ` Eli Zaretskii
2020-03-15 13:36 ` bug#39861: Close " Pieter van Oostrum

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).