🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87330

[19.26] Minor, but irritating font-lock-mode screw-up

#87330
From: terra
Date: Sun, 02 Oct 1994 13:21
24 lines
1516 bytes
In GNU Emacs 19.26 on intel386-*-msdos and 19.24 on hppa1.1-hp-hpux9
I have the following 12 lines in an emacs lisp buffer:

;;; --------------------------------------------------------------------------
;;; This code reduces the risk of inadvertently sending mail to a
;;; widespread mail alias by responding to a message.

(defvar henglein-bad-cc
  '("\\balle@diku\\.dk\\b"
    "\\btopps@diku\\.dk\\b"
    "\\bprog-lang@[a-z0-9.]+\\b")
  "*List of regular expressions matching addresses which should never be CC-ed
automatically.")

(defun henglein-query-cc ()


Activate font-lock-mode.  This works fine.  Now add "(" and ")" around
"automatically" thus creating an in-string line starting with a
parenthesis.  Move point to after "()" and press space.  The entire
line that point is on is now displayed as a string.

Morten Welinder
terra@diku.dk
Technical Details
Message-ID: <199410021319.AA20395@tyr.diku.dk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!diku.dk!terra

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,3b78edeebcc1387e,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-10-02 06:22:26 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!diku.dk!terra
From: terra@diku.dk
Newsgroups: gnu.emacs.bug
Subject: [19.26] Minor, but irritating font-lock-mode screw-up
Date: 2 Oct 1994 09:21:18 -0400
Organization: GNUs Not Usenet
Lines: 24
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <199410021319.AA20395@tyr.diku.dk>