git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Heiko Voigt <hvoigt@hvoigt.net>
Cc: Pat Thoyts <patthoyts@users.sourceforge.net>, git@vger.kernel.org
Subject: Re: [GIT GUI PATCH 0/2] teach git gui to open the configured editor
Date: Fri, 23 Mar 2012 19:43:32 +0100	[thread overview]
Message-ID: <CAKPyHN1SWLMKtWOPJ7NwcwuE2Kpwb84yz443P7R=vE4jSPFEOw@mail.gmail.com> (raw)
In-Reply-To: <cover.1332523097.git.hvoigt@hvoigt.net>

Hi,

On Fri, Mar 23, 2012 at 18:30, Heiko Voigt <hvoigt@hvoigt.net> wrote:
> This patch series adds a new right click menuitem which allows the user
> to open the configured editor with the currently viewed file. For some
> popular editors it is also able to move the cursor close to the watched
> line.

I once mentioned this in a patch I send ages ago:

<1289770869-11665-1-git-send-email-bert.wesarg@googlemail.com>

Look for the '[1]' reference.

I have done, what was discussed in this thread, but never send
something to the list (maybe a private mail to Pat?), but you can have
a look at my git-gui repo at [1]. The patch which implements this is
bw/master~5 (a648f3a06 'git-gui: open file with GIT_EDITOR').

Regards,
Bert

[1] http://repo.or.cz/w/git-gui/bertw.git

>
> Please have a look at the parsing of the configured editor commandline.
> I tested it for most situations. Maybe someone has an idea for a more
> elegant way to split up between arguments and command.
>
> Currently I substitute all ' with " and then abuse the lindex command for
> trimming and splitting.
>
> Cheers Heiko
>
> Heiko Voigt (2):
>  git-gui: teach _which procedure to work with absolute paths
>  git-gui: add "open in editor" diff context menu entry
>
>  git-gui/git-gui.sh |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 55 insertions(+)
>
> --
> 1.7.10.rc1.29.gf035d
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-03-23 18:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 17:30 [GIT GUI PATCH 0/2] teach git gui to open the configured editor Heiko Voigt
2012-03-23 17:30 ` [GIT GUI PATCH 1/2] git-gui: teach _which procedure to work with absolute paths Heiko Voigt
2012-03-23 19:31   ` Junio C Hamano
2012-03-25 17:09     ` Heiko Voigt
2012-03-23 17:30 ` [GIT GUI PATCH 2/2] git-gui: add "open in editor" diff context menu entry Heiko Voigt
2012-03-23 18:43 ` Bert Wesarg [this message]
2012-03-25 17:02   ` [GIT GUI PATCH 0/2] teach git gui to open the configured editor Heiko Voigt
2012-03-25 19:33     ` Bert Wesarg

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

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

  git send-email \
    --in-reply-to='CAKPyHN1SWLMKtWOPJ7NwcwuE2Kpwb84yz443P7R=vE4jSPFEOw@mail.gmail.com' \
    --to=bert.wesarg@googlemail.com \
    --cc=git@vger.kernel.org \
    --cc=hvoigt@hvoigt.net \
    --cc=patthoyts@users.sourceforge.net \
    /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 NNTP newsgroup(s).