Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(X)Emacs Skeletons and Auto-Insert

by stefan k (Curate)
on Oct 05, 2001 at 14:09 UTC ( [id://116951]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    (add-hook 'find-file-hooks 
             '(lambda ()
             (auto-insert)
            ))
    
  2. or download this
    (setq auto-insert-copyright (user-full-name))
    
    ...
          "# Description:\n# " _ "\n"
         )
    ))
    
  3. or download this
    (define-skeleton ska-skel-perl-sub
      "Insert a perl subroutine with arguments."
    ...
      "\"version!\""\n
      ");"\n
    )
    
  4. or download this
      (local-set-key '[(control b) (control s)]  'ska-skel-perl-sub)
      (local-set-key '[(control b) (control i)]  'ska-skel-perl-prog-id)
      (local-set-key '[(control b) (control o)]  'ska-skel-perl-options)
    
  5. or download this
    C-h f skeleton-insert
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://116951]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-12 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found