[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Warning when creating preview
From: |
Edgar Lux |
Subject: |
Re: [BUG] Warning when creating preview |
Date: |
Thu, 28 Sep 2023 16:21:49 +0200 (CEST) |
On Aug 28, 2023 at 11:00 AM, Ihor Radchenko <yantar92@posteo.net> wrote:Edgar
Lux <edgarlux@mailfence.com> writes:
> On Aug 27, 2023 at 7:29 PM, Ihor Radchenko <yantar92@posteo.net> wrote:
>> I recommend https://github.com/Malabarba/elisp-bug-hunter to narrow down
>> which part of the config is the culprit.
>
> We have a winner:
Another winner? I am not getting the bug anymore
;; THIS SUCKS!
;; ;; Set soft line wrapping (only on screen, not adding
;; ;; newlines to files)
;; (remove-hook 'org-mode-hook #'turn-on-auto-fill)
;; (add-hook 'org-mode-hook
;; (lambda ()
;; (turn-on-visual-line-mode)
;; ;; Visual indent
;; (org-indent-mode)
;; ;; Turn off hard wrapping
;; ;; (adding newlines to text)
;; (auto-fill-mode -1)
;; ;; Align tags from right to
;; ;; left to the width of the column
;; ;; (setq org-tags-column -60)
;; (setq org-tags-column
;; (- 3 fill-column))))
;; No more error
;; Set soft line wrapping (only on screen, not adding
;; newlines to files)
(remove-hook 'org-mode-hook #'turn-on-auto-fill)
(add-hook 'org-mode-hook #'turn-on-visual-line-mode)
;; Visual indent
(add-hook 'org-mode-hook #'org-indent-mode)
;; Turn off hard wrapping
;; (adding newlines to text)
(add-hook 'org-mode-hook (lambda () (auto-fill-mode -1)))
;; Align tags from right to
;; left to the width of the column
;; (setq org-tags-column -60)
(add-hook 'org-mode-hook (lambda () (setq org-tags-column
(- 3 fill-column))))
--
Sent with https://mailfence.com
Secure and private email
- Re: [BUG] Warning when creating preview,
Edgar Lux <=