From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: changing the display of formfeed characters Date: Sun, 2 Sep 2018 22:40:41 +0000 (UTC) Message-ID: <8f118419-b05e-4b04-860c-a0c2f2e89956@default> References: <83tvn91g20.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1535927958 11330 195.159.176.226 (2 Sep 2018 22:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 2 Sep 2018 22:39:18 +0000 (UTC) To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 03 00:39:14 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fwb1W-0002o8-0S for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Sep 2018 00:39:14 +0200 Original-Received: from localhost ([::1]:42691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwb3c-0008St-Ev for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Sep 2018 18:41:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fwb35-0008Sc-CA for help-gnu-emacs@gnu.org; Sun, 02 Sep 2018 18:40:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fwb34-000531-Pi for help-gnu-emacs@gnu.org; Sun, 02 Sep 2018 18:40:51 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:38460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fwb30-0004yC-5d; Sun, 02 Sep 2018 18:40:46 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w82Mehux165838; Sun, 2 Sep 2018 22:40:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=+vchhUBmc7hFXNWW+w2++ejmJaj55iUVcY1hLy87G8U=; b=HJ6yQXi5Iw2lCVopFYE1rPELYEK59tHzsMYsSSU3FaYHWu14CVkjjl75wzArea+daju4 /o1W06h1KKZEmQKPXm+xsm9Dvf99bNqg1AsvoDPaMK/h8JTAi4PB4qGMRvXhuqFF92Ky L9Ugn++RyGAvZ+nh+WVoyO7XXtcnPkdD28CfYIgLlRtRcvJ1liGn1FE10E2C+IvACK/Z lFC+9ibzRqghaCVMdypYymXOd4V9odiXGpM/yHMTHwBU7LZJ7Xc3zHvtFGjHo2IHnUVg daLosAKh/Cuf2MZsyrhU1fmVop0rnvezDOl7jHU3+P6nRDNQQCwhUnU5CMsl18r1f4XX 0g== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2120.oracle.com with ESMTP id 2m7jqp4hgj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 02 Sep 2018 22:40:43 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w82Mego8031023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 2 Sep 2018 22:40:42 GMT Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w82MegoX008215; Sun, 2 Sep 2018 22:40:42 GMT In-Reply-To: <83tvn91g20.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4732.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9004 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=688 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809020252 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 141.146.126.78 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117816 Archived-At: > AFAICT, those modes break whitespace-mode because they define their > own display table without copying the display table that was in effect > before the mode was switched on. =20 FWIW, `pp-c-l.el' creates a display table only when `(window-display-table WINDOW)' is nil. Otherwise, it just sets the entry for ^L in that existing display table: (walk-windows (lambda (window) (let ((display-table (or (window-display-table window) (make-display-table)))) (aset display-table ?\014 (and pretty-control-l-mode (pp^L-^L-display-table-entry window= ))) (set-window-display-table window display-table))) 'no-minibuf 'visible)