* Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]
@ 2021-05-09 21:17 James Powell
2021-05-09 21:58 ` Kévin Le Gouguec
0 siblings, 1 reply; 7+ messages in thread
From: James Powell @ 2021-05-09 21:17 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
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
I open a new file, /tmp/demo.org, and I start a new list
by typing "<enter>- a<enter>". It appears:
- a
What I expect: my cursor should now be at column 0. This was the
behavior in 9.3.6 and it makes perfect sense.
What happens instead: after upgrade to 9.4.4, the cursor rests at
column 2, under the a.
How do I change the behavior back to the 9.3.6 one?
Facts about it:
- When I start emacs with 'emacs -Q -nw' the bug does not manifest even
in 9.4.4.
- When I paste the 'current state' elisp below into ~/it.el, and start emacs
with emacs -Q -nw, and 'L' in dired to load ~/it.el, the bug does not
manifest.
- I have read the changelog and the manual, with no good result.
- I have an example where the bug does not manifest even in 9.4.4 and
even without running emacs -Q, where the .org file is a little thing
full of lines starting with ':' only (!).
- I tried setting org-adapt-indentation to 't (the default) as it is
an obvious suspect, the bug still manifested.
many thanks,
- James P.
Emacs : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
of 2020-07-07
Package: Org mode version 9.4.4 (9.4.4-dist @
/home/powellj/elisp/org-9.4.4/lisp/)
current state:
==============
(setq
org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
org-adapt-indentation nil
org-latex-classes '(("achemso" "\\documentclass{achemso}"
("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
"\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("article" "\\documentclass[11pt]{article}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
("report" "\\documentclass[11pt]{report}"
("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
("book" "\\documentclass[11pt]{book}"
("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
)
org-speed-command-hook '(org-speed-command-activate
org-babel-speed-command-activate)
org-reverse-note-order t
org-occur-hook '(org-first-headline-recenter)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-agenda-start-on-weekday nil
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME
CONTENTS)"]
org-log-done 'time
org-latex-format-inlinetask-function
'org-latex-format-inlinetask-default-function
org-confirm-shell-link-function 'yes-or-no-p
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-startup-folded 'content
org-agenda-loop-over-headlines-in-active-region nil
org-link-search-must-match-exact-headline nil
org-file-apps '(("\\.pdf" . "evince %s") (auto-mode . emacs)
(directory . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default)
("\\.pdf\\'" . default))
org-agenda-skip-scheduled-if-done t
org-agenda-custom-commands '(("d" todo #("DELEGATED" 0 9 (face
org-warning)) nil)
("c" todo #("DONE|DEFERRED|CANCELLED" 0
23 (face org-warning)) nil)
("w" todo #("WAITING" 0 7 (face
org-warning)) nil) ("W" agenda "" ((org-agenda-ndays 21)))
("A" agenda ""
((org-agenda-skip-function (lambda nil
(org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\\]")))
(org-agenda-ndays 1)
(org-agenda-overriding-header "Today's Priority #A tasks: "))
)
("u" alltodo ""
((org-agenda-skip-function
(lambda nil (org-agenda-skip-entry-if
(quote scheduled) (quote deadline) (quote regexp) "<[^>\n]+>")))
(org-agenda-overriding-header
"Unscheduled TODO entries: "))
)
)
org-latex-format-headline-function
'org-latex-format-headline-default-function
org-default-notes-file "~/notes.org"
org-agenda-include-diary t
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-odt-format-headline-function 'org-odt-format-headline-default-function
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-html-footnotes-section "<div id='footnotes'><!--%s-->%s</div>"
org-mode-hook '(#[0 "\301\211\x10\207" [imenu-create-index-function
org-imenu-get-tree] 2]
(lambda nil (define-key org-mode-map (kbd "<f5>")
(quote org-export-as-pdf)))
(lambda nil
(if window-system nil
(progn (define-key org-mode-map "\212" (quote
org-meta-return))
(define-key org-mode-map "\n" (quote
org-insert-heading-respect-content)))
)
)
org-mode-reftex-setup #[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-show-all append local] 5]
#[0 "\300\301\302\303\304$\207" [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-bibtex-headline-format-function #[257 "\300\x01\236A\207" [:title] 3
"\n\n(fn ENTRY)"]
org-archive-hook '(org-attach-archive-delete-maybe)
org-ascii-format-drawer-function #[771 "\x01\207" [] 4 "\n\n(fn NAME
CONTENTS WIDTH)"]
org-odt-format-inlinetask-function
'org-odt-format-inlinetask-default-function
org-cycle-hook '(org-cycle-hide-archived-subtrees
org-cycle-hide-drawers org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-link-shell-confirm-function 'yes-or-no-p
org-export-before-parsing-hook '(org-attach-expand-links)
org-todo-keywords '((sequence "TODO(t)" "STARTED(s@/!)"
"WAITING(w@/!)" "DELEGATED(e@/!)" "APPT(@!)" "|" "DONE(d!)" "DEFERRED"
"CANCELLED(c@)")
)
org-fast-tag-selection-single-key 'expert
org-link-elisp-confirm-function 'yes-or-no-p
org-babel-tangle-lang-exts '(("R" . "r") ("emacs-lisp" . "el")
("elisp" . "el"))
org-confirm-elisp-link-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-link-from-user-regexp "\\<James Eckhardt Powell\\>"
org-agenda-skip-deadline-if-done t
org-html-format-headline-function
'org-html-format-headline-default-function
org-link-parameters '(("attachment" :follow org-attach-follow
:complete org-attach-complete-link) ("id" :follow org-id-open)
("eww" :follow org-eww-open :store
org-eww-store-link) ("rmail" :follow org-rmail-open :store
org-rmail-store-link)
("mhe" :follow org-mhe-open :store
org-mhe-store-link)
("irc" :follow org-irc-visit :store
org-irc-store-link :export org-irc-export)
("info" :follow org-info-open :export
org-info-export :store org-info-store-link)
("gnus" :follow org-gnus-open :store
org-gnus-store-link)
("docview" :follow org-docview-open :export
org-docview-export :store org-docview-store-link)
("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export
org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link)
("w3m" :store org-w3m-store-link) ("file+sys")
("file+emacs") ("shell" :follow org-link--open-shell)
("news" :follow #[514 "\301\300\302\x04Q\x02\"\207"
["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("mailto" :follow #[514 "\301\300\302\x04Q\x02\"\207"
["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("https" :follow #[514 "\301\300\302\x04Q\x02\"\207"
["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("http" :follow #[514 "\301\300\302\x04Q\x02\"\207"
["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("ftp" :follow #[514 "\301\300\302\x04Q\x02\"\207"
["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("help" :follow org-link--open-help) ("file"
:complete org-link-complete-file)
("elisp" :follow org-link--open-elisp) ("doi"
:follow org-link--open-doi))
org-babel-load-languages '((dot . t) (R . t) (shell . t))
org-html-format-inlinetask-function
'org-html-format-inlinetask-default-function
org-agenda-files '("~/jep-files/docs/projects.org"
"~/jep-files/docs/notes.org" "~/files/outlook-machine/issues.org"
"~/deq/issues.org"
"~/deq/projects/2020-03-01-kfalls-moves/issues.org"
"~/deq/projects/2020-04-02-heavyduty-registration-archive/issues.org"
"~/deq/projects/2020-04-04-sourcetypedist/issues.org"
"~/deq/projects/2021-01-01-data-description-code-library/issues.org"
"~/files/health-log/log.org"
"~/jep-files/docs/linux-notes.txt" "~/.411"
"~/publications/research-log/00-research-log.org"
"~/files/libreoffice-machine/issues.org"
"~/files/gimp-machine/issues.org" "~/projects/qter/issues.org"
"~/files/cairo-dock-machine/issues.org"
"~/files/voice-recognition-speech/issues.org"
"~/files/linux-machine/issues.org"
"~/files/maxima/issues.org"
"~/files/certificate-of-innovation-in-college-teaching/issues.org"
"~/files/qgis/issues.org"
"~/files/grass-machine/issues.org"
"~/files/epa-moves/issues.org" "~/files/emacs-machine/issues.org"
"~/files/wrf-weather-research-and-forecasting/issues.org"
"~/projects/tache/src/issues.org"
"~/files/debian-9-machine/issues.org"
"~/files/web-machine/issues.org" "~/files/research-machine/issues.org"
"~/files/pliny-machine/issues.org"
"~/files/postgres-machine/issues.org" "~/files/cygwin-machine/issues.org"
"~/files/gaia-machine/issues.org"
"~/files/storage-units/issues.org" "~/files/meow-machine/issues.org"
"~/files/caesar-machine/issues.org"
"~/files/gnome-machine/issues.org" "~/files/napoli-machine/issues.org"
"~/files/login-machine/issues.org"
"~/files/herc-machine/issues.org" "~/files/collaborate-machine/issues.org"
"~/files/grading/issues.org"
"~/files/email/issues.org" "~/files/jupyter/issues.org"
"~/files/jabref/issues.org"
"~/files/earthquake-preparedness/issues.org"
"~/projects/how-to-develop-software/issues.org" "~/notes/R/issues.org"
"~/projects/qter/issues.org"
"~/research/how-to-research/issues.org" "~/research/shopping-list.org"
"~/school/portfolio/portfolio.org"
"~/research/funding/resources.org" "~/dissertation/issues.org"
"~/milestones/2019-01-02-(Data Reduction of 2018
TDAT Update)/issues.org"
"~/milestones/2018-04-04-(DOGAMI data product,
building types for 3 counties)/issues.org"
"~/milestones/2017-01-02-(Diagram of Text
Interrelations In The Literature)/issues.org"
"~/milestones/2020-03-01-(QGIS Scripts for
producing PLEI)/issues.org"
"~/milestones/2019-03-01-(MOVES for all of 2010,
wkend+wkday, with metro CDM)/issues.org"
"~/milestones/2020-02-07-(An App for Loading a PLEI
Slice into Postgresql)/issues.org"
"~/milestones/2017-02-09-graphviz-conceptual-diagrams-for-tache/issues.org"
"~/milestones/2019-02-01-(Establishment of an OIT
support database server for the long term)/issues.org"
"~/milestones/2014-04-11 (a poster for AGU
2014).bak/issues.org"
"~/milestones/2018-03-06-(Repository and Code for
Building Energy Model)/issues.org"
"~/milestones/2019-01-01-(Understanding
NMIM)/issues.org"
"~/milestones/2018-03-03-(Notes from a Shallow Dive
into eQUEST)/issues.org"
"~/milestones/2020-02-02-(DARTE from
2019-09-20)/issues.org"
"~/milestones/2014-03-07-(a poster for PSU SRS
2014)/issues.org"
"~/milestones/2020-02-03-(Reference copy of
streets2012)/issues.org"
"~/milestones/2018-03-04-(eQUEST building
simulation for PDX)/issues.org"
"~/milestones/2019-01-03-(An App for Data Reduction
and Analysis)/doc/issues.org"
"~/milestones/2019-01-03-(An App for Data Reduction
and Analysis)/issues.org"
"~/milestones/2020-02-08-(Data Reduction and Raw
Data for 2020 PORTAL Update - June COVID edition)/issues.org"
"~/milestones/2019-02-03-(Data Reduction of 2019
PORTAL Update)/issues.org"
"~/milestones/2018-02-07-twelve-point-natgas-com-survey/issues.org"
"~/milestones/2020-01-03-(Coalesced Kounts from
TDAT and PORTAL including a recent update to both)/issues.org"
"~/milestones/2018-02-06-twelve-point-natgas-res-survey/issues.org"
"~/milestones/2018-02-05-(Big picture conceptual
diagram of the whole EI)/issues.org"
"~/milestones/2018-03-02-(Documented and
Reproducable Software Platform - Edition 2018)/issues.org"
"~/milestones/04-11-2014 (a poster for AGU
2014)/issues.org"
"~/milestones/2014-04-01-(project PORTAL-TOTAL
stations to LCC)/issues.org"
"~/milestones/2020-02-05-(QGIS Models for producing
PLEI)/issues.org"
"~/milestones/2015-04-03-(TD08 statistically
defensible traffic density model with freeways)/issues.org"
"~/milestones/2019-01-0a-(PORTAL data downloader in
R)/issues.org"
"~/milestones/2020-02-06-(PLEI for All PDX Metro,
All of the year 2010)/issues.org"
"~/milestones/2016-01-03-(TD0N - crucible and
testing ground for new TD)/pill-shaped-buffer-version/issues.org"
"~/milestones/2016-01-03-(TD0N - crucible and
testing ground for new TD)/issues.org"
"~/milestones/2014-03-05-(a poster for sigma xi
2014)/issues.org"
"~/milestones/2018-02-03-(Survey of Natural Gas
Hookups to Residences in PDX Metro)/issues.org"
"~/milestones/2018-01-07-(Documented and Justified
Typology of Portland, OR Buildings)/issues.org"
"~/milestones/2016-01-01-(Toy Linear
Regression)/issues.org"
"~/milestones/2017-02-03-(massive MOVES modeling
detailed dump from Metro)/issues.org"
"~/milestones/2017-03-01-(Sanity Check on Onramp +
Popden + Comsqft)/popden/issues.org"
"~/milestones/2019-04-02-(ODIAC2018 for Feb
2010)/issues.org"
"~/milestones/2013-02-0A-(a map of sites where
counts actually happened)/issues.org"
"~/milestones/2019-02-02-(Extract tache-related DBs
from a giant pg_dumpall - PERL script)/issues.org"
"~/milestones/2014-04-03-(SQL to make materialized
views for PORTAL-TOTAL)/issues.org"
"~/milestones/2018-01-03-(map of buildings showing
extent of area where bldg_use is empty)/issues.org"
"~/milestones/2019-02-05-(MOVES for all of 2017,
wkend+wkday, with and without Metro CDM)/issues.org")
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-confirm-babel-evaluate nil
org-publish-project-alist '(("org" :base-directory "~/org/"
:publishing-directory "~/public_html" :section-numbers nil :with-toc nil
:publishing-function
org-latex-publish-to-pdf :html-head
"<link rel=\"stylesheet\"\n
href=\"../other/mystyle.css\"\n type=\"text/css\"/>")
("ss" :base-directory
"/home/powellj/deq/projects/2020-04-02-heavyduty-registration-archive/raw-data/"
:publishing-directory "~/public_html"
:section-numbers nil :with-toc nil :publishing-function
org-latex-publish-to-pdf :html-head
"<link rel=\"stylesheet\"\n
href=\"../other/mystyle.css\"\n type=\"text/css\"/>")
("2020_MCTD_HDDV_Registration" :base-directory
"~/deq/projects/heavyduty-registration-archive/2020_MCTD_HDDV_Registration"
:publishing-directory
"~/public_html" :publishing-function
org-latex-publish-to-pdf)
)
)
--
James E. Powell, MS
Pronouns: he/him/his
Applied Physics PhD Candidate
Department of Physics
Portland State University
Home page: http://web.pdx.edu/~powellj
Office: SRTC 409B Phone: +1-503-725-8515
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]
2021-05-09 21:17 Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)] James Powell
@ 2021-05-09 21:58 ` Kévin Le Gouguec
2021-05-10 9:51 ` Nicolas Goaziou
0 siblings, 1 reply; 7+ messages in thread
From: Kévin Le Gouguec @ 2021-05-09 21:58 UTC (permalink / raw)
To: James Powell; +Cc: emacs-orgmode
James Powell <powellj@pdx.edu> writes:
> I open a new file, /tmp/demo.org, and I start a new list
> by typing "<enter>- a<enter>". It appears:
>
> - a
>
> What I expect: my cursor should now be at column 0. This was the
> behavior in 9.3.6 and it makes perfect sense.
>
> What happens instead: after upgrade to 9.4.4, the cursor rests at
> column 2, under the a.
>
> How do I change the behavior back to the 9.3.6 one?
Short answer: disable electric-indent-local-mode, as suggested in
ORG-NEWS. This will turn RET into the "dumb newline" key which should
never indent, and set C-j as the "smart newline" key which occasionally
indents.
> Facts about it:
>
> - When I start emacs with 'emacs -Q -nw' the bug does not manifest
> even in 9.4.4.
That's surprising; on my setups, with Org 9.4.4, emacs -Q -nw stays at
column 2 after hitting RET.
> - I tried setting org-adapt-indentation to 't (the default) as it is
> an obvious suspect, the bug still manifested.
org-adapt-indentation's determines how TAB and the "smart newline" key
behave:
- t (default): section bodies should be hard-indented,
- nil (to become the default for Org 9.5): nothing should be indented,
- 'headline-data: drawers (e.g. :LOGBOOK: entries and :PROPERTY: blocks)
should be hard-indented, but not regular section text.
With all settings, "- a<smart newline>" indents at column 2, below "a".
As explained above, depending on electric-indent, the <smart newline>
key is either RET or C-j.
Note also that "- a<smart newline><smart newline><smart newline>" goes
back to column 0. (FWIW I think that's a bit unwieldy; going back to
column 0 on the /second/ <smart newline> would make more sense to me, as
it would correspond to a "paragraph break")
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]
2021-05-09 21:58 ` Kévin Le Gouguec
@ 2021-05-10 9:51 ` Nicolas Goaziou
2021-05-10 11:25 ` Kévin Le Gouguec
0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2021-05-10 9:51 UTC (permalink / raw)
To: Kévin Le Gouguec; +Cc: James Powell, emacs-orgmode
Hello,
Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
> Note also that "- a<smart newline><smart newline><smart newline>" goes
> back to column 0. (FWIW I think that's a bit unwieldy; going back to
> column 0 on the /second/ <smart newline> would make more sense to me, as
> it would correspond to a "paragraph break")
It would make it painful to insert a blank line within a list item.
OTOH, on the third newline, you are really out of the list.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]
2021-05-10 9:51 ` Nicolas Goaziou
@ 2021-05-10 11:25 ` Kévin Le Gouguec
2021-05-10 12:36 ` Greg Minshall
0 siblings, 1 reply; 7+ messages in thread
From: Kévin Le Gouguec @ 2021-05-10 11:25 UTC (permalink / raw)
To: James Powell; +Cc: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>> Note also that "- a<smart newline><smart newline><smart newline>" goes
>> back to column 0. (FWIW I think that's a bit unwieldy; going back to
>> column 0 on the /second/ <smart newline> would make more sense to me, as
>> it would correspond to a "paragraph break")
>
> It would make it painful to insert a blank line within a list item.
> OTOH, on the third newline, you are really out of the list.
Fair enough! I figured the current behaviour made it easier to write
"multiple paragraphs" in a single list item, but I was unsure if anyone
actually relied on that. Thanks for confirming this hunch :)
FWIW, during the latest poll somebody suggested making org-indent-line
cycle through "syntactically valid" indentation levels when hitting TAB
repeatedly, like python-indent-line-function; I like this idea.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]
2021-05-10 11:25 ` Kévin Le Gouguec
@ 2021-05-10 12:36 ` Greg Minshall
2021-05-10 13:08 ` Kévin Le Gouguec
0 siblings, 1 reply; 7+ messages in thread
From: Greg Minshall @ 2021-05-10 12:36 UTC (permalink / raw)
To: Kévin Le Gouguec; +Cc: James Powell, emacs-orgmode
Kevin,
> FWIW, during the latest poll somebody suggested making org-indent-line
> cycle through "syntactically valid" indentation levels when hitting TAB
> repeatedly, like python-indent-line-function; I like this idea.
i think (*) the current "master" branch allows you to type "-
fu<RET>-<TAB> *bar" (where the " *" bit means "zero or more spaces").
but, i guess because of folding, it's that sensitive, doesn't cycle when
any non-blank is typed.
(it might be nice if "- fu<RET><TAB>" moved you back to alignment with
the previous line.)
cheers, Greg
(*) i.e., "it works for me".
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]
2021-05-10 12:36 ` Greg Minshall
@ 2021-05-10 13:08 ` Kévin Le Gouguec
2021-05-10 14:50 ` Greg Minshall
0 siblings, 1 reply; 7+ messages in thread
From: Kévin Le Gouguec @ 2021-05-10 13:08 UTC (permalink / raw)
To: Greg Minshall; +Cc: James Powell, emacs-orgmode
Greg Minshall <minshall@umich.edu> writes:
> Kevin,
>
>> FWIW, during the latest poll somebody suggested making org-indent-line
>> cycle through "syntactically valid" indentation levels when hitting TAB
>> repeatedly, like python-indent-line-function; I like this idea.
>
> i think (*) the current "master" branch allows you to type "-
> fu<RET>-<TAB> *bar" (where the " *" bit means "zero or more spaces").
> but, i guess because of folding, it's that sensitive, doesn't cycle when
> any non-blank is typed.
Right, that allows changing the indentation level of a newly inserted
bullet point; my remark was about changing the indentation level of
regular text, e.g. "- list item<RET><TAB>unindented paragraph".
C-j works well enough when there are only two valid positions (column 2
and column 0); in this situation though:
- foo
- bar
- baz<point>
It would be nice if RET TAB TAB TAB… cycled between columns 2→0→4…, just
like M-RET TAB TAB TAB… cycles between columns 6→2→4…
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-05-10 14:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-09 21:17 Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)] James Powell
2021-05-09 21:58 ` Kévin Le Gouguec
2021-05-10 9:51 ` Nicolas Goaziou
2021-05-10 11:25 ` Kévin Le Gouguec
2021-05-10 12:36 ` Greg Minshall
2021-05-10 13:08 ` Kévin Le Gouguec
2021-05-10 14:50 ` Greg Minshall
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.