emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
2020-05-04T10:37:07.177400Z

Anyone know how to make helm show in a popup like here: https://github.com/Alexander-Miller/treemacs/blob/master/screenshots/workspace-edit.gif

pauldub 2020-05-04T10:42:33.177500Z

This looks like https://github.com/tumashu/posframe so it might be the following extension: https://github.com/tumashu/helm-posframe/

Cameron 2020-05-04T10:43:40.177800Z

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

2020-05-04T10:43:48.178Z

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

2020-05-04T10:43:55.178200Z

nor could I remember what it was called

2020-05-04T10:46:58.178400Z

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

pauldub 2020-05-04T10:51:01.178600Z

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

pauldub 2020-05-04T10:51:24.178900Z

Nevermind, you can use the https://github.com/tumashu/helm-posframe/blob/master/helm-posframe.el#L66 parameter

πŸ‘ 1
2020-05-04T10:53:45.179400Z

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

πŸ‘ 1
vemv 2020-05-04T12:39:17.181700Z

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

ballpark 2020-05-04T20:00:29.183Z

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?

ballpark 2020-05-04T20:04:45.183900Z

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

dpsutton 2020-05-04T20:09:04.185Z

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

ballpark 2020-05-04T20:12:10.185300Z

nice. How did you figure that out?

ballpark 2020-05-04T20:16:40.186700Z

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

dpsutton 2020-05-04T20:17:57.187100Z

my m-x autocompletes and annotates with keybindings

πŸ‘ 1
hindol 2020-05-06T07:34:58.192Z

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

πŸ‘ 1
hindol 2020-05-06T07:36:51.192300Z

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

πŸ‘ 1
dpsutton 2020-05-04T20:19:27.188100Z

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.

πŸ‘ 1
ballpark 2020-05-04T20:25:01.188400Z

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

ballpark 2020-05-04T20:25:51.188600Z

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

dpsutton 2020-05-04T21:05:59.188900Z

no spacemacs here

dpsutton 2020-05-04T21:06:01.189100Z

just vanilla emacs