bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: html-mode: C-c 8 doesn't work properly


From: Felix Natter
Subject: Re: html-mode: C-c 8 doesn't work properly
Date: 11 Feb 2002 18:01:18 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

address@hidden (Eli Zaretskii) writes:

> On 9 Feb 2002, Felix Natter wrote:
> 
> > C-c 8 doesn't work with Emacs 21 any more.
> 
> Thank you for your report, but I cannot do anything about it, unless
> you tell the details: what did you type, and what did Emacs do.
> 
> Please use "M-x report-emacs-bug RET" to send this information.

In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit)
 of 2002-01-05 on couchpotato
configured using `configure  --disable-largefile'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Sorry, the "C-c 8" (sgml-name-8bit-mode) feature which worked fine
with Emacs 20 does not work with Emacs 21 at all.
If sgml-name-8bit-mode is on, then you should be able to type i.e. 'ö' and
it will insert "ö".

the "umlaute" (i.e. 'ö') are bound to self-insert-command, and they
should be bound to sgml-maybe-name-self (this function decides whether
to insert the character or the html entity based on
sgml-name-8bit-mode).

I guess that this statement (in sgml-mode.el) is the problem:

    (define-key map (vector (make-char 'latin-iso8859-1))
      'sgml-maybe-name-self)

As a test-case just open a html document (make sure that sgml-mode.el
is used and not psgmld oder html-helper-mode), enter
sgml-name-8bit-mode (C-c 8) and enter i.e. '§', which should
insert "§".

thanks,

-- 
Felix Natter



reply via email to

[Prev in Thread] Current Thread [Next in Thread]