Re: [O] Tables in Plain Lists
Achim Gratz strom...@nexgo.de writes: Until some patches that Bastien is reviewing have been committed, it is important that the autoloads are done last or that org is installed to some other place than the Git worktree. I just applied Achim's patches about this issue. -- Bastien
Re: [O] Tables in Plain Lists
Hi Joost, * Joost Kremers joostkrem...@fastmail.fm [16. May. 2012]: On Wed, May 16, 2012 at 07:13:36PM +, SW wrote: Emacs 23.2.1 with org 7.8.06. Tested with transient-mark-mode enabled and disabled. I selected the table and hit TAB. Point moved by one tab (if I selected from the top to the bottom of the table) or moved into the table (if I selected the other way round) and, in the one instance, the highlight on the region disappeared. But the table remained obstinately unindented. the trick is to move point to the line *below* the table. TAB will then do whatever it does on that line and if it happens to be an empty line or a line with ordinary text, it indents, taking the entire region (including the table) with it. in essence, TAB will do whatever TAB does, regardless of whether the region is active. so if point is still within the table, TAB moves to the next cell, possibly creating a new one. if the line after the table contains a headline and you move point to it, it (un)folds the headline. so you need to make sure TAB is on a line that it indents. Really great. This works for me with Emacs 23.4.1 and it's org version 6.33x, while not with the same Emacs and org-version 7.8.10 (release_7.8.10-529-gc4cad9). I copied the version info from the info file since org-version shows no version any more. My minimal .emacs for this test was: (setq load-path (cons ~/src/org-mode/lisp load-path)) (setq load-path (cons ~/src/org-mode/contrib/lisp load-path)) (require 'org-install) (org-reload) Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-
Re: [O] Tables in Plain Lists
On Thu, May 17, 2012 at 12:24:22PM +0200, Gregor Zattler wrote: Really great. This works for me with Emacs 23.4.1 and it's org version 6.33x, while not with the same Emacs and org-version 7.8.10 (release_7.8.10-529-gc4cad9). I copied the version info from the info file since org-version shows no version any more. it works for me with: Elisp emacs-version 24.1.50.1 Elisp org-version 7.8.09 -- Dr. Joost Kremers Georg-August-Universität Seminar für Deutsche Philologie Käte-Hamburger-Weg 3 D-37073 Göttingen
Re: [O] Tables in Plain Lists
Gregor Zattler writes: Really great. This works for me with Emacs 23.4.1 and it's org version 6.33x, while not with the same Emacs and org-version 7.8.10 (release_7.8.10-529-gc4cad9). I copied the version info from the info file since org-version shows no version any more. You didn't do a 'make autoloads'? My minimal .emacs for this test was: (setq load-path (cons ~/src/org-mode/lisp load-path)) (setq load-path (cons ~/src/org-mode/contrib/lisp load-path)) I know you find this in lots of places, but what's wrong with (add-to-list ~/src/org-mode/lisp load-path) which also takes care not to add the same entry multiple times? (require 'org-install) And where is this org-install found? The one that came with Emacs won't do. (org-reload) Unnecessary. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
Re: [O] Tables in Plain Lists
Hi Achim, * Achim Gratz strom...@nexgo.de [17. May. 2012]: Gregor Zattler writes: Really great. This works for me with Emacs 23.4.1 and it's org version 6.33x, while not with the same Emacs and org-version 7.8.10 (release_7.8.10-529-gc4cad9). I copied the version info from the info file since org-version shows no version any more. You didn't do a 'make autoloads'? I didn't because I do not see any difference. Until now a daily cron job pulls the git repository and does a make clean make all make doc now I manually did make clean make autoloads make all make doc and org-version gives me: Org-mode version N/A (N/A @ /usr/share/Emacs/23.4/lisp/org/org-install.el.gz) that's the same as before. My minimal .emacs for this test was: (setq load-path (cons ~/src/org-mode/lisp load-path)) (setq load-path (cons ~/src/org-mode/contrib/lisp load-path)) I know you find this in lots of places, but what's wrong with (add-to-list ~/src/org-mode/lisp load-path) which also takes care not to add the same entry multiple times? I have a stanca like yours in my ~/.Emacs.d/init.el but for this test I copied this from the org info file chapter 1.2 Installation. (require 'org-install) And where is this org-install found? The one that came with Emacs won't do. (org-reload) Unnecessary. These are leftovers. I realised that there is no org-install in the git repo and I am confused. Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-
Re: [O] Tables in Plain Lists
Gregor Zattler writes: I didn't because I do not see any difference. All you need to do is make update autoloads Until some patches that Bastien is reviewing have been committed, it is important that the autoloads are done last or that org is installed to some other place than the Git worktree. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
[O] Tables in Plain Lists
I was making notes today as follows: == * List of important items [0%] - [ ] Item 1 - This is an important item. - Remember to do the hokey-pokey. |---|---| | A | B | | C | D | - [ ] Item 2 - This is not as important. == Of course, the plain list terminates when the table starts, so TAB on Item 1 only collapses it to where the table starts. Also, the table can't be indented as part of the list. In the end, I moved the table elsewhere, but for future reference, is there a preferred way to do this?
Re: [O] Tables in Plain Lists
Hello, SW sabrewo...@gmail.com writes: I was making notes today as follows: == * List of important items [0%] - [ ] Item 1 - This is an important item. - Remember to do the hokey-pokey. |---|---| | A | B | | C | D | - [ ] Item 2 - This is not as important. == Of course, the plain list terminates when the table starts, so TAB on Item 1 only collapses it to where the table starts. Also, the table can't be indented as part of the list. It can: just move it in manually. Then it will stay there. In the end, I moved the table elsewhere, but for future reference, is there a preferred way to do this? Yes: --8---cut here---start-8--- * List of important items [0%] - [ ] Item 1 - This is an important item. - Remember to do the hokey-pokey. |---+---| | A | B | | C | D | - [ ] Item 2 - This is not as important --8---cut here---end---8--- Note that it will be easier if you don't start your table with a rule, since expanding a fresh |- will create the table at column 0. Regards, -- Nicolas Goaziou
Re: [O] Tables in Plain Lists
SW sabrewo...@gmail.com writes: I was making notes today as follows: == * List of important items [0%] - [ ] Item 1 - This is an important item. - Remember to do the hokey-pokey. |---|---| | A | B | | C | D | - [ ] Item 2 - This is not as important. == Of course, the plain list terminates when the table starts, so TAB on Item 1 only collapses it to where the table starts. Also, the table can't be indented as part of the list. In the end, I moved the table elsewhere, but for future reference, is there a preferred way to do this? TAB won't indent it but you can use the rectable C-x r o to shift it right so it is part of the list. -Bernt
Re: [O] Tables in Plain Lists
On Wed, May 16, 2012 at 12:14:45PM -0400, Bernt Hansen wrote: SW sabrewo...@gmail.com writes: I was making notes today as follows: == * List of important items [0%] - [ ] Item 1 - This is an important item. - Remember to do the hokey-pokey. |---|---| | A | B | | C | D | - [ ] Item 2 - This is not as important. == Of course, the plain list terminates when the table starts, so TAB on Item 1 only collapses it to where the table starts. Also, the table can't be indented as part of the list. In the end, I moved the table elsewhere, but for future reference, is there a preferred way to do this? TAB won't indent it but you can use the rectable C-x r o to shift it right so it is part of the list. actually, IME, if you select the table and then hit tab, it does indent. -- Dr. Joost Kremers Georg-August-Universität Seminar für Deutsche Philologie Käte-Hamburger-Weg 3 D-37073 Göttingen
Re: [O] Tables in Plain Lists
Bernt Hansen bernt at norang.ca writes: TAB won't indent it but you can use the rectable C-x r o to shift it right so it is part of the list. Thanks. That's awesome :)
Re: [O] Tables in Plain Lists
Nicolas Goaziou n.goaziou at gmail.com writes: Also, the table can't be indented as part of the list. It can: just move it in manually. Then it will stay there. Thanks. I thought any indentation should be avoided, but I think this is a good solution.
Re: [O] Tables in Plain Lists
Joost Kremers joostkremers at fastmail.fm writes: TAB won't indent it but you can use the rectable C-x r o to shift it right so it is part of the list. actually, IME, if you select the table and then hit tab, it does indent. Not for me. The rectable solution is a good one though.
Re: [O] Tables in Plain Lists
SW sabrewo...@gmail.com wrote: Joost Kremers joostkremers at fastmail.fm writes: TAB won't indent it but you can use the rectable C-x r o to shift it right so it is part of the list. actually, IME, if you select the table and then hit tab, it does indent. Not for me. The rectable solution is a good one though. Are you sure? As Joost says, you have to select the table (C-space at one end and move to the other end; and I think transient-mark-mode must be in effect - which is on by default in emacs24, but maybe not in emacs23? - so you should see the table highlighted). Pressing TAB after that indents the table AFAICS. Nick
Re: [O] Tables in Plain Lists
Nick Dokos nicholas.dokos at hp.com writes: Are you sure? As Joost says, you have to select the table (C-space at one end and move to the other end; and I think transient-mark-mode must be in effect - which is on by default in emacs24, but maybe not in emacs23? - so you should see the table highlighted). Pressing TAB after that indents the table AFAICS. Emacs 23.2.1 with org 7.8.06. Tested with transient-mark-mode enabled and disabled. I selected the table and hit TAB. Point moved by one tab (if I selected from the top to the bottom of the table) or moved into the table (if I selected the other way round) and, in the one instance, the highlight on the region disappeared. But the table remained obstinately unindented.
Re: [O] Tables in Plain Lists
On Wed, May 16, 2012 at 07:13:36PM +, SW wrote: Emacs 23.2.1 with org 7.8.06. Tested with transient-mark-mode enabled and disabled. I selected the table and hit TAB. Point moved by one tab (if I selected from the top to the bottom of the table) or moved into the table (if I selected the other way round) and, in the one instance, the highlight on the region disappeared. But the table remained obstinately unindented. the trick is to move point to the line *below* the table. TAB will then do whatever it does on that line and if it happens to be an empty line or a line with ordinary text, it indents, taking the entire region (including the table) with it. in essence, TAB will do whatever TAB does, regardless of whether the region is active. so if point is still within the table, TAB moves to the next cell, possibly creating a new one. if the line after the table contains a headline and you move point to it, it (un)folds the headline. so you need to make sure TAB is on a line that it indents. -- Dr. Joost Kremers Georg-August-Universität Seminar für Deutsche Philologie Käte-Hamburger-Weg 3 D-37073 Göttingen