Hello,
Paul Rudin <paul-sqpymovxoov10xsdtd+...@public.gmane.org> writes: > Paul Rudin <paul-sqpymovxoov10xsdtd+...@public.gmane.org> writes: > > (about lists) > > Here is a test for this problem. Notice that if you change the "a)" to "1." > - for example - the test passes. So this is something specific to > alphabetically labelled list items. > > > (ert-deftest org-list-item-test () > (with-temp-buffer > (org-mode) > (let ((org-allow-alphabetical t) > (fill-column 70)) > (insert "1. some stuff\n" > " a) an alphabetic list item with text longer that the current > fill column so that it gets wrapped by fill-paragraph") > (fill-paragraph) > (should (not (equal (org-in-item-p) 1)))))) Quoting `org-list-allow-alphabetical' docstring: This variable needs to be set before org.el is loaded. If you need to make a change while Emacs is running, use the customize interface or run the following code, where VALUE stands for the new value of the variable, after updating it: (when (featurep 'org-element) (load "org-element" t t)) So let-binding it cannot work. Regards, -- Nicolas Goaziou