camelCase.el emacswiki にはキャメルケースを解除する機能があります。しかし、うまくいかないようです。その部分を camelCase.el 自体に追加しました。しかし、それを機能させることはできません。何が欠けていますか?他の誰かが同じ問題を抱えていましたか?
EDIT:最後の2つの機能を追加しました。そのうちの1つは機能しない機能です
(defun camelCase-downcase-word (count)
"Make word starting at point lowercase, leaving point after word."
(interactive "*p")
(let ((start (point)))
(camelCase-forward-word count)
(downcase-region start (point))))
(defun un-camelcase-string (s &optional sep start)
"Convert CamelCase string S to lower case with word separator SEP.
Default for SEP is a hyphen \"-\".
If third argument START is non-nil, convert words after that
index in STRING."
(let ((case-fold-search nil))
(while (string-match "[A-Z]" s (or start 1))
(setq s (replace-match (concat (or sep "_")
(downcase (match-string 0 s)))
t nil s)))
(downcase s)))
(provide 'camelCase)