[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] (no subject)
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] (no subject) |
Date: |
Tue, 07 Aug 2018 21:16:14 +0200 (CEST) |
>> Please check and report further problems!
>
> Here's one:
>
> * Calling the internal function `FT_Stream_Close` on the new stream
> will
> - * **not** call `FT_Stream_Close` on the source stream. None of the
> stream
> + * **not** call `FT_Stream_Close` on the source stream. None of the
> + * **stream
> * objects will be released to the heap.
>
> It seems like the overflowing word was moved to a new line of its
> own. Also a stray `**' was added to the line.
Ah, this is the result of Emacs's `adaptive fill mode' that
automatically determines the fill prefix of paragraphs. Setting the
corresponding regexp explicitly fixes this. Attached is a patch – it
fixes some more places.
>> PS: I think we should change *all* comments in the public header
>> files to use `xxx` and 'xxx' (whatever appropriate) instead of
>> `xxx' for consistency. I guess we have to do this manually,
>> right?
>
> Already doing this :-)
Great!
Werner
--- markdown-format.bash.old 2018-08-06 17:21:05.918467407 +0200
+++ markdown-format.bash 2018-08-07 21:11:50.179087065 +0200
@@ -11,6 +11,8 @@
;;; Written 2018 by
;;; Werner Lemberg <address@hidden>
;;;
+;;; Version 2018-Aug-07
+;;;
;;; This code is explicitly placed into the public domain.
@@ -38,6 +40,7 @@
;; Set up a block (called a `form' in Elisp speak) with local
;; variables (called `local bindings' in Elisp speak).
(let ((fill-column 78)
+ (adaptive-fill-regexp " \\* *")
start
end)
;; Outer loop: search a comment line that should be formatted.