Fork me on GitHub
#emacs
<
2017-03-10
>
qqq01:03:55

ace-jump / avy are amazing

richiardiandrea02:03:39

Hello folks, this is not strictly an emacs thing, but a lot of times I want to see my commit messages (in the shell), say for using fixup, and based on the message, store it's sha for later use. Is there a way to navigate a git log --one-line command and fetch the sha? I was thinking of writing an emacs minor mode or an helm module. This part is really breaking the flow because I use the mouse (yes the mouse!) for copying the sha at the moment

rmuslimov03:03:40

@richiardiandrea is magit-log (`l l` in magit status buffer) is what you looking for?

richiardiandrea03:03:37

Ah! I knew I was missing out some magit functionality, I am using it, just never thought to try there 😀

rmuslimov04:03:41

you may find this extension useful: https://github.com/rmuslimov/browse-at-remote. Allows user get direct links to github/bitbucket/gitlab from emacs buffer, support magit-log, vc-annotate

qqq05:03:20

anyone here using org-podomoro? if so, is there a way to get the clock to refresh every second? I want a countdown from 25 minutes showing me how much time I have left

jeffh-fp16:03:08

@qqq I got it going, thanks for the tip

ag18:03:53

@qqq I use org-pomodoro. But don’t you think that countdown would be awfully distracting? Also I found that having the clock only in active window is not enough for me. Since I’m on OS X, using Hammerspoon I add an item to the system menubar, red if pomodoro is active, green - if it’s a break

johnny.martin21:03:35

Got a few warnings when I tried to install clojure mode from melpa. Any ideas?

johnny.martin21:03:52

`Compiling file /home/jmartin/.emacs.d/elpa/clojure-mode-5.6.1/clojure-mode.el at Fri Mar 10 13:33:08 2017 clojure-mode.el:455:1:Warning: Unused lexical argument `args' clojure-mode.el:455:1:Warning: Unused lexical argument `orig-fun' In clojure--replace-let-bindings-and-indent: clojure-mode.el:459:25:Warning: reference to free variable `clojure--let-regexp' clojure-mode.el:1817:1:Warning: Unused lexical variable `beg' clojure-mode.el:2262:1:Warning: Unused lexical variable `k' clojure-mode.el:2281:1:Warning: Unused lexical variable `k' In end of data: clojure-mode.el:2355:1:Warning: the function `in-string-p' is not known to be defined.`

dpsutton22:03:06

I think those are unworrysome

dpsutton22:03:20

the unused warning is certainly superfluous

dpsutton22:03:38

in-string-p must come from some package that gets loaded later

dpsutton22:03:11

that comes from thingatpt.el

johnny.martin22:03:33

oh wow...thing at point... curious. Thanks again!

dpsutton22:03:20

wow, gross, emacs

dpsutton22:03:12

don't use in-string-p, but rather use (nth 3 (syntax-ppss))

qqq23:03:02

@ag (re org pomodoro countdown) -- I dunno, hard to say without testing it out; but I think the 'time pressure' would make it more fun 🙂