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

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

Re: Defining functions on the fly


From: Andreas Röhler
Subject: Re: Defining functions on the fly
Date: Tue, 16 Jun 2015 17:46:47 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 16.06.2015 um 15:10 schrieb Tassilo Horn:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

No.  `do ... done' is no valid expression, i.e., it cannot stand on
its own but is only valid together with for, while, until, or repeat.
It's not the point to care for that.
Well, when you say you want to move by expression or statement then it
seems legit to do exactly that and not move by half of a statement.

It's about editing, reading, understanding the source.
I can understand that moving to the do wouldn't be bad with respect to
editing because it's nearer, e.g., two smaller steps might be better
than one large step which might already be too much.  But the same time
you argue that `forward-sexp' in a string should jump to its end instead
of moving word-wise in its contents first.

Because forward-word is implemented already and forward-sexp is redundant in this circumstances,
while goto-end/start of string is missing.


[ ... ]



reply via email to

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