unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2562: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring
@ 2009-03-03 18:15 Jari Aalto
  2009-03-04 22:01 ` bug#2561: " Richard M Stallman
  2010-01-16 20:51 ` Chong Yidong
  0 siblings, 2 replies; 5+ messages in thread
From: Jari Aalto @ 2009-03-03 18:15 UTC (permalink / raw)
  To: emacs-pretest-bug; +Cc: submit

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

tags patch
thanks

2009-03-03  Jari Aalto  <jari.aalto@cante.net>

	* pcmpl-unix.el (pcmpl-ssh-hosts): Improve docstring to
	mention sshd(8) hashed format.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-pcmpl-unix.el-pcmpl-ssh-hosts-improve-docst.patch --]
[-- Type: text/x-diff, Size: 1028 bytes --]

From 726c1b9dff18612fff229cf182952796e602a839 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Tue, 3 Mar 2009 20:10:28 +0200
Subject: [PATCH] lisp/pcmpl-unix.el: (pcmpl-ssh-hosts): improve docstring

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 lisp/pcmpl-unix.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lisp/pcmpl-unix.el b/lisp/pcmpl-unix.el
index c12920f..ef7297d 100644
--- a/lisp/pcmpl-unix.el
+++ b/lisp/pcmpl-unix.el
@@ -134,7 +134,10 @@ with the SSH option \"HashKnownHosts no\"."
 ;; http://www.emacswiki.org/cgi-bin/wiki/pcmpl-ssh.el
 
 (defun pcmpl-ssh-hosts ()
-  "Return a list of hosts found in `pcmpl-ssh-known-hosts-file'."
+  "Return a list of hosts found in `pcmpl-ssh-known-hosts-file'.
+
+Note: in case the file is in hashed format as described in
+sshd(8) manual page, this function returns nothing."
   (when (and pcmpl-ssh-known-hosts-file
              (file-readable-p pcmpl-ssh-known-hosts-file))
     (with-temp-buffer
-- 
1.6.1.3


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

* bug#2561: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring
  2009-03-03 18:15 bug#2562: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring Jari Aalto
@ 2009-03-04 22:01 ` Richard M Stallman
  2009-03-05  0:57   ` Jari Aalto
  2010-01-16 20:51 ` Chong Yidong
  1 sibling, 1 reply; 5+ messages in thread
From: Richard M Stallman @ 2009-03-04 22:01 UTC (permalink / raw)
  To: Jari Aalto, 2561; +Cc: submit, emacs-pretest-bug

    +Note: in case the file is in hashed format as described in
    +sshd(8) manual page, this function returns nothing."

Since man pages are deprecated in GNU, can you refer to that
documentation in another way?





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

* bug#2561: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring
  2009-03-04 22:01 ` bug#2561: " Richard M Stallman
@ 2009-03-05  0:57   ` Jari Aalto
  2009-03-05 17:19     ` Richard M Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Jari Aalto @ 2009-03-05  0:57 UTC (permalink / raw)
  To: rms; +Cc: emacs-pretest-bug, 2561, Jari Aalto

Richard M Stallman <rms@gnu.org> writes:

>     +Note: in case the file is in hashed format as described in
>     +sshd(8) manual page, this function returns nothing."
>
> Since man pages are deprecated in GNU, can you refer to that
> documentation in another way?

Howabout this. --Jari

2009-03-03  Jari Aalto  <jari.aalto@cante.net>

        * pcmpl-unix.el (pcmpl-ssh-hosts): Improve docstring to
        mention OpenSSH hashed format.

From 905acf969238822e82b9c21a412072be72985da5 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aalto@cante.net>
Date: Thu, 5 Mar 2009 02:52:37 +0200
Subject: [PATCH] pcmpl-unix.el (pcmpl-ssh-hosts): Improve docstring to mention OpenSSH hashed format

Signed-off-by: Jari Aalto <jari.aalto@cante.net>
---
 lisp/pcmpl-unix.el |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lisp/pcmpl-unix.el b/lisp/pcmpl-unix.el
index c12920f..298b601 100644
--- a/lisp/pcmpl-unix.el
+++ b/lisp/pcmpl-unix.el
@@ -134,7 +134,10 @@ with the SSH option \"HashKnownHosts no\"."
 ;; http://www.emacswiki.org/cgi-bin/wiki/pcmpl-ssh.el
 
 (defun pcmpl-ssh-hosts ()
-  "Return a list of hosts found in `pcmpl-ssh-known-hosts-file'."
+  "Return a list of hosts found in `pcmpl-ssh-known-hosts-file'.
+
+Note: in case the file is in hashed format as described in
+OpenSSH documentation, this function returns nothing."
   (when (and pcmpl-ssh-known-hosts-file
              (file-readable-p pcmpl-ssh-known-hosts-file))
     (with-temp-buffer
-- 
1.6.1.3







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

* bug#2561: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring
  2009-03-05  0:57   ` Jari Aalto
@ 2009-03-05 17:19     ` Richard M Stallman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard M Stallman @ 2009-03-05 17:19 UTC (permalink / raw)
  To: Jari Aalto; +Cc: emacs-pretest-bug, 2561, jari.aalto

    +Note: in case the file is in hashed format as described in
    +OpenSSH documentation, this function returns nothing."

That's fine.






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

* bug#2561: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring
  2009-03-03 18:15 bug#2562: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring Jari Aalto
  2009-03-04 22:01 ` bug#2561: " Richard M Stallman
@ 2010-01-16 20:51 ` Chong Yidong
  1 sibling, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2010-01-16 20:51 UTC (permalink / raw)
  To: Jari Aalto; +Cc: 2561

Thanks; I've checked in the patch.






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

end of thread, other threads:[~2010-01-16 20:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-03 18:15 bug#2562: [PATCH] 23.0.91; pcmpl-unix.el::pcmpl-ssh-hosts improve docstring Jari Aalto
2009-03-04 22:01 ` bug#2561: " Richard M Stallman
2009-03-05  0:57   ` Jari Aalto
2009-03-05 17:19     ` Richard M Stallman
2010-01-16 20:51 ` Chong Yidong

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