Re: [O] Disable typo-mode in org source code blocks

2019-09-02 Thread Tim Cross
Hi John, this is a greet bit of info. My first thought when the question was asked was "Hmm, what you need is some sort of facility that could run a function when the cursor moves in and out of a region". I then discounted the idea because of the amount of supporting functionality which would

[O] git-annex-related org-attach tests failing on master

2019-09-02 Thread Kyle Meyer
Hello, The following tests fail as of ae9cd4370 (org-attach*, org, org-manual, org-news, ox-html, testing/*, 2018-11-25): test-org-attach-git/get-maybe test-org-attach-git/use-annex test-org-attach/dired-attach-to-next-best-subtree/1

Re: [O] Minor fix for org-attach-dir

2019-09-02 Thread Kyle Meyer
Hi Gustav, Gustav Wikström writes: > See commit 4b7eda1a2 for the fix. This commit, as well as several other recent commits by you, do not follow the project's convention regarding changelog-like entries in the commit message. Regardless of your opinion on this convention (I personally don't

[O] Minor fix for org-attach-dir

2019-09-02 Thread Gustav Wikström
For full transparency: An issue was found in org-brain [1] due to a change in functionality of org-attach-dir in commit ae9cd4370. I've given it some thought and figured that particular change in functionality wasn't really needed and not obviously correct either. So org-attach-dir will now check

Re: [O] Bug: org-edit-src keeps splitting the window [9.2.5 (release_9.2.5-504-g3c24be @ /home/immanuel/.emacs.d/straight/build/org/)]

2019-09-02 Thread Immanuel Litzroth
You want me to do that and send a new patch or are you going to do it after you apply the patch? Regards, Immanuel On Mon, Sep 2, 2019 at 9:41 PM Nicolas Goaziou wrote: > > Hello, > > immanuel writes: > > > When org-edit-src-code is called with org-window-setup equal to > > 'split-window-below

Re: [O] Bug: org-edit-src keeps splitting the window [9.2.5 (release_9.2.5-504-g3c24be @ /home/immanuel/.emacs.d/straight/build/org/)]

2019-09-02 Thread Nicolas Goaziou
Hello, immanuel writes: > When org-edit-src-code is called with org-window-setup equal to > 'split-window-below or 'split-window-right it will keep splitting the > window if the mouse is clicked on the src block in the org buffer. > This patch tries to address that [...] > +(defun

Re: [O] Disable typo-mode in org source code blocks

2019-09-02 Thread John Kitchin
You can use cursor-sensor mode for this if you have emacs 26ish. The idea is you set cursor-sensor functions on a region that do something depending on whether you enter or leave the region. Below, I tie into the org font lock mechanisms to add these properties so that when you enter, typo mode

[O] Disallow empty tags

2019-09-02 Thread Dmitrii Korobeinikov
Creating an empty tag renders TAB-completion useless. Example: * Title :a::b: Pressing TAB in org-set-tags-command will now insert a colon `:`, which is quite puzzling to see. I thought something was wrong w/ my bindings till I noticed this was happening only in one of my files. Can such

Re: [O] Strange interaction between ID block property, org-schedule and ical/ics export backend

2019-09-02 Thread Fraga, Eric
On Monday, 2 Sep 2019 at 10:34, rey-coyrehourcq wrote: > Hi, > Sorry, i make a typo in the previous mail, i use the "org-icalendar-export-to- > ics" method and not the org-caldav method... Ah, okay. I should say that I only export appointments (i.e. active time stamps) to ics so it could be

Re: [O] Disable typo-mode in org source code blocks

2019-09-02 Thread garjola
On Mon 02-Sep-2019 at 10:35:02 +02, Tim Cross wrote: > I think Eric is correct. There is also another reason. If you edit the > source blocks with C-', then any escaping needed (such as putting a ',' > before '*') will also be automatically handled, plus of course you get > all the programing

Re: [O] Disable typo-mode in org source code blocks

2019-09-02 Thread Tim Cross
I think Eric is correct. There is also another reason. If you edit the source blocks with C-', then any escaping needed (such as putting a ',' before '*') will also be automatically handled, plus of course you get all the programing mode goodness. Fraga, Eric writes: > On Monday, 2 Sep 2019

Re: [O] Strange interaction between ID block property, org-schedule and ical/ics export backend

2019-09-02 Thread rey-coyrehourcq
Hi, Sorry, i make a typo in the previous mail, i use the "org-icalendar-export-to- ics" method and not the org-caldav method... * Heading 1 SCHEDULED <...--...> :PROPERTIES: :ID: xxx :END: foo Le dimanche 01 septembre 2019 à 09:29 +, Fraga, Eric a écrit : > On Saturday, 31 Aug

Re: [O] Disable typo-mode in org source code blocks

2019-09-02 Thread Fraga, Eric
On Monday, 2 Sep 2019 at 09:01, garj...@garjola.net wrote: > I am using typo-mode (https://github.com/jorgenschaefer/typoel) in my > org buffers (actually with a hook for text-mode), but I would like to > disable it in source code blocks. > > I have been unable to find a hook to do so (I

[O] Disable typo-mode in org source code blocks

2019-09-02 Thread garjola
Hi, I am using typo-mode (https://github.com/jorgenschaefer/typoel) in my org buffers (actually with a hook for text-mode), but I would like to disable it in source code blocks. I have been unable to find a hook to do so (I understand that org-src-mode-hook is used when editing with ‘C-c '’ but