Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882053 - app-emacs/ebuild-mode: provide possibilty to chain ebuild phases in one command and rerun
Summary: app-emacs/ebuild-mode: provide possibilty to chain ebuild phases in one comma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 21:52 UTC by Pascal Jäger
Modified: 2022-12-01 18:36 UTC (History)
1 user (show)

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 Pascal Jäger 2022-11-19 21:52:32 UTC
I gotta say, ebuild-mode is a great thing, ulm, thanks for making it. I have only some minor suggestions, maybe you like the ideas as well and implement them. 

When I use the 'ebuild' command on the command line I usually do something like this: 'USE="blabla" ebuild mypackage-0.8.15.ebuild clean install' to test it. Especially when testing things out I run those command over and over to see if my changes work. 

Therefore it would be a great improvement for me, if there would be the possibility to chain those phases (in the example clean and install) so we do not have to do C-c C-e clean, C-c C-e install all the time.

Secondly it would be cool if the last run command (or command chain) would be suggested, so we could just go C-c C-e RET to run it again.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-11-28 18:20:41 UTC Comment hidden (obsolete)
Comment 2 Ulrich Müller gentoo-dev 2022-11-28 18:26:47 UTC
Please try ebuild-mode-9999 (from emacs overlay).
Comment 3 Larry the Git Cow gentoo-dev 2022-11-29 19:40:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/ebuild-mode.git/commit/?id=634c59288c4a33acc96ce61f771caef28ccfbb3b

commit 634c59288c4a33acc96ce61f771caef28ccfbb3b
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-11-28 18:10:33 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-11-29 19:31:44 +0000

    Allow multiple subcommands in one ebuild command
    
    * ebuild-mode.el (ebuild-mode-ebuild-cmd-complete): New function,
    completes multiple ebuild commands. Bug 882053.
    (ebuild-run-command): Call it.
    (ebuild-mode-menu): Add ebuild-run-command without argument.
    
    Bug: https://bugs.gentoo.org/882053
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 ChangeLog      |  7 +++++++
 ebuild-mode.el | 31 +++++++++++++++++++++++--------
 2 files changed, 30 insertions(+), 8 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2022-12-01 18:36:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1896c3847ea94c478b92d1195fda6e3b266a0c

commit fb1896c3847ea94c478b92d1195fda6e3b266a0c
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-12-01 18:33:48 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-12-01 18:36:41 +0000

    app-emacs/ebuild-mode: add 1.61
    
    Closes: https://bugs.gentoo.org/881449
    Closes: https://bugs.gentoo.org/882053
    Closes: https://bugs.gentoo.org/882055
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-emacs/ebuild-mode/Manifest                |  1 +
 app-emacs/ebuild-mode/ebuild-mode-1.61.ebuild | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)