help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard shortcuts for customised html-helper menu


From: Garry Heaton
Subject: Keyboard shortcuts for customised html-helper menu
Date: Tue, 20 May 2003 22:08:16 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425

I've created a new menu in my html-helper-mode.el with:

(mapcar 'html-helper-add-type-to-list
 '((frame   . (html-helper-frame-map "\C-c\C-z"
                         html-helper-frame-menu
                         "Frames"))
....
))

and:

   (frame  "s"       "<frameset>"       "Frameset"      
            ("<frameset rows|cols=\"\">\n\n</frameset>\n"))
   (frame  "n"       "<noframes>"       "Noframes"      
            ("<noframes>\n\n</noframes>"))
   (frame  "f"       "<frame"           "Frame"         
            ("  <frame frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"
name=\"\" noresize=\"noresize\" \n         scrolling=\"yes|no|auto\" />\n"))
   (frame  "i"       "<iframe>"         "Inline Frame"          
            ("<iframe align=\"\" frameborder=\"0\" width=\"\" height=\"\"
marginheight=\"0\" marginwidth=\"0\" \n  name=\"\" scrolling=\"yes|no|auto\"
src=\"\">\n</iframe>\n"))


The "Frames" menu appears with all the items but the keyboard shortcuts
aren't listed and don't work. I'm not a lisp programmer so what else do I
need to do?

Garry Heaton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]