No subject

From: ()
Date: Mon Dec 3 19:58:15 EST 2012

M-/ runs the command dabbrev-expand, which is an interactive
autoloaded compiled Lisp function in `dabbrev.el'.

It is bound to M-/.

(dabbrev-expand ARG)

Expand previous word "dynamically".

Expands to the most recent, preceding word for which this is a prefix.
If no suitable preceding word is found, words following point are
considered.  If still no suitable word is found, then look in the
buffers accepted by the function pointed out by variable
`dabbrev-friend-buffer-function'.

A positive prefix argument, N, says to take the Nth backward *distinct*
possibility.  A negative argument says search forward.

If the cursor has not moved from the end of the previous expansion and
no argument is given, replace the previously-made expansion
with the next possible expansion not yet tried.

The variable `dabbrev-backward-only' may be used to limit the
direction of search to backward if set non-nil.

See also `dabbrev-abbrev-char-regexp' and C-M-/.


On Wed, May 1, 2013 at 8:20 AM, Robby Findler
<robby at eecs.northwestern.edu>wrote:

> I think those are all there, but probably you didn't find them because
> they don't have quite the same name as the menu items (in the
> edit|keybindings|show active keybindings menu item). I've fixed that. And=
 I
> also added tack/untack arrows. Here's the list from the source:
>
>       (send keymap map-function "c:x;b" (string-constant
> cs-jump-to-binding))
>       (send keymap map-function "c:x;n" (string-constant
> cs-jump-to-next-bound-occurrence))
>       (send keymap map-function "c:x;p" (string-constant
> cs-jump-to-previous-bound-occurrence))
>       (send keymap map-function "c:x;d" (string-constant
> cs-jump-to-definition))
>       (send keymap map-function "c:x;m" (string-constant cs-rename-id))
>       (send keymap map-function "c:x;a" (string-constant
> cs-tack/untack-arrow))
>
> Robby
>
>
>
> On Wed, May 1, 2013 at 3:14 AM, Laurent <laurent.orseau at gmail.com> wrote:
>
>> "Rename identifier" at least, and also those like "go to definition",
>> "open defining file", and maybe "go to next/previous occurrence".
>>
>> Thank you very much!
>> Laurent
>>
>>
>> On Wed, May 1, 2013 at 12:59 AM, Robby Findler <
>> robby at eecs.northwestern.edu> wrote:
>>
>>> Hi, sorry for the delayed response. I'll push an additional keybinding
>>> (c:x;m for rename identifier). Which other ones are you missing?
>>>
>>> Sorry I don't have any leads on why popup menus still aren't working.
>>>
>>> Robby
>>>
>>>
>>> On Thursday, April 18, 2013, Laurent wrote:
>>>
>>>>  Didn't try, but if I disable syntax check, the tooltips don't show,
>>>> so I guess it's the same.
>>>> I correct my previous answer: disabling syntax-check helps a little,
>>>> but the mouse pointer must not move during the whole click (which is q=
uite
>>>> difficult on my touchpad).
>>>> The menu stays longer, but still randomly disappears after some mouse
>>>> moves.
>>>>
>>>> Do you want me to try the patch anyway?
>>>>
>>>> In case this bug is not resolved, would it be possible to have the sam=
e
>>>> bindings in a regular window menu?
>>>> (Or at list could you tell me what the bindings are so that I can make
>>>> a plugin script?)
>>>>
>>>> Laurent
>>>>
>>>>
>>>> On Thu, Apr 18, 2013 at 2:39 PM, Robby Findler <
>>>> robby at eecs.northwestern.edu> wrote:
>>>>
>>>> This disables check syntax tooltips. Does that help?
>>>>
>>>> --- a/collects/drracket/private/syncheck/gui.rkt
>>>> +++ b/collects/drracket/private/syncheck/gui.rkt
>>>> @@ -805,7 +805,7 @@ If the namespace does not, they are colored the
>>>> unbound color.
>>>>
>>>>              ;; syncheck:add-mouse-over-status : text pos-left
>>>> pos-right string -> void
>>>>              (define/public (syncheck:add-mouse-over-status text
>>>> pos-left pos-right str)
>>>> -              (when arrow-records
>>>> +              (when (and #f arrow-records)
>>>>                  (add-to-range/key text pos-left pos-right
>>>>                                    (make-tooltip-info text pos-left
>>>> pos-right str)
>>>>                                    #f #f)))
>>>>
>>>>
>>>>
>>>> On Thu, Apr 18, 2013 at 7:28 AM, Laurent <laurent.orseau at gmail.com>wro=
te:
>>>>
>>>> Yes, apparently.
>>>>
>>>> In DrRacket, deactivating syntax check does not change the problem.
>>>>
>>>>
>>>> On Thu, Apr 18, 2013 at 1:52 PM, Robby Findler <
>>>> robby at eecs.northwestern.edu> wrote:
>>>>
>>>> If you run "gracket" does the right click menu work better there?
>>>>
>>>> Robby
>>>>
>>>>
>>>> On Thu, Apr 18, 2013 at 6:45 AM, Laurent <laurent.orseau at gmail.com>wro=
te:
>>>>
>>>> Are there any news about that bug? I miss the right-click menu very
>>>> much...
>>>>
>>>> Laurent
>>>>
>>>>
>>>> On Wed, Dec 5, 2012 at 5:30 AM, Neil Toronto <neil.toronto at gmail.com>w=
rote:
>>>>
>>>> Could what you're experiencing have anything to do with tooltips? It
>>>> seems my right-click menu doesn't stay up whenever there's a tooltip o=
ut.
>>>> Which is, like, every time I want it.
>>>>
>>>> Neil =E2=8A=A5
>>>>
>>>>
>>>> On 12/04/2012 07:55 PM, Ray Racine wrote:
>>>>
>>>> Yea, I didn't want to make a big deal out of it, but the up/down butto=
n
>>>> change did not fix the issue.   In fact I'd say no impact positive or
>>>> negative.
>>>>
>>>> It seems to happen when there is additional drawing 'complexity' in
>>>> co-occurrence with the pop up drawing area.  I.e. the pop up menu is
>>>> drawing where arrows are drawn or error highlighting is occurring etc.
>>>> Also maybe when the pop up menu area is near the 'edge' of the Dr wind=
ow
>>>> and or pane area.  But again the problem is not consistently
>>>> reproducible yet happens more often then not.  Its not a once in a blu=
e
>>>> moon that thing.  Sometimes an attempt to right click pop up  menu wil=
l
>>>> fail numerous times in a row then succeed for no apparent reason.
>>>>
>>>> On Dec 4, 2012 9:07 PM, "Robby Findler" <robby at eecs.northwestern.edu
>>>> <mailto:robby at eecs.**northwestern.edu>> wrote:
>>>>
>>>>     On Tue, Dec 4, 2012 at 6:11 PM, Stephen Chang <stchang at ccs.neu.edu
>>>>
>>>>
>>>>
>>
>
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
>
>

--001a11c2b27a217b8504dba7d46c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Random thought question, other then &quot;just w=
ork&quot;, is there any disadvantage in how custom keybindings work in DrR =
in extracting all keybindings out from DrR code into a dedicated default ke=
ybindings.rkt?=C2=A0 Then a user installed keybindings.rkt inherits and ove=
rrides from the default or just modifies the default directly?<br>
<br></div>FWIW, a super feature that I use in emacs when typing in code is =
&quot;dynamic expansion&quot;.=C2=A0 One types the first few prefix chars o=
f a token and &#39;alt-/&#39; and it completes the word by back searching f=
or the first matching token in the source file. &#39;alt-/&#39; again, and =
it searchs back for the next match.=C2=A0 Its mindless string pattern match=
ing in the source file.=C2=A0 No expansion=C2=A0 or AST semantic parsing is=
 necessary or done.=C2=A0 Mindless yet very effective in key stroke/typo re=
duction.=C2=A0 I probably miss this more in DrRacket than any other emacs b=
asic editing feature.<br>
<br></div>From emacs help.<br><div><br>M-/ runs the command dabbrev-expand,=
 which is an interactive<br>autoloaded compiled Lisp function in `dabbrev.e=
l&#39;.<br><br>It is bound to M-/.<br><br>(dabbrev-expand ARG)<br><br>Expan=
d previous word &quot;dynamically&quot;.<br>
<br>Expands to the most recent, preceding word for which this is a prefix.<=
br>If no suitable preceding word is found, words following point are<br>con=
sidered.=C2=A0 If still no suitable word is found, then look in the<br>buff=
ers accepted by the function pointed out by variable<br>
`dabbrev-friend-buffer-function&#39;.<br><br>A positive prefix argument, N,=
 says to take the Nth backward *distinct*<br>possibility.=C2=A0 A negative =
argument says search forward.<br><br>If the cursor has not moved from the e=
nd of the previous expansion and<br>
no argument is given, replace the previously-made expansion<br>with the nex=
t possible expansion not yet tried.<br><br>The variable `dabbrev-backward-o=
nly&#39; may be used to limit the<br>direction of search to backward if set=
 non-nil.<br>
<br>See also `dabbrev-abbrev-char-regexp&#39; and C-M-/.<br></div></div><di=
v class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Wed, May 1, 2=
013 at 8:20 AM, Robby Findler <span dir=3D"ltr">&lt;<a href=3D"mailto:robby=
@eecs.northwestern.edu" target=3D"_blank">robby at eecs.northwestern.edu</a>&g=
t;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">I think those are all there=
, but probably you didn&#39;t find them because they don&#39;t have quite t=
he same name as the menu items (in the edit|keybindings|show active keybind=
ings menu item). I&#39;ve fixed that. And I also added tack/untack arrows. =
Here&#39;s the list from the source:<div>

<br></div><div><div>=C2=A0 =C2=A0 =C2=A0 (send keymap map-function &quot;c:=
x;b&quot; (string-constant cs-jump-to-binding))</div><div>=C2=A0 =C2=A0 =C2=
=A0 (send keymap map-function &quot;c:x;n&quot; (string-constant cs-jump-to=
-next-bound-occurrence))</div>

<div>=C2=A0 =C2=A0 =C2=A0 (send keymap map-function &quot;c:x;p&quot; (stri=
ng-constant cs-jump-to-previous-bound-occurrence))</div><div>=C2=A0 =C2=A0 =
=C2=A0 (send keymap map-function &quot;c:x;d&quot; (string-constant cs-jump=
-to-definition))</div><div>

=C2=A0 =C2=A0 =C2=A0 (send keymap map-function &quot;c:x;m&quot; (string-co=
nstant cs-rename-id))</div><div>=C2=A0 =C2=A0 =C2=A0 (send keymap map-funct=
ion &quot;c:x;a&quot; (string-constant cs-tack/untack-arrow))</div><span cl=
ass=3D"HOEnZb"><font color=3D"#888888"><div>
<br></div></font></span><div><span class=3D"HOEnZb"><font color=3D"#888888"=
>Robby</font></span><div><div class=3D"h5"><br><div class=3D"gmail_extra">
<br><br><div class=3D"gmail_quote">On Wed, May 1, 2013 at 3:14 AM, Laurent =
<span dir=3D"ltr">&lt;<a href=3D"mailto:laurent.orseau at gmail.com" target=3D=
"_blank">laurent.orseau at gmail.com</a>&gt;</span> wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;b=
order-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"=
>

<div dir=3D"ltr"><div>&quot;Rename identifier&quot; at least, and also thos=
e like &quot;go to definition&quot;, &quot;open defining file&quot;, and ma=
ybe &quot;go to next/previous occurrence&quot;.<br><br></div>Thank you very=
 much!<span><font color=3D"#888888"><br>



Laurent<br></font></span></div><div><div><div class=3D"gmail_extra"><br><br=
><div class=3D"gmail_quote">On Wed, May 1, 2013 at 12:59 AM, Robby Findler =
<span dir=3D"ltr">&lt;<a href=3D"mailto:robby at eecs.northwestern.edu" target=
=3D"_blank">robby at eecs.northwestern.edu</a>&gt;</span> wrote:<br>



<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">Hi, sorry for the delayed response. I&#39;ll push an addit=
ional keybinding (c:x;m for rename identifier). Which other ones are you mi=
ssing?<div>



<br></div><div>Sorry I don&#39;t have any leads on why popup menus still ar=
en&#39;t working.<span><font color=3D"#888888"><br>
<br>Robby</font></span><div><div><br><br>On Thursday, April 18, 2013, Laure=
nt  wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">

<div dir=3D"ltr"><div>

<div><div><div><div><div>Didn&#39;t try, but if I disable syntax check, the=
 tooltips don&#39;t show, so I guess it&#39;s the same.<br>
</div>I correct my previous answer: disabling syntax-check helps a little, =
but the mouse pointer must not move during the whole click (which is quite =
difficult on my touchpad). <br>

</div>The menu stays longer, but still randomly disappears after some mouse=
 moves.<br><br></div>Do you want me to try the patch anyway?<br><br></div>I=
n case this bug is not resolved, would it be possible to have the same bind=
ings in a regular window menu?<br>






</div>(Or at list could you tell me what the bindings are so that I can mak=
e a plugin script?)<br><br></div>Laurent<br></div><div><br><br><div>On Thu,=
 Apr 18, 2013 at 2:39 PM, Robby Findler <span dir=3D"ltr">&lt;<a>robby at eecs=
.northwestern.edu</a>&gt;</span> wrote:<br>






<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div =
dir=3D"ltr">This disables check syntax tooltips. Does that help?<div><br></=
div>

<div><div>--- a/collects/drracket/private/syncheck/gui.rkt</div>




<div>+++ b/collects/drracket/private/syncheck/gui.rkt</div><div>@@ -805,7 +=
805,7 @@ If the namespace does not, they are colored the unbound color.</di=
v>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; syncheck:add-mouse-over-status : t=
ext pos-left pos-right string -&gt; void</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0(define/public (syncheck:add-mouse-over-status text=
 pos-left pos-right str)</div>







<div>- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(when arrow-records<=
/div><div>+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(when (and #f a=
rrow-records)</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0(add-to-range/key text pos-left pos-right=C2=A0</div><div>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(make-tooltip-info text pos=
-left pos-right str)</div>







<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#f #f)))</div></div>=
<div><br></div></div><div><div><div><br><br><div>On Thu, Apr 18, 2013 at 7:=
28 AM, Laurent <span dir=3D"ltr">&lt;<a>laurent.orseau at gmail.com</a>&gt;</s=
pan> wrote:<br>







<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div =
dir=3D"ltr"><div>Yes, apparently.<br><br></div>In DrRacket, deactivating sy=
ntax check does not change the problem.<br>




</div><div><div><div><br><br><div>On Thu, Apr 18, 2013 at 1:52 PM, Robby Fi=
ndler <span dir=3D"ltr">&lt;<a>robby at eecs.northwestern.edu</a>&gt;</span> w=
rote:<br>




<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div =
dir=3D"ltr">If you run &quot;gracket&quot; does the right click menu work b=
etter there?<span><font color=3D"#888888"><div>






<br></div><div>Robby</div></font></span></div><div><div><div><br><br><div>O=
n Thu, Apr 18, 2013 at 6:45 AM, Laurent <span dir=3D"ltr">&lt;<a>laurent.or=
seau at gmail.com</a>&gt;</span> wrote:<br>





<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div =
dir=3D"ltr"><div>Are there any news about that bug? I miss the right-click =
menu very much...<span><font color=3D"#888888"><br>







<br></font></span></div><span><font color=3D"#888888">Laurent<br></font></s=
pan></div><div><div><div><br><br><div>On Wed, Dec 5, 2012 at 5:30 AM, Neil =
Toronto <span dir=3D"ltr">&lt;<a>neil.toronto at gmail.com</a>&gt;</span> wrot=
e:<br>












<blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Could=
 what you&#39;re experiencing have anything to do with tooltips? It seems m=
y right-click menu doesn&#39;t stay up whenever there&#39;s a tooltip out. =
Which is, like, every time I want it.<span><font color=3D"#888888"><br>













<br>
Neil =E2=8A=A5</font></span><div><br>
<br>
On 12/04/2012 07:55 PM, Ray Racine wrote:<br>
</div><blockquote style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;b=
order-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"=
><div>
Yea, I didn&#39;t want to make a big deal out of it, but the up/down button=
<br>
change did not fix the issue. =C2=A0 In fact I&#39;d say no impact positive=
 or<br>
negative.<br>
<br>
It seems to happen when there is additional drawing &#39;complexity&#39; in=
<br>
co-occurrence with the pop up drawing area. =C2=A0I.e. the pop up menu is<b=
r>
drawing where arrows are drawn or error highlighting is occurring etc.<br>
Also maybe when the pop up menu area is near the &#39;edge&#39; of the Dr w=
indow<br>
and or pane area. =C2=A0But again the problem is not consistently<br>
reproducible yet happens more often then not. =C2=A0Its not a once in a blu=
e<br>
moon that thing. =C2=A0Sometimes an attempt to right click pop up =C2=A0men=
u will<br>
fail numerous times in a row then succeed for no apparent reason.<br>
<br>
On Dec 4, 2012 9:07 PM, &quot;Robby Findler&quot; &lt;<a>robby at eecs.northwe=
stern.edu</a><br></div><div>
&lt;mailto:<a>robby at eecs.<u></u>northwestern.edu</a>&gt;&gt; wrote:<br>
<br>
=C2=A0 =C2=A0 On Tue, Dec 4, 2012 at 6:11 PM, Stephen Chang &lt;<a>stchang@=
ccs.neu.edu</a><br></div><div>
=C2=A0 =C2=A0</div></blockquote></blockquote></div></div></div></div></bloc=
kquote></div></div></div></div></blockquote></div></div></div></div></block=
quote></div></div></div></div></blockquote></div></div></blockquote></div><=
/div>



</div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div></div></div></div>
<br>____________________<br>
=C2=A0 Racket Users list:<br>
=C2=A0 <a href=3D"http://lists.racket-lang.org/users" target=3D"_blank">htt=
p://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>

--001a11c2b27a217b8504dba7d46c--

Posted on the users mailing list.