* Re: master 9fc1fdc: Restore the previous order of ERC's '/whois' arguments [not found] ` <20210930021846.71A3220D1E@vcs0.savannah.gnu.org> @ 2021-09-30 3:12 ` Stefan Kangas 2021-10-01 5:24 ` Amin Bandali 0 siblings, 1 reply; 2+ messages in thread From: Stefan Kangas @ 2021-09-30 3:12 UTC (permalink / raw) To: Amin Bandali, emacs-devel 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.) ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: master 9fc1fdc: Restore the previous order of ERC's '/whois' arguments 2021-09-30 3:12 ` master 9fc1fdc: Restore the previous order of ERC's '/whois' arguments Stefan Kangas @ 2021-10-01 5:24 ` Amin Bandali 0 siblings, 0 replies; 2+ messages in thread From: Amin Bandali @ 2021-10-01 5:24 UTC (permalink / raw) To: Stefan Kangas; +Cc: emacs-devel Stefan Kangas writes: [...] > > 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.) > Simpler, clearer, and much less awkward. I like it, thanks! Pushed. -- https://bndl.org ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-01 5:24 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20210930021845.3190.2821@vcs0.savannah.gnu.org> [not found] ` <20210930021846.71A3220D1E@vcs0.savannah.gnu.org> 2021-09-30 3:12 ` master 9fc1fdc: Restore the previous order of ERC's '/whois' arguments Stefan Kangas 2021-10-01 5:24 ` Amin Bandali
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.