Re: [O] orgtbl-mode and markdown

2012-12-23 Thread Bastien
Hi Vegard and Carsten, Carsten Dominik writes: > OK, I withdraw my opposition to fixing this issue in org - by my > criticism toward the way markdown.el defines this hook remains. I fixed this by saving match data for `org-delete-backward-char' and `org-delete-char'. I also sent a patch for Em

Re: [O] orgtbl-mode and markdown

2012-12-21 Thread Carsten Dominik
OK, I withdraw my opposition to fixing this issue in org - by my criticism toward the way markdown.el defines this hook remains. - Carsten On 20 dec. 2012, at 09:01, Carsten Dominik wrote: > > On 18.12.2012, at 18:56, Achim Gratz wrote: > >> Carsten Dominik writes: >>> Well this is very saf

Re: [O] orgtbl-mode and markdown

2012-12-20 Thread Carsten Dominik
On 18.12.2012, at 18:56, Achim Gratz wrote: > Carsten Dominik writes: >> Well this is very safe - but if you have to assume that every elisp >> command does change match data behind your back, you would have to >> create a lot of extra code. > > Stefan Monnier advises the opposite (quote from >

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Achim Gratz
Carsten Dominik writes: > Well this is very safe - but if you have to assume that every elisp > command does change match data behind your back, you would have to > create a lot of extra code. Stefan Monnier advises the opposite (quote from http://article.gmane.org/gmane.emacs.bugs/68688 ): --8<-

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Carsten Dominik
On 18 dec. 2012, at 14:39, Vegard Vesterheim wrote: > On Tue, 18 Dec 2012 14:07:36 +0100 Carsten Dominik > wrote: > >> On 18 dec. 2012, at 09:33, Vegard Vesterheim >> wrote: >> >>> I had problems editing tables (using the minor mode orgtbl-mode) in >>> markdown files. >>> >>> To reprodu

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Vegard Vesterheim
On Tue, 18 Dec 2012 14:07:36 +0100 Carsten Dominik wrote: > On 18 dec. 2012, at 09:33, Vegard Vesterheim > wrote: > >> I had problems editing tables (using the minor mode orgtbl-mode) in >> markdown files. >> >> To reproduce: >> - visit an empty buffer in markdown mode >> - M-x orgtbl-mode

Re: [O] orgtbl-mode and markdown

2012-12-18 Thread Carsten Dominik
On 18 dec. 2012, at 09:33, Vegard Vesterheim wrote: > I had problems editing tables (using the minor mode orgtbl-mode) in > markdown files. > > To reproduce: > - visit an empty buffer in markdown mode > - M-x orgtbl-mode > - create a new table (C-c |) > - try to edit a cell > - observe that

[O] orgtbl-mode and markdown

2012-12-18 Thread Vegard Vesterheim
I had problems editing tables (using the minor mode orgtbl-mode) in markdown files. To reproduce: - visit an empty buffer in markdown mode - M-x orgtbl-mode - create a new table (C-c |) - try to edit a cell - observe that the edited text is misplaced at the end of the line The following pa