Fork me on GitHub
#emacs
<
2020-05-04
>
Cameron10:05:40

ah that's pretty neat, although its hard to say what I'd prefer

rickmoynihan10:05:48

ahh thanks… I swear I had this setup at one point, but think I switched it off for some reason and can’t remember why

rickmoynihan10:05:55

nor could I remember what it was called

rickmoynihan10:05:58

hmm seems to work, but it’s not centred and displays in the lower left corner

pauldub10:05:01

I think you should be able to set poshandler parameter (POSHANDLER) to #'posframe-poshandler-window-center using https://github.com/tumashu/helm-posframe/blob/master/helm-posframe.el#L103

rickmoynihan10:05:45

Setting it to posframe-poshandler-window-center works :thumbsup:

👍 4
vemv12:05:17

Anyone familiar with this visual glitch? (issue includes a gif so that's your tldr ^^) https://github.com/railwaycat/homebrew-emacsmacport/issues/158 The thing is that now I'm not only experiencing with emacs-mac --no-title-bars but also with the more popular emacsformacosx distro It makes me wonder if it could be a somewhat common or known issue. Hard to google

Frank Henard20:05:29

I want to create a key binding for M-x cider-repl-clear-buffer. It would be like running $ clear in a shell. Do any of you have any recommendations for what I should use?

Frank Henard20:05:45

I guess I'm wondering if there's some standard "clear buffer" type of key binding, and I don't want to create a key combination that will conflict with something else

dpsutton20:05:04

i believe there already is one. C-c C-o clears the last evaluation and with a C-u before it clears the entire buffer

Frank Henard20:05:10

nice. How did you figure that out?

Frank Henard20:05:40

https://stackoverflow.com/a/965284/59439 demonstrates the "where-is" feature: C-h w command-name, but it didn't work for cider-repl-clear-buffer

dpsutton20:05:57

my m-x autocompletes and annotates with keybindings

👍 4
Frank Henard20:05:01

that's nice! It didn't work for me, but your settings look different. It looks like you're using spacemacs. I've wanted to add some spacemacs settings to mine, but I've been using vanilla emacs for a long time

Frank Henard20:05:51

and I haven't taken the time to pick through the settings of spacemacs to figure out what I want and what I don't, and then figure out how to do it in vanilla emacs

dpsutton21:05:59

no spacemacs here

dpsutton21:05:01

just vanilla emacs

hindol07:05:58

I have doom emacs and my M-x lists the keybindings next to the command name, which is super helpful.

👍 4
hindol07:05:51

If you know the major mode which is contributing the command, you can also "M-x describe-keymap" and then select the mode.

👍 4
dpsutton20:05:27

if i were unsure i could do c-h a [ret] cider clear [ret] and get a list of functions.

cider-repl-clear-output is an interactive compiled Lisp function in
'cider-repl.el'.

(cider-repl-clear-output &optional CLEAR-REPL)

Delete the output inserted since the last input.
With a prefix argument CLEAR-REPL it will clear the entire REPL buffer instead.

👍 4