Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54973 - Emacs configuration for ebuild editing needs fix
Summary: Emacs configuration for ebuild editing needs fix
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Developers HOWTO (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/gentoo-h...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-23 23:47 UTC by Sven Vermeulen (RETIRED)
Modified: 2004-07-03 02:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2004-06-23 23:47:21 UTC
From Peter Simons (simons(a)cryp-to) sent to www@gentoo.org:

"""
The page shows, among other things, the necessary lines to
configure Emacs for editing Ebuilds. It says:

 | Code Listing 2.3: Configuring emacsrc for ebuild-editing
 |
 | (defun ebuild-mode ()
 |   (shell-script-mode)
 |   (sh-set-shell "bash")
 |   (make-local-variable 'tab-width)
 |   (setq tab-width 4))
 | (setq auto-mode-alist (cons '("\\.ebuild\\'" . ebuild-mode) auto-mode-alist))
 | (setq auto-mode-alist (cons '("\\.eclass\\'" . ebuild-mode) auto-mode-alist))

I think there is a mistake in the last two lines. At least
on my machine, these have to look like this:

  (setq auto-mode-alist (cons '("\\.ebuild$" . ebuild-mode) auto-mode-alist))
  (setq auto-mode-alist (cons '("\\.eclass$" . ebuild-mode) auto-mode-alist))

Just thought I'd let you know.
"""
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2004-07-03 02:48:28 UTC
Fixed in CVS.