I hereby claim:
- I am whhone on github.
- I am whhone (https://keybase.io/whhone) on keybase.
- I have a public key ASCpaOsI-Ri-TiaIlT-O_XQnCz33XwKCXybmiAU0IsHS9Ao
To claim this, I am signing this object:
(defun my/org-random-heading () | |
"Jump to a random org heading in the current org file." | |
(interactive) | |
(goto-char (point-min)) | |
(let ((headings '())) | |
(while (re-search-forward "^\\*+ " nil t) | |
(push (point) headings)) | |
(when headings | |
(goto-char (nth (random (length headings)) headings)) | |
(org-reveal)))) |
I hereby claim:
To claim this, I am signing this object:
// .then block does not complete | |
Future<void> foo_then_bad() async { | |
final future = Future(() => print('foo_then_bad: started')) | |
.then((_) async => () async { | |
await Future.delayed(Duration(seconds: 1), null); | |
print('foo_then_bad: 111'); | |
await Future.delayed(Duration(seconds: 1), null); | |
print('foo_then_bad: 222'); | |
}); | |