From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword Date: Fri, 6 May 2016 12:07:03 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c09daf0d055f80532299e0d X-Trace: ger.gmane.org 1462529387 19594 80.91.229.3 (6 May 2016 10:09:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 May 2016 10:09:47 +0000 (UTC) To: 23465@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 06 12:09:39 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aychX-0007hy-BD for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 May 2016 12:09:39 +0200 Original-Received: from localhost ([::1]:57417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aychO-0007EI-3a for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 May 2016 06:09:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aychD-0006vs-Dj for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:09:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aych1-0003Yk-5n for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:09:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aycgz-0003XZ-VE for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:09:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aycgw-0000aL-LF for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2016 10:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14625292872183 (code B ref -1); Fri, 06 May 2016 10:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2016 10:08:07 +0000 Original-Received: from localhost ([127.0.0.1]:41181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aycg3-0000Z9-44 for submit@debbugs.gnu.org; Fri, 06 May 2016 06:08:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aycg1-0000Yg-KF for submit@debbugs.gnu.org; Fri, 06 May 2016 06:08:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aycfm-00039G-Ds for submit@debbugs.gnu.org; Fri, 06 May 2016 06:07:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aycfl-00038J-7I for submit@debbugs.gnu.org; Fri, 06 May 2016 06:07:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aycfZ-0004Yd-05 for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:07:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aycfK-00030U-Q5 for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:07:29 -0400 Original-Received: from mail-yw0-x235.google.com ([2607:f8b0:4002:c05::235]:33555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aycfJ-0002tu-Ic for bug-gnu-emacs@gnu.org; Fri, 06 May 2016 06:07:22 -0400 Original-Received: by mail-yw0-x235.google.com with SMTP id t10so195931357ywa.0 for ; Fri, 06 May 2016 03:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=nDadyb+YGxVC3TWgR2Nzc09XY1LyEZcRdhI1MiH0K+U=; b=xeVz5lYrZYk8iEAmaR/XVAPWDQ+vES1y+t0N+fdyFwb/x9ESs/YyHMWMnfALg4r3xU w433bIIEO+nZ3bWr6fPp8aWX7/6t/840/OSjaEfUKANfaF0l5nP+LJ+2s2dqwTzhchTS gcgF9p530LUqVrQk4hMveDlh0f1xv9NiKskvF+aVNSD8bf2Wjdd0CoaKUqZAMwKIIgKs WDNZJNI2gQNTAqv9gENDsSxS+96o4n/BI90Vrcp9TLMFZ8lP/PnyHlzXC6feFibT1TOt nf9LbN5w6LR1YH3Kh4enzm2uSkYENcWbSWpmQImaHJmEzbcvDNXamo1RMYVHBK+OFWC8 Sn5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=nDadyb+YGxVC3TWgR2Nzc09XY1LyEZcRdhI1MiH0K+U=; b=IlnHiI6nA2NC7tgvl6vU4MgL0t5i677RCs2uhFLNH/vJjyD/ghsHXqItR168IMcAwF 7jvvQNFRTrle6oS6Blehm7uIcBKkgsFQYzKs+bCM4DRt/7C+cXqzzO04x6Maaw8piT+Y FDKQHyltKljuvTrGPsZIeXRbtDLy7edwUn2+0eYja/zS1Rs7go+5DBw+YrR+2DQDa0GT w5JDAx21+HAOdyuxL7GAExwG2XT22I4lrXC1ljvSn622sjpy2bb7c6UkLjYQD+9BDrkw RfU2/EDFzS1w5dVV0/L+6QHAR31hv0Ud1BRkUj+S633pylSXszpCMLvaWO9xKn02Z2D3 OjWg== X-Gm-Message-State: AOPr4FVZfdsS8/xeezSe3nkxFEbEakJgVQSaJe71roIqAdY73uQTDpdO6XpdaVOILwhLxKoZCiqLZ56Eqz/omQ== X-Received: by 10.176.3.176 with SMTP id 45mr12528739uau.60.1462529223052; Fri, 06 May 2016 03:07:03 -0700 (PDT) Original-Received: by 10.31.214.131 with HTTP; Fri, 6 May 2016 03:07:03 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117903 Archived-At: --94eb2c09daf0d055f80532299e0d Content-Type: text/plain; charset=UTF-8 Hi! Steps to repeat: emacs -Q Type: #'(lambda (x)) Here, `lambda' isn't highlighted as a keyword. This is a regression from Emacs 24.5. In Emacs 25, keyword highlighting is done using the matcher function`my-lisp--el-match-keyword' which highlights identifiers that are 1) special forms or 2) macros when is a function call position. Apparently, `lambda', in this context, is neither. I think that a minimal impact change would be for `lisp--el-non-funcall-position-p' to treat '(xxx) as a non-function call location (like it does today), except when preceded by a #. -- Anders In GNU Emacs 25.0.93.1 (x86_64-w64-mingw32) of 2016-04-23 built on KAEL Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --prefix=/tmp/emacs --without-imagemagick 'CFLAGS=-O2 -fomit-frame-pointer -g0'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: SVE locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-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 line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 89295 12665) (symbols 56 19662 0) (miscs 48 43 127) (strings 32 15944 4609) (string-bytes 1 435395) (vectors 16 11720) (vector-slots 8 422750 4713) (floats 8 160 110) (intervals 56 261 40) (buffers 976 13)) --94eb2c09daf0d055f80532299e0d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi!

Steps to repeat:

=C2=A0 =C2=A0 emacs -Q
=C2=A0 =C2=A0 Type: #= 9;(lambda (x))

Here, `lambda' isn't highli= ghted as a keyword. This is a regression from Emacs 24.5.

In Emacs 25, keyword highlighting is done using the matcher functio= n`my-lisp--el-match-keyword' which highlights identifiers that are 1) s= pecial forms or 2) macros when is a function call position.

<= /div>
Apparently, `lambda', in this context, is neither.
=
I think that a minimal impact change would be for `lisp--el-= non-funcall-position-p' to treat '(xxx) as a non-function call loca= tion (like it does today), except when preceded by a #.

=C2=A0 =C2=A0 -- Anders


In GN= U Emacs 25.0.93.1 (x86_64-w64-mingw32)
=C2=A0of 2016-04-23 built = on KAEL
Windowing system distributor 'Microsoft Corp.', v= ersion 6.1.7601
Configured using:
=C2=A0'configure = --prefix=3D/tmp/emacs --without-imagemagick 'CFLAGS=3D-O2
=C2= =A0-fomit-frame-pointer -g0''

Configured f= eatures:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS = LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS

Importa= nt settings:
=C2=A0 value of $LANG: SVE
=C2=A0 locale-c= oding-system: cp1252

Major mode: Lisp Interaction<= /div>

Minor modes in effect:
=C2=A0 tooltip-mo= de: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-inden= t-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mo= de: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-m= ode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock= -mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-compos= ition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 aut= o-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0= transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Making completion list...

Loa= d-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mm= l
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bo= dies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader= sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode e= asymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date = mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lis= p-float-type
mwheel dos-w32 ls-lisp disp-table w32-win w32-vars t= erm/common-win
tool-bar dnd fontset image regexp-opt fringe tabul= ated-list newcomment
elisp-mode lisp-mode prog-mode register page= menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font= -lock syntax facemenu font-core
frame cl-generic cham georgian ut= f-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean ja= panese eucjp-ms cp51932 hebrew greek romanian
slovak czech europe= an ethiopic indian cyrillic chinese charscript
case-table epa-hoo= k jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvic= e loaddefs button faces cus-face macroexp files
text-properties o= verlay sha1 md5 base64 format env code-pages mule
custom widget h= ashtable-print-readable backquote w32notify dbusbind w32
multi-tt= y make-network-process emacs)

Memory information:<= /div>
((conses 16 89295 12665)
=C2=A0(symbols 56 19662 0)
=C2=A0(miscs 48 43 127)
=C2=A0(strings 32 15944 4609)
=C2=A0(string-bytes 1 435395)
=C2=A0(vectors 16 11720)
=C2=A0(vector-slots 8 422750 4713)
=C2=A0(floats 8 160 110)=
=C2=A0(intervals 56 261 40)
=C2=A0(buffers 976 13))

--94eb2c09daf0d055f80532299e0d--