Code Monkey home page Code Monkey logo

tc's People

Contributors

deton avatar kozo2 avatar naota avatar syohex avatar tacumi avatar ujimushi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tc's Issues

eelll の初回起動時にフォント読みこみエラー

#8 で, 話題が出ていますが, eelll の初回起動時に以下のようなエラーが出ています.

helm-M-x: Font not available: #<font-spec nil nil fixed nil iso8859-1 medium r normal 16 nil nil nil ((:name . "--fixed-medium-r-normal--16------iso8859-1") (:user-spec . "--fixed-medium-r-normal--16------iso8859-1"))>

多分, 固定幅フォントをfaceにのせているんでしょうか? 現代的には, XFTのようなフォント指定にした方がよいかなという気がします. (Windows, Macでも同様に動くかな…)

isearchの文字入力時に起きるエラー

tc-setupを行ったEmacs上でC-sをタイプし、検索を行おうとしたところ以下のエラーにより検索が行えませんでした。
isearch-printing-char: Symbol’s function definition is void: isearch-last-command-char

環境は以下の通りです。EmacsのバージョンはM-x versionで確認しました。

macOS Catalina 10.15.7
tc-20181109.428 melpaよりインストールしたもの。
GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2020-08-12

~/.tc

;;; -*-emacs-lisp-*- This file is automatically created
(setq tcode-data-directory "/Users/<username>/tcode/")
(setq tcode-default-input-method "japanese-TUT-Code")
(setq tcode-key-layout "qwerty")
(setq tcode-use-iserach t)
(add-hook 'tcode-after-load-table-hook
          (function
           (lambda ()
             (tcode-set-key "[" 'tcode-toggle-katakana-mode))))
(setq tcode-help-draw-top-keys nil)

eelll/TUT-codeにてストローク表示が異なっている

lesson 101
R->Lのマップで「間」がkjのストロークであるはずが表示されてしまっている。
それぞれの文字に対して生成しているから仕方ないことかもしれない。

マップの一塊の下に1行隙間があるのでそこにRRとでも入れてやるとわかりやすくなりそう。

Emacs 25.1におけるobsolete variableの存在

起動時に"Warning (bytecomp): ‘isearch-word’ is an obsolete variable (as of 25.1); use ‘isearch-regexp-function’ instead."とメッセージが出力されるため,isearch-wordを置き換えた方が良いのではないか.

Support Google日本語変換API

以下のSKKのGoogle日本語変換APIを使った変換のように、辞書にないものを変換できるようになると嬉しい。

(defun skk-google-japanese-mode (arg)
  "Convert かな to 漢字 using Google API.
See Info node `(skk) Google CGI API for Japanese Input を利用したかな漢字変換'.

With a prefix argument ARG, enable Google Japanese Input if ARG
is positive, and disable it otherwise."
  ;; https://www.google.co.jp/ime/cgiapi.html
  (interactive "p")
  ;; (require 'skk-search-web)
  (require 'dash)
  ;; (message "arg is %S" arg)
  (let ((prog-search '(skk-search-web 'skk-google-cgi-api-for-japanese-input))
        (prog-entry '(lambda () (car (skk-google-suggest skk-henkan-key))))
        ;; (prog-comp '(skk-comp-google))
        (is-interactive (called-interactively-p 'any)))
    (when (and is-interactive (equal arg 1))
      (setq arg (if (member prog-search skk-search-prog-list) -1 1)))
    (if (> arg 0)
        ;; turn on
        (progn (add-to-list 'skk-search-prog-list prog-search t)
               ;; (add-to-list 'skk-completion-prog-list prog-comp t)
               (setq skk-read-from-minibuffer-function prog-entry)
               (when is-interactive
                 (message "SKK Google Japanese mode enabled")))
      ;; turn off
      (setq skk-search-prog-list
            (-remove-item prog-search skk-search-prog-list))
      ;; (setq skk-completion-prog-list
      ;;       (-remove-item prog-comp skk-completion-prog-list))
      (custom-reevaluate-setting 'skk-read-from-minibuffer-function)
      (when is-interactive
        (message "SKK Google Japanese mode disabled")))))

eelllのヘルプがずれる

現在、eelllのhelpは"‐" (HYPEN, U+2010)を用いて表示されいます。これは幅がいわゆる半角であるために、ヘルプがずれる問題が発生しています。
(おそらく、utf-8への変換時のミスでしょう)

いわゆる全角の幅で表示するためには、"―" (HORIZONTAL BAR, U+2015) または、"—" (EM DASH, U+2014)を使うのが望ましいと思います。どちらを使うかで微妙に表示が異なってきます。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.