Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194214 - app-emacs/tempo-snippets (new ebuild)
Summary: app-emacs/tempo-snippets (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://nschum.de/src/emacs/tempo-snip...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-09-29 18:35 UTC by MATSUYAMA Tomohiro
Modified: 2008-07-30 13:49 UTC (History)
1 user (show)

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


Attachments
tempo-snippets-0.1.2.ebuild (tempo-snippets-0.1.2.ebuild,434 bytes, text/plain)
2007-09-29 18:36 UTC, MATSUYAMA Tomohiro
Details
files/50tempo-snippets-gentoo.el (50tempo-snippets-gentoo.el,70 bytes, text/plain)
2007-09-29 18:36 UTC, MATSUYAMA Tomohiro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUYAMA Tomohiro 2007-09-29 18:35:46 UTC
http://www.emacswiki.org/cgi-bin/wiki/TempoSnippets
  tempo-snippets is a snippet.el-like interface for tempo templates. It requires EmacsFromCVS.



Reproducible: Always
Comment 1 MATSUYAMA Tomohiro 2007-09-29 18:36:09 UTC
Created attachment 132189 [details]
tempo-snippets-0.1.2.ebuild
Comment 2 MATSUYAMA Tomohiro 2007-09-29 18:36:33 UTC
Created attachment 132190 [details]
files/50tempo-snippets-gentoo.el
Comment 3 Ulrich Müller gentoo-dev 2007-09-30 08:03:50 UTC
(In reply to comment #1)
> Created an attachment (id=132189) [edit]
> tempo-snippets-0.1.2.ebuild

The package depends on the following bugfix in Emacs:

   2007-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>

        * insdel.c (reset_var_on_error): New fun.
        (signal_before_change, signal_after_change):
        Use it to reset (after|before)-change-functions to nil in case of error.
        Bind inhibit-modification-hooks to t.
        Don't bind (after|before)-change-functions to nil while they run.

which was installed in the CVS trunk and also in the EMACS_22_BASE branch on 2007-08-21. So we can expect it to run with Emacs 22.2.
Comment 4 MATSUYAMA Tomohiro 2007-10-02 01:07:26 UTC
RDEPEND=">=app-editors/emacs-cvs-22.2.*" ? though there is no emacs 22.2 in portage  or emacs overlay.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-10-02 07:22:58 UTC
(In reply to comment #4)
> RDEPEND=">=app-editors/emacs-cvs-22.2.*" ? though there is no emacs 22.2 in
> portage  or emacs overlay.

This is not a legal dependency. You cannot use globbing ( * ) with ranged operators ( >= )

Comment 6 Ulrich Müller gentoo-dev 2007-10-02 07:59:31 UTC
(In reply to comment #5)
> > RDEPEND=">=app-editors/emacs-cvs-22.2.*" ? though there is no emacs 22.2 in
> > portage  or emacs overlay.
> 
> This is not a legal dependency. You cannot use globbing ( * ) with ranged
> operators ( >= )

Please note that elisp.eclass contains an implicit dependency on >=virtual/emacs-${NEED_EMACS}, so we normally don't depend on app-editors/emacs{,-cvs} in our ebuilds. A way to solve it here would be to have more fine-grained virtual/emacs versions, e.g. virtual/emacs-22.2 could depend on >=emacs-cvs-22.1.50. And the tempo-snippets ebuild would set NEED_EMACS=22.2 then.

However, I am very reluctant to introduce such a thing since it would lead to a binary package collision for {app-editors,virtual}/emacs-22.2 lateron.
Comment 7 Ulrich Müller gentoo-dev 2008-03-27 11:09:52 UTC
tempo-snippets-0.1.3 committed to the Emacs overlay.
Let us wait for emacs-22.2 to go stable, then we can reconsider if we move it to the main Portage tree.
Comment 8 Ulrich Müller gentoo-dev 2008-07-30 13:49:46 UTC
app-emacs/tempo-snippets-1.4 committed to Portage tree. (It may take a few hours until the distfile will be available on all mirrors.)

Thank you for the contribution, and sorry that it took us such a long time.