Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122911 Details for
Bug 152687
Ebuild HOWTO: Improve code listing 5 (emacsrc)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hb-guide-ebuild.xml.diff
hb-guide-ebuild.xml.diff (text/plain), 1.10 KB, created by
Ulrich Müller
on 2007-06-23 19:38:08 UTC
(
hide
)
Description:
hb-guide-ebuild.xml.diff
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2007-06-23 19:38:08 UTC
Size:
1.10 KB
patch
obsolete
>--- hb-guide-ebuild.xml 7 Apr 2007 21:46:20 -0000 1.42 >+++ hb-guide-ebuild.xml 23 Jun 2007 19:22:45 -0000 >@@ -1199,21 +1199,12 @@ > </pre> > > <p> >-If you're using Emacs, you can put the following snippet at the bottom of >-.emacsrc file (for GNU Emacs) or init.el (for XEmacs) to make sure your using >-the correct settings when editing anything Gentoo-related. >+If you're using Emacs, you should emerge app-emacs/gentoo-syntax >+(for GNU Emacs) or app-xemacs/gentoo-syntax (for XEmacs). These >+packages provide Emacs major modes for automatic indentation and >+syntax highlighting of ebuilds and other Gentoo specific file types. > </p> > >-<pre caption="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)) >-</pre> >- > <p> > If you're using nano, then you're in luck! Just edit <path>/etc/nanorc</path> > and uncomment the section referring to ebuild's.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152687
:
100404
|
100408
| 122911