Fork me on GitHub
#emacs
<
2018-01-17
>
qqq01:01:13

I'm expecting

(add-hook 'lispy-mode-hook
	  (lambda ()
	    (setq-local outline-regexp 
			(concat "^\\s-*("
				(regexp-opt '("progn" "def" "defun" "defn" "do"))
				".*"

				)))) 
(progn
  (progn
    (progn
      (defun foo (x y)
	(+ x y)))))

to match the {progn and (defun lines for "outline headers", but it's not matching them

qqq01:01:41

C-h v outline-regexp shows:

outline-regexp is a variable defined in ‘outline.el’.
Its value is "^\\s-*(\\(?:d\\(?:ef\\(?:u?n\\)?\\|o\\)\\|progn\\)"

qqq07:01:36

anyone else running into an issue where "lispy--indent-region" is incorrectly indenting regions that have been collapsed in outline mode ?

qqq16:01:35

I'm thinking about switching from helm to ivy + counsel + swiper -- anyone made this transition / have feed back ?

bozhidar17:01:30

@qqq I did something similar - switched from ido to the ivy stack and I’m loving it.

bozhidar17:01:39

It’s very consistent and very fast.

bozhidar17:01:04

No need to install a ton of packages get consistent interface everywhere.

bostonaholic17:01:34

the ics stack is really nice

bostonaholic17:01:58

I’ve switched to using that from helm but haven’t gotten my fingers to work quite right, yet

qqq18:01:13

@bozhidar @bostonaholic: are either of your init.el public? I'm just looking for stuff to steal

bozhidar18:01:43

Yeah, mine is.

qqq18:01:30

do you use avy-goto-word/char in practice? I tried it for a few weeks and found I like vim keys more for jumping around

tanzoniteblack18:01:37

@qqq I use avy-goto-word-1 constantly

bozhidar19:01:10

I almost never navigate within the visual part of buffer in a different manner.