Yup, but diff foo bar | xclip is just as easy (easier) and always does
the right thing. Unfortunately xclip isn't always available.
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
I am amused at how many people are not scared of kernel hacking but will
go to great lengths to avoid looking at the Mozilla code :-)
IMHO "Insert File" is suboptimal, it's better to make C&P work right.
That probly because those who looked at it once don't want to do that again
ever.
> Lee Revell wrote:
> > On Mon, 2005-12-26 at 12:09 -0600, Jason Munro wrote:
> >
> >>On 11:54:00 am 26 Dec 2005 Lee Revell <rlre...@joe-job.com> wrote:
> >>
> >><snip>
> >>
> >>>> Dare I say it, KMail has also been doing the Right Thing for a
> >>>> long time. It will only line wrap things that you insert by
> >>>> typing; pastes are left untouched.
sylpheed also DTRT. (http://sylpheed.good-day.net)
It's a simple, clean email client.
> I've looked at a few clients and it seems I'm stuck with mozilla for at
> least a while. Whilst probably the buggiest client there is it does
> look like it's the best suited for what I want. I might switch to
> FireFox (which iirc does have an "insert file" feature - which might
> also solve this problem).
Firefox has an email interface??
> For the moment though I'm quickly hacking together a bash script that
> wraps the sendmail binary that can be used specifically for submitting
> patches (the intent is to perform certain checks for Signed-of-by lines,
> correct [PATCH] subject and so forth). If anybody else is interrested
> I'd be more than happy to share (albeit I suspect the usefullness will
> be seriously limited).
Greg KH and Paul Jackson have both written scripts for this.
And there may be one in the quilt package.
Paul's (python) is at
http://www.speakeasy.org/~pj99/sgi/sendpatchset
I don't recall where Greg's is (perl).
---
~Randy
I would NAK such a patch.
Andrew Morton described a way to do it, some method using x cut buffers,
IIRC.
The best thing to do is use a custom script, though. Other mailers can
be annoying as well, with regards to the References header, for example.
And pine is awful, encoding plain text as base64.
Jeff
For a maintainer who patch bombs LKML constantly a custom script is best
but for the casual contributor their mailer should just work.
The default Gnome and KDE mail clients work OK so why don't we just try
to get Thunderbird fixed or at least warn about it? Casual contributors
are very likely to read SubmittingPatches.
I'm not trying to find the one true solution I'd just like to end the
constant low grade noise (and higher bug fix latency!) of "Please
resend, your patch is linewrapped" every few days.
Lee
> > I would NAK such a patch.
> >
> > Andrew Morton described a way to do it, some method using x cut buffers,
> > IIRC.
> >
> > The best thing to do is use a custom script, though. Other mailers can
> > be annoying as well, with regards to the References header, for example.
> > And pine is awful, encoding plain text as base64.
>
> For a maintainer who patch bombs LKML constantly a custom script is best
> but for the casual contributor their mailer should just work.
>
> The default Gnome and KDE mail clients work OK so why don't we just try
> to get Thunderbird fixed or at least warn about it? Casual contributors
> are very likely to read SubmittingPatches.
>
> I'm not trying to find the one true solution I'd just like to end the
> constant low grade noise (and higher bug fix latency!) of "Please
> resend, your patch is linewrapped" every few days.
Well, l-k has some rather extensive spam traps, right? What about
adding "if it contains patch, it should be well-formed patch" into the
list?
That way user would get bounce from the mailinglist, telling him how
not to damage the patches...
Pavel
--
Thanks, Sharp!
Greg's has been hacked at a bit to provide a little bit more of a user
interface, and is included in the Git source tree. ("git-send-email").
When I added it, I made it use a few more perl modules, I think it
generally does the right thing.
It *does not* validate for things like Signed-off-by lines, though
admittedly, that wouldn't be hard ot add.
>
> ---
> ~Randy
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majo...@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
Ryan Anderson
sometimes Pug Majere
To me, looking at Mozilla code means a lot. I'm too lazy to dig into
gtk and glib. But kernel code is quite straightforward.
-- Coywolf
>
> IMHO "Insert File" is suboptimal, it's better to make C&P work right.
>
> Lee
>
--
Coywolf Qi Hunt