+1, aggreed, I wish a better keybinding too.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Sat, Dec 2, 2017 at 2:47
int = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Jul 13, 2017 at 8:29 AM, numbch...@gmail.com
wrote:
> I want to write a helper function to send the link file (usually ebooks)
> under the point to Kindle path like (/run/media/username/Kin
error report when I `(require 'org-tempo)`
Debugger entered--Lisp error: (error "Format specifier doesn’t match
argument type")
format("<%c" "Q")
(closure (t) (pair) (format "<%c" (car pair)))(("Q" "#+BEGIN_SRC sql-mode
?\n\n#+END_SRC" "#+BEGIN_SRC sql-mode ?\n\n#+END_SRC"))
mapcar((closure
I have a big org-mode file which is overview at startup. When I navigate
around with [C-v] and [M-v]. The Emacs crashed.
Here is the output from command-line:
```
Fatal error 11: Segmentation fault
Backtrace:
emacs[0x51195e]
emacs[0x4f739a]
emacs[0x50fe3e]
emacs[0x510058]
emacs[0x5100dc]
/usr/lib/
38 PM, Eli Zaretskii wrote:
> > From: "numbch...@gmail.com"
> > Date: Sat, 16 Dec 2017 12:27:58 +0800
> >
> > Is there a way to debug this?
>
> Run Emacs under a debugger, trigger the crash, and produce a more
> helpful backtrace by typing the "bt&
That should add a lot more interesting detail to the backtrace.
>
> 3. To go further, repro under GDB, ideally with corresponding source
> code. Then you could explore the immediate cause of the segfault.
>
> Neil
>
> On 16/12/17 04:27, numbch...@gmail.com wrote:
>
>
You're right, I searched this function through source code and dived into
them. Did not found any obvious places which might cause this issue neither.
Hope someone can help here.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchil
Here is my example:
#+NAME: get-container-name
#+begin_src shell :results output
echo $(docker ps --format="{{.Names}}")
#+end_src
#+RESULTS: get-container-name
: elastic_thompson
#+begin_src shell :var container_name=get-container-name :noweb yes
docker exec -it $container_name pwd
# docker exe
problem solved, Thanks very much. @Nicolas and @Berry.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Wed, Dec 20,
I tried %%(org-anniversary 2016 12 21) Test anniversary. But this seems
does not work. I tested with variable diary-file default value point to
~/.emacs.d/diary file. and has following content:
%%(diary-anniversary 10 21 2016) my first child
<%%(diary-anniversary 10 21 2016)> my first child
%%(or
Sorry
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Dec 21, 2017 at 10:40 AM, numbch...@gmail.com
wrote
/
On Thu, Dec 21, 2017 at 10:40 AM, numbch...@gmail.com
wrote:
> Sorry
>
> [stardiviner] GPG key ID: 47C32433
> IRC(freeenode): stardiviner Twitter: @numbchild
> Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 24
Finally found a solution. really hard. spend a lot of time on this issue.
The discussion is at here:
https://github.com/clojure-emacs/clojure-mode/pull/465 Here is my final
source code. paste here as a copy. Hope can help someone want same thing.
;; auto start CIDER REPL session in a complete Lein
Can you describe how do you do this in detailed?
Like:
> but since I am using docker containers to run node, I always mount the
current directory as a volume in /app inside the container, so that works
out fine.
> I also think that this way forces me to separate the code in modular
blocks, which is
h dozens of source blocks. In order to
> run the block number 23, you will have to run all the preceding blocks on
> which that block depends. I don't like that, even if the document is meant
> to be read sequentially, from start to finish, I want to be able to open
> the org
Here is a quick test:
* Test tangle will auto expand and substitute :var
#+begin_src js :tangle kk.js
console.log("hello, world!");
#+end_src
#+begin_src js :var name="chris" :tangle require-kk.js
// require("kk.js");
console.log("Hi, ", name);
#+end_src
#+RESULTS:
: Hi, chris
#+NAME: check w
I see. I will use noweb style for now.
But should tangle expand :var variables when tangling? I think this is the
correct behaviour.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 C
Still get same error:
> org-babel-python-evaluate-session: Buffer *Python-*Python** does not
exist or has no process
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 4
After Edebug:
I found the problem location:
- [ ] org-babel-execute:python
#+begin_src emacs-lisp
(session (org-babel-python-initiate-session
(cdr (assq :session params
#+end_src
- [ ] org-babel-python-initiate-session
- [ ] org-babel-python-session-buf
I'm trying to select TODO keyword when doing org-capture.
Like this:
(setq org-capture-templates
'(("c" "[C]apture"
entry (file "")
;; HACK: select todo keyword interactively from `org-todo-keywords'.
;; 1. command `org-todo'
"* %(completing-read \"Todo keyword: \" (mapca
I created a package ob-clojure-literate for Clojure Literate Programming in
Org-mode. Welcome to use it and add PR.
https://github.com/stardiviner/ob-clojure-literate
I still have two features not implemented. Hope someone will PR. Thanks
very much.
[stardiviner] GPG key ID: 47C3
This works great. Thanks.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Jan 4, 2018 at 10:23 AM, Adam Porter
Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Jan 4, 2018 at 6:55 PM, Bastien Guerry wrote:
> "numbch...@gmail.com" writes:
>
> > https://github.com/stardiviner/ob-clojure-l
://stardiviner.github.io/
On Thu, Jan 4, 2018 at 6:55 PM, Bastien Guerry wrote:
> "numbch...@gmail.com" writes:
>
> > https://github.com/stardiviner/ob-clojure-literate
>
> Thanks for sharing this.
>
> About this part:
>
> (defun ob-clojure-cider-do-not-find-ns ()
>
CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Jan 4, 2018 at 7:39 PM, Bastien Guerry wrote:
> Thanks!
>
> "numbch...@gmail.com" writes:
>
> > No, I asked Clojure ML, and posted an issue on clojure-mode GitHub
> > issues. I need to find a
You can try this:
```
* Test repeat time range with end date
DEADLINE: <2018-01-01 Mon 12:00 .+2d>--<2018-01-13 Sat>
```
This will repeat, and end on the day 13. Also deadline works fine.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @
I have a org-capture template like this:
```
(setq org-capture-templates
(append '(("w" "org-drill [w]ords"
entry (file my-org-drill-words-file)
"* %i :drill:
:PROPERTIES:
:DRILL_CARD_TYPE: %^{Drill Difficulty|simple|twosided|multisided|hide1cloze}
:END
I'm developing an Emacs package
https://github.com/stardiviner/org-send-ebook .
I found Org-mode hex spaces in filename with "%20", So I reverse this with
function `(url-unhex-string (org-element-property :path
(org-element-context)))`. But this only works for English filename. If it
is Chinese fil
wrote:
> Hello,
>
> "numbch...@gmail.com" writes:
>
> > I'm developing an Emacs package
> > https://github.com/stardiviner/org-send-ebook .
> > I found Org-mode hex spaces in filename with "%20", So I reverse this
> with
> > function
Because some MELPA package requires `org`. So Emacs will **force** install
`org` package from MELPA. But it is delay with source code Org.
I use source code org with use-package like this:
```
(use-package org
:load-path "~/Code/Emacs/org-mode/lisp/"
:pin manual
;; :mode (("\\.org$" . org-mod
I agree. use `file::name` is better.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Tue, Jan 23, 2018 at 3:24 AM, Ni
3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Tue, Jan 23, 2018 at 8:26 PM, Kaushal Modi
wrote:
> On Mon, Jan 22, 2018, 4:41 AM numbch...@gmail.com
> wrote:
>
>>
>> Does anybody have a perfect solution to use latest source code Org in
>> Emacs w
47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Wed, Jan 24, 2018 at 12:15 AM, Kaushal Modi
wrote:
> On Tue, Jan 23, 2018 at 11:09 AM numbch...@gmail.com
> wro
I'm currently using this advice:
```elisp
;;; prepend comment char ahead of `org-babel-ref'.
;; auto prefix with comment char when create code ref in src block with
`org-store-link'.
(defun org-babel-ref-prepend-comment-char (arg &optional interactive?)
"Prepend comment chart in Org-mode src code
int = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Wed, Jan 24, 2018 at 9:40 PM, Nicolas Goaziou
wrote:
> Hello,
>
> "numbch...@gmail.com" writes:
>
> > I think this function should be in Org-mode itself.
> &
fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Fri, Jan 26, 2018 at 4:19 AM, Nicolas Goaziou
wrote:
> Hello,
>
> "numbch...@gmail.com" writes:
>
> > I see. Seems current ob-core.el can filter out the `src-coderef`.
> > Li
Blog: http://stardiviner.github.io/
On Fri, Jan 26, 2018 at 8:34 PM, numbch...@gmail.com
wrote:
> Because it is not good for tangling.
> For example, tangle the bellowing src block, the tangled source code file
> will has `(ref:hello)` too.
> ```
> #+begin_src emacs-lisp :tangle
wrote:
> Nicolas Goaziou writes:
>
> > Hello,
> >
> > "numbch...@gmail.com" writes:
> >
> >> Because it is not good for tangling.
> >> For example, tangle the bellowing src block, the tangled source code
> file
> >> will has `(re
RT.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
When I try to compile with command `make`, but got this output:
```
make -C doc clean; make -C lisp clean;
make[1]: Entering directory '/home/stardiviner/Code/Emacs/org-mode/doc'
rm -f org *.pdf *.html *_letter.tex org-version.inc org-version.tex \
*.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.ky
When I enable `eldoc-mode` in org-mode.
eldoc timer running when on `shell` src blocks like:
#+begin_src shell
git log $rev..origin/emacs-25 -- lisp/org doc/misc/org.texi \
etc/refcards/orgcard.tex etc/ORG-NEWS etc/org \
etc/schema/od-manifest-schema-v1.2-os.rnc \
etc/schema/od-schem
tardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Fri, Feb 2, 2018 at 12:18 PM, Yasushi SHOJI
wrote:
> Hi,
>
> On Fri, Feb 2, 2018 at 10:24 AM, numbch...@gmail.com
> wrote:
>
://stardiviner.github.io/
On Fri, Feb 2, 2018 at 9:32 AM, numbch...@gmail.com
wrote:
> When I enable `eldoc-mode` in org-mode.
> eldoc timer running when on `shell` src blocks like:
>
> #+begin_src shell
> git log $rev..origin/emacs-25 -- lisp/org doc/misc/org.texi \
> etc/re
Can I send PR to add contrib support at new Org-mode source code website
like this: https://code.orgmode.org/bzg/org-mode/pulls/1
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99
I like this idea.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Sat, Feb 10, 2018 at 12:42 AM, Mark Edgington wrot
Hi, sorry for this. I have not noticed that. I will create an PR to remove
my `ob-lua.el` as soon as fast.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Bl
B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Wed, Feb 14, 2018 at 6:18 PM, numbch...@gmail.com
wrote:
> Hi, sorry for this. I have not noticed that. I will create an PR to remove
> my `ob-lua.el` as soon as fast.
>
> [stardiviner] GPG key ID: 47C32433
>
I try add advice as I posted at here
https://emacs.stackexchange.com/questions/38818/how-to-write-this-advice-for-inject-code-into-let-binding
And here is my final code (some lines commented out for easy debug):
```elisp
;;; Support header arguments :results file :file "image.png"
(defun ob-clo
No, it's not expected result. It should be caused by my commit here
https://code.orgmode.org/bzg/org-mode/pulls/5
Don't know how to workaround this.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC C
With following example:
```
#+begin_src gnuplot :session :results graphics :file "data/images/sin.png"
:cache no
set term png
set grid
plot sin(x), cos(x)
#+end_src
```
If I use Org-mode ELPA version. then it works fine.
But when I use `master` branch version, then it does not have any result.
Trie
Blog: http://stardiviner.github.io/
On Sun, Mar 4, 2018 at 9:54 PM, numbch...@gmail.com
wrote:
> With following example:
> ```
> #+begin_src gnuplot :session :results graphics :file "data/images/sin.png"
> :cache no
> set term png
> set grid
> plot sin(x), cos(x)
&
I pushed code at this branch:
https://code.orgmode.org/stardiviner/org-mode/src/ob-js-skewer
Hope someone can review it. and merge it.
(I found https://code.orgmode.org/ does not have the create PR button now.
Is it disabled?)
[stardiviner] GPG key ID: 47C32433
IRC(freeenode):
: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Thu, Mar 8, 2018 at 5:41 PM, numbch...@gmail.com
wrote:
> I pushed code at this branch:
>
&
I agree, should compatible with situations like `flycheck` need to use
buffer-file-name.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiv
Maybe I forgot it. Could be another suggestion because I have not found it
in my recorded issues. (addded it now)
Hmm. Recently I don't have time to check it out. If I got time to do this,
I will update it here. It's not urgent, if you don't have time too, leave
it opened is fine.
[stardiviner]
I write an extension org-link-beautify (
https://github.com/stardiviner/org-link-beautify). It use text-property to
display all-the-icons icon for links.
When I use `list-timers`, I found many timers like this:
#+begin_example
1179.80 -#f(compiled-function () # [#
("-1003358868.jpg" :
I try to add an idle timer to auto refresh org agenda views.
Here is what I code:
#+begin_src emacs-lisp
;;; auto refresh `*Org Agenda*' buffer
(defun my/org-agenda-auto-refresh ()
"Rebuild all agenda views buffers."
(org-agenda-redo-all t))
(run-with-idle-timer (* 60 20) t #'my/org-agenda-a
: 47C32433
IRC(freeenode): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Mon, Jul 27, 2020 at 3:46 PM Marco Wahl wrote:
> "numbch...@gmail.com" writes:
>
> [...
Marco Wahl wrote:
> "numbch...@gmail.com" writes:
>
> > I try to add an idle timer to auto refresh org agenda views.
> >
> > Here is what I code:
> >
> > #+begin_src emacs-lisp
> > ;;; auto refresh `*Org Agenda*' buffer
> > (defu
With this patch, ol-man.el link type can be a link like this:
```org
[[man:grep::--extended-regexp][grep --extended-regexp]]
```
Occur will auto search "--extended-regexp" string in man page buffer.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner
I have a org-mode extension:
https://github.com/stardiviner/org-link-beautify/blob/master/org-link-beautify.el#L71
It will beautify links with text-properties.
When I toggle org-log-mode and related options in org-agenda buffer. I
found my org-link-beautify will caused long time suspend and no st
use `org-logbook-drawer-re'.
>
> > When I toggle org-log-mode and related options in org-agenda buffer. I
> > found my org-link-beautify will caused long time suspend and no stop.
> After
> > debug, I found org-link-beautify text-property caused this problem.
>
>
ed-mode-p 'org-agenda-mode) (progn
(org-agenda-redo t (setq --dolist-tail-- (cdr --dolist-tail--
(org-agenda-redo t))
org-agenda-redo-all(nil)
funcall-interactively(org-agenda-redo-all nil)
call-interactively(org-agenda-redo-all nil nil)
command-execute(org-agenda-redo-all)
```
blind guess - maybe you are modifying match data somewhere in your
> code. This might cause infinite loop in
>
> > (while (org-activate-links (point-max)) (goto-char (match-end 0)))
>
> Best,
> Ihor
>
> "numbch...@gmail.com" writes:
>
> > Thanks for rep
ematic part according to
> the profiler report.
>
> A blind guess - maybe you are modifying match data somewhere in your
> code. This might cause infinite loop in
>
> > (while (org-activate-links (point-max)) (goto-char (match-end 0)))
>
> Best,
> Ihor
>
> "numbc
unction #'org-link-beautify)
> ;; run agenda
> ;; M-x elp-results
>
> Another suggestion would be invoking debug-on-entry for you function,
> for org-activate-links, and for org-agenda-finalize.
>
> Best,
> Ihor
>
>
>
>
> "numbch...@gmail.com" writes
): stardiviner Twitter: @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
On Mon, Aug 17, 2020 at 8:38 AM numbch...@gmail.com
wrote:
> Ihor, thanks for your detailed help.
> I followed your steps, the `elp` s
RT.
The latest commit "f4687993c53a5339e" added "pdf" file type into inline
image rules. This caused org-toggle-inline-image try to convert large PDF
into png images. Caused very long time suspend.
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner
tested to use `debug-on-entry` on `org-agenda`. It can
> > popup a stoppoint backtrace.
>
> Strange. I had no problem with debugging `org-agenda-finalize` on my
> system.
>
> Best,
> Ihor
>
>
> "numbch...@gmail.com" writes:
>
> > Ihor, thanks for y
/
On Sun, Aug 16, 2020 at 5:54 PM Nicolas Goaziou
wrote:
> Hello,
>
> "numbch...@gmail.com" writes:
>
> > With this patch, ol-man.el link type can be a link like this:
> > ```org
> > [[man:grep::--extended-regexp][grep --extended-regexp]]
> > ```
2433
Blog: http://stardiviner.github.io/
On Mon, Aug 17, 2020 at 2:15 PM Nicolas Goaziou
wrote:
> Hello,
>
> "numbch...@gmail.com" writes:
>
> > The latest commit "f4687993c53a5339e" added "pdf" file type into inline
> > image rules.
&g
://stardiviner.github.io/
On Sat, Aug 22, 2020 at 9:03 PM Lars Ingebrigtsen wrote:
> "numbch...@gmail.com" writes:
>
> > The commit "e1f09607e0" caused this problem. I confirmed by git
> > checkout a commit before it. And re-eval source code, then the problem
> &g
I have some situations, need to run multiple clocking to mark different
headline tasks. I remember there is one exist question thread already, but
I can't find it after search in archive. So I propose this feature again
here.
Hope Org Mode can implement it. WDYT?
[stardiviner] GPG
:22 AM numbch...@gmail.com
wrote:
> Thanks for reviewing my code and points. :)
> Fixed in this attached patch.
>
> [stardiviner] GPG key ID: 47C32433
> IRC(freeenode): stardiviner Twitter: @numbchild
> Key fingerprint = 9BAA 92BC CDDD B9EF 3B
101 - 174 of 174 matches
Mail list logo