GNU bug report logs - #37074
27.0.50; Emacs Lisp mode: Special form names used as variable names sometimes have font-lock-keyword-face

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Mauro Aranda <maurooaranda@HIDDEN>; dated Sun, 18 Aug 2019 14:36:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Aug 2019 14:35:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 18 10:35:54 2019
Received: from localhost ([127.0.0.1]:58333 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hzMHh-0005fZ-Vi
	for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 10:35:54 -0400
Received: from lists.gnu.org ([209.51.188.17]:47103)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maurooaranda@HIDDEN>) id 1hzMHf-0005fR-St
 for submit <at> debbugs.gnu.org; Sun, 18 Aug 2019 10:35:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55628)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <maurooaranda@HIDDEN>) id 1hzMHd-0004dC-S6
 for bug-gnu-emacs@HIDDEN; Sun, 18 Aug 2019 10:35:51 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <maurooaranda@HIDDEN>) id 1hzMHc-0007uL-2Z
 for bug-gnu-emacs@HIDDEN; Sun, 18 Aug 2019 10:35:49 -0400
Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]:38168)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <maurooaranda@HIDDEN>)
 id 1hzMHb-0007tQ-Pp
 for bug-gnu-emacs@HIDDEN; Sun, 18 Aug 2019 10:35:48 -0400
Received: by mail-lj1-x22e.google.com with SMTP id x3so5173165lji.5
 for <bug-gnu-emacs@HIDDEN>; Sun, 18 Aug 2019 07:35:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=/o4Fvqj8kmt/dZ3/Wsvy61UgQQYaq+lCqCruJ6mKGjI=;
 b=FrQOvFb4RGsGVUqqT+09GVzwF8B7/4Y1eIqMwFVP9ORBY4KcoToME4azI9+5RZiAtn
 4Ukdr2J12FcHX5A3/e7WTCjsgx9rhyOG2zD/GvfO6y09kPGRu9FeK9R7n9Mu95yofnpW
 gb5TwGtULrSVdAryybXN3eNV3BEMxOEWmcNal1LWOFjXjlztvofxoxrXZlzfDhVGaiOT
 jUwg5Zr4keeWmxUfhvTvgAHXgZUGI+nh0E3wFh4G7NoOkS/rU6jdzvX11ZbPmEZNrGPX
 UMV3MQB2mQ81DKupeMG7PPxABCuXU1ogv8+ZwBzhsg6IW+2rPFi3WUC9EE9xVlWXOjAx
 s7qA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=/o4Fvqj8kmt/dZ3/Wsvy61UgQQYaq+lCqCruJ6mKGjI=;
 b=CcBLv+kbiuLvOxxFZOUM3BGG6SCTgkCK6COCxnd1TTlpMPwlm/G176mQ1wetHewUUV
 SavpbbZyJqJw6vNbnIfTEveZfe1YOoCsn0BM8uh3J3QKDLadrEE74QNHcj3NRn77Xzlm
 fdDGGTAjHMydN6aLT1fXcbbfPj49BTwmKSBHgnHMC+7xurjATYOagHCSlxIdy6OliCz/
 KB8EC4EZ/fuzf286l8OcDqCnWIGIznR4azlABUOxRGATY8GRRpqrpSeqC2PGC+QXW3D5
 3A+z9ClHlVmeZMLp2bx9z28ehDJXSy1vdhlIwORXq4sREMJnnZ0kAjdQXCCqGol5+bYA
 I/kg==
X-Gm-Message-State: APjAAAXXXobwOaDR0JAm8Yp6DD0hHlXA6HQA6YybmrPU+5GjMtG1gzPD
 UkMpURITYcSYlt/PY/lMOiW3CDKj/ecR2x6HBGRRnKLH4Q8=
X-Google-Smtp-Source: APXvYqwR9Z3IhEHCNsOQLPZMxoOj7DAHjs1vbTGe+YstBHF4kzPf7Hw8kJjMysbI/SgG4LuVfBxHzbY2XqyoK0FIkhE=
X-Received: by 2002:a05:651c:282:: with SMTP id
 b2mr10323787ljo.208.1566138944691; 
 Sun, 18 Aug 2019 07:35:44 -0700 (PDT)
MIME-Version: 1.0
From: Mauro Aranda <maurooaranda@HIDDEN>
Date: Sun, 18 Aug 2019 11:35:32 -0300
Message-ID: <CABczVwcP4VZoVG0+g0j3wxzjexuWFR9GNwi4c1SEcM16O2YoUQ@HIDDEN>
Subject: 27.0.50; Emacs Lisp mode: Special form names used as variable names
 sometimes have font-lock-keyword-face
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000077a28a0590652387"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::22e
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--00000000000077a28a0590652387
Content-Type: text/plain; charset="UTF-8"

Hello.

Starting from emacs -Q, in the *scratch* buffer type:
(let ((function 'foo))
  function)

Note that function gets the font-lock-keyword-face.  I think it shouldn't,
because it is being used as a variable.

Similarly, if you type:
(defun foo (function)
  nil)

the same happens.

It probably happens with others special forms, but function is quite
noticeable, because it is not uncommon to use it as an argument or as a
variable inside a let expression.

Best regards,
Mauro.

In GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2019-08-18 built on the-blackbeard
Repository revision: ee1c638cff27f3bcdd8936617d67f79fe07d6df1
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Ubuntu 16.04.6 LTS

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure CFLAGS=-O3'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_US.utf8
  value of $XMODIFIERS:
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils init-octave
init-rmail init-cc-mode init-c yasnippet company-c-preprocessor rx
cl-extra help-mode company edmacro kmacro pcase init-yasnippet
init-global deeper-blue-theme finder-inf init-package info package
easymenu browse-url url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 8 195584 11573)
 (symbols 24 14325 1)
 (strings 16 66994 3503)
 (string-bytes 1 1758229)
 (vectors 8 20799)
 (vector-slots 4 279614 11616)
 (floats 8 42 25)
 (intervals 28 210 0)
 (buffers 564 11)
 (heap 1024 11870 899))

--00000000000077a28a0590652387
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello.</div><div><br></div><div>Starting from emacs -=
Q, in the *scratch* buffer type:<br>(let ((function &#39;foo))<br>=C2=A0 fu=
nction)<br><br>Note that function gets the font-lock-keyword-face.=C2=A0 I =
think it shouldn&#39;t,<br>because it is being used as a variable.<br><br>S=
imilarly, if you type:<br>(defun foo (function)<br>=C2=A0 nil)<br><br>the s=
ame happens.<br><br>It probably happens with others special forms, but func=
tion is quite<br>noticeable, because it is not uncommon to use it as an arg=
ument or as a<br>variable inside a let expression.<br><br>Best regards,<br>=
Mauro.<br><br>In GNU Emacs 27.0.50 (build 1, i686-pc-linux-gnu, GTK+ Versio=
n 3.18.9)<br>=C2=A0of 2019-08-18 built on the-blackbeard<br>Repository revi=
sion: ee1c638cff27f3bcdd8936617d67f79fe07d6df1<br>Repository branch: master=
<br>Windowing system distributor &#39;The X.Org Foundation&#39;, version 11=
.0.11906000<br>System Description: Ubuntu 16.04.6 LTS<br><br>Recent message=
s:<br>For information about GNU Emacs and the GNU system, type C-h C-a.<br>=
<br>Configured using:<br>=C2=A0&#39;configure CFLAGS=3D-O3&#39;<br><br>Conf=
igured features:<br>XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLI=
B NOTIFY INOTIFY<br>ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FL=
T LIBOTF XFT ZLIB<br>TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS PDUMPER =
LCMS2 GMP<br><br>Important settings:<br>=C2=A0 value of $LANG: en_US.utf8<b=
r>=C2=A0 value of $XMODIFIERS: <br>=C2=A0 locale-coding-system: utf-8-unix<=
br><br>Major mode: Lisp Interaction<br><br>Minor modes in effect:<br>=C2=A0=
 tooltip-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=A0 eldoc-mode: t<br>=
=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool=
-bar-mode: t<br>=C2=A0 menu-bar-mode: t<br>=C2=A0 file-name-shadow-mode: t<=
br>=C2=A0 global-font-lock-mode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 bl=
ink-cursor-mode: t<br>=C2=A0 auto-composition-mode: t<br>=C2=A0 auto-encryp=
tion-mode: t<br>=C2=A0 auto-compression-mode: t<br>=C2=A0 column-number-mod=
e: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 transient-mark-mode: t<br><br>=
Load-path shadows:<br>None found.<br><br>Features:<br>(shadow sort mail-ext=
r emacsbug message rmc puny dired dired-loaddefs<br>format-spec rfc822 mml =
mml-sec epa derived epg epg-config gnus-util<br>rmail rmail-loaddefs text-p=
roperty-search time-date mm-decode mm-bodies<br>mm-encode mail-parse rfc223=
1 mailabbrev gmm-utils mailheader sendmail<br>rfc2047 rfc2045 ietf-drums mm=
-util mail-prsvr mail-utils init-octave<br>init-rmail init-cc-mode init-c y=
asnippet company-c-preprocessor rx<br>cl-extra help-mode company edmacro km=
acro pcase init-yasnippet<br>init-global deeper-blue-theme finder-inf init-=
package info package<br>easymenu browse-url url-handlers url-parse auth-sou=
rce cl-seq eieio<br>eieio-core cl-macs eieio-loaddefs password-cache json s=
ubr-x map<br>url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loadde=
fs cl-lib<br>tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float=
-type<br>mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset=
 image<br>regexp-opt fringe tabulated-list replace newcomment text-mode eli=
sp-mode<br>lisp-mode prog-mode register page menu-bar rfn-eshadow isearch t=
imer<br>select scroll-bar mouse jit-lock font-lock syntax facemenu font-cor=
e<br>term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang<br=
>vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932<br>h=
ebrew greek romanian slovak czech european ethiopic indian cyrillic<br>chin=
ese composite charscript charprop case-table epa-hook jka-cmpr-hook<br>help=
 simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs<br>button f=
aces cus-face macroexp files text-properties overlay sha1 md5<br>base64 for=
mat env code-pages mule custom widget hashtable-print-readable<br>backquote=
 threads dbusbind inotify lcms2 dynamic-setting<br>system-font-setting font=
-render-setting move-toolbar gtk x-toolkit x<br>multi-tty make-network-proc=
ess emacs)<br><br>Memory information:<br>((conses 8 195584 11573)<br>=C2=A0=
(symbols 24 14325 1)<br>=C2=A0(strings 16 66994 3503)<br>=C2=A0(string-byte=
s 1 1758229)<br>=C2=A0(vectors 8 20799)<br>=C2=A0(vector-slots 4 279614 116=
16)<br>=C2=A0(floats 8 42 25)<br>=C2=A0(intervals 28 210 0)<br>=C2=A0(buffe=
rs 564 11)<br>=C2=A0(heap 1024 11870 899))<br></div></div>

--00000000000077a28a0590652387--




Acknowledgement sent to Mauro Aranda <maurooaranda@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#37074; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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