From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: masashi ito Newsgroups: gmane.emacs.help Subject: execute a command with euc-jp Date: Wed, 4 May 2011 20:29:34 -0400 Message-ID: <20110505002934.GB18433@masashi-netbook> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1304574791 15341 80.91.229.12 (5 May 2011 05:53:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 May 2011 05:53:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 05 07:53:08 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHrUp-0000Es-7n for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2011 07:53:07 +0200 Original-Received: from localhost ([::1]:45819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHrUo-0005Tk-Rs for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2011 01:53:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHmRm-0001VJ-QC for help-gnu-emacs@gnu.org; Wed, 04 May 2011 20:29:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHmRl-00071i-Nc for help-gnu-emacs@gnu.org; Wed, 04 May 2011 20:29:38 -0400 Original-Received: from mailout-us.gmx.com ([74.208.5.67]:34960) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QHmRl-00071T-HQ for help-gnu-emacs@gnu.org; Wed, 04 May 2011 20:29:37 -0400 Original-Received: (qmail invoked by alias); 05 May 2011 00:29:35 -0000 Original-Received: from pool-71-172-177-31.nwrknj.east.verizon.net (EHLO localhost) [71.172.177.31] by mail.gmx.com (mp-us003) with SMTP; 04 May 2011 20:29:35 -0400 X-Authenticated: #115825669 X-Provags-ID: V01U2FsdGVkX18qugIWWvUqdrmHs58B8eQ5HytEWfG7o2EPEas7Am XFSJRmi+qOgt+L Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.208.5.67 X-Mailman-Approved-At: Thu, 05 May 2011 01:52:30 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80914 Archived-At: 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