[O] ob-clojure.el is not compatible with new CIDER API

2018-07-16 Thread stardiviner
I found ob-clojure.el is not compatible with new CIDER API now.
I don't know CIDER much, is there anybody want to update it?

-- 
[ stardiviner ] don't need to convince with trends.
   Blog: https://stardiviner.github.io/
   IRC(freenode): stardiviner
   GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
  



[O] Bug: (org-clock-in 4) fails from non-Org buffer due to nil org-complex-heading-regexp [9.1.13 (9.1.13-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20180702/)]

2018-07-16 Thread Robert Irelan
How to reproduce:

1. Clock into default task.
2. Switch to non-Org buffer (I used `*scratch*`).
3. Type C-u M-x org-clock-info
4. Type d to clock into default task (which is located in a buffer
   that's part of my agenda).

Clocking in will then fail with the attached backtrace. It appears that
this is happening due to a missing value for the variable
`org-complex-heading-regexp`. Clocking in from an Org mode buffer
works. I'd expect that org-clock-in would attempt to temporarily switch
to that buffer to correctly set these buffer-local variables.

Backtrace:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  org-heading-components()
  org-clock-in((4))
  funcall-interactively(org-clock-in (4))
  #(org-clock-in record nil)
  apply(# org-clock-in (record nil))
  call-interactively@ido-cr+-record-current-command(# org-clock-in record nil)
  apply(call-interactively@ido-cr+-record-current-command # (org-clock-in record nil))
  call-interactively(org-clock-in record nil)
  command-execute(org-clock-in record)
  #f(compiled-function (cmd) #)("org-clock-in")
  ivy-call()
  ivy-read("C-u M-x " ("bh/punch-in" "org-clock-in"
"toggle-debug-on-error" "org-reload" ...) :predicate nil
:require-match t :history counsel-M-x-history :action
#f(compiled-function (cmd) #) :sort nil :keymap
(keymap (67108908 . counsel--info-lookup-symbol) (67108910 .
counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  counsel-M-x()
  funcall-interactively(counsel-M-x)
  #(counsel-M-x nil nil)
  apply(# counsel-M-x (nil nil))
  call-interactively@ido-cr+-record-current-command(# counsel-M-x nil nil)
  apply(call-interactively@ido-cr+-record-current-command # (counsel-M-x nil nil))
  call-interactively(counsel-M-x nil nil)
  command-execute(counsel-M-x)

Emacs  : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.22.24), modified by Debian
Package: Org mode version 9.1.13 (9.1.13-elpaplus @
~/.emacs.d/elpa/org-plus-contrib-20180702/)

current state:
==
(setq
 org-ref-notes-directory "~/Documents/org/home-org"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-refile-target-verify-function 'bh/verify-refile-target
 org-after-todo-state-change-hook
'(org-buganizer-after-todo-state-change-hook org-clock-out-if-current)
 org-columns-default-format "%60ITEM(Task) %10Effort(Effort){:}
%10CLOCKSUM %10CLOCKSUM_T"
 org-drill-adjust-intervals-for-early-and-late-repetitions-p t
 org-agenda-sticky t
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-protocol-default-template-key "p"
 org-global-properties '(("Effort_ALL" . "0:05 0:10 0:15 0:30 0:45
1:00 2:00 3:00 4:00 5:00 6:00 8:00")
 ("SYTLE_ALL" . "habit"))
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer bh/clock-out-maybe)
 org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9))
 org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
 org-pretty-entities t
 org-enforce-todo-dependencies t
 org-drill-right-cloze-delimiter "|!"
 org-ref-create-notes-hook '((lambda nil (org-narrow-to-subtree)
  (insert (format "cite:%s\n"
(org-entry-get (point) "Custom_ID"
 )
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-special-ctrl-a/e t
 org-agenda-files "~/.emacs.d/agenda_files"
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-clock-report-include-clocking-task t
 org-log-redeadline 'time
 org-ref-pdf-directory "~/Documents/org/home-org/lib/"
 org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
 org-id-link-to-org-use-id t
 org-mode-hook '(org-ref-org-menu org-clock-load
 #[0 "\300\301\302\303\304$\207" [add-hook
change-major-mode-hook org-show-block-all append local] 5]
 #[0 "\300\301\302\303\304$\207"
   [add-hook change-major-mode-hook
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes
org-eldoc-load)
 org-clock-persist t
 org-ref-insert-cite-function 'org-ref-helm-insert-cite-link
 org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
 org-outline-path-complete-in-steps nil
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-startup-indented t
 org-clock-history-length 23
 org-ref-clean-bibtex-key-function '(lambda (key)
(replace-regexp-in-string ":" "" key))
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-clock-frame-title-format '("" "%b - " org-mode-line-string)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3
"\n\n(fn ENTRY)"]
 org-adapt-indentation nil
 org-log-reschedule 'time
 org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
 org-agenda-text-search-extra-files 

Re: [O] Koma letter fails [SOLVED]

2018-07-16 Thread Roger Mason
Hello,

Roger Mason writes:

> I just attempted to use the koma-letter module but it fails:
>
> concat: Symbol’s function definition is void: org-latex--make-preamble
>
> I'm guessing some other symbol has replaced it, but what?
>

Found I was using  version of ox-koma-letter.el that did not come with
org-mode.  The problem has been resolved.  Sorry for the noise.

Roger



[O] Koma letter fails

2018-07-16 Thread Roger Mason
Hello,

I just attempted to use the koma-letter module but it fails:

concat: Symbol’s function definition is void: org-latex--make-preamble

I'm guessing some other symbol has replaced it, but what?

Cheers,
Roger

GNU Emacs 25.3.1 (amd64-portbld-freebsd11.1, GTK+ Version 3.22.29) of
2018-04-24
Org mode version 9.1.13 (release_9.1.13-890-g76e38e @
/home/rmason/.emacs.d/org-mode/lisp/)



Re: [O] How to make this horizontal line in org-super-agenda

2018-07-16 Thread Eric S Fraga
On Monday, 16 Jul 2018 at 12:34, Sven Bretfeld wrote:
> That was easy. Thank you very much.

Glad I could help!
-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-753-g2ec5d3



Re: [O] How to make this horizontal line in org-super-agenda

2018-07-16 Thread Sven Bretfeld


Eric S Fraga writes:

> On Monday, 16 Jul 2018 at 11:33, Sven Bretfeld wrote:

>> Does anybody know how alphapapa made these horizontal lines with
>> separate the agenda blocks? It can be seen in the "after" screenshot of
>> the github main page for org-super-agenda:
>> https://github.com/alphapapa/org-super-agenda/blob/master/screenshot-after.png
>>
>> I cannot figure out how to get those lines. Are they
>> color-theme-related? 
>
> Yes, most likely: an overline for the face used for the agenda headings,
> possibly the org-agenda-structure face but I haven't tested this.

That was easy. Thank you very much.

Sven




Re: [O] How to make this horizontal line in org-super-agenda

2018-07-16 Thread Eric S Fraga
On Monday, 16 Jul 2018 at 11:33, Sven Bretfeld wrote:
> Hi
>
> Does anybody know how alphapapa made these horizontal lines with
> separate the agenda blocks? It can be seen in the "after" screenshot of
> the github main page for org-super-agenda:
> https://github.com/alphapapa/org-super-agenda/blob/master/screenshot-after.png
>
> I cannot figure out how to get those lines. Are they
> color-theme-related? 

Yes, most likely: an overline for the face used for the agenda headings,
possibly the org-agenda-structure face but I haven't tested this.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-753-g2ec5d3



[O] How to make this horizontal line in org-super-agenda

2018-07-16 Thread Sven Bretfeld
Hi

Does anybody know how alphapapa made these horizontal lines with
separate the agenda blocks? It can be seen in the "after" screenshot of
the github main page for org-super-agenda:
https://github.com/alphapapa/org-super-agenda/blob/master/screenshot-after.png

I cannot figure out how to get those lines. Are they
color-theme-related? Is it a function which continuously escapes me?
Apparently it's not connected to
org-super-agenda-fontify-whole-header-line.

Thanks for help,

Sven