unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* loading emacs macros from file
@ 2004-10-02  7:28 Daniel L Elliott
  2004-10-02 12:21 ` J. David Boyd
  2004-10-02 13:30 ` Johan Bockgård
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel L Elliott @ 2004-10-02  7:28 UTC (permalink / raw)


Hello,

I am trying to load the following file (~/.emacs_files/macros.el) which
contains two macros in my .emacs file:

;;macro created to insert reuse eval comments.  designed for figuring out what is happening in a big program.
(fset 'my-insert-reuse-comment
   "/\261\260\260*\C-i\C-mdan:\C-m\261\260\260*/\C-i\C-m\C-i\C-[OA\C-[OA\C-e\C-m")
;;macro created to insert skeleton for a class description.  designed to be placed at the top of the header file.
(fset 'my-cpp-class-desc
   "\C-m\C-m\C-[OA\C-[OA/\C-[1\C-[0\C-[0*\C-m**\C-m** Class\C-m**\C-m**
   Se\C-?\C-?Dex\C-?scription:\C-m**\C-m** TO \C-?\C-?o
   do:\C-m**\C-m\C-[1\C-[0\C-[0*/")

using the following:
(setq load-path (append load-path (list "~<myUserName>/.emacs_files")))
;;some junk I wrote
(load "utilities")
;;my macros
(load "macros")

However, when running M-x <either macro name>, I get 'no match'.  Why is this?  Am I fundamentally doing something wrong here?

Thank you,

dan elliott

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

end of thread, other threads:[~2004-10-02 15:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-02  7:28 loading emacs macros from file Daniel L Elliott
2004-10-02 12:21 ` J. David Boyd
2004-10-02 13:30 ` Johan Bockgård
2004-10-02 15:20   ` Daniel L Elliott

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