Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-06-02 Thread Leonard Avery Randall
Thanks! All best, Leonard Bastien May 21, 2014 at 2:43 AM Hi Leonard, I followed your directions and added another fix. Things should be okay now, let me know if not. Thanks, Leonard Randall May 4, 2014 at 3:37 AM Hi Bastien, Just t

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-05-20 Thread Bastien
Hi Leonard, I followed your directions and added another fix. Things should be okay now, let me know if not. Thanks, -- Bastien

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-05-03 Thread Leonard Randall
Hi Bastien, Just to follow up on the error, reverting commit 0ca4092 fixes the bug that I mentioned in my last email and reverting the fourth hunk of commit b8c85a1 should fix the bug that you tried to fix with that commit. Carsten had added an 'unless (bolp)' condition to the function that contr

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-30 Thread Leonard Randall
Hi Bastien, Thanks for the fix, and sorry to be the bearer of bad news, but there seems to be a new issue. Now, if you press M-RET in a lower level tree anywhere but in the headline, it will produce a new first level headline. So, given buffer contents as in example (a), if i press M-Ret at the end

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-30 Thread Bastien
Hi Leonard, Okay, I see now and this is fixed -- thanks for your patience, -- Bastien

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-30 Thread Leonard Randall
On 29 April 2014 15:20, Bastien wrote: > > I'm having a hard time finding out what you *did* exactly -- can you > describe the way to reproduce the bug from an empty buffer, step by > step? > Sorry, I should have been more explicit about what I was doing. Step by step instructions would look som

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-29 Thread Bastien
Hi Leonard, Leonard Randall writes: > I tried it with a minimal init, having just pulled from master this > morning. It will work fine on the first line of a file.  But will not > work on the second. This is what I got: > --- > * this is a test > * > this is   another > --- > As I say M-Ret work

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-29 Thread Leonard Randall
Hi Bastien, I can't reproduce this, either on maint or on the master branch. > > Let me know if there is any special config that is needed to > reproduce the problem I tried it with a minimal init, having just pulled from master this morning. It will work fine on the first line of a file. But w

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-29 Thread Bastien
Hi Leonard, Leonard Randall writes: > Currently, calling M-RET will create a newline before the > text on the current line. I can't reproduce this, either on maint or on the master branch. Let me know if there is any special config that is needed to reproduce the problem. Thanks, -- Bastie

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-25 Thread Leonard Randall
Hi Bastien, On 25 April 2014 08:29, Bastien wrote: > I just fixed this in maint -- please let me know if it works > back as expected. > Yes, now C-RET and the speedkey `i' now function as described in the documentation. The only place where the function differs from the documentation is at the

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-25 Thread Bastien
Hi Leonard, I just fixed this in maint -- please let me know if it works back as expected. Thanks, -- Bastien

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-24 Thread Eric Abrahamsen
Leonard Randall writes: > Sorry, I should clarify that the C-RET functions as expected in the > content of an entry, it is only problematic when it is called from > the headline. > All best, > Leonard Yes, please, this has gotten really difficult to use all of a sudden! New headings are inserted

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-23 Thread Leonard Randall
Sorry, I should clarify that the C-RET functions as expected in the content of an entry, it is only problematic when it is called from the headline. All best, Leonard On 23 April 2014 22:42, Leonard Randall wrote: > Hi Bastien, > I just wanted to report an issue with this fix. In many use cases

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-23 Thread Leonard Randall
Hi Bastien, I just wanted to report an issue with this fix. In many use cases it makes C-RET less useful, and renders the speedkeys command `i' useless. It makes C-RET function much like M-RET, and it makes `i' insert headlines before any content. So if I call C-RET in the middle of the following

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-22 Thread Bastien
Hi York, thanks for coming back to this. York Zhao writes: > What I meant was that with one prefix argument, the command > `org-insert-heading' should insert a new heading *before* the > current heading, not after. Actually, this has little to do with the prefix argument: when at the beginning

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-21 Thread Nicolas Goaziou
Hello, York Zhao writes: > I'm sorry that my bug report might not be clear enough. What I meant was that > with one prefix argument, the command `org-insert-heading' should insert a new > heading *before* the current heading, not after. In this regard the behavior > should be exactly the same as

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-20 Thread York Zhao
Hi Bastian, I apologize for missing your reply until I check in the folder "Sent". I'm sorry that my bug report might not be clear enough. What I meant was that with one prefix argument, the command `org-insert-heading' should insert a new heading *before* the current heading, not after. In this

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-17 Thread Bastien
Hi York, York Zhao writes: > (org-insert-headline '(4)) used to insert new heading before point. But this > had > broken recently. According to the docstring, this command inserts new > heading at the end of the parent subtree ONLY if two universal prefix > arguments is given, not one. Here's

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-04 Thread Grant Rettke
They are working on the next release right now so things might be quiet. Grant Rettke | AAAS, ACM, AMA, COG, FSF, IEEE, Sigma Xi gret...@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have be

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-04 Thread York Zhao
Any one? On Thu, Apr 3, 2014 at 6:59 PM, York Zhao wrote: > Hi list, > > (org-insert-headline '(4)) used to insert new heading before point. But this > had > broken recently. According to the docstring, this command inserts new > heading at the end of the parent subtree ONLY if two universal pr

[O] (org-insert-headline '(4)) should insert new headline before point

2014-04-03 Thread York Zhao
Hi list, (org-insert-headline '(4)) used to insert new heading before point. But this had broken recently. According to the docstring, this command inserts new heading at the end of the parent subtree ONLY if two universal prefix arguments is given, not one. Here's the reproducer: --8<--