Re: [dev] [st] [patch] Cleanup config.def.h, eliminate mappedkeys, simplify matching.

2013-10-20 Thread Roberto E. Vargas Caballero
The third patch simplifies the matching logic in kmap() and match() without changing the behavior. Hopefully, it is straightforward, but it probably deserves a careful reading to make sure I haven't made any mistakes. Why removing mappedkeys? Sure, there may be no visible regression, but

Re: [dev] [st] [patch] Cleanup config.def.h, eliminate mappedkeys, simplify matching.

2013-10-20 Thread Roberto E. Vargas Caballero
The first patch is purely aesthetic: it cleans up column headings (comments) and internal tabs in the shortcuts/key/mshortcuts tables in config.def.h. It also renames the fields in Key to match the nicer names given in config.def.h. Please send atomic patches, The patch must do

Re: [dev] [st] [patch] Ignore numlock (Mod2Mask) for button events too.

2013-10-20 Thread Roberto E. Vargas Caballero
A bug presents if you try to add a button shortcut to mshortcuts using a mask, for example: { Button3, ShiftMask, hi}, The above does not work if Numlock (Mod2Mask) is on, which is unexpected. I'll apply it, thanks. -- Roberto E. Vargas Caballero

[dev] [sbase] S_ISVTX patches

2013-10-20 Thread Markus Wichmann
Hi all, as previously threatened, here are some git patches. Hope that helps. Ciao, Markus From dfe485c4298aa8572f7534e19336b682239d0879 Mon Sep 17 00:00:00 2001 From: Markus Wichmann nullp...@gmx.net Date: Sun, 20 Oct 2013 10:49:59 +0200 Subject: [PATCH 1/4] Make mkdir read mode argument as

Re: [dev] [sbase] S_ISVTX patches

2013-10-20 Thread sin
On Sun, Oct 20, 2013 at 11:11:21AM +0200, Markus Wichmann wrote: Hi all, as previously threatened, here are some git patches. Hope that helps. Applied, thanks. In the future please use tabs instead of spaces (I've manually fixed your patches for now). Thanks, sin

Re: [dev] [st] [patch] Cleanup config.def.h, eliminate mappedkeys, simplify matching.

2013-10-20 Thread Mark Edgar
On Sat, Oct 19, 2013 at 12:43 PM, Alexander S. alex0pla...@gmail.com wrote: Why removing mappedkeys? Sure, there may be no visible regression, but checking every keypress against key bindings seems unreasonable to me. On Sun, Oct 20, 2013 at 9:11 AM, Roberto E. Vargas Caballero k...@shike2.com

Re: [dev] [st] [patch] Cleanup config.def.h, eliminate mappedkeys, simplify matching.

2013-10-20 Thread Christoph Lohmann
Greetings. On Sun, 20 Oct 2013 18:05:09 +0200 Mark Edgar medgar...@gmail.com wrote: However, since (I'm assuming) the only point of mappedkeys[] or sorting key[] is for performance, and since there is no measurable performance difference among these three versions, I think the simplest code

Re: [dev] Some thoughts about XML

2013-10-20 Thread Szymon Olewniczak
On Sun, Oct 20, 2013 at 01:02:34AM +0200, Dmitrij D. Czarkoff wrote: Evan Buswell said: But OTOH, I do like the idea of separating the translation-to-html bit from the generate-sensible-output bit. XSLT may have done this poorly, but it's on the right track (and what else works better for

Re: [dev] I'm back

2013-10-20 Thread Carlos Torres
On Tue, Aug 13, 2013 at 6:24 PM, Carlos Torres vlaadbr...@gmail.com wrote: Glad you changed your mind on Android core. Consider looking at tinycorelinux; it too is very simple. simpler than crux. hmm, after tooling around with tinycorelinux, i think its use doesn't make sense as a day-to-day

Re: [dev] [st] [patch] Cleanup config.def.h, eliminate mappedkeys, simplify matching.

2013-10-20 Thread Mark Edgar
On Sun, Oct 20, 2013 at 9:51 AM, Roberto E. Vargas Caballero k...@shike2.com wrote: Please send atomic patches Sorry for the mess, I've broken these changes out now. In this case the tab part is not correct, because we use smart tabs in the project, tabs for indentation and spaces for

Re: [dev] [dwm] Multi-seat with dwm in a single X server

2013-10-20 Thread Julian Dammann
Multi-seat with full 3d acceleration. Is this something of interest to you? I am very interested :) Can you share your patches, please? I would also be very interested in your specific setup and if you had to tweak e.g. xorg configuration.

Re: [dev] [st] [patch] Cleanup config.def.h, eliminate mappedkeys, simplify matching.

2013-10-20 Thread Mark Edgar
On Sun, Oct 20, 2013 at 9:51 AM, Roberto E. Vargas Caballero k...@shike2.com wrote: I think this patch is correct, because XK_NO_MOD is 0, so if there is some modifier then 'state == mask' will be false. After the simplification, match is too short and does nothing, so I think it should be

Re: [dev] Some thoughts about XML

2013-10-20 Thread Dmitrij D. Czarkoff
Szymon Olewniczak said: I'm serching for something similar as dwm in the web services world. The thing you were talking about initially - if I got you right - is another CMS engine. You may look at werc for a good implementation of this idea. If you want something more lightweight, you may

Re: [dev] Launching new terminals in $PWD

2013-10-20 Thread admin
Am 2013-10-18 11:14, schrieb Manolo Martínez: Hello, I was trying to create a shortcut to launch new terminals in my current working directory. I've seen there's a two year-old thread, and a patch, about this, which probably means that the kind of easy solutions I've been trying cannot work.

Re: [dev] Launching new terminals in $PWD

2013-10-20 Thread Chris Down
On 2013-10-20 23:31, ad...@dav1d.de wrote: Ever tried to launch that through sh?: /bin/sh -c urxvt -cd `pwd` Please read the rest of the thread before posting. If you had done so, you would know that: - This question has already been answered; - This answer was already given; - This answer is