unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39333] [PATCH 1/2] gnu: Add emacs-switch-buffer-functions.
@ 2020-01-28 23:49 Amin Bandali
  2020-01-28 23:53 ` [bug#39333] [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace Amin Bandali
  2020-02-02 14:17 ` bug#39333: [PATCH 1/2] gnu: Add emacs-switch-buffer-functions Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: Amin Bandali @ 2020-01-28 23:49 UTC (permalink / raw)
  To: 39333; +Cc: Amin Bandali

* 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#39333] [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace.
  2020-01-28 23:49 [bug#39333] [PATCH 1/2] gnu: Add emacs-switch-buffer-functions Amin Bandali
@ 2020-01-28 23:53 ` Amin Bandali
  2020-02-02 14:17 ` bug#39333: [PATCH 1/2] gnu: Add emacs-switch-buffer-functions Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Amin Bandali @ 2020-01-28 23:53 UTC (permalink / raw)
  To: 39333; +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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#39333: [PATCH 1/2] gnu: Add emacs-switch-buffer-functions.
  2020-01-28 23:49 [bug#39333] [PATCH 1/2] gnu: Add emacs-switch-buffer-functions Amin Bandali
  2020-01-28 23:53 ` [bug#39333] [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace Amin Bandali
@ 2020-02-02 14:17 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2020-02-02 14:17 UTC (permalink / raw)
  To: Amin Bandali; +Cc: 39333-done

Hello,

Amin Bandali <mab@gnu.org> writes:

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

Applied as 2cb9b0453d87aaad15cb5c43702dfa8a109c53cb. Thank you!

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-02 14:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-28 23:49 [bug#39333] [PATCH 1/2] gnu: Add emacs-switch-buffer-functions Amin Bandali
2020-01-28 23:53 ` [bug#39333] [PATCH 2/2] gnu: Add emacs-erc-scrolltoplace Amin Bandali
2020-02-02 14:17 ` bug#39333: [PATCH 1/2] gnu: Add emacs-switch-buffer-functions Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).