emacs-helm / helm-dictionary

Helm source for looking up dictionaries
31 stars 12 forks source link

Always downcase helm-pattern #12

Closed tmalsburg closed 10 years ago

tmalsburg commented 10 years ago

(Proposed by Thierry.) I agree that it can be counter-intuitive when case matters (because it doesn't in most other search facilities). However, in some languages, e.g. German, it's very useful if you can search for upper-case letters. For example when you want to search for nouns. In German, you want to use "Test" to match the noun Test but "test" for matching things like the verb testen.

michael-heerdegen commented 10 years ago

This choice should IMHO be a available as a user option (as it is in master). If you are German, case sensitive search is probably your preferred choice, I agree.

tmalsburg commented 10 years ago

When we use grep as the back-end, it should be a user option. However, when we use candidates-file (see new topic branch), we're relying on Emacs' search facility: searches are case-insensitive unless there is an upper-case letter in the search expression. That's really flexible and gives you basically both modes of operation. Not sure if we still need the user option then.

michael-heerdegen commented 10 years ago

That's what I thought, too. The only pro of automatic downcasing is when pasting a captitalized word from the beginning of a sentence.

tmalsburg commented 10 years ago

Closing this issue for now.