[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally mod
From: |
Eli Zaretskii |
Subject: |
bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified |
Date: |
Mon, 18 Jul 2016 22:08:49 +0300 |
> From: Noam Postavsky <npostavs@users.sourceforge.net>
> Date: Mon, 18 Jul 2016 14:58:20 -0400
> Cc: Paul Pogonyshev <pogonyshev@gmail.com>, 23648@debbugs.gnu.org
>
> >> Now move point to just after "indent" and type C-M-i (this gives
> >> message "Sole completion"), macroexpanding now gives
> >>
> >> (prog1
> >> (defalias 'foo
> >> #'(lambda nil nil))
> >> "Warning: Unknown defun property `indent' in foo")
> >
> > Sorry, I'm not following: what do you mean by "macroexpanding" in this
> > context?
>
> Calling macroexpand on the defun form. The most convenient method for
> testing is to put point at the closing bracket of the defun, and then
> `M-x pp-macroexpand-last-sexp'.
>
> > When you wrote "when performing completion", I expected to
> > see some simple completion gesture that leads to an error, but it
> > sounds like I'm missing something.
>
> The simple completion gesture would be the C-M-i I mentioned, which
> (silently) destroys the value of defun-declarations-alist. The
> symptoms of the wrong value can be seen when defun is macroexpanded.
Sorry, I guess I'm too stupid to understand this advanced stuff. Or
maybe it's too late.
Thanks.
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, npostavs, 2016/07/17
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Eli Zaretskii, 2016/07/18
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Noam Postavsky, 2016/07/18
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Eli Zaretskii, 2016/07/18
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Noam Postavsky, 2016/07/18
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified,
Eli Zaretskii <=
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Michael Heerdegen, 2016/07/18
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Eli Zaretskii, 2016/07/18
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, npostavs, 2016/07/20
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Eli Zaretskii, 2016/07/21
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Noam Postavsky, 2016/07/21
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Eli Zaretskii, 2016/07/23
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, npostavs, 2016/07/23
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Paul Pogonyshev, 2016/07/24
- bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Eli Zaretskii, 2016/07/24
bug#23648: [PATCH] `defun-declarations-alist' can be unintentionally modified, Dmitry Gutov, 2016/07/18