Re: The hyperspec keyboard shortcut started launching my email client instead of my browser?

Pascal Bourguignon <[email protected]> Sun, 22 Mar 2020 18:21:29 +0100
Newsgroups gmane.lisp.slime.devel
Message-ID <[email protected]>
--Apple-Mail=_FF9EAFC0-0AC4-451E-9A19-3CF349373220
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On 22 Mar 2020, at 18:19, Jeffrey Cunningham =
<[email protected]> wrote:
>=20
> On 3/22/20 9:01 AM, Pascal Bourguignon wrote:
>>=20
>>=20
>>> On 22 Mar 2020, at 16:01, Jeffrey Cunningham =
<[email protected] <mailto:[email protected]>> wrote:
>>>=20
>>> For years I've been using Slime's keyboard shortcut to bring up my =
browser on a local copy of the hyperspec using the standard Ctrl-c d h =
shortcut. Now its started launching a new email window in Thunderbird, =
my email client, instead.
>>>=20
>>> I'm running Ubuntu 18.04, Emacs 25.2.2, and Slime 2.24.
>>>=20
>>> Anyone run into this? Any idea how to fix it?
>>=20
>>=20
>> You need to identify what emacs package you loaded that overrides the =
C-c d h keybinding.
>> Note that slime-documentation-lookup is normally bound to C-c C-d h=20=

>> So C-c d h must have been put there by yourself in your ~/.emacs=20
>> Try to do that at the end of your ~/.emacs, to get a chanc to =
override the key binding yourself.
>>=20
>> --=20
>> __Pascal J. Bourguignon__
>>=20
> Thanks for the reply.  I didn't spell that key combination right. I =
meant C-c C-d h. I haven't changed the default documentation key =
bindings. Nor have I modified .emacs (~/.emacs.d/init.el for my system) =
in ages.  There is no binding over-ride for C-c C-d h in it that I can =
see.
>=20
> I suppose that means some package I've been using took over that key =
combination in an automatic package update. So presumably I could =
restore it by manually re-assigning it at the end of the file? Something =
like=20
>=20
> (global-set-key (kbd "C-c C-d h" 'hyperspec)
>=20
> which doesn't work.

Because the package in question probably overrides it locally.  Type C-h =
m in the buffer where you have the wrong binding to see what binding you =
have and where it comes from.
Also, C-h k C-c C-d h will tell you what command is bound. Find where =
this command is defined and what loads it.

--=20
__Pascal J. Bourguignon__





--Apple-Mail=_FF9EAFC0-0AC4-451E-9A19-3CF349373220
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 22 Mar 2020, at 18:19, Jeffrey Cunningham &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D"">
 =20
    <meta http-equiv=3D"Content-Type" content=3D"text/html;
      charset=3Dwindows-1252" class=3D"">
 =20
  <div class=3D"">
    <div class=3D"moz-cite-prefix">On 3/22/20 9:01 AM, Pascal =
Bourguignon
      wrote:<br class=3D"">
    </div>
    <blockquote type=3D"cite" =
cite=3D"mid:[email protected]" =
class=3D"">
      <meta http-equiv=3D"Content-Type" content=3D"text/html;
        charset=3Dwindows-1252" class=3D"">
      <br class=3D"">
      <div class=3D""><br class=3D"">
        <blockquote type=3D"cite" class=3D"">
          <div class=3D"">On 22 Mar 2020, at 16:01, Jeffrey Cunningham
            &lt;<a href=3D"mailto:[email protected]" class=3D"" =
moz-do-not-send=3D"true">[email protected]</a>&gt;
            wrote:</div>
          <br class=3D"Apple-interchange-newline">
          <div class=3D"">
            <div class=3D"">For years I've been using Slime's keyboard
              shortcut to bring up my browser on a local copy of the
              hyperspec using the standard Ctrl-c d h shortcut. Now its
              started launching a new email window in Thunderbird, my
              email client, instead.<br class=3D"">
              <br class=3D"">
              I'm running Ubuntu 18.04, Emacs 25.2.2, and Slime 2.24.<br =
class=3D"">
              <br class=3D"">
              Anyone run into this? Any idea how to fix it?<br class=3D"">=

            </div>
          </div>
        </blockquote>
      </div>
      <div class=3D""><br class=3D"">
      </div>
      You need to identify what emacs package you loaded that overrides
      the C-c d h keybinding.
      <div class=3D"">Note that&nbsp;<span style=3D"caret-color: rgb(0, =
0, 0);" class=3D"">slime-documentation-lookup is
          normally bound to&nbsp;</span>C-c C-d h&nbsp;</div>
      <div class=3D"">So C-c d h must have been put there by yourself in
        your ~/.emacs&nbsp;</div>
      <div class=3D"">Try to do that at the end of your ~/.emacs, to get =
a
        chanc to override the key binding yourself.</div>
      <div class=3D""><br class=3D"">
      </div>
      <div class=3D"">
        <div class=3D"">
          <div style=3D"letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">
            <div style=3D"letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">
              <div style=3D"letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">--&nbsp;<br class=3D"">
                __Pascal J. Bourguignon__</div>
              <div style=3D"letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><br class=3D"">
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote><p class=3D"">Thanks for the reply.&nbsp; I didn't =
spell that key combination right.
      I meant C-c C-d h. I haven't changed the default documentation key
      bindings. Nor have I modified .emacs (~/.emacs.d/init.el for my
      system) in ages.&nbsp; There is no binding over-ride for C-c C-d h =
in
      it that I can see.</p><p class=3D"">I suppose that means some =
package I've been using took over that
      key combination in an automatic package update. So presumably I
      could restore it by manually re-assigning it at the end of the
      file? Something like <br class=3D"">
    </p><p class=3D"">(global-set-key (kbd "C-c C-d h" 'hyperspec)<br =
class=3D"">
    </p><p class=3D"">which doesn't work.<br class=3D"">
    </p></div></div></blockquote><br class=3D""></div><div>Because the =
package in question probably overrides it locally. &nbsp;Type C-h m in =
the buffer where you have the wrong binding to see what binding you have =
and where it comes from.</div><div>Also, C-h k C-c C-d h will tell you =
what command is bound. Find where this command is defined and what loads =
it.</div><div><br class=3D""></div><div class=3D"">
<div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">--&nbsp;<br class=3D"">__Pascal J. Bourguignon__</div><div =
style=3D"color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: =
break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D""><br class=3D""><br class=3D""><br class=3D""></div></div></div>=

</div>
<br class=3D""></body></html>=

--Apple-Mail=_FF9EAFC0-0AC4-451E-9A19-3CF349373220--