Gwern Branwen | 1 Nov 2008 01:19
Picon
Gravatar

Re: Call for xmonad.hs

On Sun, Oct 19, 2008 at 4:02 PM, Don Stewart <dons@...> wrote:
> gwern0:
>> On 2008.10.19 14:13:49 +0200, Joachim Breitner
<mail@...> scribbled 1.9K characters:
>> > Hi,
>> >
>> > Am Samstag, den 18.10.2008, 21:35 -0400 schrieb Gwern Branwen:
>> > > There're ~30 xmonad.hs's here
>> > > <http://haskell.org/haskellwiki/Xmonad/Config_archive>, but perhaps
>> > > 1/3 to 1/2 are obsolete or don't compile with darcs XM/XMC (at a very
>> > > rough guess). I'd like more.
>> >
>> > I can help with that. Do you want more type-check errors, or more syntax
>> > erors?
>> >
>> > (SCNR)
>>
>> For most of them, it looks like they're just out-of-date. My count
>> includes a bunch of xmonad.hses which never jumped from 0.4 to 0.5,
>> and obviously from 0.5 to darcs there've been any number of API
>> reasonable to infer the user is no longer using XMonad (in which case
>> they aren't useful in considering how to make XMonad users' lives
>> easier) or are using a different config (and then obviously we should
>> care less about a configuration even its creator doesn't want to use).
>>
>
> If they're not type correct, moved them to an 'Old' subpage?
>
> -- Don

(Continue reading)

Don Stewart | 1 Nov 2008 01:59
Favicon
Gravatar

Re: Call for xmonad.hs

gwern0:
> Followup: OK, so as everyone can see, I've gone through the config
> archive and checked everything in GHCi.
> 
> I've moved everything that didn't compile into
> <http://haskell.org/haskellwiki/Xmonad/Config_archive#Old_configurations>.
> This isn't a subpage, but a subsection. (Of course, with things split
> out like that, it certainly would be easy to make it a subpage if
> desired.)
> 
> In total, there were 20 configurations that worked. Including 1 I was
> sent privately, that makes 21 to work with. There were many which
> didn't work; some for odd reasons. Sereven's failed because some sort
> of prompt theme was defined but not used; 2 failed because a constant
> inadvertently had come to clash with a function (I fixed those); and a
> good 4 or 5 broke because of the defaultGaps move and related changes.

Good work!

> Later I'll take a look at them and see what commonalities I see.
> Offhand, 'cat *|sort|uniq -c|sort' turns out some surprising results:
> 
>       3 import Data.Ratio ((%))
>       3 import Graphics.X11
>       3 import XMonad.Actions.SwapWorkspaces
>       3 import XMonad.Hooks.SetWMName
>       3 import XMonad.Layout.Gaps
>       3 import XMonad.Layout.WindowNavigation
>       3 import XMonad.Operations
>       3 main = xmonad $ defaultConfig
(Continue reading)

Ismael Carnales | 1 Nov 2008 02:33
Picon
Gravatar

Re: Call for xmonad.hs

Excellent, the noborders extension is practically a must in every
configuration, also I think DynamicLog could be in core, who whats a WM
with no Worspace names, urgent hints or another things? That could
attract more users that only use Haskell for this great WM (i'm on the
road of fixing that :) )

I'll use this to ask for and old doubt of mine, what's
the difference between DwmPromote and Promote??

void in the Xmonad Wiki, my configuration:
http://www.haskell.org/haskellwiki/Xmonad/Config_archive/void's_xmonad.hs
and BTW: why is it in the old configuration archive??

byebye!

On Fri, Oct 31, 2008 at 08:19:27PM -0400, Gwern Branwen wrote:
> On Sun, Oct 19, 2008 at 4:02 PM, Don Stewart <dons@...> wrote:
> > gwern0:
> >> On 2008.10.19 14:13:49 +0200, Joachim Breitner
<mail@...> scribbled 1.9K characters:
> >> > Hi,
> >> >
> >> > Am Samstag, den 18.10.2008, 21:35 -0400 schrieb Gwern Branwen:
> >> > > There're ~30 xmonad.hs's here
> >> > > <http://haskell.org/haskellwiki/Xmonad/Config_archive>, but perhaps
> >> > > 1/3 to 1/2 are obsolete or don't compile with darcs XM/XMC (at a very
> >> > > rough guess). I'd like more.
> >> >
> >> > I can help with that. Do you want more type-check errors, or more syntax
> >> > erors?
(Continue reading)

Gwern Branwen | 1 Nov 2008 20:29
Picon
Gravatar

Re: Call for xmonad.hs

On Fri, Oct 31, 2008 at 9:33 PM, Ismael Carnales <icarnales@...> wrote:
> Excellent, the noborders extension is practically a must in every
> configuration,

Yes, I think this has been suggested before. IIRC, the reason that it
was rejected from core was that it would confuse Xinerama users (who
need to know which of the hypothetically-fullscreen'd monitors is the
focused one). I don't think that this is a great reason - surely it
could be reasonably easily modified to be a null-op in the case where
multiple monitors are actually being used?

> also I think DynamicLog could be in core, who whats a WM
> with no Worspace names, urgent hints or another things? That could
> attract more users that only use Haskell for this great WM (i'm on the
> road of fixing that :) )
>
> I'll use this to ask for and old doubt of mine, what's
> the difference between DwmPromote and Promote??
>
> void in the Xmonad Wiki, my configuration:
> http://www.haskell.org/haskellwiki/Xmonad/Config_archive/void's_xmonad.hs
> and BTW: why is it in the old configuration archive??
>
> byebye!

I'm not sure why; I must've made a mistake and thought that it didn't
compile with 0.8, but I just checked it again and it does seem to
work.

--
(Continue reading)

codesite | 2 Nov 2008 05:37
Picon
Favicon

Issue 234 in xmonad: broken links in xmonad contrib docs

Issue 234: broken links in xmonad contrib docs
http://code.google.com/p/xmonad/issues/detail?id=234

New issue report by ksavvior:
The following pages:

http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Doc-Extending.htm
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-Combo.html
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Layout-Tabbed.html

All reference
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Doc-Extending#Editing_key_bindings.html

It looks like the anchor text is being slipped in before the .html  
extension.

Component-Contrib

Issue attributes:
	Status: New
	Owner: ----

--

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
wirtwolff | 2 Nov 2008 06:25
Picon

darcs patch: Actions.DisplayUI, for displaying bindings onscreen during screencasts

This is an XConfig modifier designed to be used with external display 
program like dzen2 or osd_cat. You give it a String -> X(), it modifies 
bindings so when you use one, whatever your function does with the 
string representing that key or mouse binding is sequenced with the 
normal action. There's a custom format version too. It doesn't work with 
submapped keys, i.e. sequences like "M-x f".

Amazing how something with the potential to screw up every single action 
in XMonad never once broke my xmonad. Yay for xmonad's design, monads, 
and functional programming!

regards,
Wirt
Sat Nov  1 22:51:09 MDT 2008  Wirt Wolff <wirtwolff@...>
  * Actions.DisplayUI, for displaying bindings onscreen during screencasts

New patches:

[Actions.DisplayUI, for displaying bindings onscreen during screencasts
Wirt Wolff <wirtwolff@...>**20081102045109] {
addfile ./XMonad/Actions/DisplayUI.hs
hunk ./XMonad/Actions/DisplayUI.hs 1
+--------------------------------------------------------------------
+-- |
+-- Module      :  XMonad.Actions.DisplayUI
+-- Copyright   :  Wirt Wolff <wirtwolff@...>
+-- License     :  BSD3-style (see LICENSE)
+--
(Continue reading)

Mauricio | 2 Nov 2008 16:21
Picon
Favicon

Re: Call for xmonad.hs

 > (...)
> 1) Upload your config
> 2) If you've uploaded your config, update it!
> 3) If you use someone else's config (...)
> 4) If you don't want to do any of 1-3, perhaps (...)

Since I was afraid of messing the wiki, here is
mine.

Best,
Maurício

----------------------------

module  Main  (  main )  where  {  import  qualified Data.Map  ;  import
System.Cmd  ;  import  XMonad  ; import  XMonad.Layout.Tabbed  ;  import
XMonad.StackSet ;

  comandoDoDmenu = "exe=`dmenu_path | dmenu` && eval \"exec $exe\"" ;

  executarNaInicialização = "\
  \ xmodmap -e \"keycode 113 = 0xffea 0xffe8\" ; \
  \ xmodmap -e \"keycode 117 = 0xffe3\" ; \
  \ xmodmap -e \"keycode 106 = 0xffe4\" ; \
  \ xmodmap -e \"remove lock = Caps_Lock\" ; \
  \ xmodmap -e \"add mod1 = Alt_R\" ; \
  \ xmodmap -e \"add mod1 = Meta_R\" ; \
  \ xmodmap -e \"remove mod5 = Alt_R\" ; \
  \ xset -r \
  \" ;
(Continue reading)

Gwern Branwen | 2 Nov 2008 19:23
Picon
Gravatar

Re: Re: Call for xmonad.hs

On Sun, Nov 2, 2008 at 10:21 AM, Mauricio <briqueabraque <at> yahoo.com> wrote:
>> (...)
>>
>> 1) Upload your config
>> 2) If you've uploaded your config, update it!
>> 3) If you use someone else's config (...)
>> 4) If you don't want to do any of 1-3, perhaps (...)
>
> Since I was afraid of messing the wiki, here is
> mine.
>
> Best,
> Maurício
>
> ----------------------------
>
> module  Main  (  main )  where  {  import  qualified Data.Map  ;  import
> System.Cmd  ;  import  XMonad  ; import  XMonad.Layout.Tabbed  ;  import
> XMonad.StackSet ;
>
>  comandoDoDmenu = "exe=`dmenu_path | dmenu` && eval \"exec $exe\"" ;
>
>  executarNaInicialização = "\
>  \ xmodmap -e \"keycode 113 = 0xffea 0xffe8\" ; \
>  \ xmodmap -e \"keycode 117 = 0xffe3\" ; \
>  \ xmodmap -e \"keycode 106 = 0xffe4\" ; \
>  \ xmodmap -e \"remove lock = Caps_Lock\" ; \
>  \ xmodmap -e \"add mod1 = Alt_R\" ; \
>  \ xmodmap -e \"add mod1 = Meta_R\" ; \
>  \ xmodmap -e \"remove mod5 = Alt_R\" ; \
(Continue reading)

Brent Yorgey | 3 Nov 2008 02:38
Favicon
Gravatar

Re: darcs patch: Search.hs: +hackage search, courtesy of byorgey

On Fri, Oct 31, 2008 at 06:06:29PM -0400, gwern0@... wrote:
> Fri Oct 31 17:49:37 EDT 2008  gwern0@...
>   * Search.hs: +hackage search, courtesy of byorgey

Applied.  Thanks for making this into a patch Gwern, I've no idea why I didn't. =)

Brent Yorgey | 3 Nov 2008 02:47
Favicon
Gravatar

Re: darcs patch: generic menu and window bringer

On Sun, Oct 26, 2008 at 07:00:18PM -0600, Travis B. Hartwell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Travis B. Hartwell wrote:
> > I've had to make some patches for XMonadContrib in order to support the
> > new Gtk replacement for dmenu I have written:
> 
> Attached is a new patch including the changes that sjanssen recommended
> on IRC.  Thanks for the recommendations and the simplification!
> 
> One note.  I had to upgrade my haddock from what it in Ubuntu Hardy
> Heron (version 0.8) to the latest so that it wouldn't choke on
> processing XMonad.Util.XSelection because of the C Preprocessor
> Directives.  Just a note for anyone trying to do a darcs record or
> building the haddock docs.
> 
> Thanks again!
> 

Applied, thanks!

-Brent

Gmane