Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177356 - [devmanual] modify Emacs specific configuration to "Editor configuration"
Summary: [devmanual] modify Emacs specific configuration to "Editor configuration"
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-06 17:45 UTC by Christian Faulhammer (RETIRED)
Modified: 2007-06-23 20:56 UTC (History)
2 users (show)

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


Attachments
To be applied in appendices/editor-configuration (editor-configuration.patch,259 bytes, patch)
2007-05-23 12:04 UTC, Christian Faulhammer (RETIRED)
Details | Diff
"/tmp/editor-configuration_emacs.patch" (editor-configuration_emacs.patch,2.15 KB, patch)
2007-05-23 12:05 UTC, Christian Faulhammer (RETIRED)
Details | Diff
editor-configuration_xemacs.patch (editor-configuration_xemacs.patch,334 bytes, patch)
2007-05-23 12:06 UTC, Christian Faulhammer (RETIRED)
Details | Diff
editor-configuration_emacs.patch (editor-configuration_emacs.patch,2.13 KB, patch)
2007-05-23 17:15 UTC, Christian Faulhammer (RETIRED)
Details | Diff
editor-configuration_emacs.patch (editor-configuration_emacs.patch,2.12 KB, patch)
2007-06-21 18:13 UTC, Ulrich Müller
Details | Diff
editor-configuration_emacs.patch (diff,2.16 KB, patch)
2007-06-23 20:39 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2007-05-06 17:45:48 UTC
There already are sections for GNU Emacs and XEmacs, which could be renamed without the UTF-8 in the heading (in line with *vim).

Anyway, for proper utilisation of diff utils a newline should be added to the end of the file.  This can be automatically done by Emacs if the variable require-final-newline is set.  So maybe a note about should be added to both Emacsen documentation.

"Add the following line to your Emacs init file (usually ~/.emacs)
   (setq require-final-newline t)
"
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-23 12:04:34 UTC
Created attachment 120077 [details, diff]
To be applied in appendices/editor-configuration

Changes to alphabetical order of editors
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-23 12:05:12 UTC
Created attachment 120079 [details, diff]
"/tmp/editor-configuration_emacs.patch"

Adds some configuration hints for GNU Emacs.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-23 12:06:02 UTC
Created attachment 120080 [details, diff]
editor-configuration_xemacs.patch

Changes title from <e>xemacs</e> to XEmacs
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-23 17:15:41 UTC
Created attachment 120106 [details, diff]
editor-configuration_emacs.patch

Corrected a bad typo...thanks Ulrich.
Comment 5 Ulrich Müller gentoo-dev 2007-06-21 18:13:58 UTC
Created attachment 122710 [details, diff]
editor-configuration_emacs.patch

Update Emacs configuration hints since app-emacs/ebuild-mode was renamed to app-emacs/gentoo-syntax.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-06-23 20:21:28 UTC
betelgeuse@pena /mnt/checkouts/devmanual/trunk/appendices/editor-configuration $ patch -p0 < attachment.cgi\?id\=122710
patching file emacs/text.xml
Hunk #1 FAILED at 1.
1 out of 2 hunks FAILED -- saving rejects to file emacs/text.xml.rej

Please post svn diff against the devmanual svn 
http://anoncvs.gentoo.org/
or use your developer account like:
svn+ssh://betelgeuse@svn.gentoo.org/var/svnroot/devmanual/trunk
Comment 7 Ulrich Müller gentoo-dev 2007-06-23 20:39:49 UTC
Created attachment 122919 [details, diff]
editor-configuration_emacs.patch

Updated diff against svn version.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-06-23 20:56:08 UTC
(In reply to comment #7)
> Created an attachment (id=122919) [edit]
> editor-configuration_emacs.patch
> 
> Updated diff against svn version.
> 

this one and the short one for X-Emacs applied.