Re: [O] Moving from Jekyll to Orgmode

2018-05-07 Thread ST
> > 2. how can one create "prettified" links, i.e. /features/ instead > > of /features.html ? Basically during the website generation for the file > > features.org a directory `features` needs to be created and the html > > file placed into `features/index.html` ... Is there a tutorial on how to >

[O] orgalist-mode seems not to work in GNU emacs 27 (master)

2018-05-07 Thread Uwe Brauer
Hi I just downloaded the package and turn orgalist minor mode on in my message buffer. I try to insert a list as described 1 . 1 . Not sure how to write 1. (Without hitting space), so I write 1. but nothing happened 1. Also M-RET (translated from ) runs the command #[( arg)

Re: [O] Orgalist notes

2018-05-07 Thread Gregor Zattler
Hi Nicolas, * Nicolas Goaziou [2018-05-06; 13:32]: > Gregor Zattler writes: > >> With org-mode in the load-path, the line breaks happen for all >> lines not only the first one. But one has to (require 'org) in >> order for M-RET to work. This is no

[O] turn on orgalist in message buffer

2018-05-07 Thread Uwe Brauer
Hi Maybe I am old fashioned but is the only way of turning orgalist on in a message buffer. (defun turn-on-orgalist () (interactive) (orgalist-mode 'toggle)) (add-hook 'mail-mode-hook 'turn-on-orgalist) (add-hook 'message-mode-hook 'turn-on-orgalist) I could use a anonymous lambda

[O] [solved] (was: orgalist-mode seems not to work in GNU emacs 27 (master))

2018-05-07 Thread Uwe Brauer
>>> "Uwe" == Uwe Brauer writes: > Hi > I just downloaded the package and turn orgalist minor mode on in my > message buffer. I try to insert a list as described Forget my mail. I restarted emacs and everything is as expected. Sorry for the noise. smime.p7s

[O] Bug: ob-python: Lots of IndentationError [9.1.12 (release_9.1.12-728-ge8a4f3 @ /Users/xcy/src/org-mode/lisp/)]

2018-05-07 Thread Xu Chunyang
Execute this code block #+BEGIN_SRC python :session :results value def int2str(i): digits = "0123456789" if i == 0: return "0" else: result = "" while i > 0: result = digits[i % 10] + result i = i // 10 return

Re: [O] turn on orgalist in message buffer

2018-05-07 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > Maybe I am old fashioned but is the only way of turning orgalist on in a > message buffer. > > (defun turn-on-orgalist () > (interactive) > (orgalist-mode 'toggle)) > > (add-hook 'mail-mode-hook 'turn-on-orgalist) > (add-hook 'message-mode-hook

Re: [O] Orgalist notes

2018-05-07 Thread Nicolas Goaziou
Hello, Gregor Zattler writes: > 1. rzhe juhgdhjvhj vghfjs y rvgfhjxd bvjxdbv mh vxnbxgbfvghg drgh >djhxcjhbnjdfjhvgjhf jhfhjghfj hfjM-RET > > > gives: > > Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) > org-list-insert-item(1504 ((1397 0

[O] BUG: org tag can align proper when tag is Chinese.

2018-05-07 Thread tumashu
1.  [:alnum:] can not match Chinese char,  what about add [:multibyte:] ? ``` (defun org--align-tags-here (to-col)  ...     (if    (or (not (looking-at ".*?\\([ \t]+\\)\\(:[[:alnum:]_@#%:]+:\\)[ \t]*$"))  ... ) (defun org-agenda-align-tags ( line)  ...   (while (re-search-forward "\\([

Re: [O] BUG: org tag can align proper when tag is Chinese.

2018-05-07 Thread Nicolas Goaziou
Hello, tumashu writes: > 1.  [:alnum:] can not match Chinese char,  what about add [:multibyte:] ? What about : [:alnum:] + [:multibyte:] -> [:word:] Could you test this change? Regards, -- Nicolas Goaziou

Re: [O] BUG: org tag can align proper when tag is Chinese.

2018-05-07 Thread tumashu
> >Could you test this change? Seem to work! Another problem I have found is that: when having Chinese char, (window-text-width) is not a stable method, but I do not know how to fix it. ``` (defun org-agenda-align-tags ( line) "Align all tags in agenda items to `org-agenda-tags-column'."

Re: [O] BUG: org tag can align proper when tag is Chinese.

2018-05-07 Thread tumashu
At 2018-05-07 21:22:34, "Nicolas Goaziou" wrote: >Hello, > >tumashu writes: > >> 1.  [:alnum:] can not match Chinese char,  what about add [:multibyte:] ? > >What about : > > [:alnum:] + [:multibyte:] -> [:word:] I found [:alnum:] can match

Re: [O] Moving from Jekyll to Orgmode

2018-05-07 Thread Rasmus
ST writes: >> > 2. how can one create "prettified" links, i.e. /features/ instead >> > of /features.html ? Basically during the website generation for the file > >> > features.org a directory `features` needs to be created and the html >> > file placed into

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Rasmus
Aaron Ecay writes: > Hi Rasmus, > > 2018ko maiatzak 5an, Rasmus-ek idatzi zuen: > >> Cool, I at least did not know that one. >> Can you a reproducible way to try it out? >> Without having to make my own templates etc. > > I havenʼt done anything with it myself. > > You can

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Rasmus
Carsten Dominik writes: > On Sat, May 5, 2018 at 8:02 PM Rasmus wrote: > >> Nicolas Goaziou writes: >> >> > Hello, >> > >> > Steve Downey writes: >> > >> >> Asking users to accept any breakage in the tool they use to

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Rasmus
Hi Aaron, Thanks for the reply. Aaron Ecay writes: > I wouldnʼt call it nagging. The user presses “ something special to happen. The status quo is that nothing at all > happens. My proposal is to make something special happen. Itʼs > different than

Re: [O] How to hide a table column from exporting

2018-05-07 Thread Kaushal Modi
A quick update on the solution I posted there. Within the org-export-before-processing-hook, it seems like a "(goto-char (point-min))" was always implied before? That's not the case any more. So that goto-char now has to be added explicitly. This works now (as of Org mode version 9.1.13

Re: [O] Does :block field of clocktable respect org-extend-today-until?

2018-05-07 Thread Nicolas Goaziou
Hello, Robert Irelan writes: > I've rebased against latest master and attached the patch. It looks good, thank you. Would you mind proving a couple of regression tests, e.g., in "test-org-clock.el"? Regards, -- Nicolas Goaziou

Re: [O] Orgalist notes

2018-05-07 Thread Gregor Zattler
Hi Nicolas, * Nicolas Goaziou [2018-05-07; 19:32]: > Gregor Zattler writes: > >> Sure: >> >> 1. hdf ds gjdfg dzg vizdgvzu uid vjudgfvkjui dkjui uiv dfu du >>sjuds gdhfj dhfg vhjf df dfkjh vkjM-RET > > Do you have

Re: [O] Orgalist notes

2018-05-07 Thread Nicolas Goaziou
Gregor Zattler writes: > Yes, I used the customization interface and choose "2)". This > produces 41 as value of this variable. I did so, because > sometimes a sentence ends in a number and a period but these > happen to be after a auto-fill line break and org would assume >

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Aaron Ecay
Hi Rasmus, 2018ko maiatzak 7an, Rasmus-ek idatzi zuen: > Srecode seems pretty neat, though it might only work in file buffers. > Other than being shipped with Emacs, does it have any advantage over yas? > Are there any plans to merge the two or make them more compatible? Not AFAIK (to both

Re: [O] [org-contacts] How to show avatar image on org headings?

2018-05-07 Thread John Kitchin
you might find this http://kitchingroup.cheme.cmu.edu/blog/2016/03/21/Displaying-image-overlays-on-image-filenames-in-Emacs/ potentially useful for what you want. stardiviner writes: > I want to show org-contacts avatar image on org-headings. > Use overlay, or there is other better methods? > >

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "<s[TAB]")

2018-05-07 Thread Aaron Ecay
Hi Rasmus, 2018ko maiatzak 7an, Rasmus-ek idatzi zuen: > > They’d already have the "old" behavior if it’s enabled by default in > org.el. Indeed, my suggestion is not an alternative to keeping (what is now called) org-tempo turned on by default indefinitely. It is an alternative to turning

Re: [O] Bug: ob-python: Lots of IndentationError [9.1.12 (release_9.1.12-728-ge8a4f3 @ /Users/xcy/src/org-mode/lisp/)]

2018-05-07 Thread Aaron Ecay
Hi Chunyang, This bug was introduced by commit 1966d58b2, which “fixed” another problematic case of indentation. Because of issues like this, ob-python has never really worked reliably (in my experience) The only sensible way I can see to evaluate python code from emacs without hitting these

Re: [O] Does :block field of clocktable respect org-extend-today-until?

2018-05-07 Thread Nicolas Goaziou
Hello, Robert Irelan writes: > Hi, is there anything else I should do on this patch? Would you mind sending it to the ML? It easier, at least for me, to review or apply. Thank you. Regards, -- Nicolas Goaziou0x80A93738

Re: [O] Does :block field of clocktable respect org-extend-today-until?

2018-05-07 Thread Robert Irelan
I've rebased against latest master and attached the patch. On Mon, May 7, 2018 at 11:05 AM Nicolas Goaziou wrote: > Hello, > Robert Irelan writes: > > Hi, is there anything else I should do on this patch? > Would you mind sending it to the ML? It

Re: [O] Orgalist notes

2018-05-07 Thread Gregor Zattler
Hi Nicolas, * Nicolas Goaziou [2018-05-07; 14:37]: > I cannot reproduce the issue. It seems to be with "org-list.el". > > Could you do it again, this time after loading Org uncompiled? I need > the backtrace to step into `org-list-insert-item'. Sure: 1. hdf ds gjdfg dzg

Re: [O] Does :block field of clocktable respect org-extend-today-until?

2018-05-07 Thread Robert Irelan
Hi, is there anything else I should do on this patch? On Tue, May 1, 2018 at 12:40 PM Robert Irelan wrote: > I've updated my repo at https://github.com/telotortium/org-mode (branch > org-clock-table-extend-today-until-block). (I know I cloned it from an older > org-mode repo

Re: [O] turn on orgalist in message buffer

2018-05-07 Thread Uwe Brauer
> Hello, > Uwe Brauer writes: > (add-hook 'mail-mode-hook #'orgalist-mode) > (add-hook 'message-mode-hook #'orgalist-mode) Ah! Thanks indeed it does. I was wondering whether there exists a simple solution and in fact it does. smime.p7s Description: S/MIME