unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Peter Hardy" <peter@hardy.dropbear.id.au>
To: help-gnu-emacs@gnu.org
Subject: Re: How to streamline my Magit workflow?
Date: Sun, 30 Oct 2022 16:28:23 +1100	[thread overview]
Message-ID: <74865eda-f9da-4fe3-beb7-36eecb1cc8cc@app.fastmail.com> (raw)
In-Reply-To: <87bkpvqdmh.fsf@mbork.pl>

On Sat, 29 Oct 2022, at 6:43 PM, Marcin Borkowski wrote:
> Now, I'd like to streamline my workflow.  Instead of pressing `$',
> finding that URL and copying it to my browser, I'd like to either have
> it done automatically after a push or triggered with a custom command.

I'm not sure about properly parsing the bitbucket response, but I do have this in my init to make URLs in the process buffer clickable, which streamlines the process a little.

(add-hook 'magit-process-mode-hook #'goto-address-mode)

> 2. Is there some hook which runs after a (Magit) push is completed?

I didn't find anything useful when I was trying to solve this same problem. Ended up settling just for using goto-address-mode, at least until I have time/spoons to revisit it.

-- 
Peter



      parent reply	other threads:[~2022-10-30  5:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-29  7:43 How to streamline my Magit workflow? Marcin Borkowski
2022-10-29 11:18 ` Lele Gaifax
2022-10-29 17:03 ` Kyle Meyer
2022-10-29 17:15 ` Björn Bidar
2022-10-30  5:28 ` Peter Hardy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74865eda-f9da-4fe3-beb7-36eecb1cc8cc@app.fastmail.com \
    --to=peter@hardy.dropbear.id.au \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).