unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* execute a command with euc-jp
@ 2011-05-05  0:29 masashi ito
  2011-05-05  8:31 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 8+ messages in thread
From: masashi ito @ 2011-05-05  0:29 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-05-06  8:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2011-05-06  8:10         ` Thien-Thi Nguyen

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).