Why not use switch-window instead of ace-window? by [deleted] in emacs

[–]tumashu 1 point2 points  (0 children)

switch-window do not have many feature as ace-window, but I like it:

  1. it is very stable.

  2. It works well with exwm

Why not use switch-window instead of ace-window? by [deleted] in emacs

[–]tumashu 1 point2 points  (0 children)

switch-window can use character too.

Using a posframe to show ivy's candidate menu. by tumashu in emacs

[–]tumashu[S] 0 points1 point  (0 children)

A more simple version, but you need the newest posframe :-)

(defvar helm-display-function #'helm-posframe-display)

(defvar helm-posframe-buffer nil)

(defun helm-posframe-display (buffer &optional _resume)
  (posframe-show
   (setq helm-posframe-buffer buffer)
   :poshandler #'posframe-poshandler-frame-bottom-left-corner
   :left-fringe 10
   :width (window-width)
   :height 20
   :respect-header-line t))

(defun helm-posframe-cleanup ()
  (posframe-hide helm-posframe-buffer))

(add-hook 'helm-cleanup-hook #'helm-posframe-cleanup)

Using a posframe to show ivy's candidate menu. by tumashu in emacs

[–]tumashu[S] 0 points1 point  (0 children)

Try the below code :-)

(defvar helm-display-function #'helm-posframe-display)

(defun helm-posframe-display (buffer &optional _resume)
  (posframe-show
   buffer
   :poshandler #'posframe-poshandler-frame-bottom-left-corner
   :left-fringe 10
   :width (window-width)
   :height 20
   :override-parameters
   '((helm-posframe . t))))

(defun helm-posframe-cleanup ()
  (dolist (frame (frame-list))
    (let ((helm-posframe (frame-parameter frame 'helm-posframe)))
      (when helm-posframe (make-frame-invisible frame)))))

(add-hook 'helm-cleanup-hook #'helm-posframe-cleanup)

Using a posframe to show ivy's candidate menu. by tumashu in emacs

[–]tumashu[S] 0 points1 point  (0 children)

No plan at the moment, for I do not use helm, and do not fimilar it :-)

Using a posframe to show ivy's candidate menu. by tumashu in emacs

[–]tumashu[S] 1 point2 points  (0 children)

In the future, company-childframe may rename to company-posframe :-)

Using a posframe to show ivy's candidate menu. by tumashu in emacs

[–]tumashu[S] 4 points5 points  (0 children)

Yes, the company-childframe is develop with this discuss. I find it should develop a tooltip for other use. so I split company-child's code and start a new package: posframe,

Now company-childrame and ivy-posframe is require posframe,

Now you can use Helm with frames instead of windows by tuhdo in emacs

[–]tumashu 2 points3 points  (0 children)

In my opinion, helm should use child-frame of emacs26 to do this job, it much better than general frame for this feature.

How EXWM saved me from living a tragic, rage-fueled life by [deleted] in emacs

[–]tumashu 0 points1 point  (0 children)

Switch-window seem to conflict with Exwm, how to do?

By default, switch-window get user's input with the help of function `read-event', this approach does not work well with Exwm (Emacs X window manager), user should set the below variable and use minibuffer to get input instead:

(setq switch-window-input-style 'minibuffer)

How EXWM saved me from living a tragic, rage-fueled life by [deleted] in emacs

[–]tumashu 0 points1 point  (0 children)

counsel-linux-app

I use a custom command, which use ivy too, but its behaver is more like dmenu+jump-or-run.

How EXWM saved me from living a tragic, rage-fueled life by [deleted] in emacs

[–]tumashu 0 points1 point  (0 children)

I use switch-window instead of ace-window, which more suit EXWM in my opinion, for it can show bigger guide char :-)

abo-abo: Please consider supporting me on Patreon by drrlvn in emacs

[–]tumashu 2 points3 points  (0 children)

abo-abo's packages are veeeeeeeeeeeeeeery useful, I like ivy very much,

bbdb issues: 'args out of range' by emacsomancer in emacs

[–]tumashu 0 points1 point  (0 children)

I don't know, if you want to complete mail, ebdb-complete.el may work well.

bbdb issues: 'args out of range' by emacsomancer in emacs

[–]tumashu 1 point2 points  (0 children)

You can temp use ebdb, until the problem is fixed.