Fork me on GitHub
#emacs
<
2023-01-22
>
Benjamin C00:01:16

Is there something like clj-kondo's lint-as for elisp?

teodorlu12:01:30

TIL how to view changes to the current file:

M-x magit-log-buffer-file
I expect I'll use this a lot to see where current development effort is focused. Is this a new file (short log, recent dates) or an old file (long log). Works just like the normal M-x magit-log-current - you can view commit messages, changes to files, etc.

👍 2
pavlosmelissinos12:01:55

Very nice, TIL 🙂 Check out vc-region-history too for region-specific changes

💯 2
2
teodorlu14:01:24

Wow, nice! That's super compact for viewing changes to a specific function. I gave it a go for looking up the history of clojure.walk/walk, interesting to see its history from 2009.

dpsutton15:01:44

I use this all the time. It is extremely helpful

ag15:01:26

Now try marking a few files in Dired and run magit-dired-log. It shows the log only for selected files.

2
✔️ 4
🤯 2
💯 2
🙏 2
👍 2
Benjamin07:01:34

it does? For me it uses the dir. Ah magit-log-buffer-file also tries to only log the region, if active