GNU bug report logs - #39333
[PATCH 1/2] gnu: Add emacs-switch-buffer-functions.

Previous Next

Package: guix-patches;

Reported by: Amin Bandali <mab <at> gnu.org>

Date: Tue, 28 Jan 2020 23:50:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39333 in the body.
You can then email your comments to 39333 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#39333; Package guix-patches. (Tue, 28 Jan 2020 23:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Amin Bandali <mab <at> gnu.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 Jan 2020 23:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Amin Bandali <mab <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Amin Bandali <mab <at> gnu.org>
Subject: [PATCH 1/2] gnu: Add emacs-switch-buffer-functions.
Date: Tue, 28 Jan 2020 18:49:11 -0500
* 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)))
-- 
2.25.0





Information forwarded to guix-patches <at> gnu.org:
bug#39333; Package guix-patches. (Tue, 28 Jan 2020 23:55:02 GMT) Full text and rfc822 format available.

Message #8 received at 39333 <at> debbugs.gnu.org (full text, mbox):

From: Amin Bandali <mab <at> gnu.org>
To: 39333 <at> debbugs.gnu.org
Cc: Amin Bandali <mab <at> gnu.org>
Subject: [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace.
Date: Tue, 28 Jan 2020 18:53:31 -0500
* 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





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 02 Feb 2020 14:18:02 GMT) Full text and rfc822 format available.

Notification sent to Amin Bandali <mab <at> gnu.org>:
bug acknowledged by developer. (Sun, 02 Feb 2020 14:18:02 GMT) Full text and rfc822 format available.

Message #13 received at 39333-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Amin Bandali <mab <at> gnu.org>
Cc: 39333-done <at> debbugs.gnu.org
Subject: Re: [bug#39333] [PATCH 1/2] gnu: Add emacs-switch-buffer-functions.
Date: Sun, 02 Feb 2020 15:17:48 +0100
Hello,

Amin Bandali <mab <at> gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-switch-buffer-functions): New
> variable.

Applied as 2cb9b0453d87aaad15cb5c43702dfa8a109c53cb. Thank you!

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Mar 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.