[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: execute a command with euc-jp
From: |
Thien-Thi Nguyen |
Subject: |
Re: execute a command with euc-jp |
Date: |
Fri, 06 May 2011 02:37:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
() masashi ito <ma345to@gmx.com>
() Thu, 5 May 2011 18:01:10 -0400
As for the function definition, however, the code you suggested,
unfortunately, didn't work (M-x myhowm-menu-eucjp didn't show anything).
Perhaps you did not evaluate the new definition?
I was able to see the menu appear with
(defun ttn-howm-menu ()
(interactive)
(let ((coding-system-for-read 'euc-jp)
(coding-system-for-write 'euc-jp)
(coding-system-require-warning t))
(call-interactively 'howm-menu)))
and an installation of howm from howm-1.3.9.1.tar.gz. After copying this
definition into *scratch*, i typed ‘C-M-x’ (i.e., ‘eval-defun’) and then
‘M-x ttn-howm-menu’.
To verify that ‘eval-defun’ worked correctly, you can type into *scratch*:
(symbol-function 'ttn-howm-menu)
then type ‘C-j’ to inspect what Emacs thinks is the current definition.