help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs in text mode terminal paste problem (SecureCRT / xterm )


From: emacsuser
Subject: emacs in text mode terminal paste problem (SecureCRT / xterm )
Date: Sat, 22 Nov 2008 17:14:55 -0600

Hi all! 

I've experienced problems pasting apostrophes or bullets originating
from rich text documents like Word into an emacs running in text mode
in a SecureCRT window.  I run emacs 21.4.1 in text mode via ssh using
SecureCRT using xterm emulation.   

Problems pasting bullets from Word or Notepad into SecureCRT terminal window: 
------------------------------------------------------------------
When pasting text that includes bullet from word (that uses Windows
Symbol font), the paste generates an error in emacs;
       Scan error: "Unbalanced parentheses", 1790, 1

I have no idea what emacs function the bullet is causing to run there.

Problems pasting an apostrophe ' from Word into SecureCT terminal window:
-------------------------------------------------------------------------
An apostrophe that get pasted appears to invoke "Regexp I-search backward" 
somehow.
The search of course usually fails, because it can't find all of the
text that follows.

For example,  if I select and copy the following line in Word: 
    Bob's responsibilities include:   

And paste it into the securecrt window where emacs is running inside
of screen, emacs jumps the cursor backwards to where it finds the
first instance of the letter s followed by a space, and gives the
error:

    Failing regexp I-search backward: s responsibilities include: 

And the lines that follow the line that had the ' on it, end up
getting inserted into the middle of the rest of things depending on
where the search failed (usually after a word that ends in s followed
by a space).  It generally ends up looking like a dog's breakfast.

Interestingly, apostrophe's created, and copied from Notepad... no
problem.   Apostrophes from Word, pasted into Notepad, copied from
notepad and then into the terminal window still exhibit the issue.
It's friggin weird. 

Also interestingly, these issues don't occur when using ssh in a
cygwin windows with the TERM set to vt220.  Emacs -nw over ssh in
cygwin with the term set to cygwin is a complete catastrophe, but
that's an issue for another time.

Ideas?  Experiences?  Workarounds?

Bob 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]