Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294814 - app-emacs/gentoo-syntax could include a mode for the file "ChangeLog"
Summary: app-emacs/gentoo-syntax could include a mode for the file "ChangeLog"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 11:48 UTC by Thomas Kahle (RETIRED)
Modified: 2009-11-27 12:34 UTC (History)
0 users

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 Thomas Kahle (RETIRED) gentoo-dev 2009-11-27 11:48:17 UTC
Currently, when editing the ChangeLog of an ebuild, gentoo-syntax is not invoked. It would be very useful to include this file too. A mode needs to be developed. It could for instance set the Tabstop, and include a shortcut for inserting the current date, name, email of the author. 
Invokation of the mode could depend on .ebuild files existing in the same directory as one might edit other ChangeLogs not related to gentoo too. 

Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2009-11-27 12:07:19 UTC
I had already looked at this a while ago, and my conclusion was that full support of echangelog features is not trivial. We have the ebuild-run-echangelog command that lets echangelog do the work.
Comment 2 Thomas Kahle (RETIRED) gentoo-dev 2009-11-27 12:15:45 UTC
Hmm, I was unaware of echangelog. 
This seems to do much of the work that I thought this emacs mode should do.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-27 12:33:24 UTC
(In reply to comment #2)
> Hmm, I was unaware of echangelog. 
> This seems to do much of the work that I thought this emacs mode should do.

 The problem is to autoload the mode.  A file name ChangeLog is really generic and a full override of Emacs' ChangeLog mode is absolute overkill.  So do you still see demand for your report?
Comment 4 Thomas Kahle (RETIRED) gentoo-dev 2009-11-27 12:34:59 UTC
No, editing ChangeLog by hand is just wrong(tm).
Closing as wontfix.