both in console and X my locale is en_GB.ISO-8859-15 (LAN and LC_ALL) under Bash; in X I use Eterms. In Eterm, when I vim anyfile letters '
both in console and X my locale is en_GB.ISO-8859-15 (LAN and LC_ALL) under Bash; in X I use Eterms. In Eterm, when I vim anyfile letters 'é' 'ç' and 'à' come out properly, saved ok, and re-read fine. When in the same Eterm I vim foob.tex, then 'ç' and 'à' are ok, but 'é' takes the cursor une step left; after save, 'é' is not present at all. If /etc/vim/vimrc is removed or renamed, then every thing works fine also for any and Latex files. Under X, I have tried fr, and fr-latin9 layouts. fr gives what I just said; latin9 is even worse. In console, the keymap is fr_latin15 (otherwise 'é' and 'ç' do not come fine in bash); whether the Gentoo /etc/vim/vimrc is active or not, hitting the sequence "éçà" gives to screen "é ç | " (note the accuented 'a' became bar, and additionnal spaces). Those problems are not affected by the use or not of the user land ~/.vimrc: every thing have been tested with it and without. I have followed several localisation toturii like http://www.gentoo.org/doc/en/guide-localization.xml . My .bashrc is customed (may affect ? dont think so) Use of same user profile (.vimrc+.bashrc) works 100% ok on other non Gentoo box. Profile shared with NFS over local net. Vim tested with and without nls: same. glibc 2.4 tested with and without userlocal: same *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** vim --version VIM - Vi IMproved 6.4 (2005 Oct 15, compiled Mar 16 2006 13:30:26) Modified by Gentoo-6.4 Compiled by root@moon_gen Huge version without GUI. Features included (+) or not (-): +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv -cscope +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg -osfiletype +path_extra +perl +postscript +printer +python +quickfix +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save system vimrc file: "/etc/vim/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: i686-pc-linux-gnu-gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -march=pentium3 -pipe -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/include/python2.4 -pthread Linking: i686-pc-linux-gnu-gcc -rdynamic -L/usr/local/lib -o vim -lncurses -rdynamic -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux/CORE -lperl -lutil -lc -L/usr/lib/python2.4/config -lpython2.4 -lpthread -lutil -lm -Xlinker -export-dynamic *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** emerge --info Portage 2.1_pre6-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r7-Gentoo-moon_05 i686) ================================================================= System uname: 2.6.15-gentoo-r7-Gentoo-moon_05 i686 AMD Athlon(tm) 4 Processor Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks keeptemp keepwork metadata-transfer noclean sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.ISO-8859-15" LC_ALL="en_GB.ISO-8859-15" MAKEOPTS="-j2" PKGDIR="/tmp" PORTAGE_TMPDIR="/mnt/big" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa amuled apache2 apic apm arts audiofile avi bash-completion berkdb bidi binfilter bitmap-fonts bl bonjour bootsplash cdda cdparanoia cdr cjk cmov cpudetection crypt cups curl cx8 dbus de dga directfb doc dri dts dv dvb dvd dvdread dynamic eds emboss encode esd ethereal examples fbcon ffmpeg flac flash foomaticdb fortran fping fpu freetype fxsr gdbm ggi gif gnome gnutls gpm gs gstreamer gtk gtk2 httpd i8x0 icq idea idn ieee1394 imagemagick imlib ipv6 irc jabber jack java javascript jpeg kde lcms libcaca libg++ libwww lirc listentcp live lj logrotate lzo mad matrox mca mce mikmod mmx mmxext mono motif mozcalendar mp3 mpeg mplayer msn msr mtrr mtyhtv ncurses network nls no-htdocs nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pae pam pat pdflib perl pge png pse pse36 python qt quicktime rar readline real rss rtc samba screen sdl sensord sep silc skey skins sndfile speex spell sse ssl stream subtitles svg svga swat symlink tcpd tga theora threads tiff truetype truetype-fonts tsc type1-fonts unicode urandom usb v4l v4l2 vcd vim vlm vme vorbis win32codecs wmf wxwindows xanim xinerama xml2 xmms xosd xscreensaver xv xvid xvmc yahoo zeroconf zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Could you provide the output of :scriptnames please?
in X: 1: /etc/vim/vimrc 2: /usr/share/vim/vim64/syntax/syntax.vim 3: /usr/share/vim/vim64/syntax/synload.vim 4: /usr/share/vim/vim64/syntax/syncolor.vim 5: /usr/share/vim/vim64/filetype.vim 6: /usr/share/vim/vimfiles/ftdetect/eselect.vim 7: /usr/share/vim/vimfiles/ftdetect/gentoo.vim 8: /usr/share/vim/vimfiles/ftdetect/ntp.vim 9: /usr/share/vim/vim64/ftplugin.vim 10: /home/dhp/.vimrc 11: /usr/share/vim/vim64/syntax/nosyntax.vim 12: /usr/share/vim/vim64/menu.vim 13: /usr/share/vim/vim64/lang/menu_en_gb.latin1.vim 14: /usr/share/vim/vim64/indent.vim 15: /usr/share/vim/vimfiles/plugin/SyntaxFolds.vim 16: /usr/share/vim/vimfiles/plugin/bugsummary.vim 17: /usr/share/vim/vimfiles/plugin/filebrowser.vim 18: /usr/share/vim/vimfiles/plugin/gentoo-common.vim 19: /usr/share/vim/vimfiles/plugin/imaps.vim 20: /usr/share/vim/vimfiles/plugin/libList.vim 21: /usr/share/vim/vimfiles/plugin/newebuild.vim 22: /usr/share/vim/vimfiles/plugin/neweselect.vim 23: /usr/share/vim/vimfiles/plugin/newinitd.vim 24: /usr/share/vim/vimfiles/plugin/newmetadata.vim 25: /usr/share/vim/vimfiles/plugin/remoteOpen.vim 26: /usr/share/vim/vim64/plugin/explorer.vim 27: /usr/share/vim/vim64/plugin/gzip.vim 28: /usr/share/vim/vim64/plugin/netrw.vim 29: /usr/share/vim/vim64/plugin/rrhelper.vim 30: /usr/share/vim/vim64/plugin/tohtml.vim In console: 1: /etc/vim/vimrc 2: /usr/share/vim/vim64/syntax/syntax.vim 3: /usr/share/vim/vim64/syntax/synload.vim 4: /usr/share/vim/vim64/syntax/syncolor.vim 5: /usr/share/vim/vim64/filetype.vim 6: /usr/share/vim/vimfiles/ftdetect/eselect.vim 7: /usr/share/vim/vimfiles/ftdetect/gentoo.vim 8: /usr/share/vim/vimfiles/ftdetect/ntp.vim 9: /usr/share/vim/vim64/ftplugin.vim 10: /home/dhp/.vimrc 11: /usr/share/vim/vim64/syntax/nosyntax.vim 12: /usr/share/vim/vim64/menu.vim 13: /usr/share/vim/vim64/lang/menu_en_gb.latin1.vim 14: /usr/share/vim/vim64/indent.vim 15: /usr/share/vim/vimfiles/plugin/SyntaxFolds.vim 16: /usr/share/vim/vimfiles/plugin/bugsummary.vim 17: /usr/share/vim/vimfiles/plugin/filebrowser.vim 18: /usr/share/vim/vimfiles/plugin/gentoo-common.vim 19: /usr/share/vim/vimfiles/plugin/imaps.vim 20: /usr/share/vim/vimfiles/plugin/libList.vim 21: /usr/share/vim/vimfiles/plugin/newebuild.vim 22: /usr/share/vim/vimfiles/plugin/neweselect.vim 23: /usr/share/vim/vimfiles/plugin/newinitd.vim 24: /usr/share/vim/vimfiles/plugin/newmetadata.vim 25: /usr/share/vim/vimfiles/plugin/remoteOpen.vim 26: /usr/share/vim/vim64/plugin/explorer.vim 27: /usr/share/vim/vim64/plugin/gzip.vim 28: /usr/share/vim/vim64/plugin/netrw.vim 29: /usr/share/vim/vim64/plugin/rrhelper.vim 30: /usr/share/vim/vim64/plugin/tohtml.vim 31: /usr/share/vim/vimfiles/ftplugin/tex_latexSuite.vim 32: /usr/share/vim/vimfiles/ftplugin/latex-suite/main.vim 33: /usr/share/vim/vimfiles/ftplugin/latex-suite/texrc 34: /usr/share/vim/vimfiles/ftplugin/latex-suite/texproject.vim 35: /usr/share/vim/vimfiles/ftplugin/latex-suite/texmenuconf.vim 36: /usr/share/vim/vimfiles/ftplugin/latex-suite/envmacros.vim 37: /usr/share/vim/vimfiles/ftplugin/latex-suite/wizardfuncs.vim 38: /usr/share/vim/vimfiles/ftplugin/latex-suite/elementmacros.vim 39: /usr/share/vim/vimfiles/ftplugin/latex-suite/mathmacros.vim 40: /usr/share/vim/vimfiles/ftplugin/latex-suite/multicompile.vim 41: /usr/share/vim/vimfiles/ftplugin/latex-suite/compiler.vim 42: /usr/share/vim/vimfiles/ftplugin/latex-suite/folding.vim 43: /usr/share/vim/vimfiles/ftplugin/latex-suite/templates.vim 44: /usr/share/vim/vimfiles/ftplugin/latex-suite/custommacros.vim 45: /usr/share/vim/vimfiles/ftplugin/latex-suite/bibtex.vim 46: /usr/share/vim/vimfiles/ftplugin/latex-suite/brackets.vim 47: /usr/share/vim/vimfiles/ftplugin/latex-suite/smartspace.vim 48: /usr/share/vim/vimfiles/ftplugin/latex-suite/texviewer.vim 49: /usr/share/vim/vimfiles/ftplugin/latex-suite/version.vim 50: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages.vim 51: /usr/share/vim/vimfiles/compiler/tex.vim 52: /usr/share/vim/vimfiles/ftplugin/tex/brackets.vim 53: /usr/share/vim/vimfiles/ftplugin/tex/texviewer.vim 54: /usr/share/vim/vim64/ftplugin/tex.vim 55: /usr/share/vim/vim64/syntax/tex.vim 56: /usr/share/vim/vimfiles/indent/tex.vim
h
héhé ... forgot a list of scripts: the one when I open existing Latex file under X: 1: /etc/vim/vimrc 2: /usr/share/vim/vim64/syntax/syntax.vim 3: /usr/share/vim/vim64/syntax/synload.vim 4: /usr/share/vim/vim64/syntax/syncolor.vim 5: /usr/share/vim/vim64/filetype.vim 6: /usr/share/vim/vimfiles/ftdetect/eselect.vim 7: /usr/share/vim/vimfiles/ftdetect/gentoo.vim 8: /usr/share/vim/vimfiles/ftdetect/ntp.vim 9: /usr/share/vim/vim64/ftplugin.vim 10: /home/dhp/.vimrc 11: /usr/share/vim/vim64/syntax/nosyntax.vim 12: /usr/share/vim/vim64/menu.vim 13: /usr/share/vim/vim64/lang/menu_en_gb.latin1.vim 14: /usr/share/vim/vim64/indent.vim 15: /usr/share/vim/vimfiles/plugin/SyntaxFolds.vim 16: /usr/share/vim/vimfiles/plugin/bugsummary.vim 17: /usr/share/vim/vimfiles/plugin/filebrowser.vim 18: /usr/share/vim/vimfiles/plugin/gentoo-common.vim 19: /usr/share/vim/vimfiles/plugin/imaps.vim 20: /usr/share/vim/vimfiles/plugin/libList.vim 21: /usr/share/vim/vimfiles/plugin/newebuild.vim 22: /usr/share/vim/vimfiles/plugin/neweselect.vim 23: /usr/share/vim/vimfiles/plugin/newinitd.vim 24: /usr/share/vim/vimfiles/plugin/newmetadata.vim 25: /usr/share/vim/vimfiles/plugin/remoteOpen.vim 26: /usr/share/vim/vim64/plugin/explorer.vim 27: /usr/share/vim/vim64/plugin/gzip.vim 28: /usr/share/vim/vim64/plugin/netrw.vim 29: /usr/share/vim/vim64/plugin/rrhelper.vim 30: /usr/share/vim/vim64/plugin/tohtml.vim 31: /usr/share/vim/vimfiles/ftplugin/tex_latexSuite.vim 32: /usr/share/vim/vimfiles/ftplugin/latex-suite/main.vim 33: /usr/share/vim/vimfiles/ftplugin/latex-suite/texrc 34: /usr/share/vim/vimfiles/ftplugin/latex-suite/texproject.vim 35: /usr/share/vim/vimfiles/ftplugin/latex-suite/texmenuconf.vim 36: /usr/share/vim/vimfiles/ftplugin/latex-suite/envmacros.vim 37: /usr/share/vim/vimfiles/ftplugin/latex-suite/wizardfuncs.vim 38: /usr/share/vim/vimfiles/ftplugin/latex-suite/elementmacros.vim 39: /usr/share/vim/vimfiles/ftplugin/latex-suite/mathmacros.vim 40: /usr/share/vim/vimfiles/ftplugin/latex-suite/multicompile.vim 41: /usr/share/vim/vimfiles/ftplugin/latex-suite/compiler.vim 42: /usr/share/vim/vimfiles/ftplugin/latex-suite/folding.vim 43: /usr/share/vim/vimfiles/ftplugin/latex-suite/templates.vim 44: /usr/share/vim/vimfiles/ftplugin/latex-suite/custommacros.vim 45: /usr/share/vim/vimfiles/ftplugin/latex-suite/bibtex.vim 46: /usr/share/vim/vimfiles/ftplugin/latex-suite/brackets.vim 47: /usr/share/vim/vimfiles/ftplugin/latex-suite/smartspace.vim 48: /usr/share/vim/vimfiles/ftplugin/latex-suite/texviewer.vim 49: /usr/share/vim/vimfiles/ftplugin/latex-suite/version.vim 50: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages.vim 51: /usr/share/vim/vimfiles/compiler/tex.vim 52: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/inputenc 53: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/graphicx 54: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/verbatim 55: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/amsmath 56: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/geometry 57: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/longtable 58: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/url 59: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/multicol 60: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/hyperref 61: /usr/share/vim/vimfiles/ftplugin/latex-suite/packages/color 62: /usr/share/vim/vimfiles/ftplugin/tex/brackets.vim 63: /usr/share/vim/vimfiles/ftplugin/tex/texviewer.vim 64: /usr/share/vim/vim64/ftplugin/tex.vim 65: /usr/share/vim/vim64/syntax/tex.vim 66: /usr/share/vim/vimfiles/indent/tex.vim one of those which is here but not amongst the list of 30 in preview comment is responsible for breaking editiont of latex files. Mad an other mistake in preview comment: the list of 56 files is the list in console when editing LATEX FILES. In console, when starting vim with edition of nothing, or non latex file, then I also got the same list as with 30 lines.
If you uninstall latex-suite, does it work properly?
after mv /usr/share/vim/vimfiles/ftplugin/latex-suite /usr/share/vim/vimfiles/ftplugin/latex-suite_ I get small expected message: "documents/courrier/lettre_a_EE_anne_flo_2006_03_15/main.tex" 265L, 10601C Error detected while processing /usr/share/vim/vimfiles/ftplugin/tex_latexSuite.vim: line 8: E484: Can't open file /usr/share/vim/vimfiles/ftplugin/latex-suite/main.vim :a <enter> <paste> <escape> Hit ENTER or type command to continue (the line about ":a" comes from customed user conf) Then, I can hit and use "
after mv /usr/share/vim/vimfiles/ftplugin/latex-suite /usr/share/vim/vimfiles/ftplugin/latex-suite_ I get small expected message: "documents/courrier/lettre_a_EE_anne_flo_2006_03_15/main.tex" 265L, 10601C Error detected while processing /usr/share/vim/vimfiles/ftplugin/tex_latexSuite.vim: line 8: E484: Can't open file /usr/share/vim/vimfiles/ftplugin/latex-suite/main.vim :a <enter> <paste> <escape> Hit ENTER or type command to continue (the line about ":a" comes from customed user conf) Then, I can hit and use "éçà" under X for editing Latex as for non Latex files. :scriptnames in X for Latex thus becomes shorter: 1: /etc/vim/vimrc 2: /usr/share/vim/vim64/syntax/syntax.vim 3: /usr/share/vim/vim64/syntax/synload.vim 4: /usr/share/vim/vim64/syntax/syncolor.vim 5: /usr/share/vim/vim64/filetype.vim 6: /usr/share/vim/vimfiles/ftdetect/eselect.vim 7: /usr/share/vim/vimfiles/ftdetect/gentoo.vim 8: /usr/share/vim/vimfiles/ftdetect/ntp.vim 9: /usr/share/vim/vim64/ftplugin.vim 10: /home/dhp/.vimrc 11: /usr/share/vim/vim64/syntax/nosyntax.vim 12: /usr/share/vim/vim64/menu.vim 13: /usr/share/vim/vim64/lang/menu_en_gb.latin1.vim 14: /usr/share/vim/vim64/indent.vim 15: /usr/share/vim/vimfiles/plugin/SyntaxFolds.vim 16: /usr/share/vim/vimfiles/plugin/bugsummary.vim 17: /usr/share/vim/vimfiles/plugin/filebrowser.vim 18: /usr/share/vim/vimfiles/plugin/gentoo-common.vim 19: /usr/share/vim/vimfiles/plugin/imaps.vim 20: /usr/share/vim/vimfiles/plugin/libList.vim 21: /usr/share/vim/vimfiles/plugin/newebuild.vim 22: /usr/share/vim/vimfiles/plugin/neweselect.vim 23: /usr/share/vim/vimfiles/plugin/newinitd.vim 24: /usr/share/vim/vimfiles/plugin/newmetadata.vim 25: /usr/share/vim/vimfiles/plugin/remoteOpen.vim 26: /usr/share/vim/vim64/plugin/explorer.vim 27: /usr/share/vim/vim64/plugin/gzip.vim 28: /usr/share/vim/vim64/plugin/netrw.vim 29: /usr/share/vim/vim64/plugin/rrhelper.vim 30: /usr/share/vim/vim64/plugin/tohtml.vim 31: /usr/share/vim/vimfiles/ftplugin/tex_latexSuite.vim 32: /usr/share/vim/vimfiles/ftplugin/tex/brackets.vim 33: /usr/share/vim/vimfiles/ftplugin/tex/texviewer.vim 34: /usr/share/vim/vim64/ftplugin/tex.vim 35: /usr/share/vim/vim64/syntax/tex.vim 36: /usr/share/vim/vimfiles/indent/tex.vim 36 instead of 66 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** This does not change any thing in console.
Hello, are you still experiencing trouble with this? There are newer versions of both vim and latexsuite stable in the tree, do they solve your problem?
I did only one test: vim log_book.tex when I hit keys abcd
I did only one test: vim log_book.tex when I hit keys abcdé I get on screen: abcd with cursor 'd' instead of at least staying after. This does not happen if I hit the same sequence of keys in 'vim' without any argument. This confirms whats described in par.2 of original bug desc. Calculating dependencies... done! [ebuild R ] app-editors/vim-7.0.91 USE="bash-completion nls perl python -acl -cscope -gpm -minimal -mzscheme -ruby -vim-pager -vim-with-x" 0 kB [ebuild R ] app-editors/vim-core-7.0.91 USE="bash-completion nls -acl -livecd" 0 kB Emerged world last week ... so, I ll assume bug is still alive.
Hmm, how are you entering é? The way I enter it on my (us) keyboard is: <C-K> e ' Are you using the Diacritics support from latex-suite? What does this show? :echo g:Tex_Diacritics
Sorry, I'm closing this as NEEDINFO. If this is still a problem for you, please answer the questions in comment #12 and reopen this bug.