help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visitor here is a gedit user; how to interest him in Emacs?


From: Marc Mientki
Subject: Re: Visitor here is a gedit user; how to interest him in Emacs?
Date: Wed, 08 Dec 2010 15:23:03 -0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6

Am 05.08.2010 08:12, schrieb David Combs:

every time I try to show him some Emacs concep, he says
that he can do that in gedit also.

Another example. Let him convert that

  value_at_1_4 = 10;
  value_at_2_2 = 11;
  value_at_5_1 = 300;

to this:

  value[3][0] = 10;
  value[1][1] = 11;
  value[0][4] = 300;

So he should extract two last number parts from variable name, remove '_at_' from name, use both index for c-array-indexing but in reverse order and 0-based (original was 1-based). Of course everything in one pass in full automatic :-)

regards
Marc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]