Subject: Re: bug#18759: 24.3.94; Yank from clipboard crashes

From: Donald Tillman <[email-masked]>
Date: Fri, 17 Oct 2014 23:18:24 -0700

On Oct 17, 2014, at 10:53 PM, Eli Zaretskii <[email-masked]> wrote:

>> From: Donald Tillman <[email-masked]>
>> Date: Fri, 17 Oct 2014 21:25:47 -0700
>> 
>> Use command-C to copy text from a Pages document, and then yank it into
>> an Emacs buffer with C-y.
>> 
>> Normally this works fine.  But if the Pages text content includes a
>> shift-return character then the yank crashes Emacs.
> 
> What is a "shift-return character"?  Can you tell its Unicode
> codepoint?
> 
> Also, can you run under GDB and show the backtrace from the crash?

(Wow, that's fast!)

Sorry, I'm not set up for gdb right now.

It's also called a Soft Return.  If you are typing out text in Pages, the return key starts a new paragraph.  But typing shift-return starts a new line without starting a new paragraph.  The classic case is typing a postal address; you want to start new lines without creating new paragraphs.  

If you select a region that includes a soft return, Pages displays it as a little blue return arrow icon. 

Checking...

The same thing happens with soft returns in Keynote.

TextEdit doesn't seem to do soft returns.

  -- Don

--
Don Tillman
Palo Alto, California
[email-masked]
http://www.till.com