From patchwork Tue Jan 28 23:49:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amin Bandali X-Patchwork-Id: 20024 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 259B816392; Tue, 28 Jan 2020 23:50:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EB3631638E for ; Tue, 28 Jan 2020 23:50:12 +0000 (GMT) Received: from localhost ([::1]:38984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwacW-0002CF-E3 for patchwork@mira.cbaines.net; Tue, 28 Jan 2020 18:50:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42922) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwacO-0002C6-7c for guix-patches@gnu.org; Tue, 28 Jan 2020 18:50:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwacM-0005Xi-66 for guix-patches@gnu.org; Tue, 28 Jan 2020 18:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55295) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwacM-0005XU-3M for guix-patches@gnu.org; Tue, 28 Jan 2020 18:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iwacM-0002hR-1O for guix-patches@gnu.org; Tue, 28 Jan 2020 18:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39333] [PATCH 1/2] gnu: Add emacs-switch-buffer-functions. Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2020 23:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39333 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39333@debbugs.gnu.org Cc: Amin Bandali X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158025536910322 (code B ref -1); Tue, 28 Jan 2020 23:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2020 23:49:29 +0000 Received: from localhost ([127.0.0.1]:33035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwabp-0002gQ-Jj for submit@debbugs.gnu.org; Tue, 28 Jan 2020 18:49:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:48999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwabo-0002gH-EE for submit@debbugs.gnu.org; Tue, 28 Jan 2020 18:49:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42549) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwabm-0002Bc-Vs for guix-patches@gnu.org; Tue, 28 Jan 2020 18:49:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iwabm-0003og-SW for guix-patches@gnu.org; Tue, 28 Jan 2020 18:49:26 -0500 Received: from cpe00fc8d518353-cm00fc8d518350.cpe.net.cable.rogers.com ([99.228.8.225]:33090 helo=chaman.hitronhub.home) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iwabl-0006zc-Iw; Tue, 28 Jan 2020 18:49:25 -0500 From: Amin Bandali Date: Tue, 28 Jan 2020 18:49:11 -0500 Message-Id: <20200128234911.8601-1-mab@gnu.org> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-switch-buffer-functions): 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 e834dfffb3..6cd463d582 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -21237,3 +21237,26 @@ mode-line text (lighter) of major and minor modes.") (description "@code{unkillable-scratch} helps prevent killing buffers matching a given regexp.") (license license:gpl2+)))) + +(define-public emacs-switch-buffer-functions + (package + (name "emacs-switch-buffer-functions") + (version "0.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/10sr/switch-buffer-functions-el.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pq53b8wrjbrxd5hnrcdi0z7mffp4bax55hn90k9ca3j76lhbn1k")))) + (build-system emacs-build-system) + (home-page "https://github.com/10sr/switch-buffer-functions-el") + (synopsis "Hooks run when switching current buffer") + (description "This package provides a hook variable +@code{switch-buffer-functions}. The hooks will be run when the +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))) From patchwork Tue Jan 28 23:53:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amin Bandali X-Patchwork-Id: 20025 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 52A5E16392; Tue, 28 Jan 2020 23:55:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 26ED21638E for ; Tue, 28 Jan 2020 23:55:10 +0000 (GMT) Received: from localhost ([::1]:39010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwahJ-00031I-Mt for patchwork@mira.cbaines.net; Tue, 28 Jan 2020 18:55:09 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#39333] [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace. Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2020 23:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39333 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39333@debbugs.gnu.org Cc: Amin Bandali Received: via spool by 39333-submit@debbugs.gnu.org id=B39333.158025564710815 (code B ref 39333); Tue, 28 Jan 2020 23:55:02 +0000 Received: (at 39333) by debbugs.gnu.org; 28 Jan 2020 23:54:07 +0000 Received: from localhost ([127.0.0.1]:33048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwagI-0002oM-Me for submit@debbugs.gnu.org; Tue, 28 Jan 2020 18:54:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iwagF-0002na-SZ for 39333@debbugs.gnu.org; Tue, 28 Jan 2020 18:54:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iwagA-0007qA-NC for 39333@debbugs.gnu.org; Tue, 28 Jan 2020 18:53:58 -0500 Received: from cpe00fc8d518353-cm00fc8d518350.cpe.net.cable.rogers.com ([99.228.8.225]:33146 helo=chaman.hitronhub.home) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iwag9-0007H3-Cw; Tue, 28 Jan 2020 18:53:58 -0500 From: Amin Bandali Date: Tue, 28 Jan 2020 18:53:31 -0500 Message-Id: <20200128235331.8947-1-mab@gnu.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200128234911.8601-1-mab@gnu.org> References: <20200128234911.8601-1-mab@gnu.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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+)))