Re: [hackers] [PATCH] Use right click as previous and enable scrolling to switch slides

2015-11-25 Thread Carlos Torres
On Thu, Nov 26, 2015 at 2:09 AM, Markus Teich
 wrote:
> Carlos Torres wrote:
>> Assuming this is for sent
>
> Heyho Carlos,
>
> Yes it was and it has already been applied a few hours later.

hah,

> since you can clearly see that from the mail which is sent by the git hook.

my bad...



Re: [hackers] [PATCH] Use right click as previous and enable scrolling to switch slides

2015-11-25 Thread Carlos Torres
Assuming this is for sent

On Thu, Nov 19, 2015 at 1:13 PM, Ivan Tham  wrote:
> ---
>  config.def.h | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/config.def.h b/config.def.h
> index 9aa6e08..0a56047 100644
> --- a/config.def.h
> +++ b/config.def.h
> @@ -20,7 +20,9 @@ static const float usableheight = 0.75;
>  static Mousekey mshortcuts[] = {
> /* button functionargument */
> { Button1,advance,{.i = +1} },
> -   { Button2,advance,{.i = -1} },
> +   { Button3,advance,{.i = -1} },
> +   { Button4,advance,{.i = -1} },
> +   { Button5,advance,{.i = +1} },
>  };
>
>  static Shortcut shortcuts[] = {
> --
> 2.6.2
>
>



Re: [hackers] [PATCH] Use right click as previous and enable scrolling to switch slides

2015-11-25 Thread Markus Teich
Carlos Torres wrote:
> Assuming this is for sent

Heyho Carlos,

Yes it was and it has already been applied a few hours later. Patches sent on
the hackers list don't need an acknowledgement that they have been applied,
since you can clearly see that from the mail which is sent by the git hook.

--Markus



[hackers] [scc] Fix static initializers || Roberto E. Vargas Caballero

2015-11-25 Thread git
commit 15240d34f2bc772e6232385437fa80dd424dac80
Author: Roberto E. Vargas Caballero 
AuthorDate: Wed Nov 25 22:33:08 2015 +0100
Commit: Roberto E. Vargas Caballero 
CommitDate: Wed Nov 25 22:33:08 2015 +0100

Fix static initializers

Static initializers can be only initialized by
constant expressions, and the static types we
have are GLOBAL, LOCAL and PRIVATE (static
with global context, function context and
file context).

diff --git a/cc1/expr.c b/cc1/expr.c
index 124dc31..d28ebd1 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -1186,7 +1186,7 @@ initializer(Symbol *sym, Type *tp, int nelem)
 
np = assignop(OINIT, varnode(sym), np);
 
-   if ((flags & (ISEXTERN|ISTYPEDEF)) != 0) {
+   if ((flags & (ISGLOBAL|ISLOCAL|ISPRIVATE)) != 0) {
if (!np->right->constant)
errorp("initializer element is not constant");
emit(OINIT, np);
@@ -1196,5 +1196,5 @@ initializer(Symbol *sym, Type *tp, int nelem)
} else {
np->op = OASSIGN;
emit(OEXPR, np);
-   }   
+   }
 }



Re: [hackers] [st] startup options

2015-11-25 Thread Roberto E. Vargas Caballero
> Mainly I want scroll when compiling. It print a lot of information and
> warnings. And I want to read them clearly without interrupting my
> compilation. Other than that I don't use scrolling much.
> 
> ofcourse, i can redirect std err to a log file and see it. But when I run
> "make" I need to redirect it to a file and then tail that file. I would be
> glad if there is some other workaround.

Do you know what is a pager? Maybe you could use something more or less
(pun intended)




Re: [hackers] [st] startup options

2015-11-25 Thread Ivan Tham

I use st with the scrollback patch with mouse support. I hope that it
can be without shift but I doesn't know how to do it.

--
_
< Do what you like, like what you do. >
-
   \   ^__^
\  (oo)\___
   (__)\   )\/\
   ||w |
   || ||



Re: [hackers] [st] startup options

2015-11-25 Thread Rashad Kanavath
On Wed, Nov 25, 2015 at 7:23 AM, David Phillips 
wrote:

> Me, I use dvtm(1) instead of tmux, and I only have my dwm config set
> to run st with a dvtm session inside. This way, I can manually start
> st without dvtm by asking for `st` from dmenu or another terminal. I
> suppose it's a matter of personal taste, but when I run 'st' I don't
> want dvtm or tmux. If I want them I'll ask for them by specifying such
> (but I know this goes against the OP's question), or by pressing the
> appropriate dwm hotkey
>

Mainly I want scroll when compiling. It print a lot of information and
warnings. And I want to read them clearly without interrupting my
compilation. Other than that I don't use scrolling much.

ofcourse, i can redirect std err to a log file and see it. But when I run
"make" I need to redirect it to a file and then tail that file. I would be
glad if there is some other workaround.

>
> This feature may rub some people up the wrong way, but it's just more
> food for thought.
>
>


-- 
Regards,
   Rashad


Re: [hackers] [scc] Fix character sequences || Roberto E. Vargas Caballero

2015-11-25 Thread Robert Ransom
On 11/24/15, g...@suckless.org  wrote:
> commit 1aa2143073c30f374c33e0288135dc3e04494588
> Author: Roberto E. Vargas Caballero 
> AuthorDate: Tue Nov 24 20:29:45 2015 +0100
> Commit: Roberto E. Vargas Caballero 
> CommitDate: Tue Nov 24 20:29:45 2015 +0100

> + case '\'': c = '\\'; return c;

I think this is supposed to be c = '\'' .



Re: [hackers] [scc] Remove CPPFLAGS from Makefiles || Roberto E. Vargas Caballero

2015-11-25 Thread Evan Gates
On Wed, Nov 25, 2015 at 1:03 AM,   wrote:
> Remove CPPFLAGS from Makefiles
>
> CPPFLAGS is not POSIX, so it is better to define
> everything in CFLAGS and become more portable.

Glanced at the makefiles after the mention of POSIX here. Note the
.POSIX target is required to be the first non comment line in the
makefile.

http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html#tag_20_76_13_04

-emg