Skip to content

[Patch] Allow jump to international characters #97

@svenssonaxel

Description

@svenssonaxel

When pressing a key with a non-english alphabetical character for a head-char, ace-jump-mode classifies this character as 'other when it should be 'alpha. Here is the fix:

modified   ace-jump-mode.el
@@ -325,11 +325,7 @@ There is four possible return value:
    ;; digit
    ((and (>= query-char #x30) (<= query-char #x39))
     'digit)
-   ((or
-     ;; capital letter
-     (and (>= query-char #x41) (<= query-char #x5A))
-     ;; lowercase letter
-     (and (>= query-char #x61) (<= query-char #x7A)))
+   ((not (= (upcase query-char) (downcase query-char)))
     'alpha)
    ((or
      ;; tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions