emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)]
@ 2012-12-30 13:28 Arne Babenhauserheide
  2012-12-30 13:30 ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Arne Babenhauserheide @ 2012-12-30 13:28 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.
------------------------------------------------------------------------

If you have such a list:

- [ ] Wäsche aufhängen
- [ ] Bad putzen ($)

with the cursor at ($) and you hit M-RET, you get a new list entry without checkbox.

- [ ] Wäsche aufhängen
- [ ] Bad putzen
- ($)

And I find myself all the time hitting M-RET and then adding "[ ] " by hand.

So I would love to see org-mode adding the checkbox by default, when I am on a list entry which has a checkbox.

Best wishes,
Arne

Emacs  : GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.12)
 of 2012-12-29 on fluss
Package: Org-mode version 7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)

current state:
==============
(setq
 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe
                      org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)
 outline-minor-mode-hook '((lambda nil (require (quote outline-magic)))
                           (lambda nil (require (quote outline-magic))
                            (define-key outline-minor-mode-map [(f10)]
                             (quote outline-cycle))
                            )
                           )
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-agenda-start-on-weekday nil
 org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers)
 org-confirm-shell-link-function 'yes-or-no-p
 org-time-stamp-custom-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a %H:%M>")
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
                               org-beamer-auto-fragile-frames
                               org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-agenda-skip-scheduled-if-done t
 org-agenda-custom-commands '(("o" "Agenda and TODOs"
                               ((tags "KANBAN") (agenda nil) (todo "")))
                              )
 org-default-notes-file "~/.emacs.d/private/org/emacs-remember-mode.org"
 org-agenda-include-diary t
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-from-is-user-regexp nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
                     org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-remember-templates '(("todo" 116 "** ❢ %?\n"
                           "~/.emacs.d/private/org/emacs-plan.org" "Aufgaben sammeln"
                           nil)
                          ("Note" 110 "%?\n" nil nil nil))
 org-mode-hook '(org-mode-reftex-setup turn-on-font-lock
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-show-block-all append local]
                   5]
                 #[nil "\300\301\302\303\304$\207"
                   [org-add-hook change-major-mode-hook org-babel-show-result-all append
                    local]
                   5]
                 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-extend-today-until 4
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-export-latex-packages-alist '(("" "color") ("" "minted"))
 org-directory "~/.emacs.d/private/org"
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
                  org-cycle-show-empty-lines org-optimize-window-after-visibility-change)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-blocks '((src org-babel-exp-src-block nil)
                     (export-comment org-export-blocks-format-comment t)
                     (ditaa org-export-blocks-format-ditaa nil)
                     (dot org-export-blocks-format-dot nil))
 org-archive-location "~/.emacs.d/private/org/emacs-plan.org_archive::"
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-link-abbrev-alist '(("bib" .
                          "~/Dokumente/Uni/Doktorarbeit-inverse-co2-ch4/aufschriebe/ref.bib::%s")
                         ("notes" .
                          "~/Dokumente/Uni/Doktorarbeit-inverse-co2-ch4/aufschriebe/papers.org::#%s")
                         ("papers" .
                          "~/Dokumente/Uni/Doktorarbeit-inverse-co2-ch4/aufschriebe/papers/%s.pdf")
                         )
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 outline-mode-hook '((lambda nil (require (quote outline-magic))))
 org-export-latex-listings 'minted
 org-agenda-skip-deadline-if-done t
 org-latex-to-pdf-process '("pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f" "pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f" "pdflatex -interaction nonstopmode -shell-escape -output-directory %o %f")
 org-agenda-files '("~/.emacs.d/private/org/emacs-plan.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-export-latex-classes '(("brief"
                             "\\documentclass{scrlttr2}\n\\usepackage{parskip}\n\\usepackage{underscore}\n\\usepackage[ngerman]{babel}\n\\setlength{\\parindent}{0cm}\n\\KOMAoptions{paper=a4}"
                             ("\n\\vspace{3mm}\\hspace*{10mm}\\textbf{%s}\n\\vspace{3mm}" . "\n\\vspace{3mm}\\hspace*{10mm}\\textbf{%s}\n\\vspace{3mm}")
                             ("\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}"
                              .
                              "\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}")
                             ("\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}"
                              .
                              "\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}")
                             ("\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}"
                              .
                              "\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}")
                             ("\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}"
                              .
                              "\n\\vspace{3mm}\\hspace*{5mm}\\textit{%s}\n\\vspace{3mm}")
                             )
                            ("leaflet"
                             "\\documentclass{leaflet}\\usepackage{parskip}\\usepackage{underscore}\\setlength{\\parindent}{0cm}"
                             ("\\section{%s}" . "\\section*{%s}")
                             ("\\subsection{%s}" "\\newpage" "\\subsection*{%s}"
                              "\\newpage")
                             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                             ("\\paragraph{%s}" . "\\paragraph*{%s}")
                             ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                            ("protokoll"
                             "\\documentclass{scrartcl}\\usepackage{parskip}\\usepackage{underscore}\\setlength{\\parindent}{0cm}"
                             ("\\section{%s}" . "\\section*{%s}")
                             ("\\subsection{%s}" "\\newpage" "\\subsection*{%s}"
                              "\\newpage")
                             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                             ("\\paragraph{%s}" . "\\paragraph*{%s}")
                             ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                            ("article" "\\documentclass[11pt]{scrartcl}"
                             ("\\section{%s}" . "\\section*{%s}")
                             ("\\subsection{%s}" . "\\subsection*{%s}")
                             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                             ("\\paragraph{%s}" . "\\paragraph*{%s}")
                             ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                            ("report" "\\documentclass[11pt]{scrreprt}"
                             ("\\part{%s}" . "\\part*{%s}")
                             ("\\chapter{%s}" . "\\chapter*{%s}")
                             ("\\section{%s}" . "\\section*{%s}")
                             ("\\subsection{%s}" . "\\subsection*{%s}")
                             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
                             ("\\paragraph{%s}" . "\\paragraph*{%s}")
                             ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
                            ("book" "\\documentclass[11pt]{scrbook}"
                             ("\\part{%s}" . "\\part*{%s}")
                             ("\\chapter{%s}" . "\\chapter*{%s}")
                             ("\\section{%s}" . "\\section*{%s}")
                             ("\\subsection{%s}" . "\\subsection*{%s}")
                             ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
                            ("beamer" "\\documentclass{beamer}" org-beamer-sectioning))
 )

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)]
  2012-12-30 13:28 Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)] Arne Babenhauserheide
@ 2012-12-30 13:30 ` Bastien
  2012-12-30 14:09   ` Arne Babenhauserheide
  2012-12-31  2:08   ` Brian van den Broek
  0 siblings, 2 replies; 5+ messages in thread
From: Bastien @ 2012-12-30 13:30 UTC (permalink / raw)
  To: arne_bab; +Cc: emacs-orgmode

Hi Arne,

Arne Babenhauserheide <arne_bab@web.de> writes:

> So I would love to see org-mode adding the checkbox by default, when I
> am on a list entry which has a checkbox.

Try S-M-RET.

This is consistent with the behavior of M-RET and S-M-RET on headlines,
which see.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)]
  2012-12-30 13:30 ` Bastien
@ 2012-12-30 14:09   ` Arne Babenhauserheide
  2012-12-31  2:08   ` Brian van den Broek
  1 sibling, 0 replies; 5+ messages in thread
From: Arne Babenhauserheide @ 2012-12-30 14:09 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

Am Sonntag, 30. Dezember 2012, 14:30:11 schrieb Bastien:
> Hi Arne,
> 
> Arne Babenhauserheide <arne_bab@web.de> writes:
> > So I would love to see org-mode adding the checkbox by default, when I
> > am on a list entry which has a checkbox.
> 
> Try S-M-RET.

Oh, nice!

Thank you for your answer!

Best wishes,
Arne

PS: And another instance of “wouldn’t it be cool if emacs org-mode did X?” 
“oh, wow, it already does!” :)
-- 
Unpolitisch sein
heißt politisch sein, 
ohne es zu merken. 
- Arne (http://draketo.de)



[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)]
  2012-12-30 13:30 ` Bastien
  2012-12-30 14:09   ` Arne Babenhauserheide
@ 2012-12-31  2:08   ` Brian van den Broek
  2012-12-31 10:08     ` Bastien
  1 sibling, 1 reply; 5+ messages in thread
From: Brian van den Broek @ 2012-12-31  2:08 UTC (permalink / raw)
  To: Bastien; +Cc: arne_bab, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1003 bytes --]

On 30 Dec 2012 05:30, "Bastien" <bzg@altern.org> wrote:
>
> Hi Arne,
>
> Arne Babenhauserheide <arne_bab@web.de> writes:
>
> > So I would love to see org-mode adding the checkbox by default, when I
> > am on a list entry which has a checkbox.
>
> Try S-M-RET.
>
> This is consistent with the behavior of M-RET and S-M-RET on headlines,

Hi all,

If I am adding an item to a plain list, almost always I want the added item
to agree with the item beneath which it will occur on the presence of
checkboxes.

So, I think that it would be more useful were M-RET to create a new item
that has or does not have a checkbox present depending on whether it is
invoked in a plain list item with or without a checkbox. Likewise S-M-RET
could differ from the item at which is called with respect to checkbox
presence.

The downsides are this behaviour is more complex and likely would disturb
some orgers' muscle memories. So, I'm not pushing hard but throwing it out
there to see if it sticks :-)

Best,

Brian vdB

[-- Attachment #2: Type: text/html, Size: 1268 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)]
  2012-12-31  2:08   ` Brian van den Broek
@ 2012-12-31 10:08     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2012-12-31 10:08 UTC (permalink / raw)
  To: Brian van den Broek; +Cc: arne_bab, emacs-orgmode

Hi Brian,

Brian van den Broek <brian.van.den.broek@gmail.com> writes:

> So, I think that it would be more useful were M-RET to create a new
> item that has or does not have a checkbox present depending on
> whether it is invoked in a plain list item with or without a
> checkbox. Likewise S-M-RET could differ from the item at which is
> called with respect to checkbox presence.
>
> The downsides are this behaviour is more complex and likely would
> disturb some orgers' muscle memories. So, I'm not pushing hard but
> throwing it out there to see if it sticks :-)

I tend to agree, but you'd have to convince users that M-RET should
also insert TODO keywords when creating new headlines, which is not
as obvious I think.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-31 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-30 13:28 Bug: In list with checkboxes, meta-RET should add a checkbox for the next entry. [7.9.2 (7.9.2-dist @ /usr/share/emacs/site-lisp/org/)] Arne Babenhauserheide
2012-12-30 13:30 ` Bastien
2012-12-30 14:09   ` Arne Babenhauserheide
2012-12-31  2:08   ` Brian van den Broek
2012-12-31 10:08     ` 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).