Subject: 24.3.50; RET during search inserts newline in PostScript mode

From: Markus Triska <[email-masked]>
Date: Sat, 04 Jan 2014 22:09:47 +0100

With "test.ps" which only contains the string "test", when I do:

   $ emacs -Q test.ps

and then search for 'e' with:

   C-s e

and then press RET to stop the search, it unexpectedly inserts a
newline. This does not happen for example in fundamental-mode.

In GNU Emacs 24.3.50.1 (x86_64-apple-darwin10.8.0, X toolkit, Xaw scroll bars)
 of 2014-01-04 on mt-imac.local
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
Configured using:
 `configure --with-xpm=no --with-tiff=no --with-jpeg=no --with-png=no
 CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix