================================================================== When copying text from a Terminal window and yanking it into an emacs buffer, line breaks are represented as ^M characters. After yanking, one must use
M-x replace-string Ctrl-Q Ctrl-M <RETURN> Ctrl-Q Ctrl-J <RETURN> To correct the line breaks. Steps to reproduce: 1) From Terminal.app, run a shell command to generate some output. Something like `ls -l' is sufficient. 2) Select the output of ls -l. Press Cmd-C in Terminal to copy the text to the clipboard 3) In Emacs.app, use Ctrl-y to yank the ls -l output into a buffer (a text-mode buffer is fine) 4) In the text buffer, copied text appears as a single line, with ^M characters where there were linebreaks in the ls -l output. This behavior was also present in emacs 22.0.50.1 (built on 4/11/2006). ================================================================== In GNU Emacs 22.0.91.1 (powerpc-apple-darwin8.8.0, Carbon Version 1.6.0) of 2006-12-14 on oatmeal.ma.runwaynine.com X server distributor `Apple Computers', version 10.4.8 configured using `configure '--without-x' '--prefix=/usr/local'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: encoded-kbd-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t Recent input: <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> C-x k <return> C-x C-f <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> f o o . t x t <return> C-y C-x u M-x e <backspace> s e <tab> n <tab> <backspace> <backspace> <backspace> e m a <tab> b <tab> <tab> <backspace> <tab> v e r <tab> <return> M-x r e p o <tab> r <tab> <return> Recent messages: Loading vc-cvs...done (New file) Mark set Undo! Making completion list... Loading help-mode...done Making completion list... GNU Emacs 22.0.91.1 (powerpc-apple-darwin8.8.0, Carbon Version 1.6.0) of 2006-12-14 on oatmeal.ma.runwaynine.com Making completion list... Loading emacsbug...done _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug