Is there any ways to open help message horizontally from frame-root-window? #10164
Original emacs with enough
I tried #5140 but it didn't work. What I tried is following.
(defun dotspacemacs/user-config () "Configuration function for user code. This function is called at the very end of Spacemacs initialization after layers configuration. This is the place where most of your configurations should be done. Unless it is explicitly specified that a variable should be set before a package is loaded, you should place your code here." (setq-default split-width-threshold 0 split-height-threshold nil ) )
Even with above code, help message splitted vertically in (and only in) frame-root-window.
The text was updated successfully, but these errors were encountered:
@nixmaniack I mean
What I did is
First of all
Secondly, if you're on
And lastly, I often get confused in emacs parlance with the words horizontal/vertical split because of how
If yes, it works as expected on latest
If helps if you use
@nixmaniack It looks like works! Thank you for your help!
Could I ask one more thing?
What is the elegant way in spacemacs to change
(push '("*Help*" :dedicated t :position bottom :stick t :noselect t :height 0.4) popwin:special-display-config)
(push '("*Help*" :dedicated t :position right :stick t :noselect t :width 0.5) popwin:special-display-config)
What I try is
(defun dotspacemacs/user-config () "Configuration for user code: This function is called at the very end of Spacemacs startup, after layer configuration. Put your configuration code here, except for variables that should be set before packages are loaded." (mapc (lambda (item) (if (string= (car item) "*Help*") (progn (plist-put (cdr item) :position 'right) (plist-put (cdr item) :height nil) (plist-put (cdr item) :width 0.5)))) popwin:special-display-config) )
and it works, but I think it's quite crappy...
This was answered by bmag for exactly similar ask sometime back. I'll find and add the source.
(setcdr (assoc "*Help*" popwin:special-display-config) '(:dedicated t :position right :stick t :noselect t :width 0.5))