elfeed icon indicating copy to clipboard operation
elfeed copied to clipboard

splitting window and quit-window exits both

Open darshanime opened this issue 8 years ago • 2 comments

  1. C-x w to get elfeed feed
  2. Open any feed entry with RET
  3. split-window-below to get split windows
  4. quit-window to go back to feed, quit-window to go back to original page

During step 4, one would expect only the active window to go back to feed (and to the original page). However, the behavior is that both the windows go to feed, and the second quit-window brings the original page back in only the active window (while the other stays at feed)

darshanime avatar Aug 08 '17 06:08 darshanime

The issue is that "q" in the elfeed-show-mode buffer is mapped to elfeed-kill-buffer. Feel free to remap this to bury-buffer if that works better for you:

(define-key elfeed-show-mode-map (kbd "q") #'bury-buffer)

You may also be interested in setting elfeed-show-entry-switch (variable) to a different function to control how the entry gets displayed.

skeeto avatar Aug 12 '17 00:08 skeeto

This might work in case you use tilling and elfeed-show-entry-switch 'display-buffer:

  (defun thao/elfeed-quit-window-delete ()
    (interactive)
    (quit-window 'kill))

Thaodan avatar Nov 14 '22 07:11 Thaodan