[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with a dynamic binding

From: Alan Mackenzie
Subject: Problems with a dynamic binding
Date: Sun, 15 Mar 2020 15:56:58 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

Hello, Emacs.

I'm going crazy!

In emacs -Q (whether emacs-27 or master), put the following into

    (let ((print-escape-control-characters t)) "\n\r\t")

, and type C-u C-x C-e.  The expected result would be:


, but instead this is painted onto the screen:

    ^M      "

.  As far as I can tell, the dynamic binding of p-e-c-c is being
correctly made.  If I do

    (setq print-escape-control-characters t)

, followed by executing the `let' form, I get the expected string with
octal escapes.  It is as though the print routine is ignoring the
dynamic binding entirely.

Help!  Am I doing something blaringly obviously wrong, that everybody
but me can see right away?


Alan Mackenzie (Nuremberg, Germany).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]