From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.erc.general,gmane.emacs.help Subject: Re: ERC custom IRC /command Date: Mon, 18 Mar 2019 04:10:13 +0100 Message-ID: <86zhpsj2sq.fsf@zoho.eu> References: <86r2b8sysx.fsf@zoho.eu> <86a7htl2oj.fsf@zoho.eu> Reply-To: ERC Discussion Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="114213"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: erc-discuss@gnu.org Original-X-From: erc-discuss-bounces+sf-erc-help=m.gmane.org@gnu.org Mon Mar 18 06:34:11 2019 Return-path: Envelope-to: sf-erc-help@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5kuY-000TcT-Ls for sf-erc-help@m.gmane.org; Mon, 18 Mar 2019 06:34:10 +0100 Original-Received: from localhost ([127.0.0.1]:36047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5kuX-0004ef-Fo for sf-erc-help@m.gmane.org; Mon, 18 Mar 2019 01:34:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5ifS-0006Xy-CS for erc-discuss@gnu.org; Sun, 17 Mar 2019 23:10:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5ifQ-00063k-QC for erc-discuss@gnu.org; Sun, 17 Mar 2019 23:10:26 -0400 Original-Received: from [195.159.176.226] (port=42508 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5ifQ-0005zM-9J for erc-discuss@gnu.org; Sun, 17 Mar 2019 23:10:24 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1h5ifN-000R6i-2d for erc-discuss@gnu.org; Mon, 18 Mar 2019 04:10:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: erc-discuss@gnu.org Original-Followup-To: gmane.emacs.help Mail-Copies-To: never Cancel-Lock: sha1:6JTvWM3Mr8HRJJOXOCQ2aeoYXo0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-Mailman-Approved-At: Mon, 18 Mar 2019 01:34:06 -0400 X-BeenThere: erc-discuss@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: ERC Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: erc-discuss-bounces+sf-erc-help=m.gmane.org@gnu.org Original-Sender: "Erc-discuss" Xref: news.gmane.org gmane.emacs.erc.general:1466 gmane.emacs.help:119656 Archived-At: (defun erc-cmd-R () (let ((last-input (aref (cddr erc-input-ring) (- (cadr erc-input-ring) 2) ))) (erc-send-input last-input) ) nil) http://user.it.uu.se/~embe8573/emacs-init/erc-my.el -- underground experts united http://user.it.uu.se/~embe8573