Bug 18400 - should use some conf-mode for /etc/apt/sources.list*
: should use some conf-mode for /etc/apt/sources.list*
: Branch 4.1
(All bugs in Branch 4.1/emacs22-common)
: unspecified
: all Linux
: P2 enhancement
Assigned To:
  Show dependency tree
Reported: 2008-12-30 02:08 by
Modified: 2009-03-19 10:46 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2008-12-30 02:08:07

emacs loads a special conf-mode, when, for example, opening /etc/lilo.conf.
That's good. It highlights the syntax and would allow some commands like

Suggestion: emacs should also use conf-unix-mode or conf-space-mode (or some
other suitable one) for APT configuration files, in particular, for
/etc/apt/sources.list and /etc/apt/sources.list.d/*: "comment-region" is a very
needed command there (as well highlighting which helps distinguish commented
and uncommented strings).
------- Comment #1 From 2008-12-30 22:04:13 -------
I think, this is no emacs bug. Use 
# -*- Mode: conf -*-
in top of this files. 
Perhaps this is bug of `rpm -qf /etc/apt/sources.list.d/*`
------- Comment #2 From 2009-01-24 08:56:06 -------
Закрываю баг, как не являющийся ошибкой emacs.