* Bug: org-meta-return and collapsed sections [6.33x]
@ 2011-02-22 9:18 Dave Abrahams
2011-02-22 11:53 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
From: Dave Abrahams @ 2011-02-22 9:18 UTC (permalink / raw)
To: emacs-orgmode
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
http://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------
When I am at the end of a line on a collapsed item and I hit `M-RET', I
expect it to insert a heading before the next *visible* line, i.e. after
this item. Instead, it injects the new heading before this item's
content.
It's arguable that `M-RET' should *always* insert a new item after the
current one, whether or not the current one is collapsed. I'm certain I
would appreciate that behavior, because it's the 99% case (how often do
you really want to separate a heading from its content?). I can always
hit `RET * * * SPC' (or whatever) in the < 1% of cases where I need a
different behavior.
Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.29)
of 2010-05-08 on black.local
Package: Org-mode version 6.33x
current state:
==============
(setq
org-agenda-deadline-leaders '("D: " "D%d: ")
org-clock-in-switch-to-state "STARTED"
org-agenda-skip-scheduled-if-deadline-is-shown t
org-todo-keyword-faces '(("TODO" :foreground "medium blue" :weight bold)
("APPT" :foreground "medium blue" :weight bold)
("NOTE" :foreground "brown" :weight bold)
("STARTED" :foreground "dark orange" :weight bold)
("WAITING" :foreground "red" :weight bold)
("DELEGATED" :foreground "dark violet" :weight bold)
("DEFERRED" :foreground "dark blue" :weight bold)
("SOMEDAY" :foreground "dark blue" :weight bold)
("PROJECT" :height 1.5 :weight bold :foreground "black"))
org-agenda-custom-commands '(("E" "Errands (next 3 days)" tags
"Errand&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&STYLE<>\"habit\"&SCHEDULED<\"<+3d>\""
((org-agenda-overriding-header "Errands (next 3 days)")
)
)
("A" "Priority #A tasks" agenda ""
((org-agenda-ndays 1)
(org-agenda-overriding-header "Today's priority #A tasks: ")
(org-agenda-skip-function
(quote (org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")))
)
)
("B" "Priority #A and #B tasks" agenda ""
((org-agenda-ndays 1)
(org-agenda-overriding-header "Today's priority #A and #B tasks: ")
(org-agenda-skip-function
(quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]")))
)
)
("w" "Waiting/delegated tasks" tags "TODO=\"WAITING\"|TODO=\"DELEGATED\""
((org-agenda-overriding-header "Waiting/delegated tasks:")
(org-agenda-sorting-strategy
(quote (todo-state-up priority-down category-up)))
)
)
("u" "Unscheduled tasks" tags
"TODO<>\"\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
((org-agenda-overriding-header "Unscheduled tasks: ")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote scheduled)
(quote deadline)
(quote timestamp)
(quote regexp)
"\\* \\(DEFERRED\\|SOMEDAY\\)")
)
)
(org-agenda-files
(quote
("~/Dropbox/todo.txt")
)
)
(org-agenda-sorting-strategy
(quote
(todo-state-up priority-down category-up)
)
)
)
)
("U" "Deferred tasks" tags
"TODO=\"DEFERRED\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
((org-agenda-overriding-header "Deferred tasks:")
)
)
("S" "Someday tasks" tags
"TODO=\"SOMEDAY\"&CATEGORY<>{CEG\\|ABC\\|Bizcard\\|Adagio\\|EVAprint\\|\\<IT\\>}"
((org-agenda-overriding-header "Someday tasks:")
)
)
("G" "Ledger tasks (all)" tags-todo "TODO<>{SOMEDAY}"
((org-agenda-files (quote ("~/src/ledger/plan/TODO")))
(org-agenda-overriding-header "Ledger tasks:")
(org-agenda-sorting-strategy
(quote (todo-state-up priority-down category-up)))
)
)
("l" "Ledger tasks" tags-todo "TODO<>{SOMEDAY\\|DEFERRED}"
((org-agenda-files (quote ("~/src/ledger/plan/TODO")))
(org-agenda-overriding-header "Ledger tasks:")
(org-agenda-sorting-strategy
(quote (todo-state-up priority-down category-up)))
(org-agenda-skip-function
(quote (org-agenda-skip-entry-if (quote regexp) "\\=.*\\[#C\\]")))
)
)
("L" "Ledger tasks not in Bugzilla" alltodo ""
((org-agenda-files (quote ("~/src/ledger/plan/TODO")))
(org-agenda-overriding-header "Ledger tasks:")
(org-agenda-sorting-strategy
(quote (todo-state-up priority-down category-up)))
(org-agenda-skip-function
(quote (org-agenda-skip-entry-if (quote regexp) "\\(bug:\\)")))
)
)
("r" "Uncategorized items" tags "CATEGORY=\"Inbox\"&LEVEL=2"
((org-agenda-overriding-header "Uncategorized items")))
("W" "Unscheduled work tasks" tags
"CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&CATEGORY<>\"Website\"&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>1"
((org-agenda-overriding-header "Unscheduled work tasks")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote scheduled)
(quote deadline)
)
)
)
(org-agenda-sorting-strategy
(quote
(todo-state-up priority-down)
)
)
)
)
("z" "CEG tasks not in Bugzilla" tags
"CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&CATEGORY<>{Website\\|Admin}&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"NOTE\"&TODO<>\"\"&LEVEL>1&SCOPE<>\"local\""
((org-agenda-overriding-header "CEG tasks not in Bugzilla")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote regexp)
"\\(cegbug:\\)")
)
)
)
)
("Z" "CEG tasks in Bugzilla" tags
"CATEGORY={CEG\\|ABC\\|Bizcard\\|Adagio\\|IT\\|EVAprint}&TODO<>\"DONE\"&TODO<>\"CANCELLED\"&TODO<>\"DELEGATED\"&TODO<>\"NOTE\"&LEVEL>1"
((org-agenda-overriding-header "CEG tasks in Bugzilla")
(org-agenda-skip-function
(quote
(org-agenda-skip-entry-if
(quote notregexp)
"cegbug:")
)
)
(org-agenda-sorting-strategy
(quote
(todo-state-up category-down priority-down user-defined-up)
)
)
)
)
)
org-agenda-files '("/Users/dave/Dropbox/todo.txt" "/Users/dave/Dropbox/Projects")
org-agenda-include-diary t
org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent)
org-agenda-tags-column -100
org-hide-leading-stars t
org-clock-into-drawer "LOGBOOK"
org-completion-use-ido t
org-footnote-section nil
org-agenda-scheduled-leaders '("" "S%d: ")
org-archive-save-context-info '(time category itags)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-agenda-text-search-extra-files '(agenda-archives)
org-archive-location "TODO-archive::"
org-agenda-skip-unavailable-files t
org-agenda-default-appointment-duration 60
org-time-clocksum-use-fractional t
org-agenda-sorting-strategy '((agenda habit-down time-up todo-state-up priority-down category-keep)
(todo priority-down category-keep) (tags priority-down category-keep)
(search category-keep))
org-agenda-prefix-format '((agenda . " %-11:c%?-12t% s") (timeline . " % s") (todo . " %-11:c")
(tags . " %-11:c"))
org-habit-preceding-days 42
org-agenda-skip-scheduled-if-done t
org-stuck-projects '("+LEVEL=1/-DONE" ("TODO" "STARTED" "NEXT" "NEXTACTION") nil
"\\(Appointments\\|Notes\\|Anniversaries\\)")
org-clock-in-resume t
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe)
org-src-mode-hook '(org-src-mode-configure-edit-buffer)
org-mac-mail-account "GMail: BoostPro"
org-cycle-global-at-bob t
org-confirm-shell-link-function nil
org-clock-persist 'history
org-todo-keywords '((sequence "TODO" "APPT" "|" "DONE" "NOTE"))
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-M-RET-may-split-line '((headline) (default . t))
org-default-notes-file "~/Dropbox/todo.txt"
org-directory "~/Dropbox/Projects"
org-tag-alist '((#("LUANN" 0 5 (face nil)) . 110) (#("WORK" 0 4 (face nil)) . 119))
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-use-speed-commands t
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
[org-add-hook change-major-mode-hook org-show-block-all append local] 5]
)
org-clock-out-remove-zero-time-clocks t
org-agenda-ndays 1
org-refile-targets '((org-agenda-files :level . 1) (org-agenda-files :todo . "PROJECT"))
org-extend-today-until 2
org-confirm-elisp-link-function nil
org-fast-tag-selection-single-key 'expert
org-clock-modeline-total 'current
org-agenda-start-on-weekday nil
org-agenda-fontify-priorities t
org-enforce-todo-dependencies t
org-agenda-skip-deadline-if-done t
org-reverse-note-order t
org-occur-hook '(org-first-headline-recenter)
org-agenda-cmp-user-defined 'org-cmp-ceg-bugs
org-tags-column -97
org-modules '(org-crypt org-id org-habit org-mac-message org-bookmark org-eval)
org-agenda-auto-exclude-function 'org-my-auto-exclude-function
org-remember-templates '(("Task" 116
"* TODO %?\n SCHEDULED: %t\n :PROPERTIES:\n :ID: %(shell-command-to-string \"uuidgen\") :END:\n %U" nil "Inbox" nil)
)
org-ellipsis 'org-habit-alert-face
org-clock-idle-time 10
org-attach-method 'mv
)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-22 11:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 9:18 Bug: org-meta-return and collapsed sections [6.33x] Dave Abrahams
2011-02-22 11:53 ` Bastien
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).