xuchunyang / osx-dictionary.el

Mac OS X Dictionary.app interface for Emacs
138 stars 23 forks source link

Display results from multiple dictionaries #21

Open sati-bodhi opened 4 years ago

sati-bodhi commented 4 years ago

I have multiple dictionaries selected in Dictionary.app but osx-dictionary only displays search result from one of them.

圖片

圖片

Is there a way to fix this?

xuchunyang commented 4 years ago

This package only can display a result from one dictionary (and you can't choose which one).

Is there a way to fix this?

I don't believe so, at least I have no idea how to fix.

sati-bodhi commented 4 years ago

https://github.com/xuchunyang/osx-dictionary.el#news

Seems like you used to have a function that does this. Wonder if Mojave or Catalina supports this.

sati-bodhi commented 4 years ago

OSX actually provides CtrlCmdd to lookup dictionary.app words in a pop up window. Somehow, this kbd doesn't work on Emacs.

xuchunyang commented 4 years ago

CtrlCmdd

I usually use 3 finger tap for this

doesn't work on Emacs

The official GNU Emacs doesn't support this, but Mitsuharu Yamamoto's Emacs Mac Port does support.

Screen Shot 2020-02-21 at 13 30 44

yitang commented 10 months ago

this is due to osx-dictionary-cli command shows only the results of the first dict.

below screenshot shows the setting in Dictionary.app. if I moved the "wikipedia" on top of "Oxford dictionary", I will get the results from Wikipedia. there seems no way of getting results from multiple dictionaries without installing additional tools.

image