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

diff support for the Eiffel language?

From
UWUlrich Windl <ulrich.windl@rz.uni-regensburg.de>
Date
Oct 22, 2012, 11:58 UTC
Message-ID
<508550E8020000A10000CF36@gwsmtp1.uni-regensburg.de>
Hi!
After a longer pause, I did some programming in Eiffel again, and while doing so, why not use Git? It works!

However there's one little thing I noticed with "git diff": The conte4xt lines (staring with "@@") show the current function (in Perl and C), but they show the current "feature clause" in Eiffel (as opposed to the expected current feature). I wonder how hard it is to fix it (Observed in git 1.7.7 of openSUSE 12.1).

For the non-Eiffelists:

Eiffel has a class structure like this: class FOO

feature {BAR} -- This is a "feature clause", grouping related features (attributes/routines)
   baz (x,y : INTEGER) : STRING is
      -- blabla...
      do
         ...
      end -- baz
end -- class FOO

--- Now if I change something inside "baz", it would be nice if the @@-contect line would show "baz" (or more) instead of "feature {BAR}...".

Regards, Ulrich P.S. Apologies if the feature requested had been added already.

Next: Ævar Arnfjörð Bjarmason
Message 1 of 4 in “diff support for the Eiffel language?”
  1. Ulrich WindlOct 22, 2012
  2. Ævar Arnfjörð BjarmasonOct 22, 2012
  3. Johannes SixtOct 22, 2012
  4. Antw: Re: diff support for the Eiffel language?Ulrich Windl, Nov 27, 2012

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.