Fork me on GitHub
#emacs
<
2018-01-19
>
qqq11:01:27

does emacs have a key for 'jump to last point' ?

mgrbyte11:01:41

last point = end of buffer?

qqq12:01:19

no, sorry, not (point-max)

qqq12:01:35

sometimes due to avy/evil/lispy interactions, I press a set of keys, and my cursor jumps seomwhere random

qqq12:01:47

I really want a "back key" which jumps my cursor back to where it was 1 second ago

bozhidar13:01:26

Many commands that cause the cursor to jump around rely on the mark-ring to make it easy for users to go back to where they were.

qqq13:01:52

so C-space is set-mark-command

qqq13:01:57

is C-u C-space (set-mark-command 0) ?

dadair19:01:24

I have a large mono repo containing several different internal project directories (but the mono repo is the project according to Projectile). I generated TAGS for the monorepo, and now completion is cumbersome (often takes order of seconds, on input I don’t want completed). I tried just removing the TAGS file (manually through a rm), but Emacs (spacemacs) endlessly “detects changes” to TAGS and asks me to re-read, even though the file isn’t there. Is there a clean/clear way of removing TAGS and not having Emacs (projectile?) complain?

richiardiandrea20:01:04

@dadair Projectile detects "sub-projects" if you create a .projectile file in the sub folders

qqq22:01:07

my current emacs is perfectly fine with [}

qqq22:01:23

is there some mode that will display this in bright red or something to indicate to me that this is an error ?

richiardiandrea22:01:18

I am not sure but maybe rainbow-delimiters does that

bostonaholic22:01:54

paredit makes that very difficult to even be a thing

qqq22:01:20

oh absolutely, this doesn't happen on a regular basis

qqq22:01:28

but when I do fuck up and it happens, I don't know how ot fix it

qqq22:01:36

because there's almost no suport, so I end up binary searching the sexps

richiardiandrea22:01:38

I use paredit and rainbow-delimiters together, when I break things I see red, I am just not sure who is doing that

qqq22:01:10

I'm now using lispy + lispyville + rainbow-delimiters, so I will be able to tell you soon

richiardiandrea22:01:28

yeah so I used what-face and it says rainbow-delimiters-unmatched-face

qqq22:01:47

either I'm becoming colorbind or I'm not getting rainbows despite it saying "rainbow-delimiters-mode enabled"

qqq22:01:10

okay, I got rainbow delimiters working, but it's not showing bright red anywhere

richiardiandrea22:01:49

@qqq can you go on the extra paren and M-x what-face

richiardiandrea22:01:57

maybe you have some other mode on

qqq23:01:16

okay, when I create a 'purposely bad' example, rainbow delimiter picks it up

qqq23:01:32

unfortunatley, it thinks my code (which cider eval last sexp is complaininga buot, is fine

qqq23:01:03

I must be sending it an unbalanced sexp somehow

qqq23:01:13

found it!

qqq23:01:20

consider the typo:

#([::prevOf %2k])

qqq23:01:36

it's perfectly balanced, but if I eval it in cider, I get "unmatched delimiter )"