Bug 19161 - the modes are hidden by the standard Emacs modes
Summary: the modes are hidden by the standard Emacs modes
Status: CLOSED WONTFIX
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: emacs-mode-psgml (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 major
Assignee: Nobody's working on this, feel free to take it
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on: 19170
Blocks:
  Show dependency tree
 
Reported: 2009-03-13 01:50 MSK by Ivan Zakharyaschev
Modified: 2014-11-05 20:17 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2009-03-13 01:50:38 MSK
emacs-mode-psgml-1.2.5-alt1
emacs-base-0.0.6-alt1
emacs22-common-22.1-alt2
emacs22-X11-gtk-22.1-alt2
emacs-git-1.5.4.5-alt3
emacs22-tramp-2.0.55-alt2
emacs22-speedbar-1.0-alt2
emacs22-X11-22.1-alt2

By default, the standard sgml-mode and xml-mode from Emacs are used; C-h f xml-mode:

xml-mode is an alias for `sgml-mode' in `sgml-mode.el'.

and it's from /usr/share/emacs/22.1/lisp/textmodes/sgml-mode.elc , not from psgml .


Expected:

If I have installed emacs-mode-psgml, I'd like the modes from psgml to override the standard ones.
Comment 1 Ivan Zakharyaschev 2009-03-13 02:31:13 MSK
Workaround: add to ~/.emacs:

;; In order for psgml to take preference,
;; first, load the standard stuff, so that it doesn't 
;; get autoloaded at some time (e.g., XHTML) and override what I load next:
(load "textmodes/sgml-mode.el")
;; ultimately, load what I wish, so that the functions are forcibly redefined.
(load "psgml")
Comment 2 Ivan Zakharyaschev 2009-03-13 14:46:52 MSK
(In reply to comment #1)
> Workaround: add to ~/.emacs:
> 
> ;; In order for psgml to take preference,
> ;; first, load the standard stuff, so that it doesn't 
> ;; get autoloaded at some time (e.g., XHTML) and override what I load next:
> (load "textmodes/sgml-mode.el")

A fix:
(load "textmodes/sgml-mode")

> ;; ultimately, load what I wish, so that the functions are forcibly redefined.
> (load "psgml")
Comment 3 Eugene Vlasov 2009-03-19 11:02:22 MSK
to viy: Что там с этим пакетом? Я вижу в Sisyphus твою сборку (а в 4-м бранче вообще сборка имени ott@ вроде).
Comment 4 viy 2009-03-19 11:20:56 MSK
(В ответ на комментарий №3)
> to viy: Что там с этим пакетом? Я вижу в Sisyphus твою сборку (а в 4-м бранче
> вообще сборка имени ott@ вроде).

в Sisyphus что-то чинил тривиальное, кажется, пакет не пересобирался.
Глубоко завяз в java@, руки не доходят :(
Если есть возможнось, почините, пожалуйста.
У меня не скоро дойдут.
Comment 5 Eugene Vlasov 2009-03-19 18:28:25 MSK
(В ответ на комментарий №4)
> в Sisyphus что-то чинил тривиальное, кажется, пакет не пересобирался.
> Глубоко завяз в java@, руки не доходят :(
> Если есть возможнось, почините, пожалуйста.
> У меня не скоро дойдут.

Я этим пакетом и не пользовался никогда. Не знаю, если дойдут руки у самого посмотреть что это такое и оно окажется достаточно полезным - починю.
Comment 6 Michael Shigorin 2014-11-05 20:17:00 MSK
В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.