also "±" seems to be ok (unicode character in quotes), but ± (unicode character outside of quotes) causes a freeze
On Mon, Aug 5, 2024 at 2:22 PM Toby Hocking <tdho...@gmail.com> wrote: > > emacs also freezes when other unicode characters, such as ± (plus or > minus) are entered in the *R* buffer. > this is definitely an ess-specific issue, because there is no freeze > when a special character is entered in the *scratch* buffer. > it is also an inferior R issue, because entering special characters in > file.R buffers works fine, until an inferior R process is started, and > then emacs will freeze. > any ideas? > > On Tue, Jul 16, 2024 at 1:19 PM Toby Hocking <tdho...@gmail.com> wrote: > > > > A partial work-around is to change windows language to English, after > > which R does not try to display accent marks (but still hangs if you > > type é in the *R* buffer). > > This seems to be an issue only on windows, as I can not reproduce them > > on linux/ubuntu. > > > > On Tue, Jul 16, 2024 at 11:54 AM Toby Hocking <tdho...@gmail.com> wrote: > > > > > > hi, I am installing ESS on a new work computer, which is in Quebec > > > (French speaking province of Canada). > > > I am having issues with display and entry of accent marks, for example > > > e with accent aigu é > > > For example when R starts up I see é instead of é > > > > > > Copyright (C) 2024 The R Foundation for Statistical Computing > > > Platform: x86_64-w64-mingw32/x64 > > > > > > R est un logiciel libre livré sans AUCUNE GARANTIE. > > > Vous pouvez le redistribuer sous certaines conditions. > > > Tapez 'license()' ou 'licence()' pour plus de détails. > > > > > > R est un projet collaboratif avec de nombreux contributeurs. > > > Tapez 'contributors()' pour plus d'information et > > > 'citation()' pour la façon de le citer dans les publications. > > > > > > Tapez 'demo()' pour des démonstrations, 'help()' pour l'aide > > > en ligne ou 'help.start()' pour obtenir l'aide au format HTML. > > > Tapez 'q()' pour quitter R. > > > > > > Do I need to tell emacs to use a particular character encoding for the > > > ESS buffer? How? > > > I expected this should "just work" (display the right character é) > > > > > > More problematic, when I try to enter é in the *R* buffer, it > > > freezes/hangs the whole emacs window. C-g does not help/cancel, only > > > way to get out is to tell windows to kill emacs. > > > > > > Any ideas? > > > > > > Below is the environment from my eshell, if that helps. > > > Thanks in advance! > > > Toby > > > > > > c:/Program Files/Emacs/emacs-29.4/bin $ env > > > ALLUSERSPROFILE=C:\ProgramData > > > APPDATA=C:\Users\hoct2726\AppData\Roaming > > > COLUMNS=80 > > > COMPUTERNAME=DINF-THOCK-01A > > > COMSPEC=C:\windows\system32\cmd.exe > > > CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files > > > CommonProgramFiles=C:\Program Files\Common Files > > > CommonProgramW6432=C:\Program Files\Common Files > > > DEFLOGDIR=C:\ProgramData\McAfee\Endpoint Security\Logs > > > DriverData=C:\Windows\System32\Drivers\DriverData > > > EFC_13380=1 > > > HOME=C:\Users\hoct2726 > > > HOMEDRIVE=C: > > > HOMEPATH=\Users\hoct2726 > > > INSIDE_EMACS=29.4,eshell > > > LINES=58 > > > LOCALAPPDATA=C:\Users\hoct2726\AppData\Local > > > LOG4J_FORMAT_MSG_NO_LOOKUPS=true > > > LOGONSERVER=\\SAD > > > NUMBER_OF_PROCESSORS=6 > > > OLDPWD= > > > OS=Windows_NT > > > OneDrive=C:\Users\hoct2726\OneDrive > > > PATH=c:/windows/system32;C:/windows;C:/windows/System32/Wbem;C:/windows/System32/WindowsPowerShell/v1.0/;C:/windows/System32/OpenSSH/;C:/Program > > > Files/Git/cmd;C:/Program > > > Files/R/R-4.4.1/bin/x64;C:/Users/hoct2726/AppData/Local/Microsoft/WindowsApps;. > > > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC > > > PROCESSOR_ARCHITECTURE=AMD64 > > > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 10, GenuineIntel > > > PROCESSOR_LEVEL=6 > > > PROCESSOR_REVISION=9e0a > > > PSModulePath=C:\Program > > > Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules > > > PUBLIC=C:\Users\Public > > > PWD=c:/Program Files/Emacs/emacs-29.4/bin > > > ProgramData=C:\ProgramData > > > ProgramFiles(x86)=C:\Program Files (x86) > > > ProgramFiles=C:\Program Files > > > ProgramW6432=C:\Program Files > > > RTOOLS44_HOME=C:\rtools44 > > > SESSIONNAME=Console > > > SystemDrive=C: > > > SystemRoot=C:\windows > > > TEMP=C:\Users\hoct2726\AppData\Local\Temp > > > TERM=dumb > > > TMP=C:\Users\hoct2726\AppData\Local\Temp > > > USERDNSDOMAIN=USHERBROOKE.CA > > > USERDOMAIN=USHERBROOKE > > > USERDOMAIN_ROAMINGPROFILE=USHERBROOKE > > > USERNAME=hoct2726 > > > USERPROFILE=C:\Users\hoct2726 > > > WSUSUpgVer=11 > > > WSUStarget=FSCI;DInf > > > ZES_ENABLE_SYSMAN=1 > > > windir=C:\windows ______________________________________________ ESS-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/ess-help