Re: .emacs file

Adrian Aichner <[email protected]>
Newsgroups gmane.emacs.xemacs.general
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "DAVID" == DAVID HIRSCHHORN <HIRSCHHORN> writes:

    DAVID> Hi Adrian,

    DAVID> I am newly using XEmacs version 21.1 for cobol
    DAVID> programming. I don't think we have any of the add-ons for
    DAVID> cobol or matching parenthesis installed in the public
    DAVID> executable, and I don't have room for my own executable.

    DAVID> Do you have a good .emacs file I could copy? The one I have
    DAVID> from other programmers in my company appears to be for
    DAVID> Emacs, not XEmacs. (for example, bookmarks are different -
    DAVID> (global-set-key [C-f1] 'bookmark-set) fails.)

Hi David,

please don't use individual developers for usage help.  Please address
usage questions to the newsgroup comp.emacs.xemacs or
[email protected] so that others benefit as well.

When I press
C-x C-e (eval-last-sexp) at the end of following line:
(global-set-key [C-f1] 'bookmark-set)
I get:

Invalid (FSF Emacs) key format (see doc of define-key): C-f1

Isn't this enough to solve your problem?

Don't read beyond this line before looking up C-h f define-key :-)

(global-set-key [(control f1)] 'bookmark-set)
works for me.

Best regards,

Adrian

    DAVID> Thanks for any help.

    DAVID> David Hirschhorn
    DAVID> (314) 242-7981

-- 
Adrian Aichner
 mailto:[email protected]
 http://www.xemacs.org/
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.