Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91742 - Unable to C&P text with accented characters between applications
Summary: Unable to C&P text with accented characters between applications
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-06 14:29 UTC by Prof. Jonathan King
Modified: 2006-08-08 21:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prof. Jonathan King 2005-05-06 14:29:32 UTC
[I'm using Konqueror to file this bug report.]
In, say, an Emacs buffer, type a word with accented characters,
such as 

        D
Comment 1 Prof. Jonathan King 2005-05-06 14:29:32 UTC
[I'm using Konqueror to file this bug report.]
In, say, an Emacs buffer, type a word with accented characters,
such as 

        Démarrer

In both Firefox and Galeon, I was unable to cut&paste this into
the Bugzilla "Details" box, nor to any of the toolbar windows of
the browser.  (Nothing at all appeared.)

However, in Konqueror I could do the cut&paste, and the accented
symbols appeared.

Perhaps the difficulty is with Mozilla-based browsers?  Or with a
config file somewhere?

I do not know if, with a special kbd, one can directly type
accented characters into a FF or Galeon window (I don't know how
to type such from a std American kbd, other than using Emacs
input methods.)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-06 15:03:11 UTC
Sure, you can type accented characters with any keybord which supports them (French one would be probably useful in this case, Czech and Slovak keybords have this character as well). You can type most of them directly, some of them require using "dead keys", though. 

If you were using UTF-8, you could type those even with en_US keybord layout, http://www.gentoo.org/doc/en/utf-8.xml and http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8 is a good start if you want to give it a try. 

However, I don
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-05-06 15:03:11 UTC
Sure, you can type accented characters with any keybord which supports them (French one would be probably useful in this case, Czech and Slovak keybords have this character as well). You can type most of them directly, some of them require using "dead keys", though. 

If you were using UTF-8, you could type those even with en_US keybord layout, http://www.gentoo.org/doc/en/utf-8.xml and http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8 is a good start if you want to give it a try. 

However, I don´t know why pasting them from emacs does not work for you, I´m not using emacs...
Comment 4 Prof. Jonathan King 2005-05-07 20:08:07 UTC
Jakub, can you successfully cut&paste (into FF or Galeon)
accented characters that you typed in a shell, or from whatever
editor you use?

Here are further tests on my system. (Done in GNOME; my
bug-report was done in KDE.)

I can type "Fran
Comment 5 Prof. Jonathan King 2005-05-07 20:08:07 UTC
Jakub, can you successfully cut&paste (into FF or Galeon)
accented characters that you typed in a shell, or from whatever
editor you use?

Here are further tests on my system. (Done in GNOME; my
bug-report was done in KDE.)

I can type "Français" in Emacs and successfully c&p it into
Konqueror.  From Konqueror I can c&p into Galeon --but nothing
appears if I try to go directly from Emacs to Galeon.

However, neither from Konqueror nor from Emacs could I c&p
"Français" into the GNOME shell.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-05-08 01:11:39 UTC
Cut&paste in Firefox works fine here. But I don
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-05-08 01:11:39 UTC
Cut&paste in Firefox works fine here. But I don´t have Gnome at all, so I can´t really test the other things. Sorry. 

Assigning this one to Gnome herd as it seems to be somewhat related to Gnome, please bounce back if I am wrong, or assign better. ;-)
Comment 8 Prof. Jonathan King 2005-05-08 08:38:01 UTC
Jakub, when you cut&pasted accented-characters into FF, you did
it FROM what?  Also, what windowing system were you using?
================

To give you an idea of how weird this is OMSystem: In Galeon I just
highlighted  the "D
Comment 9 Prof. Jonathan King 2005-05-08 08:38:01 UTC
Jakub, when you cut&pasted accented-characters into FF, you did
it FROM what?  Also, what windowing system were you using?
================

To give you an idea of how weird this is OMSystem: In Galeon I just
highlighted  the "Démarrer" from my bug report, and was able to
c&p it to Galeon's own Google-window.  And I could c&p it from
Galeon to Emacs.  But I could NOT c&p it from Emacs back into Galeon...
================

It terms of where to assign it: The failure also happened with
KDE on my system.  At first I thought that the problem lay with
Mozilla-based browsers, but perhaps it is a windowing system
problem.  I would certainly like that someone could reproduce the
problem on his system...

Is it possible that X has several types of cut-buffer, and that
Konqueror reads from some types, but that Mozilla-based reads
only from one type?  And that Emacs pastes into a type not used
by Mozilla-based?

Maybe the best place to assign it is Emacs, or Emacs+XWindows (if
there is such a bug category).  But I defer to your judgment as
to where to assign it, since I'm flummoxed.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-05-08 10:56:36 UTC
One more idea - it
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-05-08 10:56:36 UTC
One more idea - it´s for Windows actually but just replace the path with path to your profile in ~/.mozilla/...

http://www.mozilla.org/editor/midasdemo/securityprefs.html

Does this help for Firefox?
Comment 12 Prof. Jonathan King 2005-05-09 19:40:25 UTC
(I decided not to play with the preferences in FF, since I know
little about it and, as shown below, the problem appears already
in gnome-terminal.)

In KDE I invoked these six applications and tried to c&p between them:

	Emacs,Konqueror,Galeon,Konsole,xterm,GnomeTerminal

================

1: Everybody could c&p non-accent characters to anybody.

2: *Nobody* could c&p ACCENTED characters to GnomeTerminal (!)

3: The five  Emacs,Konqueror,Galeon,Konsole,xterm  could c&p
accents between them with these two exceptions:

	* Emacs could not c&p to Galeon.

	* xterm could only receive, not send, since I don't know
	how to mouse-select in xterm. (Is there a way?)

Since GnomeTerminal couldn't receive accents via c&p (I still
don't know how to type them directly), I agree with assigning
this to Gnome --but with the comment that Emacs must be using the
clipboard differently than the other applications.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2005-05-10 05:17:54 UTC
Adding emacs to CC... maybe they have some ideas. ;-)
Comment 14 foser (RETIRED) gentoo-dev 2005-05-27 16:13:25 UTC
not gnome
Comment 15 Matthew Kennedy (RETIRED) gentoo-dev 2005-05-31 09:52:14 UTC
For the following suggestion, make sure you start Emacs with "emacs -q" -- this
will start Emacs and cause it to NOT read site-lisp.el and ~/.emacs{,.el} etc.

Try M-x describe-current-coding-system RET in a buffer with the example accented
text and paste the output of that command here. 

Although there are a couple of clipboard protocols, I don't think the problem is
related to that.
Comment 16 Hanno Böck gentoo-dev 2006-01-12 13:14:50 UTC
I don't know why this ever has been assigned to me, as it is in no way related to galeon only (appears in all other gnome-apps the same way), so re-assigning back to gnome.
Comment 17 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-13 10:30:34 UTC
As foser put it, not GNOME.

For the record, I can C&P the accented text to and from everything (of course I use vim and not emacs for my editor).  This is most likely an emacs issue.  Also, since KDE apps were showing signs of issue, adding KDE to CC, and reassigning to emacs people.
Comment 18 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-08 21:46:57 UTC
This most certainly not a Gentoo specific problem.