emacs-devel
[Top][All Lists]
Advanced

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

Re: master 5065698: Move the ‘declare’ form before the interactive spec


From: Stefan Monnier
Subject: Re: master 5065698: Move the ‘declare’ form before the interactive spec in 10 functions.
Date: Thu, 21 Jan 2021 17:01:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> It seems the right fix is to change the format of the
>> "Unknown defun property" warning to the same format
>> whose highlighting is already supported, i.e. with
>>
>>   filename:line-number:column-number: Warning: Unknown defun property
>
> But the problem is that filename is unknown here.

Traditionally, you can work around this by using "<unknown>" or
"<stdin>" or some such pseudo-filename.

> +    (gnu-emacs
> +     "^\\(Warning\\):" 1 nil nil 1)

I'd much prefer if Emacs followed the GNU Coding Standard format for
error messages.  Dog food and all that.


        Stefan




reply via email to

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