all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: systemd @ in filenames not supported by thing-at-point
Date: Sat, 30 Jul 2016 21:00:52 -0400	[thread overview]
Message-ID: <3e9c56ad-29a7-512f-845d-1863c497c14e@gmail.com> (raw)
In-Reply-To: <86k2g2r6y3.fsf@student.uu.se>


[-- Attachment #1.1: Type: text/plain, Size: 1982 bytes --]

On 2016-07-30 20:23, Emanuel Berg wrote:
> Clément Pit--Claudel wrote:
> 
>> I have no idea what this is about, or what it
>> has to do with Emacs. In any case, the
>> original issue sounds like a bug to me, and
>> you seem to have a reasonable-looking fix for
>> it. Can you prepare a patch and send it with
>> M-x report-emacs-bug? That would be very
>> useful; we could probably discuss that
>> fix there.
> 
> By "preparing a patch", do you mean there is
> some formal way of doing that? If so, I am not
> familiar with that. (I know of
> `report-emacs-bug', of course.)

:) It's very easy. You checkout the Emacs source tree with git, then make your change, commit it with a message in Changelog format), test it, and finally use `git-format-patch HEAD~1` to save it as a .patch file. Then you can post it as an attachment to a report-emacs-bug email summarizing the issue and the proposed fix.

As a small bonus, this process ensures that you're credited for finding and fixing the issue in the Emacs history, which is nice :); also, it makes it easy for people to test the proposed fix (although, arguably, it's already easy in this case).

In general, you need to sign a contributor agreement to send patches to Emacs; this particular fix however counts as a "trivial" fix, and thus is exempted from this. But if you haven't yet done so, signing the CLA is very easy, and will make it smoother to contribute more significant patches in the future :)

> However, in my initial post I added the @
> *first* which I have since learned on
> gnu.emacs.help turns the original, initial dash
> into an interval (when it doesn't appear first
> anymore), i.e., all of [@, ~] in math notation
> are included which wasn't the intention,
> for sure!

That's right; nice catch. I'd suggest sending the patch to bug-gnu-emacs, and seeing if people have other similar insight.

Cheers and thanks for catching this issue and proposing a fix!
Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-07-31  1:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-30  1:35 systemd @ in filenames not supported by thing-at-point Emanuel Berg
2016-07-30  5:42 ` Drew Adams
2016-07-30  6:02   ` Emanuel Berg
2016-07-30  6:47     ` Drew Adams
2016-07-30  7:22       ` Emanuel Berg
2016-07-30 14:45         ` Drew Adams
2016-07-30 15:33           ` Emanuel Berg
2016-07-30 16:19             ` Clément Pit--Claudel
2016-07-31  0:23               ` Emanuel Berg
2016-07-31  1:00                 ` Clément Pit--Claudel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-07-30  1:31 Emanuel Berg
2016-07-30  5:41 ` Drew Adams
2016-07-30  6:07   ` Emanuel Berg
2016-07-30  6:43     ` Drew Adams
2016-07-30 17:29   ` Stefan Monnier
2016-07-30 18:01     ` Emanuel Berg
2016-07-30  6:48 ` Yuri Khan
2016-07-30  7:58   ` Emanuel Berg

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=3e9c56ad-29a7-512f-845d-1863c497c14e@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.