git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] userdiff: add Elixir to supported userdiff languages

From
Łukasz Niemier <lukasz@niemier.pl>
Date
Nov 8, 2019, 15:42 UTC
Message-ID
<86417D50-2C28-477A-BC49-9097A24A3BF3@niemier.pl>
In-Reply-To
<f85a5c31-52ff-85be-b1e0-f3982fd2a7f2@kdbg.org>
> Please keep the Cc list when you send new patch versions. Also, it is
> customary to send them as replies to the earlier iterations, so that
> they all end up in the same thread.

Sorry, I am still learning how to use git send-email and I thought it would be handled automatically. I need to find how to operate it properly and how to configure it to reply in thread instead of creating new one.

> There are no single- and double-quote anymore. An oversight? Or an error
> in the earlier iteration?

No, I intentionally left them out, as :’foo bar’ is allowed atom, and I didn’t want to complicate everything word regex. Instead I assumed that these are so rare, that it should not be a problem.

Show 5 quoted lines
> The leading optional sign may be problematic. When a patch changes "i+1"
> to "i+2", it would be highlighted as "i{-+1-}{++2+}" instead of as
> "i+{-1-}{+2+}". You could remove the leading optional sign and let it be
> processed as an operator. But we also have an optional sign in the cpp
> pattern as well, and haven't noticed it until now, so…

I copied this pattern from other languages, so I assumed that this is what is expected. It could be fixed, but I think it should be handled in separate patch.

--

Łukasz Niemier lukasz@niemier.pl

Previous: Johannes SixtNext: Łukasz Niemier
Message 3 of 5 in “userdiff: add Elixir to supported userdiff languages”
  1. userdiff: add Elixir to supported userdiff languagesŁukasz Niemier, Nov 6, 2019
  2. Johannes SixtNov 7, 2019
  3. Łukasz NiemierNov 8, 2019
  4. userdiff: add Elixir to supported userdiff languagesŁukasz Niemier, Nov 8, 2019
  5. Johannes SixtNov 9, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.