Daily links posting, not for me.

I disabled the daily links posting feature of del.icio.us. I tried it, and I don’t like it. Posting links automatically on my blog doesn’t feel right to me. If I want to share a link, I will do it myself.

· RSS feed for comments on this post

2 Comments

  1. Bluedot said,

    February 25, 2007 @ 1:35 am

    Here are some very useful key mappings that I have used for the last 15 years for writing code. Why press 3 keys at once to do what a function key can do. There may be issues on a Mac. Just go to preferences, keyboard, and disable the function keys. If these keys do not work for you (may not work as advertised on a Sun Solaris/Sparc based computer keyboard or other funky keyboard) then use M-x describe key to find out what your function keys are mapped to and change the contents of [].

    
    (global-set-key [f1 ] 'indent-region           ) ;; search-forward-regexp
    ;; one key undo
    (global-set-key [f2 ] 'undo                    )
    
    ;; macros save lots of time
    (global-set-key [f3 ] 'call-last-kbd-macro     )
    (global-set-key [f4 ] 'start-kbd-macro         )
    (global-set-key [f5 ] 'end-kbd-macro           )
    
    ;; if you program rectangle operations save time
    ;; use C-space to set the mark
    ;; then move the cursor to define th rectangle.
    ;; takes a little experience to get this work right but after that
    ;; you can't live without rectangles
    (global-set-key [f6 ] 'clear-rectangle         )
    (global-set-key [f7 ] 'delete-extract-rectangle)
    (global-set-key [f8 ] 'kill-rectangle          )
    (global-set-key [f9 ] 'string-rectangle        )
    
    ;; fast search and replace
    (global-set-key [f10] 'query-replace-regexp    )
    (global-set-key [f11] 'yank-rectangle          )
    
    (global-set-key [f12] 'goto-line               )
    
    (global-set-key [insert] 'yank)
    (global-set-key [remove] 'kill-region)
    (global-set-key [select] 'set-mark-command)
    
    (global-set-key [kp-f1] 'beginning-of-buffer)
    (global-set-key [kp-f2] 'end-of-buffer)
    (global-set-key [kp-f3] 'delete-other-windows)
    
    (global-set-key [kp-f4] 'kill-line)
    

    Use autoload to set the major mode when programming

    
    (fmakunbound 'c-mode)
    (makunbound 'c-mode-map)
    (fmakunbound 'c++-mode)
    (makunbound 'c++-mode-map)
    (makunbound 'c-style-alist)
    (autoload 'c++-mode  "cc-mode" "C++ Editing Mode" t)
    (autoload 'c-mode    "cc-mode" "C Editing Mode" t)
    (autoload 'objc-mode "cc-mode" "Objective-C Editing Mode" t)
    (setq auto-mode-alist
          (append '(("\.C$"  . c++-mode)
                        ("\.cc$" . c++-mode)
                        ("\.c$"  . c++-mode)
                        ("\.h$"  . c++-mode)
                        ("\.m$"  . objc-mode)
                        ("\.pl$"  . perl-mode)
                        ) auto-mode-alist))
    
  2. Alexandre said,

    February 25, 2007 @ 4:45 pm

    Thanks for the tip, Bluedot. However, I usually prefer using the normal key bindings over the F-keys, simply because I don’t have to move far away from the home row. If you are interested, you could peek into my Emacs keyboard bindings, here.