help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: custom record separator in forms-mode?


From: Michael Heerdegen
Subject: Re: custom record separator in forms-mode?
Date: Sat, 26 Dec 2020 16:09:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hello,

this probably changed the behavior (and probably inadvertently):

84e0b7dad6f1a8e53261f9b96f5a9080fea681a4
Author:     Stefan Monnier <monnier@iro.umontreal.ca>
Deprecate `intangible' and `point-entered' properties
modified   lisp/forms.el
@@ -650,1 +650,1 @@
-           (run-hooks 'read-file-filter)
+           (mapc #'funcall read-file-filter)

> > Debugger entered--Lisp error: (wrong-type-argument sequencep
> > filter-read-205-newline)
> >   mapc(funcall filter-read-205-newline)
> >   forms-mode()
> >   funcall-interactively(forms-mode)
> >   call-interactively(forms-mode record nil)
> >   command-execute(forms-mode record)
> >   execute-extended-command(nil "forms-mode" "for")
> >   funcall-interactively(execute-extended-command nil "forms-mode" "for")
> >   call-interactively(execute-extended-command nil nil)
> >   command-execute(execute-extended-command)
>
> Thanks.  Hmm, it seems `forms-read-file-filter' is expected to be a list
> of functions (a hook), in contradiction to what the docstring says
> (documentation bug).  It also seems that OTOH `forms-write-file-filter'
> is expected to be a function.


Michael.




reply via email to

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