Skip to content

Update Org-mode buffer according to Debbugs

Notifications You must be signed in to change notification settings

kitnil/emacs-dorg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dorg

Dorg is an Emacs package that allows update Org-mode buffer according to latest status of bug on Debbug bugs tracker.

screencast

Prerequisites

The only dependencies are Org-mode and Debbugs itself, which you probably already installed.

Installing Dorg

To install Dorg, follow these steps.

Clone the repository:

git clone https://github.com/kitnil/dorg

Add to your Emacs's configuration file:

(load "PATH-TO-CLONNED-GIT-REPOSITORY/dorg.el" t)

Using Dorg

To use Dorg, you should open an Org-mode file which is populated with Debbugs bugs, for example my ~/src/org/inbox.org:

#+TODO: TODO REPLY REVIEW SEND READ WIP BUG NOTBUG WAIT HACK | DONE

* Email
** REPLY [2020-01-14 Tue 09:02] [[gnus:INBOX#[email protected]][Email from Ludovic Courtès: Testing the installer]] by [[mailto:[email protected]][Ludovic Courtès]]
** REVIEW [2020-01-29 Wed 11:05] [[gnus:INBOX#[email protected]][Email from Robert Smith: {bug#39331} {PATCH} gnu: Add emacs-persist and emacs-org-drill]] by [[mailto:[email protected]][Robert Smith]]
** REVIEW [2020-01-29 Wed 11:05] [[gnus:INBOX#[email protected]][Email from Amin Bandali: {bug#39333} {PATCH 2/2} gnu: Add emacs-erc-scrolltoplace.]] by [[mailto:[email protected]][Amin Bandali]]
** TODO [2020-02-04 Tue 00:33] [[gnus:INBOX#52415d7532584ed19074ad0c945400c8@1973398186][Email from Oracle Events: ВЕБИНАР: Технологии Oracle Machine Learning для задач прогнозирования, управления и принятия решений]] by [[mailto:[email protected]][Oracle Events]]
** REVIEW [2020-02-11 Tue 10:24] [[gnus:INBOX#[email protected]][Email from zimoun: {bug#39547} {PATCH} website: Provide JSON sources list used by Software Heritage.]] by [[mailto:[email protected]][zimoun]]
** TODO [2020-02-29 Sat 01:58] [[gnus:INBOX#CAK+FtOFvzDL3CKLYaN1-voPyXwcVZFjfHUGc7vJNRpVeKD_FeA@mail.gmail.com][Email from Evgeny Ponomarev: Oleg – share your opinion on the Decentralized Web]] by [[mailto:[email protected]][Evgeny Ponomarev]]
** TODO [2020-02-29 Sat 02:04] [[gnus:INBOX#[email protected]][Email from Maxim Cournoyer: Re: 02/02: gnu: next: Compress the executable.]] by [[mailto:[email protected]][Maxim Cournoyer]]
** HACK [2020-03-12 Thu 10:13] [[gnus:INBOX#[email protected]][Email from Ludovic Courtès: bug#39922: {PATCH} Add clipnotify and clipmenu]] by [[mailto:[email protected]][Ludovic Courtès]]
** HACK [2020-03-12 Thu 16:05] [[gnus:INBOX#[email protected]][Email from Amar M. Singh: {bug#40038} {PATCH} {SQUASHED} gnu: add guile-torrent]] by [[mailto:[email protected]][Amar M. Singh]]
** READ [2020-03-17 Tue 18:15] [[gnus:INBOX#[email protected]][Email from Maxim Cournoyer: {kb} Using an OpenVPN config with nmcli]] by [[mailto:[email protected]][Maxim Cournoyer]]
** READ [2020-03-22 Sun 06:19] [[gnus:INBOX#[email protected]][Email from Christopher Baines: Experiment in generating multi-layer Docker images with guix pack]] by [[mailto:[email protected]][Christopher Baines]]
** REVIEW [2020-03-22 Sun 06:24] [[gnus:INBOX#[email protected]][Email from Ludovic Courtès: Re: Frequent locales problems for new users]] by [[mailto:[email protected]][Ludovic Courtès]]
** READ [2020-04-26 Sun 12:17] [[gnus:INBOX#[email protected]][Email from Kozo: {bug#40860} {PATCH} yarnpkg]] by [[mailto:[email protected]][Kozo]]
** BUG [2020-04-26 Sun 12:18] [[gnus:INBOX#[email protected]][Email from Jan Synacek: hint: Run `guix search ... | less' to view all the results]] by [[mailto:[email protected]][Jan Synacek]]
** READ [2020-04-26 Sun 23:43] [[gnus:INBOX#[email protected]][Email from Jakub Kądziołka: {bug#40871} {PATCH} file-systems: mount the PID cgroup filesystem.]] by [[mailto:[email protected]][Jakub Kądziołka]]
** REVIEW [2020-04-27 Mon 11:14] [[gnus:INBOX#[email protected]][Email from Joseph LaFreniere: {bug#40873} {PATCH} gnu: Add emacs-toml-mode.]] by [[mailto:[email protected]][Joseph LaFreniere]]
** REVIEW [2020-04-28 Tue 14:12] [[gnus:INBOX#[email protected]][Email from Marius Bakke: {bug#40908} {PATCH core-updates 0/5} Use Guile 3.0 in the initrd]] by [[mailto:[email protected]][Marius Bakke]]
** REVIEW [2020-04-30 Thu 00:51] [[gnus:INBOX#[email protected]][Email from Elais Player: {bug#40970} {PATCH} gnu: add emacs-boon]] by [[mailto:[email protected]][Elais Player]]
** REVIEW [2020-04-30 Thu 00:56] [[gnus:INBOX#[email protected]][Email from Raghav Gururajan: {bug#40960} gnu: Add audacious.]] by [[mailto:[email protected]][Raghav Gururajan]]
** TODO [2020-05-01 Fri 00:54] [[gnus:INBOX#[email protected]][Email from Ricardo Wurmus: {bug#40959} {PATCH 1/1} gnu: Add icedove.]] by [[mailto:[email protected]][Ricardo Wurmus]]

Those entries generated by M-x org-capture inside Gnus by Org-mode template:

(setq org-capture-templates
      '(("f" "File email" entry (file+headline "inbox.org" "Email")
         "* %U %a by [[mailto:%:fromaddress][%:fromname]]"
         :immediate-finish nil
         :prepend nil)

        ;;; ...
        ))

Move your cursor to first entry from which all Org-mode entries will be processed, (e.g. ~/src/org/inbox.org mentioned previously after * Email) and call M-x dorg-bugs-update. Also you could update a single Org-mode entry at current cursor point with M-x dorg-bug-update.

Contact

If you want to contact me you can reach me at [email protected].

About

Update Org-mode buffer according to Debbugs

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published