zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: zathura conpletion for zsh broken
Date: Thu, 27 Sep 2018 19:16:42 +0000	[thread overview]
Message-ID: <1538075802.2798703.1523051048.5AAEC24B@webmail.messagingengine.com> (raw)
In-Reply-To: <CAH+w=7bJRqadtQeXi1pco9jXzHJ=8UqruJsNqF+gGGOjp7qgfw@mail.gmail.com>

Bart Schaefer wrote on Thu, 27 Sep 2018 11:31 -0700:
> On Thu, Sep 27, 2018 at 11:21 AM Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> >
> > Patch attached.
> 
> I've asked this before but I'm going to ask it again (and this is not
> aimed specially at Daniel or anything):
> 
> Please do not attach patches (or anything else) with content-type
> "text/x-something" (in this case "text/x-patch").

Sorry, forgot that was an issue.

> A remarkable number of mail clients (or perhaps it's just the
> operating systems they sit on) are STILL, even after 25 years, too
> stupid to understand that the "text/" prefix means it's OK to display
> the content without invoking a special application.

Hopefully people who see such behaviours will file bugs against those
applications for not supporting rfc2046.  (This is not aimed specially at
Bart, either. :-))

> Also, using text/x-whatever tends to cause sending mailers to
> base64-encode the content, so it can't even be read by viewing the
> original message source.

Alpine uses base64, IIRC, but most others use quoted-printable, which is
fine for eyeballing the patch but breaks applying it.

> If this means not naming your patch files with a ".patch" extension,
> I'm sorry.  Rename them ".txt" before you attach them, if your mailer
> won't allow you to specify the content-type.  Thanks.

Done:

% git config --global format.suffix '.patch.txt'

Cheers,

Daniel
(I also use format.signature='' because the '---' line breaks recountdiff(1))

      reply	other threads:[~2018-09-27 19:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-25 15:14 Oliver Freyermuth
2018-09-25 19:21 ` Daniel Shahaf
2018-09-25 20:02   ` Oliver Freyermuth
2018-09-25 20:36     ` Daniel Shahaf
2018-09-25 21:22       ` Oliver Freyermuth
2018-09-25 22:56         ` Daniel Shahaf
2018-09-26  2:22           ` Oliver Freyermuth
2018-09-26 21:08     ` Leah Neukirchen
2018-09-27 18:20       ` Daniel Shahaf
2018-09-27 18:31         ` Bart Schaefer
2018-09-27 19:16           ` Daniel Shahaf [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

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

  git send-email \
    --in-reply-to=1538075802.2798703.1523051048.5AAEC24B@webmail.messagingengine.com \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).