[Geany] Send selection&newline to terminal

Enrico Tröger enrico.troeger at xxxxx
Sat Nov 28 11:24:27 UTC 2009


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.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20091128/40362aa4/attachment.pgp>


More information about the Users mailing list