Linux Ubuntu 12.10.  The latest, up to date, and vanilla.<br><br><div class="gmail_quote">On Sat, Oct 27, 2012 at 9:35 PM, Robby Findler <span dir="ltr">&lt;<a href="mailto:robby@eecs.northwestern.edu" target="_blank">robby@eecs.northwestern.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You&#39;re using linux, right?<br>
<span class="HOEnZb"><font color="#888888"><br>
Robby<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sat, Oct 27, 2012 at 8:33 PM, Ray Racine &lt;<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>&gt; wrote:<br>
&gt; All the standard emacs bindings work. crtl-a, yanks etc.  The ctrl-\ was<br>
&gt; working for me for at least several months.  So it looks like something<br>
&gt; changed where I&#39;m getting the frame% and not the editor%.<br>
&gt;<br>
&gt; Also some of the standard keybindings do not work for me.  Typical example<br>
&gt; is check-syntax.  ctrl-c:ctrl-c doesn&#39;t work but F6 does.<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Oct 27, 2012 at 9:28 PM, Robby Findler &lt;<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; What happens when you type control-a (with the menu keybindings turned<br>
&gt;&gt; off). That should do a similar thing to what your keybinding does (ie<br>
&gt;&gt; call a text% method of that first argument without checking to see it<br>
&gt;&gt; is a text% object). If it works, it will move the insertion point to<br>
&gt;&gt; the beginning of the line.<br>
&gt;&gt;<br>
&gt;&gt; Robby<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Oct 27, 2012 at 8:23 PM, Ray Racine &lt;<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; And to answer your question, can confirm I have the editor window in<br>
&gt;&gt; &gt; focus.<br>
&gt;&gt; &gt; I type a few letters in the editor, then ctrl-\ and popup box.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Sat, Oct 27, 2012 at 9:16 PM, Ray Racine &lt;<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Robby,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; OK, I reduced my keybindings.rkt file to exactly the below.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; #lang s-exp framework/keybinding-lang<br>
&gt;&gt; &gt;&gt; ;; insert ë<br>
&gt;&gt; &gt;&gt; (keybinding &quot;c:\\&quot; (ë (editor evt)<br>
&gt;&gt; &gt;&gt;      (pretty-print editor)<br>
&gt;&gt; &gt;&gt;      (send editor insert &quot;ë&quot;)))<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; When I run drracket from the command line what I see printed is<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; ray@rpr:~$ /usr/local/racket/bin/drracket<br>
&gt;&gt; &gt;&gt; #(struct:object:...cts/version/tool.rkt:176:9 ...)<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; This matches the popup box error as well.  Screenshot is here.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; <a href="https://plus.google.com/u/0/photos/108838931798929528241/albums/5804161505516624049" target="_blank">https://plus.google.com/u/0/photos/108838931798929528241/albums/5804161505516624049</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; So it doesn&#39;t appear to be an instance of editor% but I don&#39;t know why.<br>
&gt;&gt; &gt;&gt; I&#39;m running Linux Ubuntu 12.10.  It happens in #lang racket.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Ray<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Sat, Oct 27, 2012 at 8:12 PM, Robby Findler<br>
&gt;&gt; &gt;&gt; &lt;<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; I&#39;ve tried this and I see a lambda char inserted.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Is it possible that the keyboard focus is not in an editor? That would<br>
&gt;&gt; &gt;&gt;&gt; mean that the &#39;editor&#39; argument wouldn&#39;t actually be an editor.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Maybe try printing that out, and that&#39;ll shed some light on what&#39;s<br>
&gt;&gt; &gt;&gt;&gt; going on here.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Robby<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On Sat, Oct 27, 2012 at 12:37 PM, Ray Racine &lt;<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt; &gt; I spoke to soon there still is something broken.  But I did find a<br>
&gt;&gt; &gt;&gt;&gt; &gt; work<br>
&gt;&gt; &gt;&gt;&gt; &gt; around.<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; To reproduce:<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; 1) Create a custom keybinding file.<br>
&gt;&gt; &gt;&gt;&gt; &gt; 2) Use emacs keybindings by unchecking Enable Menu Keybindings  in<br>
&gt;&gt; &gt;&gt;&gt; &gt; your<br>
&gt;&gt; &gt;&gt;&gt; &gt; Preferences (as in section 3.3 of the Racket doc)<br>
&gt;&gt; &gt;&gt;&gt; &gt; 3) Define a simple one-line keybinding in the keybinding file.<br>
&gt;&gt; &gt;&gt;&gt; &gt;   (keybinding &quot;c:\\&quot; (ë (editor evt) (send editor insert &quot;ë&quot;)))<br>
&gt;&gt; &gt;&gt;&gt; &gt; 4) Set the keybinding file and attempt to do a ctr-\ and you see the<br>
&gt;&gt; &gt;&gt;&gt; &gt; error.<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; The workaround I have is to use &quot;menu-bind&quot; method in your<br>
&gt;&gt; &gt;&gt;&gt; &gt; keybindings<br>
&gt;&gt; &gt;&gt;&gt; &gt; file.<br>
&gt;&gt; &gt;&gt;&gt; &gt; When I use that to bind to the &quot;Insert ë&quot; menu option, it works.<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; Ray<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt; On Sat, Oct 27, 2012 at 10:21 AM, Robby Findler<br>
&gt;&gt; &gt;&gt;&gt; &gt; &lt;<a href="mailto:robby@eecs.northwestern.edu">robby@eecs.northwestern.edu</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; Sorry-- I had this on my list of things to look into (but it sounds<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; like I was missing a piece anyways). If you saved a copy of that<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; directory and don&#39;t mind sharing it, I&#39;d be happy to try to look<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; into<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; it more.<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; Robby<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; On Sat, Oct 27, 2012 at 9:14 AM, Ray Racine &lt;<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; OK, sat down this morning to figure out why my custom Racket<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; keybinding<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; were<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; failing.  No idea of the exact cause, but step 1, clearing out my<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; .racket/preferences brought them back.  Working fine now.<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; Ray<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; On Tue, Oct 23, 2012 at 11:15 AM, Ray Racine<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; &lt;<a href="mailto:ray.racine@gmail.com">ray.racine@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; Up until recently the following worked for me.  Create a custom<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; keybindings file.  Add the following line.<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; (keybinding &quot;c:\\&quot; (ë (editor evt) (send editor insert &quot;ë&quot;)))<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; And a Ctrl:\ would insert a ë for me.  Recently this has stopped<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; working<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; as reported below.  Any ideas on how to bring it back?<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; Thanks,<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt; Ray<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; The key binding is invoked, however, I&#39;m seeing the following<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; in a<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; pop-up.<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Error running keybinding<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; send: no such method<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; method name: insert<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; class name: cts/version/tool.rkt:176:9<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt; ____________________<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;   Racket Users list:<br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;   <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
&gt;&gt; &gt;&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>