unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: masashi ito <ma345to@gmx.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: execute a command with euc-jp
Date: Fri, 06 May 2011 02:37:52 +0200	[thread overview]
Message-ID: <87pqnwr7dr.fsf@ambire.localdomain> (raw)
In-Reply-To: <20110505220110.GA22712@masashi-netbook> (masashi ito's message of "Thu, 5 May 2011 18:01:10 -0400")

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



  reply	other threads:[~2011-05-06  0:37 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 [this message]
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

  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=87pqnwr7dr.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ma345to@gmx.com \
    /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).