GNU bug report logs - #61457
30.0.50; compiler falsely complains missing ‘describe-char-display’

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sun, 12 Feb 2023 18:56:02 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 61457 <at> debbugs.gnu.org
Subject: bug#61457: 30.0.50; compiler falsely complains missing ‘describe-char-display’
Date: Sun, 12 Feb 2023 21:21:07 +0200
> Date: Sun, 12 Feb 2023 19:55:08 +0100
> From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
> 
> when running ‘M-x byte-compile-file RET’ with the following form in it,
> 
> ---
> (describe-char-display (point) (char-after))
> ---
> 
> compiler complains:
> 
> ---
> In end of data:
> foo.el:6831:17: Warning: the function ‘describe-char-display’ is not known
>      to be defined.

Which is correct: you need to (require 'descr-text).

> Whereas ‘M-x describe-function RET’ tells correctly:
> 
> ---
> describe-char-display is a byte-compiled Lisp function in
> ‘descr-text.el’.
> 
> (describe-char-display POS CHAR)

Which is also correct.

So what is it that you are complaining about here?




This bug report was last modified 2 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.