[PATCH] Emacsy buffer.scm: remove other-buffer, rename next-buffer to other-buffer --text follows this line-

2019-06-23 Thread Amar Singh
--- emacsy/buffer.scm | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/emacsy/buffer.scm b/emacsy/buffer.scm index 804a929..f998ed2 100644 --- a/emacsy/buffer.scm +++ b/emacsy/buffer.scm @@ -174,13 +174,13 @@ (mru-remove! buffer-stack buffer)) ;;. -(define-interactive

Re: [PATCH] Emacsy buffer.scm: remove other-buffer, rename next-buffer to other-buffer --text follows this line-

2019-06-23 Thread Jan Nieuwenhuizen
Amar Singh writes: Hi! Thank for the patch. > -(define-interactive (next-buffer #:optional (incr 1)) > +(define-interactive (other-buffer #:optional (incr 1)) >(mru-next! buffer-stack incr) >(switch-to-buffer (mru-ref buffer-stack))) This needs more thought. Although I observed this be

[PATCH 1-3/3] Emacsy, mru-next and next-buffer have opp semantics

2019-06-23 Thread Amar Singh
A. Patch: swap prev-buffer <--> next-buffer Steps to reproduce issue: ;; 1. load emacsy buffers without the fix. (load "buffer.scm") ;; 2. imagine these are tabs opened in order (map add-buffer! '(peace satan hell)) ;; 3. manually verify that we have these buffers (buffer-list) ;; (hell satan p

Re: [PATCH 1-3/3] Emacsy, mru-next and next-buffer have opp semantics

2019-06-23 Thread Jan Nieuwenhuizen
Amar Singh writes: > A. Patch: swap prev-buffer <--> next-buffer > Steps to reproduce issue: > > ;; 1. load emacsy buffers without the fix. > (load "buffer.scm") > > ;; 2. imagine these are tabs opened in order > (map add-buffer! '(peace satan hell)) > > ;; 3. manually verify that we have these bu