emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] extra space at the end of lines in source


From: Sébastien Miquel
Subject: Re: [PATCH] extra space at the end of lines in source
Date: Wed, 23 Jun 2021 17:29:42 +0000

Greg Minshall writes:
- the next time i open the Org Src buffer, whatever lint-like process is
   running for that language may complain about extra spaces at the end
   of a line.  (does that mean my experience is different from yours, or
   at least from your expectation?)
If I try your original examples with `emacs -q' I do not get extra whitespace in the org src buffer. Those two spaces in the original org buffer -- that are due to `org-edit-src-content-indentation' -- are removed in the org src buffer. If
you do not find it to be the case, then I'm missing something.

Anyway, here's a patch that cleans up blank lines, except the current one. It
preserves the fix for the original issue.

Can you try it out ?

Regards,

--
Sébastien Miquel

Attachment: 0001-org-src.el-org-src-contents-for-write-back-Do-not-in.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]