RE: .emacs file

"HIRSCHHORN, DAVID (AMDOCS)" <[email protected]>
Newsgroups gmane.emacs.xemacs.general
Message-ID <[email protected]>
Adrian,

I tried correcting the key definition last week. I get the following error
message when I hit control-f1:

Symbol's function definition is void: Bookmark-set

Also, when I tried the C-x r m , I get the error message C-x r m not
defined.
Same for C-x r l. So I think our version of XEmacs 21.1 doesn't have
bookmarks. I don't think there is anything to do about it, besides
rebuilding the program. (Beyond my authorization.)

Thanks for the help.

David Hirschhorn
(314) 242-7981


-----Original Message-----
From: Adrian Aichner [mailto:[email protected]]
Sent: Tuesday, November 04, 2003 5:50 PM
To: HIRSCHHORN, DAVID (AMDOCS)
Cc: [email protected]
Subject: Re: .emacs file


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