From: masashi ito <ma345to@gmx.com>
To: help-gnu-emacs@gnu.org
Subject: execute a command with euc-jp
Date: Wed, 4 May 2011 20:29:34 -0400 [thread overview]
Message-ID: <20110505002934.GB18433@masashi-netbook> (raw)
Hello to everyone!
I have just joined the list, but been using emacs for about 10 years. Today, I
would like to ask you for help with lisp functions.
I have tried to define a function (my first experience) to execute another
function (howm-menu) with a specified encoding (euc-jp).
What I have ever tried is:
(defun myhowm-menu-eucjp ()
"to show howm menu with eucjp"
(interactive)
(universal-coding-system-argument 'euc-jp)
(howm-menu)
)
But this (M-x myhowm-menu-eucjp) prompts me to enter a "command to execute
with euc-jp," but does not initiate the command, howm-menu. What should I do
to run the command, howm-menu, with the euc-jp encoding automatically without
prompting me to enter "howm-menu."
Thank you in advance,
Masashi Ito
next reply other threads:[~2011-05-05 0:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 0:29 masashi ito [this message]
2011-05-05 8:31 ` execute a command with euc-jp 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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110505002934.GB18433@masashi-netbook \
--to=ma345to@gmx.com \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.