GNU bug report logs - #31251
read-from-minibuffer sets print-escape-newlines; why?

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Tue, 24 Apr 2018 21:33:02 UTC

Severity: minor

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: read-from-minibuffer sets print-escape-newlines; why?
Date: Tue, 24 Apr 2018 14:31:55 -0700
read-from-minibuffer and related functions set print-escape-newlines in 
the minibuffer, but there's no clear reason why: these functions do not 
call 'prin1' or 'print' directly, and setting print-escape-newlines 
affects behavior only in seemingly unrelated areas, such as code 
executed indirectly via activate-input-method or minibuffer-setup-hook. 
If there's no need to set print-escape-newlines then it shouldn't be 
set; if there is a need, the need should be documented. For now I'll add 
a FIXME comment about this to Emacs master.





This bug report was last modified 7 years and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.