Dear Duncan,

> I'm  working on an American keyboard, that doesn't have an AltGr key, so it's 
> hard to test anything.
> 
> Are you familiar enough with Windows internals to work on this and 
> submit a patch, or do you know someone who is?

Unfortunately I am not so familiar with windows internals and cannot remeber of anyone who might help, but I have a solution for you how you could test this.

AltGr key can be simulated by pressing left Control+Alt keys together. This works on slovenian keyboards, and I guess it should also work on american, if slovenian input locale is set.

I just tested this LeftCtrl+LeftAlt combination in R script editor and behaviour was the same.



> One solution would be to add an option to disable handling of shortcut 
> keys in menus.  There's probably a better solution, but without being 
> able to test it, I don't think I could find it.
 
Yes, this would also be an option. In fact I was already looking through the menus if there was such setting to remap keyboard shortcuts.

Hope my suggestion helps. 

Best regards, Zoran Bosnic.

Zoran Bosnic, M. Sc.
Faculty of Computer and Information Science
Laboratory of Cognitive Modelling
Trzaska ulica 25
1000 Ljubljana
Slovenia





----- Original Message ----- 
  From: Duncan Murdoch 
  To: Duncan Murdoch 
  Cc: zoran.bosnic@fri.uni-lj.si ; R-bugs@biostat.ku.dk ; r-devel@stat.math.ethz.ch 
  Sent: Saturday, December 23, 2006 7:05 PM
  Subject: Re: [Rd] AltGr not working in R GUI Script Editor (PR#9430)


  On 12/23/2006 1:00 PM, Duncan Murdoch wrote:
  > On 12/23/2006 6:07 AM, zoran.bosnic@fri.uni-lj.si wrote:
  >> Full_Name: Zoran Bosnic
  >> Version: 2.4.0
  >> OS: Windows XP SP2
  >> Submission from: (NULL) (212.235.140.146)
  >>
  >>
  >> This is a problem that occurs in R GUI Script Editor and is connected to Windows
  >> regional settings.
  >>
  >> Since I live in Slovenia, my computer has a keyboard with additional slovenian
  >> international characters. I am therefore using Windows XP SP2 with Input
  >> Language (=Keyboard Locale, Control Panel/Regional and Language
  >> Options/Languages/Details/Input language) set to Slovenian.
  >>
  >> On slovenian keyboards characters as [, ], {, } are produced by pressing key
  >> combinations AltGr+F, AltGr+G, AltGr+B and AltGr+N, respectively. These
  >> combinations generally work in all Windows programs and also in R Console.
  >> However, R Script editor produces behaves wrongly and causes:
  >> AltGr+F to open Find dialog box,
  >> AltGr+N to open new Script window.
  > 
  > I see in comments in the source (in 
  > https://svn.r-project.org/trunk/src/gnuwin32/graphapp/events.c, around 

  Typo in URL:  should be

  https://svn.r-project.org/R/trunk/src/gnuwin32/graphapp/events.c

  > line 930) that this is a known bug, but I don't know how to fix it.  I'm 
  > working on an American keyboard, that doesn't have an AltGr key, so it's 
  > hard to test anything.
  > 
  > One solution would be to add an option to disable handling of shortcut 
  > keys in menus.  There's probably a better solution, but without being 
  > able to test it, I don't think I could find it.
  > 
  > Are you familiar enough with Windows internals to work on this and 
  > submit a patch, or do you know someone who is?
  > 
  > Duncan Murdoch
  > 
  >> Consequentially, it is not possible to type ] and } brackets using slovenian
  >> input settings in script editor. Meanwhile, AltGr+G and AltGr+B work fine.
  >>
  >> ______________________________________________
  >> R-devel@r-project.org mailing list
  >> https://stat.ethz.ch/mailman/listinfo/r-devel
  > 
  > ______________________________________________
  > R-devel@r-project.org mailing list
  > https://stat.ethz.ch/mailman/listinfo/r-devel

	[[alternative HTML version deleted]]

