Hi everyone,

This patch is covered by my previous patch which added tests in commit:
'test-org-colview: Add coverage for org-columns-quit teardown'.

@Derek I have changed config for 
(setq 
      send-mail-function 'smtpmail-send-it ; previously I was using sendmail
      sendmail-coding-system 'utf-8-unix)

I hope this will resolve the issue with DOS line endings.

Best,
-- 
Slawomir Grochowski

>From 32382bdb6b7fe21e49aef427d0f9eb76b516489f Mon Sep 17 00:00:00 2001
From: Slawomir Grochowski <[email protected]>
Date: Sun, 3 May 2026 19:26:02 +0200
Subject: [PATCH] org-colview.el: Remove redundant code in `org-columns-quit'

* lisp/org-colview.el (org-columns-quit): Remove redundant calls to
`with-silent-modifications' and `remove-text-properties', as they are
already performed by `org-columns-remove-overlays'.

This behavior is covered by tests added in commit
"test-org-colview: Add coverage for org-columns-quit teardown":
`test-org-colview/quit-leaves-buffer-editable' and
`test-org-colview/quit-does-not-modify-buffer'.
---
 lisp/org-colview.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lisp/org-colview.el b/lisp/org-colview.el
index 463962493..ab9eb724a 100644
--- a/lisp/org-colview.el
+++ b/lisp/org-colview.el
@@ -593,10 +593,7 @@ for the duration of the command.")
 (defun org-columns-quit ()
   "Remove the column overlays and in this way exit column editing."
   (interactive nil org-mode org-agenda-mode)
-  (with-silent-modifications
-    (org-columns-remove-overlays)
-    (let ((inhibit-read-only t))
-      (remove-text-properties (point-min) (point-max) '(read-only t))))
+  (org-columns-remove-overlays)
   (if (not (eq major-mode 'org-agenda-mode))
       (setq org-columns-current-fmt nil)
     (setq org-agenda-columns-active nil)
-- 
2.39.5

Reply via email to