[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 #[(&optional

[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 Description: S/MIME cryptog

[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 functi

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 >

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 problem for me, since I work >> with org-mode

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 'turn-on-orgalist)

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 "1. " nil nil nil 1505

[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

[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 (&optional 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 (&optional line) "Align all tags in agenda items to `org-agenda-tags-colu

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 Chinese (string-match-p "[[:alnum:

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 kin

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 vizdgvzu uid vjudgfvkjui

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 on Github, but I've u

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] 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 cryptographic signat

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 easier, at least for me, to > review or apply.

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 `org-plain-list-ordered-item-terminator' set to ?\) ? Yes, I used the customiza

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 > it's a list, indent

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] 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 (release_

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 `features/index.html` ... Is there a tu

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

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 open up a blank .el fil

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

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 get work >> done >> >> is a lot. Changes in UI in emacs are opt-in. >> >> >>

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

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 what the user expected, but it informs the

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

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 questi

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

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 o

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? > > A

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

2018-05-07 Thread Bastien
Hi Bernt, Bernt Hansen writes: > > *** Change in the structure template expansion > > Org 9.2 comes with a new template expansion mechanism, combining > ~org-insert-structure-template~ bound to ~C-c C-'~. >

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

2018-05-07 Thread Bastien
Hi Rasmus, Rasmus writes: >> For org-tempo, Rasmus wrote it so I'm inclined to listen quite >> carefully at his opinion. > > Please don’t. Done :) > I have not really made any policy decisions of sort. I only missed > " C-," to better suit my taste. I am not a designer, I just type on > my k

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

2018-05-07 Thread Bastien
Hi Aaron, Aaron Ecay writes: > As a general (idealized) principle, I think user-visible changes should > be phased in over at least one org major version. I have no problem > with “intrusive” deprecation warnings, but abrupt changes in behavior > should be avoided. I fully agree with the above

[O] Smooth transition for modules (was: [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-05-07 Thread Bastien
Hi Aaron, Aaron Ecay writes: > OK, thatʼs good to know. Iʼve held off on any pushing of the patch to > master until everything is worked out. In the meantime, Iʼve put it in > a branch “org-tempo”. thanks for this. > I also added a second commit to that branch which implements my vision > of

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

2018-05-07 Thread Bastien
Hi Rasmus, Rasmus writes: > There’s tools to mark thinks as obsolete in Emacs should we need to. One problem is that those tools (I'm thinking of define-obsolote-*) are more developer-oriented than user-oriented. E.g. AFAIK there is no "tool" to tell a user that a command accepts a new argumen

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

2018-05-07 Thread Bastien
Hi Aaron, Aaron Ecay writes: > Interesting. I didnʼt know about that function. I just tried M-x > customize-changed RET Org 9.0 RET. That gives an error; it seems to > only work based on emacs versions and not package versions. Thatʼs > unfortunate, it would have been nice if people who inst