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

Re: Emacs, Mozilla cut+paste



Hallo,

Ich habe alles mit set-language-env eingerichtet, und alles
funktioniert  wunderbar...

> env
LANG_de_DE@euro

.emacs:
; ---- language-env DON'T MODIFY THIS LINE!
; $Id: emacs,v 1.4 1998/02/20 18:35:26 leutloff Exp leutloff $

;;--- support european keys ------------------------------- 
(set-input-mode  (car (current-input-mode))
		 (nth 1 (current-input-mode))
		 0)
; `standard-display-european' is semi-obsolete and conflicts
; with multibyte characters. `set-language-environment' is
; a substitute.
; (standard-display-european t)

; don't use non-ascii (i.e. german umlauts) as word delimiter
(if (>= emacs-major-version 21)
    (progn
      (set-language-environment "Latin-9")
      (setq selection-coding-system 'compound-text-with-extensions)
    )
    (if (>= emacs-major-version 20)
        (set-language-environment "Latin-1")
        (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)
; entries needed by XEmacs:
(global-set-key [(control home)] 'beginning-of-buffer)
(global-set-key [(control end)] 'end-of-buffer)
;;--- Names for calendar command -------------------------
(defvar calendar-day-name-array
  ["Son" "Mon" "Die" "Mit" "Don" "Fre" "Sam"])
(defvar calendar-month-name-array
  ["Januar" "Februar" "März" "April" "Mai" "Juni" 
   "Juli" "August" "September" "Oktober" "November" "Dezember"])
; ---- language-env end DON'T MODIFY THIS LINE!

.Xresources
! ---- language-env DON'T MODIFY THIS LINE!
! ISO-8859-15 (Latin-9) fonts for XTerm
XTerm*Font: -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso8859-15
XTerm*Font2: -misc-fixed-medium-r-normal--8-*-*-*-*-*-iso8859-15
XTerm*Font3: -misc-fixed-medium-r-normal--10-*-*-*-*-*-iso8859-15
XTerm*Font4: -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-15
XTerm*Font5: -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso8859-15
XTerm*Font6: -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso8859-15
! ISO-8859-15 (Latin-9) fonts for Rxvt
Rxvt*font: -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-15
Rxvt*font2: -misc-fixed-medium-r-normal--8-*-*-*-*-*-iso8859-15
Rxvt*font3: -misc-fixed-medium-r-normal--10-*-*-*-*-*-iso8859-15
Rxvt*font4: -misc-fixed-medium-r-normal--13-*-*-*-*-*-iso8859-15
Rxvt*font5: -misc-fixed-medium-r-normal--18-*-*-*-*-*-iso8859-15
Rxvt*font6: -misc-fixed-medium-r-normal--20-*-*-*-*-*-iso8859-15
! ISO-8859-15 fonts for many softwares
*font:-*-*-medium-r-normal--14-*-*-*-c-*-iso8859-15
! ---- language-env end DON'T MODIFY THIS LINE!

Euro support in console, xterm, emacs, Mozilla. Cut&Paste funktioniert
einwandfrei, sogar das EUR-Sybol (€) wird korrekt übertragen.

Ich kann nur empfehlen, durchgängig iso-8859-15 (latin9) zu nehmen.

Christoph

-- 
Das wäre dann so eine Art Negativ-Steuer.
		-- Thomas Uwe Grüttmüller



Reply to: