From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#44484: 28.0.50; Ending double quote gets font-lock-warning-face in some docstrings Date: Fri, 6 Nov 2020 11:48:17 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004b98bf05b3714e64" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39890"; mail-complaints-to="usenet@ciao.gmane.io" To: 44484@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 06 15:49:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kb33A-000AHl-5q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 15:49:12 +0100 Original-Received: from localhost ([::1]:55438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb339-0000QM-22 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 Nov 2020 09:49:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb332-0000PT-2g for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:49:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kb331-0003SN-Lb for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:49:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kb330-0007km-IR for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Nov 2020 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44484 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.160467411629771 (code B ref -1); Fri, 06 Nov 2020 14:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Nov 2020 14:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:55498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb32a-0007k7-8x for submit@debbugs.gnu.org; Fri, 06 Nov 2020 09:48:36 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kb32Y-0007jz-SV for submit@debbugs.gnu.org; Fri, 06 Nov 2020 09:48:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb32Y-0000KZ-K2 for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:48:34 -0500 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:55873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kb32W-0003Gy-Dy for bug-gnu-emacs@gnu.org; Fri, 06 Nov 2020 09:48:34 -0500 Original-Received: by mail-wm1-x32f.google.com with SMTP id c9so1671931wml.5 for ; Fri, 06 Nov 2020 06:48:31 -0800 (PST) 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=RlJ0Plr2ZpC3FyE9V31bydiIjXNGtcVZSUCXvRdgbnY=; b=coU/KQq7UXhi9QTm7vE3lxvZtk+x9fDsREIaY6vRGNzjJaD0P3UPDrjdHR1ZD/JvH5 c2l30ZOgXGI+J+LIv5pr5Hb8j43XeMl1FiJh6ozlT/zJ53Zm0XVw7TaLdYKqBRoyAUW1 J9ZqXhZJQWzHFxI8SuO0R3+RQ+SBvqITSi7V6yP0fseAXy/HGa6tNxKOKQxJupSxYs6z EkEjyF5wzaqba6Miiy1/NlNRUYX7Kah0fsjP+zs1QJLsNLCsfbHbBz7TM4R+haCFb85V 9IvaAJlZpB4Hh5BtVR/meFhGwY2SV6XTd4MUFWD/7CJtX1wD9dR7eJSKDFXaQBq55FFO 5m7g== 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=RlJ0Plr2ZpC3FyE9V31bydiIjXNGtcVZSUCXvRdgbnY=; b=KtcK7gO4xzNQllRzCbP7XlZ7+2AJ8yWSthS7Koo2aXEML0jEySEHWB2aevnL8Tez5e C0KyFG1BDeHiviT+GhhfMcQ+DM0P2szgxqjvVEwp0Fh0Y5ahkgGOTkpenzly73i1JEgZ 3oMHciKw3f91atslnA8tT2JhV5FNS2D0KAWumpbl2dC05IBPZ3IIKzZngQxsN5hyZTFY VLl7HC03usCFuyOORAk6dWZrXA2UCLy0FzBtfFptzCMur0sHGNd1Z3jqh7Jb4HXQGzJN TUbENVEWdQ3K9N1hopjo1W5MKQskOKntY++psPgG2+BCPV7RDs25v7oahP2cI9fbQVwV tXAQ== X-Gm-Message-State: AOAM530NMvcMalTQU+2cXKbdcFj8AfD3f8IRIrSK0UUeSXdsI9H3IPqN sw9K0Vmf1stoSflJgVceRA14FqX+LsY5itSgfDyMQETDFOy3GA== X-Google-Smtp-Source: ABdhPJy6+bFZN2RgyplEQgLsFYRtzipgxvnNSRw2Km2On0b3EmDv/ePT2+A6aNSjNkVePQalU3f8fvqjHls3CgeycjQ= X-Received: by 2002:a1c:9c41:: with SMTP id f62mr2822111wme.23.1604674109805; Fri, 06 Nov 2020 06:48:29 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=maurooaranda@gmail.com; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192783 Archived-At: --0000000000004b98bf05b3714e64 Content-Type: text/plain; charset="UTF-8" emacs -Q C-h f kill-line RET Follow the link to simple.el Look for the end of the docstring for kill-line and note that the ending " gets font-lock-warning-face. Alternatively, copy this into the *scratch* buffer: (defun foo () "Some docstring. (Note that it ends in the next line.)" (ignore)) Again, the ending double quote gets font-lock-warning-face. It looks like any docstring that ends with a ) that expands for more than one line gets the ending " character fontified with font-lock-warning-face. In GNU Emacs 28.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) of 2020-11-06 built on tbb-desktop Repository revision: aea936562b033899f0b7160cc492bbea1006863b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 18.04.5 LTS Configured features: XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS PDUMPER Important settings: value of $LC_MONETARY: es_AR.UTF-8 value of $LC_NUMERIC: es_AR.UTF-8 value of $LC_TIME: es_AR.UTF-8 value of $LANG: en_US.UTF-8 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 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 rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp wid-edit descr-text help-mode easymenu 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 56032 12078) (symbols 48 19403 1) (strings 32 76733 2131) (string-bytes 1 1826970) (vectors 16 12632) (vector-slots 8 568845 14525) (floats 8 26 41) (intervals 56 303 0) (buffers 992 13)) --0000000000004b98bf05b3714e64 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
emacs -Q
C-h f kill-line RET
Follow the link to simp= le.el
Look for the end of the docstring for kill-line and note that the<= br>ending " gets font-lock-warning-face.

Altern= atively, copy this into the *scratch* buffer:
(defun foo ()
= =C2=A0 "Some docstring.

(Note that it ends in the
next line.= )"
=C2=A0 (ignore))

Again, the ending doub= le quote gets font-lock-warning-face.

It looks like any= docstring that ends with a ) that expands for more
than one line gets t= he ending " character fontified with
font-lock-warning-face.

In GNU Emacs 28.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.22= .30, cairo version 1.15.10)
=C2=A0of 2020-11-06 built on tbb-desktop
= Repository revision: aea936562b033899f0b7160cc492bbea1006863b
Repository= branch: master
Windowing system distributor 'The X.Org Foundation&#= 39;, version 11.0.12008000
System Description: Ubuntu 18.04.5 LTS
Configured features:
XPM JPEG TIFF GIF PNG CAIRO SOUND DBUS GSETTINGS G= LIB NOTIFY INOTIFY
LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB TOOL= KIT_SCROLL_BARS
GTK3 X11 XDBE XIM MODULES THREADS PDUMPER

Importa= nt settings:
=C2=A0 value of $LC_MONETARY: es_AR.UTF-8
=C2=A0 value o= f $LC_NUMERIC: es_AR.UTF-8
=C2=A0 value of $LC_TIME: es_AR.UTF-8
=C2= =A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix<= br>
Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0= tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
= =C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool= -bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t<= br>=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 bl= ink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryp= tion-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode:= t
=C2=A0 transient-mark-mode: t

Load-path shadows:
None found= .

Features:
(shadow sort mail-extr emacsbug message rmc puny dire= d dired-loaddefs
rfc822 mml mml-sec epa derived epg epg-config gnus-util= rmail
rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs
eie= io-loaddefs password-cache json map text-property-search time-date
subr-= x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies
mm-enc= ode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 = rfc2045 ietf-drums mm-util mail-prsvr mail-utils pp wid-edit
descr-text = help-mode easymenu cl-loaddefs cl-lib tooltip eldoc electric
uniquify ed= iff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-wi= n x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list repl= ace newcomment text-mode elisp-mode lisp-mode
prog-mode register page ta= b-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-loc= k font-lock syntax facemenu font-core
term/tty-colors frame minibuffer c= l-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 cha= rprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-pr= eloaded nadvice button
loaddefs faces cus-face macroexp files window tex= t-properties overlay
sha1 md5 base64 format env code-pages mule custom w= idget
hashtable-print-readable backquote threads dbusbind inotify
dyn= amic-setting system-font-setting font-render-setting cairo
move-toolbar = gtk x-toolkit x multi-tty make-network-process emacs)

Memory informa= tion:
((conses 16 56032 12078)
=C2=A0(symbols 48 19403 1)
=C2=A0(s= trings 32 76733 2131)
=C2=A0(string-bytes 1 1826970)
=C2=A0(vectors 1= 6 12632)
=C2=A0(vector-slots 8 568845 14525)
=C2=A0(floats 8 26 41)=C2=A0(intervals 56 303 0)
=C2=A0(buffers 992 13))
--0000000000004b98bf05b3714e64--