unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7524: 24.0.50; backquote converts newlines in strings to "\n"
@ 2010-12-01  6:10 Drew Adams
  2010-12-01 16:04 ` Stefan Monnier
  2020-10-22 12:24 ` Mauro Aranda
  0 siblings, 2 replies; 17+ messages in thread
From: Drew Adams @ 2010-12-01  6:10 UTC (permalink / raw)
  To: 7524

Evaluate this:
 
`("Foo" . (lambda ()
            "Four score and seven years ago
Our forefathers brought forth etc.
Etc., etc., etc."
            (message "HOWDY")))
 
That doc string is a literal string with two embedded newline chars.
Evaluation converts each of those chars to a string of two chars: "\n":
 
("Foo" lambda nil "Four score and seven years ago\nOur forefathers brought forth
etc.\nEtc., etc., etc."
 (message "Howdy"))
 
Shouldn't happen.  (This is particularly messy when used in defcustom
values.)
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2010-11-30 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags
-Ic:/imagesupport/include'
 






^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-10-22 12:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01  6:10 bug#7524: 24.0.50; backquote converts newlines in strings to "\n" Drew Adams
2010-12-01 16:04 ` Stefan Monnier
2010-12-01 16:40   ` Drew Adams
2010-12-01 18:07     ` Stefan Monnier
2010-12-01 18:42       ` Drew Adams
2010-12-23 22:53       ` Drew Adams
2010-12-06 17:56     ` Stefan Monnier
2010-12-06 18:06       ` Drew Adams
2010-12-06 20:16         ` Stefan Monnier
2010-12-06 21:45           ` Drew Adams
2010-12-07  3:42             ` Stefan Monnier
2010-12-06 18:10       ` Drew Adams
2010-12-06 19:58         ` Lennart Borgman
2010-12-06 21:38           ` Drew Adams
2010-12-06 21:45             ` Lennart Borgman
2020-10-22 12:24 ` Mauro Aranda
2020-10-22 12:31   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).