[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Highlighting bug with org-agenda-set-restriction-lock
From: |
Bernt Hansen |
Subject: |
Re: [O] Highlighting bug with org-agenda-set-restriction-lock |
Date: |
Sat, 06 Apr 2013 20:29:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Bastien <address@hidden> writes:
> Bernt Hansen <address@hidden> writes:
>
>> I've noticed some differences since upgrading for creating headlines but
>> I haven't checked if this is due to my local setup yet.
>
> Feel free to throw all oddities that you notice, even with no deep
> test, it will help a lot.
>
>> Here is what I'm currently experiencing:
>>
>> I used to be able to just have a bunch of lines likes this
>>
>> ,----
>> | one
>> | two
>> | three
>> | four
>> `----
>>
>> and M-S-RET in the first column would create a TODO headline with this
>> as the heading
>>
>> ie.
>>
>> ,----
>> | * TODO one
>> | two
>> | three
>> | four
>> `----
>>
>> but now it seems to jump past the line before creating the heading.
>>
>> ,----
>> | one
>> |
>> | * TODO
>> | two
>> | three
>> | four
>> `----
>
> I get the correct behavior with emacs -Q and latest master, so it must
> surely be in your setup.
>
>> I have a heading hook that runs and inserts a timestamp when headings
>> are created so using this as a workaround and converting this to a list
>> with C-u C-c - and then to headings with C-c * doesn't give me the
>> result I want (inactive timestamps on all headings that were created)
Hi Bastien,
I'm not convinced it is in my setup yet.
emacs -Q works for me ... but that is org 7.5 in my
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2013-01-08
on murphy, modified by Debian
My minimal emacs setup has the same broken behaviour
,----[ minimal.emacs ]
| (add-to-list 'load-path "~/git/org-mode/lisp/")
| ;(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" .
org-mode))
| (require 'org)
|
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
| (global-set-key "\C-cb" 'org-iswitchb)
`----
,----[ minimal-emacs ]
| #!/bin/sh
| TESTEL=
| TESTFILE=/tmp/test.el
| if test -e $TESTFILE
| then
| TESTEL="-l /tmp/test.el"
| fi
| emacs -q -l ~/minimal.emacs $TESTEL $1
`----
/tmp/test.el does not exist currently on my system
I can reproduce this with
~/bin/minimal-emacs
C-x b foo RET
M-x org-mode
Org file has this
,----
| * One
| two
| three
| four
| five
`----
Put the cursor on first column of line two and hit M-S-RET gives me this
,----
| * One
| two
| * TODO
| three
| four
| five
`----
but I'm expecting
* TODO two
org-insert-heading-respect-content is nil.
It seems to work correctly when there is no heading above the text
(ie. One is not a headline)
M-x org-version reports
Org-mode version 8.0-pre (release_8.0-pre-299-g40f390 @
/home/bernt/git/org-mode/lisp/)
Regards,
Bernt
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, (continued)
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Carsten Dominik, 2013/04/05
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bernt Hansen, 2013/04/05
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Carsten Dominik, 2013/04/05
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bastien, 2013/04/06
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bernt Hansen, 2013/04/06
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bastien, 2013/04/06
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock,
Bernt Hansen <=
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bastien, 2013/04/07
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bernt Hansen, 2013/04/07
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Christian Moe, 2013/04/07
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bernt Hansen, 2013/04/07
- Re: [O] Highlighting bug with org-agenda-set-restriction-lock, Bastien, 2013/04/10