all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* global-set-key doesnot seem to work
@ 2005-08-09  0:01 Shashank Khanvilkar
  2005-08-09  0:16 ` Lennart Borgman
  2005-08-09  0:27 ` Pascal Bourguignon
  0 siblings, 2 replies; 3+ messages in thread
From: Shashank Khanvilkar @ 2005-08-09  0:01 UTC (permalink / raw)


Hi,
I have defined the following in my .emacs file
$>cat .emacs
--Snip--
(global-set-key [delete] 'delete-char)
(global-set-key [kp-delete] 'delete-char)global-set-key [f1] 'dired)
(global-set-key [f2] 'dired-omit-toggle)
(global-set-key [f3] 'shell)
(global-set-key [f4] 'find-file)
(global-set-key [f5] 'compile)
(global-set-key [f6] 'visit-tags-table)
(global-set-key [f8] 'add-change-log-entry-other-window)
(global-set-key [f12] 'make-frame)
--Snip--

However none of these mapped keys work. Am i forgetting to do something?
All help appreciated.
Also where can i see error logs that emacs might spit out.
Shank

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

* Re: global-set-key doesnot seem to work
  2005-08-09  0:01 global-set-key doesnot seem to work Shashank Khanvilkar
@ 2005-08-09  0:16 ` Lennart Borgman
  2005-08-09  0:27 ` Pascal Bourguignon
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2005-08-09  0:16 UTC (permalink / raw)
  Cc: help-gnu-emacs

Shashank Khanvilkar wrote:

> Hi,
> I have defined the following in my .emacs file
> $>cat .emacs
> --Snip--
> (global-set-key [delete] 'delete-char)
> (global-set-key [kp-delete] 'delete-char)global-set-key [f1] 'dired)
> (global-set-key [f2] 'dired-omit-toggle)
> (global-set-key [f3] 'shell)
> (global-set-key [f4] 'find-file)
> (global-set-key [f5] 'compile)
> (global-set-key [f6] 'visit-tags-table)
> (global-set-key [f8] 'add-change-log-entry-other-window)
> (global-set-key [f12] 'make-frame)
> --Snip--
>
> However none of these mapped keys work. Am i forgetting to do something?
> All help appreciated.
> Also where can i see error logs that emacs might spit out.

Try

  C-x C-f ~/.emacs RET

in Emacs to open your .emacs. Is it the file above that is opened?

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

* Re: global-set-key doesnot seem to work
  2005-08-09  0:01 global-set-key doesnot seem to work Shashank Khanvilkar
  2005-08-09  0:16 ` Lennart Borgman
@ 2005-08-09  0:27 ` Pascal Bourguignon
  1 sibling, 0 replies; 3+ messages in thread
From: Pascal Bourguignon @ 2005-08-09  0:27 UTC (permalink / raw)


Shashank Khanvilkar <shashank@mia.ece.uic.edu> writes:

> Hi,
> I have defined the following in my .emacs file
> $>cat .emacs
> --Snip--
> (global-set-key [delete] 'delete-char)
> (global-set-key [kp-delete] 'delete-char)global-set-key [f1] 'dired)
There is an error here: -------------------^

> (global-set-key [f2] 'dired-omit-toggle)
> (global-set-key [f3] 'shell)
> (global-set-key [f4] 'find-file)
> (global-set-key [f5] 'compile)
> (global-set-key [f6] 'visit-tags-table)
> (global-set-key [f8] 'add-change-log-entry-other-window)
> (global-set-key [f12] 'make-frame)
> --Snip--

To debug errors in ~/.emacs, launch emacs with: emacs --debug-init
> However none of these mapped keys work. Am i forgetting to do something?
> All help appreciated.

Check the key binding, type: C-h k DEL  then: C-h k F12

> Also where can i see error logs that emacs might spit out.

In the buffer: *Message*

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Wanna go outside.
Oh, no! Help! I got outside!
Let me back inside!

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

end of thread, other threads:[~2005-08-09  0:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-09  0:01 global-set-key doesnot seem to work Shashank Khanvilkar
2005-08-09  0:16 ` Lennart Borgman
2005-08-09  0:27 ` Pascal Bourguignon

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.