[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 65f6b44e86 1/2: Document bug with electric-indent-m
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 65f6b44e86 1/2: Document bug with electric-indent-mode in org-mode |
Date: |
Sat, 1 Jan 2022 06:57:35 -0500 (EST) |
branch: externals/mct
commit 65f6b44e86938377a77ef94fd63822a24b2b7b4d
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Document bug with electric-indent-mode in org-mode
---
mct.el | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/mct.el b/mct.el
index db17f61916..580bbe38f8 100644
--- a/mct.el
+++ b/mct.el
@@ -1236,6 +1236,19 @@ minibuffer)."
(apply app)
(completion-in-region-mode -1))
+;; FIXME 2022-01-01: I experienced a bug which is as follows:
+;;
+;; + (electric-indent-mode 1)
+;; + (setq-default tab-always-indent 'complete)
+;; + visit an Org file with an elisp src block that includes comments
+;; + go to the end of a comment's line and hit RET
+;; + the block temporarily changes background to secondary-selection
+;; (same as when you type C-c '), seems to be trying to perform
+;; completion, and then ultimately does what RET is supposed to do.
+;;
+;; Disabling electric-indent-mode fixes the issue, though that is beside
+;; the point.
+
;;;###autoload
(define-minor-mode mct-region-mode
"Set up interactivity over the default `completion-in-region'."