Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100408 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]
Patch for updating the xml file.
patch (text/plain), 1.29 KB, created by
Christian Schlotter
on 2006-10-24 13:11:07 UTC
(
hide
)
Description:
Patch for updating the xml file.
Filename:
MIME Type:
Creator:
Christian Schlotter
Created:
2006-10-24 13:11:07 UTC
Size:
1.29 KB
patch
obsolete
>--- hb-guide-ebuild.xml.old 2006-10-24 22:09:07.000000000 +0200 >+++ hb-guide-ebuild.xml 2006-10-24 22:09:40.000000000 +0200 >@@ -351,7 +351,7 @@ > </p> > > <pre caption="Valid Header"> >-# Copyright 1999-2005 Gentoo Foundation >+# Copyright 1999-2006 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: $ > </pre> >@@ -1204,18 +1204,20 @@ > > <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 >+.emacs file (for GNU Emacs) or init.el (for XEmacs) to make sure your using > the correct settings when editing anything Gentoo-related. > </p> > >-<pre caption="Configuring emacsrc for ebuild-editing"> >+<pre caption="Configuring .emacs 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)) >+ (setq tab-width 4) >+ (make-local-variable 'indent-tabs-mode) >+ (setq indent-tabs-mode t)) >+(add-to-list 'auto-mode-alist '("\\.ebuild$" . ebuild-mode)) >+(add-to-list 'auto-mode-alist '("\\.eclass$" . ebuild-mode)) > </pre> > > <p>
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