On Sat, 28 Nov 2009 12:24:27 +0100, Enrico wrote:

>On Thu, 26 Nov 2009 15:41:30 +0000, Liviu wrote:
>
>Hey,
>
>>When working with R files, in order to use "Send selection to
>>terminal" one would want to append a newline to the selection. While
>>this can often be done manually in the written code, it can get
>>awkward to do so when in need to execute only one line from the middle
>>of a paragraph.
>
>Well, I think it's a great feature that line breaks are not added
>magically. This could do much harm if one selects something like "rm
>-rf ~" (not the most originally example but still).
>I really think if the user really wants to execute this selection,
>he/she should either include the line break or hit Enter/Return
>manually in the terminal. Automatically executing commands is always
>risky.

Forgot to mention:
Geany actually removes the last trailing \n from the selection to
explicitly try to prevent the requested behaviour and I still think
this is good and should be kept.



Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc

Attachment: pgpILDQ8T9zHH.pgp
Description: PGP signature

_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to