emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] Indentation broken after double quote
@ 2021-07-29 19:45 Ivan Sokolov
  2021-08-31 15:46 ` Timothy
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Sokolov @ 2021-07-29 19:45 UTC (permalink / raw)
  To: emacs-orgmode

How to reproduce:
1. open org file
2. set org-adapt-indentation to t
3. insert headline, text after headline should be automatically indented
4. insert double quote (")
5. org-return won't indent after double quote

Tested versions:
Org mode version 9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)
Org mode version 9.4.6 (9.4.6-11-g1ee52c-elpa @ /home/ivan/.local/share/emacs/package/org-20210726/)

I am not sure if this bug even fixable, but I think we at least should
mention it in org-adapt-indenation docstring. I also want to point out
that this behaviour can be triggered by syntactically correct
constructs, e.g.

#+begin_src sh
'"' 
#+end_src


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

* Re: [BUG] Indentation broken after double quote
  2021-07-29 19:45 [BUG] Indentation broken after double quote Ivan Sokolov
@ 2021-08-31 15:46 ` Timothy
  2021-08-31 17:38   ` Ivan Sokolov
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy @ 2021-08-31 15:46 UTC (permalink / raw)
  To: Ivan Sokolov; +Cc: emacs-orgmode

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

Hi Ivan,

I just tried this with the following example

┌────
│ * Some headline "hey"
│ "
│ hey there
│ 
│ #+begin_src sh
│ '"'
│ #+end_src
└────

and I couldn’t reproduce your issue. Are you still seeing this issue?

All the best,
Timothy

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

* Re:[BUG] Indentation broken after double quote
  2021-08-31 15:46 ` Timothy
@ 2021-08-31 17:38   ` Ivan Sokolov
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Sokolov @ 2021-08-31 17:38 UTC (permalink / raw)
  To: Timothy; +Cc: emacs-orgmode

Yes, I typed your example and got this:

* Some headline "hey"
  "
hey there

#+begin_src sh
'"'
#+end_src


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

end of thread, other threads:[~2021-08-31 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-29 19:45 [BUG] Indentation broken after double quote Ivan Sokolov
2021-08-31 15:46 ` Timothy
2021-08-31 17:38   ` Ivan Sokolov

Code repositories for project(s) associated with this 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 NNTP newsgroup(s).