Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58496 - app-vim/latexsuite-1.5 breaks XIM in gvim
Summary: app-vim/latexsuite-1.5 breaks XIM in gvim
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-26 21:26 UTC by Georgi Georgiev
Modified: 2005-01-05 01:01 UTC (History)
1 user (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 Georgi Georgiev 2004-07-26 21:26:10 UTC
When (and only when) the latexsuite plugin is in effect in gvim, it is impossible to use an XIM method to input text. 

kinput2 + canna
XMODIFIERS="@im=kinput2"
XIM="kinput2"
GTK_IM_MODULE=xim

It works fine when editing non-tex files.

When editing a tex file, I am able to turn the XIM on with the proper keystroke. After typing a single symbol, the XIM is turned off, and the input key is sent to vim "as-is". I.e, if I typed "i", I get the hiragana i, い, If I typed k, I get just k.
Comment 1 Georgi Georgiev 2004-07-26 21:27:23 UTC
Trying to Cc: James Noble, as per a request in the metadata of the package.
Comment 2 Ciaran McCreesh 2004-07-29 20:49:50 UTC
Ok, I have no clue about LaTex and no clue about XIM. Have you tried asking on the vim-latex-devel mailing list? I'm pretty sure that this is an upstream bug, not something we're causing.
Comment 3 Georgi Georgiev 2004-07-29 22:10:09 UTC
I haven't tried asking upstream for help, and Googling didn't help.

However, I am pretty sure I read somewhere (on a gentoo maintained page) that bugs have to be reported on the gentoo bugzilla, and that they will be sent upstream by the devs if appropriate.

I will be more or less offline for the next two months, so I can only hope that someone who knows XIM a little more will glance at the bug. But, come-on, you gentoo devs should know better who to Cc to this bug, right? Maybe the cjk herd?

You can lower its priority, though, as it only affects gvim, and with vim in the console, everything is good. I don't get the fancy \latex menus, but whatever.
Comment 4 ferret 2004-07-30 01:51:27 UTC
I've narrowed down in the script a few places where I think it might be happening.  It seems to not save state properly when it flicks modes on and off (as in, sets the mode then unsets it without thinking about if it was enabled in the first place).  At least, that's the only likely way this would happen imho.  I'll have a look at it in some more detail at the beginning of next week.

I use vim, not gvim, and don't use XIM or the cjk stuff, so I'm unable to replicate this bug, but I'll see what I can do; if not I'll un-CC myself

ciaranm: your shout with upstream etc.
Comment 5 Alexander Simonov 2004-12-09 10:51:03 UTC
see http://sourceforge.net/mailarchive/message.php?msg_id=6287165 link
Comment 6 Ciaran McCreesh 2005-01-05 01:01:47 UTC
Ok, we can't really fix this one, since it'd involve doing massive amounts of scary voodoo to vim's map code. Maybe someone will figure out a clever workaround, but I certainly can't see it...