Re: How can in I define a keystroke in Xemacs

Alexander Beck-Ratzka <[email protected]>
Newsgroups gmane.emacs.xemacs.general
Organization privat
Message-ID <[email protected]>
Hi David, you wrote:

> I'm not sure if xemacs-news was the right place to post this;
> someone correct me if I'm wrong.
>
> You can put this in your init.el file:
>
> (global-set-key [(control c) (meta a)] 'append-to-file)
>
> so that you can use C-c M-a to do append-to-file.
> I tried using "meta x" as you wanted but XEmacs
> doesn't like it.  Maybe there's a restriction to binding
> keys to it, or maybe I'm not doing it correctly.
>
> Hopefully someone will reply if there's a better way than
> what I described.
>
>
> WRT your "copy-to-file" question, maybe "write-region" is
> what you're looking for?  ( "C-h a region" would have found
> that command for you.)
>

Tank, everything works fine!!!

Best wishes.

Alexander
-- 
++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++
           Dr. Alexander Beck-Ratzka
           email: [email protected]
++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.