stanaka / dash-at-point

a emacs lisp for searching the word at point with Dash
388 stars 32 forks source link

dash-at-point is triggering on almost every keypress in shell mode #5

Open jmay opened 11 years ago

jmay commented 11 years ago

dash-at-point is very useful for pulling up documentation in other modes, thanks much for this package.

When I open a buffer in shell-script mode (which is not included in dash-at-point-mode-alist) then the Dash viewer is being triggered on almost every keypress in that buffer. I haven't narrowed down "almost every keypress" yet: definitely on every newline, sometimes on other keys.

Dash seems to be getting triggered with "-n" as the search string.

But ... if the file being viewed has a hash-bang line ("#!/bin/bash") at the top, then dash is not triggered.

This is mystifying. I'm coming back to emacs after a long absence, not sure how to debug this further.