Changeset 6570


Ignore:
Timestamp:
May 20, 2007, 12:43:47 AM (18 years ago)
Author:
Gary Byers
Message:

Comment out some stuff that's unlikely to be supported.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ide-1.0/ccl/hemlock/src/bindings.lisp

    r2098 r6570  
    1 ;;; -*- Log: hemlock.log; Package: Hemlock -*-
     1;; -*- Log: hemlock.log; Package: Hemlock -*-
    22;;;
    33;;; **********************************************************************
     
    7272
    7373
     74#||
    7475(bind-key "Here to Top of Window" #k"leftdown")
    7576(bind-key "Do Nothing" #k"leftup")
     
    8283(bind-key "Do Nothing" #k"super-rightup")
    8384(bind-key "Insert Kill Buffer" #k"super-rightdown")
    84 
     85||#
    8586
    8687(bind-key "Insert File" #k"control-x control-r")
     
    9697(bind-key "List Buffers" #k"control-x control-b")
    9798(bind-key "Buffer Not Modified" #k"meta-~")
    98 (bind-key "Check Buffer Modified" #k"control-x ~")
     99;(bind-key "Check Buffer Modified" #k"control-x ~")
    99100(bind-key "Select Buffer" #k"control-x b")
    100101;(bind-key "Select Previous Buffer" #k"control-meta-l")
     
    104105;(bind-key "Select Random Typeout Buffer" #k"hyper-t")
    105106
    106 (bind-key "Next Window" #k"control-x n")
    107 (bind-key "Next Window" #k"control-x o")
    108 (bind-key "Previous Window" #k"control-x p")
     107;(bind-key "Next Window" #k"control-x n")
     108;(bind-key "Next Window" #k"control-x o")
     109;(bind-key "Previous Window" #k"control-x p")
    109110(bind-key "Split Window" #k"control-x 2")
    110111;(bind-key "New Window" #k"control-x control-n")
    111112;(bind-key "Delete Window" #k"control-x d")
    112 (bind-key "Delete Next Window" #k"control-x 1")
     113;(bind-key "Delete Next Window" #k"control-x 1")
    113114;(bind-key "Line to Top of Window" #k"meta-!")
    114115;(bind-key "Line to Center of Window" #k"meta-#")
     
    455456(bind-key "Quote Tab" #k"meta-tab")
    456457
     458#||
    457459(bind-key "Directory" #k"control-x control-\d")
    458460(bind-key "Verbose Directory" #k"control-x control-D")
     461||#
    459462
    460463(bind-key "Activate Region" #k"control-x control-@")
     
    503506
    504507;;;; Spell bindings.
    505 #+spell-mode
    506 (progn
    507 (bind-key "Check Word Spelling" #k"meta-$")
    508 (bind-key "Add Word to Spelling Dictionary" #k"control-x $")
    509 
    510 (dolist (info (command-bindings (getstring "Self Insert" *command-names*)))
    511   (let* ((key (car info))
    512          (key-event (svref key 0))
    513          (character (key-event-char key-event)))
    514     (unless (or (alpha-char-p character) (eq key-event #k"'"))
    515       (bind-key "Auto Check Word Spelling" key :mode "Spell"))))
    516 (bind-key "Auto Check Word Spelling" #k"return" :mode "Spell")
    517 (bind-key "Auto Check Word Spelling" #k"tab" :mode "Spell")
    518 (bind-key "Auto Check Word Spelling" #k"linefeed" :mode "Spell")
    519 (bind-key "Correct Last Misspelled Word" #k"meta-:")
    520 (bind-key "Undo Last Spelling Correction" #k"control-x a")
    521 )
     508#||
     509(progn
     510  (bind-key "Check Word Spelling" #k"meta-$")
     511  (bind-key "Add Word to Spelling Dictionary" #k"control-x $")
     512
     513  (dolist (info (command-bindings (getstring "Self Insert" *command-names*)))
     514    (let* ((key (car info))
     515           (key-event (svref key 0))
     516           (character (key-event-char key-event)))
     517      (unless (or (alpha-char-p character) (eq key-event #k"'"))
     518        (bind-key "Auto Check Word Spelling" key :mode "Spell"))))
     519  (bind-key "Auto Check Word Spelling" #k"return" :mode "Spell")
     520  (bind-key "Auto Check Word Spelling" #k"tab" :mode "Spell")
     521  (bind-key "Auto Check Word Spelling" #k"linefeed" :mode "Spell")
     522  (bind-key "Correct Last Misspelled Word" #k"meta-:")
     523  (bind-key "Undo Last Spelling Correction" #k"control-x a")
     524  )
    522525
    523526
    524527;;;; Overwrite Mode.
    525 
     528||#
     529
     530#||
    526531(bind-key "Overwrite Delete Previous Character" #k"delete" :mode "Overwrite")
    527532(bind-key "Overwrite Delete Previous Character" #k"backspace" :mode "Overwrite")
     
    534539
    535540(bind-key "Self Overwrite" #k"space" :mode "Overwrite")
    536 
     541||#
    537542
    538543
     
    804809;;;; Bufed.
    805810
     811#||
    806812(bind-key "Bufed" #k"control-x control-meta-b")
    807813(bind-key "Bufed Delete" #k"d" :mode "Bufed")
     
    818824
    819825(bind-key "Bufed Help" #k"?" :mode "Bufed")
    820 
     826|#
    821827
    822828
    823829
    824830;;;; Dired.
    825 #+dired-mode
     831#||
    826832(progn
    827833(bind-key "Dired" #k"control-x control-meta-d")
     
    852858(bind-key "Previous Line" #k"p" :mode "Dired")
    853859)
     860||#
    854861
    855862
    856863;;;; View Mode.
    857 #+view-mode
     864#||
    858865(progn
    859866(bind-key "View Scroll Down" #k"space" :mode "View")
     
    868875(bind-key "End of Buffer" #k"\>" :mode "View")
    869876)
     877||#
    870878
    871879
    872880;;;; Lisp Library.
    873881
     882#||
    874883(bind-key "Describe Pointer Library Entry" #k"leftdown" :mode "Lisp-Lib")
    875884(bind-key "Load Pointer Library Entry" #k"rightdown" :mode "Lisp-Lib")
     
    878887(bind-key "Exit Lisp Library" #k"q" :mode "Lisp-Lib")
    879888(bind-key "Lisp Library Help" #k"?" :mode "Lisp-Lib")
     889||#
    880890
    881891
Note: See TracChangeset for help on using the changeset viewer.