unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: Amin Bandali <bandali@gnu.org>, emacs-devel@gnu.org
Subject: Re: master 9fc1fdc: Restore the previous order of ERC's '/whois' arguments
Date: Wed, 29 Sep 2021 20:12:57 -0700	[thread overview]
Message-ID: <CADwFkm=y9KDVmpWXE26-k_iCO-3Omz47EfXuXfAkeqQz6MxuWg@mail.gmail.com> (raw)
In-Reply-To: <20210930021846.71A3220D1E@vcs0.savannah.gnu.org>

bandali@gnu.org (Amin Bandali) writes:

> +(defun erc-cmd-WHOIS (nick-or-server &optional nick-if-server)
> +  "Display whois information for the given user.
> +
> +If NICK-IF-SERVER is nil, NICK-OR-SERVER should be the nick of
> +the user about whom the whois information is to be requested.
> +Otherwise, if NICK-IF-SERVER is non-nil, NICK-OR-SERVER should be
> +the server to which the user with the nick NICK-IF-USER is
> +connected to.
> +
> +Specifying the server NICK-OR-SERVER that the nick NICK-IF-SERVER
> +is connected to is useful for getting the time the NICK-IF-SERVER
> +user has been idle for, when the user NICK-IF-SERVER is connected
> +to a different server of the network than the one current user is
> +connected to, since only the server a user is connected to knows
> +the idle time of that user."

How about:

With one argument, FIRST is the nickname of the user to request whois
information for.

With two arguments, FIRST is the server, and SECOND is the user
nickname.

Specifying the server is useful for getting the time that the user has
been idle for, when it is connected to a different server on the same
IRC network.  (Only the server a user is connected to knows how long the
user has been idle.)



       reply	other threads:[~2021-09-30  3:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210930021845.3190.2821@vcs0.savannah.gnu.org>
     [not found] ` <20210930021846.71A3220D1E@vcs0.savannah.gnu.org>
2021-09-30  3:12   ` Stefan Kangas [this message]
2021-10-01  5:24     ` master 9fc1fdc: Restore the previous order of ERC's '/whois' arguments Amin Bandali

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkm=y9KDVmpWXE26-k_iCO-3Omz47EfXuXfAkeqQz6MxuWg@mail.gmail.com' \
    --to=stefankangas@gmail.com \
    --cc=bandali@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 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).