diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-March/023244.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-March/023244.html | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-March/023244.html b/zarb-ml/mageia-dev/2013-March/023244.html new file mode 100644 index 000000000..901cb6d7b --- /dev/null +++ b/zarb-ml/mageia-dev/2013-March/023244.html @@ -0,0 +1,99 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Freeze push: desktop-common-data + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Freeze%20push%3A%20desktop-common-data&In-Reply-To=%3Ckgtqb6%24mjg%241%40ger.gmane.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="023242.html"> + <LINK REL="Next" HREF="023245.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Freeze push: desktop-common-data</H1> + <B>David Walser</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Freeze%20push%3A%20desktop-common-data&In-Reply-To=%3Ckgtqb6%24mjg%241%40ger.gmane.org%3E" + TITLE="[Mageia-dev] Freeze push: desktop-common-data">luigiwalser at yahoo.com + </A><BR> + <I>Sat Mar 2 22:18:33 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="023242.html">[Mageia-dev] Freeze push: desktop-common-data +</A></li> + <LI>Next message: <A HREF="023245.html">[Mageia-dev] Freeze push: desktop-common-data +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23244">[ date ]</a> + <a href="thread.html#23244">[ thread ]</a> + <a href="subject.html#23244">[ subject ]</a> + <a href="author.html#23244">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>nicolas vigier wrote: +><i> On Sat, 02 Mar 2013, David Walser wrote: +</I>><i> +</I>>><i> nicolas vigier wrote: +</I>>><i> > Please push desktop-common-data. +</I>>><i> > +</I>>><i> > In this new version /usr/bin/editor has been changed to try to use +</I>>><i> > $VISUAL and $EDITOR instead of only $TEXTEDITOR : +</I>>><i> > <A HREF="http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?view=log">http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?view=log</A> +</I>>><i> +</I>>><i> This was a bad change. It was working fine :o( +</I>>><i> +</I>>><i> <A HREF="http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?r1=7450&r2=7451">http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?r1=7450&r2=7451</A> +</I>><i> +</I>><i> It was not working. You can try with a script like this to check that it +</I>><i> doesn't work : +</I>><i> #!/bin/sh +</I>><i> TEXTEDITOR="xvt -e vim" +</I>><i> $TEXTEDITOR $@ +</I>><i> +</I>><i> It opens a new terminal with vim inside, but does not open the file. +</I>><i> +</I>><i> Also opening a new terminal when you are already in a terminal is not +</I>><i> very nice. +</I> +It was working fine, I tested it when I wrote it. Do you even know what this script is for? + +It's for launcher buttons in desktop environments (and other things that needs launch an editor in a DE), for example one of the default +toolbar buttons in IceWM. + +Those normally wouldn't be passing a filename to it, but even if you want to use it that way (which is totally reasonable), you can just add +the "$@" to it, rather than wholesale ripping out its support of emacs-nox and vim! + +Also, it needs to open a new terminal most of the time, since it's not actually meant to be called from one. Again though, that's not an +unreasonable usage, but you could just add code to detect that case, rather than again ripping out the main functionality that it's designed +for. + +</PRE> + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="023242.html">[Mageia-dev] Freeze push: desktop-common-data +</A></li> + <LI>Next message: <A HREF="023245.html">[Mageia-dev] Freeze push: desktop-common-data +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#23244">[ date ]</a> + <a href="thread.html#23244">[ thread ]</a> + <a href="subject.html#23244">[ subject ]</a> + <a href="author.html#23244">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |