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

Re: emacsen displaying latin1 and del/backspace keys



Stig Sandbeck Mathisen <ssm@online.no> writes:

> When you use the "jump to next word" (and other functions that needs
> to know what's part of a word and what isn't), Emacs will say that the
> word is parted on (at least) the norwegian characters æ, ø and å.
> 
> What I use to avoid this is:
> 
> (load-library "iso-syntax")
> (require 'disp-table)

okay, it looks now like:

<------------
;-*-emacs-lisp-*-
;;/etc/emacs/site-start.d/50user-de.el
;
; $Id: emacs,v 1.4 1998/02/20 18:35:26 leutloff Exp $

;;--- support european keys ------------------------------- 
(set-input-mode  (car (current-input-mode))
		 (nth 1 (current-input-mode))
		 0)
(standard-display-european t)

; don't use non-ascii (i.e. german umlauts) as word delimiter
(require 'iso-syntax)
(require 'disp-table)

;;--- redefine some keys ----------------------------------
;(global-set-key [backspace] 'backward-delete-char-untabify)
; the following line should not break delete char during incremental
; search - has this other disadvantages?
(global-set-key "\177" 'backward-delete-char-untabify)
(global-set-key [delete] 'delete-char)
(global-set-key [home] 'beginning-of-line)
(global-set-key [end] 'end-of-line)
(global-set-key [C-home] 'beginning-of-buffer)
(global-set-key [C-end] 'end-of-buffer)
<-------------

is it okay to use \177 instead of backspace!?

Thanks
     Christian

-- 
Christian Leutloff, Aachen, Germany         leutloff@sundancer.oche.de  
      http://www.oche.de/~leutloff/         leutloff@debian.org      

            Debian GNU/Linux - http://www.de.debian.org/

Attachment: pgp6F1BT6BjXU.pgp
Description: PGP signature


Reply to: