0

While I was using the "normal" X11 emacs under Snow Leopard, my profile.el file had a line:

    (global-set-key [f14] 'my_function)

However this binding does not work with carbon-emacs. What is strange is that if I execute the command "M-x global-set-key", and give it the right arguments (pressing the F14 key), it works!

Any hints?

-- Tsf

Tsf
  • 1,339
  • 5
  • 17
  • 29

2 Answers2

1

My line

   (global-set-key [f14] 'my_function)

was in an auxiliary profile.el file loaded by the command

   (load "profile")

in my .emacs file. When I moved it to the .emacs file itself, it worked! As a matter of fact the same happened with another definition I was having troubles with:

   (setq visible-bell t)

used to disable unpleasant sounds.

-- Tsf

Tsf
  • 1,339
  • 5
  • 17
  • 29
0

I'm using the normal gnu emacs for mac, probably from one of the vanilla builds..., and [f14] works fine for me... why are you using a non-standard emacs?

Granted, i'm using emacs 22, so maybe things changed, but I doubt it...

Brian Postow
  • 11,709
  • 17
  • 81
  • 125