From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46434) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwahE-00031B-MZ for guix-patches@gnu.org; Tue, 28 Jan 2020 18:55:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwahD-0001I3-L3 for guix-patches@gnu.org; Tue, 28 Jan 2020 18:55:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwahD-0001Hm-Hn for guix-patches@gnu.org; Tue, 28 Jan 2020 18:55:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iwahC-0002pj-FX for guix-patches@gnu.org; Tue, 28 Jan 2020 18:55:02 -0500 Subject: [bug#39333] [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace. Resent-Message-ID: From: Amin Bandali Date: Tue, 28 Jan 2020 18:53:31 -0500 Message-Id: <20200128235331.8947-1-mab@gnu.org> In-Reply-To: <20200128234911.8601-1-mab@gnu.org> References: <20200128234911.8601-1-mab@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39333@debbugs.gnu.org Cc: Amin Bandali * gnu/packages/emacs-xyz.scm (emacs-erc-scrolltoplace): New variable. --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 6cd463d582..f066eedc5c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21260,3 +21260,26 @@ current buffer is changed after an interactive command, i.e. when @code{post-command-hook} hooks are run. The hooked functions will be called with both the previous and the current buffer.") (license license:unlicense))) + +(define-public emacs-erc-scrolltoplace + (package + (name "emacs-erc-scrolltoplace") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/jgkamat/erc-scrolltoplace.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11zpqwh1mlfifbgnvhc63bvnhg340jgxssm3m43hr1sxsyb52lh6")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-switch-buffer-functions" ,emacs-switch-buffer-functions))) + (home-page "https://gitlab.com/jgkamat/erc-scrolltoplace") + (synopsis + "ERC module to replace scrolltobottom while using keep-place") + (description "@code{erc-scrolltoplace} is an ERC module to try +to emulate @code{scrolltobottom} while @code{keep-place} is enabled.") + (license license:gpl3+))) -- 2.25.0