You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just noticed how running (dwim-shell-command) from a buffer with custom margin set with something like (set-window-margins nil 3 3) gets the margin reset to nil due to the following line in cl-defun dwim-shell-command-execute-script:
;; Momentarily set buffer to same window, so it's next in recent stack.;; Makes finding the shell command buffer a lot easier.
(let ((current (current-buffer)))
(pop-to-buffer-same-window proc-buffer)
(pop-to-buffer-same-window current))
The comment makes it clear about the rationale of this code, but I'm wondering if there is a better way to achieve this somehow, so that the existing buffer won't get affected?
Screen.Recording.2024-05-30.at.13.57.40.mov
The text was updated successfully, but these errors were encountered:
I've looked a bit into what we could do instead, but couldn't find other routes. It just needs to make into buffer-list but can't think of any other ways (and tried a few approaches but couldn't make them to work 🫣)
I just noticed how running
(dwim-shell-command)
from a buffer with custom margin set with something like(set-window-margins nil 3 3)
gets the margin reset to nil due to the following line incl-defun dwim-shell-command-execute-script
:The comment makes it clear about the rationale of this code, but I'm wondering if there is a better way to achieve this somehow, so that the existing buffer won't get affected?
Screen.Recording.2024-05-30.at.13.57.40.mov
The text was updated successfully, but these errors were encountered: