From: masashi ito <ma345to@gmx.com>
To: Thien-Thi Nguyen <ttn@gnuvola.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: execute a command with euc-jp
Date: Thu, 5 May 2011 23:50:22 -0400 [thread overview]
Message-ID: <20110506035022.GA3944@masashi-netbook> (raw)
In-Reply-To: <87pqnwr7dr.fsf@ambire.localdomain>
Dear Thien-Thi Nguyen,
Thank you very much again for your kind, thorough instruction. And I apologize
for my mistake. As you said, I didn't evaluate the newly defined function
properly. I did C-x, C-e, which I found somewhere on the Internet. When I did
C-M-x, everything worked like a charm! I appreciate your help very much!
Sincerely yours,
Masashi
On Fri, May 06, 2011 at 02:37:52AM +0200, Thien-Thi Nguyen wrote:
> () 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.
next prev parent reply other threads:[~2011-05-06 3:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 0:29 execute a command with euc-jp masashi ito
2011-05-05 8:31 ` Thien-Thi Nguyen
2011-05-05 8:44 ` Bastian Ballmann
2011-05-05 8:45 ` Bastian Ballmann
2011-05-05 22:01 ` masashi ito
2011-05-06 0:37 ` Thien-Thi Nguyen
2011-05-06 3:50 ` masashi ito [this message]
2011-05-06 8:10 ` Thien-Thi Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110506035022.GA3944@masashi-netbook \
--to=ma345to@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=ttn@gnuvola.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).