unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* language settings
@ 2004-07-16 21:26 Raimund Kohl-Fuechsle
  0 siblings, 0 replies; 9+ messages in thread
From: Raimund Kohl-Fuechsle @ 2004-07-16 21:26 UTC (permalink / raw)


Hello there,

I've to admit: I am close to being driven nuts!

I am running Debian Sarge on my Notebook (an old one, btw).  I
reinstalled Sarge a couple of days ago and since that I seem no longer
to be able to let emacs come up with the german Umlaute (I am using a
US keyboard).  Up to that reinstallation I just used Ctrl \ and mule
behaved the (I think usual) way to show an "a" with two dots above
after pressing "a

Nowadays this aint gonna work no more ... and I don't know why.  I
suppose I made a stupid mistake but obviously I am too blind to see
it.  Can anybody help?

I thought it wouldn't be to bad to see my .emacs ... so here it is:

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-w

(server-start)

(add-to-list 'load-path "~/emacs-lisp")


(custom-set-variables
  ;; custom-set-variables was added by Custom -- don't edit or cut/paste
it!
  ;; Your init file should contain only one such instance.
 '(abbrev-mode t)
 '(all-christian-calendar-holidays t)
 '(auto-compression-mode t nil (jka-compr))
 '(baud-rate 19200)
 '(calendar-latitude 49.27)
 '(calendar-longitude 8.21)
 '(calendar-location-name "Mutterstadt, LU")
 '(calendar-week-start-day 1)
 '(case-fold-search t)
 '(confirm-kill-emacs (quote y-or-n-p))
 '(current-language-environment "Latin-9")
 '(default-input-method "latin-9-prefix")
 '(display-time-mode t nil (time))
 '(european-calendar-style t)
 '(global-font-lock-mode t nil (font-lock))
 '(global-hl-line-mode t nil (hl-line))
 '(highlight-completion-mode t nil (highlight-completion))
 '(input-method-verbose-flag nil)
 '(iso-ascii-convenient t)
 '(latin1-display t nil (latin1-disp))
 '(mail-abbrevs-mode t nil (mailabbrev))
 '(mail-abbrevs-only nil)
 '(mark-diary-entries-in-calendar t)
 '(midnight-mode t nil (midnight))
 '(require-final-newline t)
 '(show-paren-mode t nil (paren))
 '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify)))
 '(transient-mark-mode t)
 '(uniquify-buffer-name-style (quote forward) nil (uniquify))
 '(view-diary-entries-initially t))
(custom-set-faces
  ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
  ;; Your init file should contain only one such instance.
 )

(require 'planner)
(plan)

(autoload 'remember "remember" nil t)
(autoload 'remember-region "remember" nil t)
(autoload 'remember "remember" nil t)
(autoload 'remember-region "remember" nil t)
(define-key global-map [f8] 'remember-to-planner)
(define-key global-map [f9] 'remember-region)

(require 'remember-planner)
(setq remember-handler-functions '(remember-planner-append))
(setq remember-annotation-functions planner-annotation-functions)

(require 'planner-id)
(require 'planner-notes-index)
(require 'emacs-wiki-table)

(require 'planner-cyclic)
(setq planner-cyclic-diary-nag nil)

(require 'planner-diary)
(planner-diary-insinuate)

(require 'pg)

(add-hook 'diary-display-hook 'fancy-diary-display)
(add-hook 'list-diary-entries-hook 'sort-diary-entries t)

(add-hook 'list-diary-entries-hook 'include-other-diary-files)
(add-hook 'mark-diary-entries-hook 'mark-included-diary-files)

(require 'tex-site)

(add-hook 'LaTeX-mode-hook '(lambda () (outline-minor-mode 1)))

(setq TeX-auto-save t)    ; Enable parsing of TeX files when they are
saved.
(setq TeX-parse-self t)   ; Enable parsing of files when they are
loaded.
(setq-default TeX-master nil)

(if window-system (require
     'font-latex))

(add-hook 'text-mode-hook 'turn-on-auto-fill)

; ---- 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!


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Any help is very much appreciated :-)

thank in advance

ray

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
       [not found] <mailman.182.1090013684.1960.help-gnu-emacs@gnu.org>
@ 2004-07-16 22:04 ` Jesper Harder
  2004-07-16 23:17   ` Raimund Kohl-Fuechsle
  2004-07-17  9:27 ` Oliver Scholz
  1 sibling, 1 reply; 9+ messages in thread
From: Jesper Harder @ 2004-07-16 22:04 UTC (permalink / raw)


Raimund Kohl-Fuechsle <ray@nabuli.de> writes:

> ; `standard-display-european' is semi-obsolete and conflicts
> ; with multibyte characters. `set-language-environment' is
> ; a substitute.
> (standard-display-european t)

Remove this line.  I'm not sure if it'll solve your particular
problem, but `standard-display-european' is evil.

-- 
Jesper Harder                                <http://purl.org/harder/>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
  2004-07-16 22:04 ` language settings Jesper Harder
@ 2004-07-16 23:17   ` Raimund Kohl-Fuechsle
  2004-07-17  8:47     ` Carsten Weinberg
       [not found]     ` <mailman.209.1090053983.1960.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 9+ messages in thread
From: Raimund Kohl-Fuechsle @ 2004-07-16 23:17 UTC (permalink / raw)


On Sat, 17 Jul 2004 00:04:25 +0200
Jesper Harder <harder@myrealbox.com> wrote:

> Raimund Kohl-Fuechsle <ray@nabuli.de> writes:
> 
> > ; `standard-display-european' is semi-obsolete and conflicts
> > ; with multibyte characters. `set-language-environment' is
> > ; a substitute.
> > (standard-display-european t)
> 
> Remove this line.  I'm not sure if it'll solve your particular
> problem, but `standard-display-european' is evil.

Hi Jesper,

as mentioned before: Any help is much appreciated.  I removed that. 
Unfortunately the behaviour didn't change.  Still get the "beep" when I
press Ctrl \

thank you anyway

ray

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
  2004-07-16 23:17   ` Raimund Kohl-Fuechsle
@ 2004-07-17  8:47     ` Carsten Weinberg
  2004-07-17 19:09       ` Gian Uberto Lauri
       [not found]     ` <mailman.209.1090053983.1960.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 9+ messages in thread
From: Carsten Weinberg @ 2004-07-17  8:47 UTC (permalink / raw)
  Cc: help-gnu-emacs

Raimund Kohl-Fuechsle wrote:

>Hi Jesper,
>
>as mentioned before: Any help is much appreciated.  I removed that. 
>Unfortunately the behaviour didn't change.  Still get the "beep" when I
>press Ctrl \
>
>thank you anyway
>
>ray
>  
>

;; `standard-display-european' is semi-obsolete and 
conflicts                    
;; with multibyte characters. `set-language-environment' 
is                      
;; a 
substitute.                                                                  

;;(standard-display-european 
t)                                                  
(setq current-language-environment "Latin-1")
                                                               ^
                                                                |
Okay?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
       [not found] <mailman.182.1090013684.1960.help-gnu-emacs@gnu.org>
  2004-07-16 22:04 ` language settings Jesper Harder
@ 2004-07-17  9:27 ` Oliver Scholz
  2004-07-17 11:53   ` Raimund Kohl-Fuechsle
       [not found]   ` <mailman.225.1090065727.1960.help-gnu-emacs@gnu.org>
  1 sibling, 2 replies; 9+ messages in thread
From: Oliver Scholz @ 2004-07-17  9:27 UTC (permalink / raw)


Raimund Kohl-Fuechsle <ray@nabuli.de> writes:

[...]
> I am running Debian Sarge on my Notebook (an old one, btw).  I
> reinstalled Sarge a couple of days ago and since that I seem no longer
> to be able to let emacs come up with the german Umlaute (I am using a
> US keyboard).  Up to that reinstallation I just used Ctrl \ and mule
> behaved the (I think usual) way to show an "a" with two dots above
> after pressing "a

Input methods are defined in a package called "leim" that up to Emacs
version 21.3 come /not/ bundled with Emacs. You have to download and
install it separetely. Probably you forgot that when you reinstalled
your OS.

[I agree, btw., that `standard-display-european' is evil.]


    Oliver
-- 
30 Messidor an 212 de la Révolution
Liberté, Egalité, Fraternité!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
  2004-07-17  9:27 ` Oliver Scholz
@ 2004-07-17 11:53   ` Raimund Kohl-Fuechsle
       [not found]   ` <mailman.225.1090065727.1960.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 9+ messages in thread
From: Raimund Kohl-Fuechsle @ 2004-07-17 11:53 UTC (permalink / raw)


On Sat, 17 Jul 2004 11:27:56 +0200
Oliver Scholz <alkibiades@gmx.de> wrote:

> Raimund Kohl-Fuechsle <ray@nabuli.de> writes:
> 
> [...]
> > I am running Debian Sarge on my Notebook (an old one, btw).  I
> > reinstalled Sarge a couple of days ago and since that I seem no
> > longer to be able to let emacs come up with the german Umlaute (I am
> > using a US keyboard).  Up to that reinstallation I just used Ctrl \
> > and mule behaved the (I think usual) way to show an "a" with two
> > dots above after pressing "a
> 
> Input methods are defined in a package called "leim" that up to Emacs
> version 21.3 come /not/ bundled with Emacs. You have to download and
> install it separetely. Probably you forgot that when you reinstalled
> your OS.
> 
> [I agree, btw., that `standard-display-european' is evil.]

Hi Oliver,

first, Debian seems not to hold a package called leim.  Second, and I
may have misread that, I found a webpage that said that leim is NOT
for emacs 21.3 but only for lower versions ... am I wrong with that?

ray

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
       [not found]   ` <mailman.225.1090065727.1960.help-gnu-emacs@gnu.org>
@ 2004-07-17 12:16     ` Oliver Scholz
  0 siblings, 0 replies; 9+ messages in thread
From: Oliver Scholz @ 2004-07-17 12:16 UTC (permalink / raw)


Raimund Kohl-Fuechsle <ray@nabuli.de> writes:

[...]
> first, Debian seems not to hold a package called leim.

Maybe Debian has decided to bundle leim with their Emacs package? Does
your Emacs directory (i.e. ".../share/emacs/<version>/") contain a
directory "leim" somewhere?

> Second, and I may have misread that, I found a webpage that said
> that leim is NOT for emacs 21.3 but only for lower versions ... am I
> wrong with that?

I don't know what the webpage you found says. But here is Leim for
Emacs 21.3:

ftp://ftp.gnu.org/gnu/emacs/windows/emacs-21.3-leim.tar.gz 

But I /think/ that you only need the single file defining the input
method.  IIRC, at least.  I can send it to you via PM, if you like.


[FYI: the CVS version of Emacs ships with leim included.]

    Oliver
-- 
30 Messidor an 212 de la Révolution
Liberté, Egalité, Fraternité!

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
       [not found]     ` <mailman.209.1090053983.1960.help-gnu-emacs@gnu.org>
@ 2004-07-17 17:48       ` Reiner Steib
  0 siblings, 0 replies; 9+ messages in thread
From: Reiner Steib @ 2004-07-17 17:48 UTC (permalink / raw)


On Sat, Jul 17 2004, Carsten Weinberg wrote:

> (setq current-language-environment "Latin-1")
> Okay?

No, you should use `set-language-environment' if you really need to
adjust the language settings in Emacs.  Usually Emacs gets the
right information from the locale settings.

,----[ C-h v current-language-environment RET ]
| current-language-environment's value is "Latin-1"
| 
| Documentation:
| The last language environment specified with `set-language-environment'.
| This variable should be set only with M-x customize, which is equivalent
| to using the function `set-language-environment'.
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: language settings
  2004-07-17  8:47     ` Carsten Weinberg
@ 2004-07-17 19:09       ` Gian Uberto Lauri
  0 siblings, 0 replies; 9+ messages in thread
From: Gian Uberto Lauri @ 2004-07-17 19:09 UTC (permalink / raw)
  Cc: help-gnu-emacs

>>>>> "CW" == Carsten Weinberg <cweinberg@freenet.de> writes:
CW> (setq current-language-environment "Latin-1")

But what should I do to obtain correct Latin-1 encoding in Carbon
Emacs under Mac (GNU Emacs 21.3.50.11 (powerpc-apple-darwin7.4.0) of
2004-07-08 on cyrano) ?

-- 
 /\            ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
  //--\ | | \|  |   Integralista GNUslamico e fancazzista 
\/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-07-17 19:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.182.1090013684.1960.help-gnu-emacs@gnu.org>
2004-07-16 22:04 ` language settings Jesper Harder
2004-07-16 23:17   ` Raimund Kohl-Fuechsle
2004-07-17  8:47     ` Carsten Weinberg
2004-07-17 19:09       ` Gian Uberto Lauri
     [not found]     ` <mailman.209.1090053983.1960.help-gnu-emacs@gnu.org>
2004-07-17 17:48       ` Reiner Steib
2004-07-17  9:27 ` Oliver Scholz
2004-07-17 11:53   ` Raimund Kohl-Fuechsle
     [not found]   ` <mailman.225.1090065727.1960.help-gnu-emacs@gnu.org>
2004-07-17 12:16     ` Oliver Scholz
2004-07-16 21:26 Raimund Kohl-Fuechsle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).