Malebria | 1 Jun 2008 23:34

darcs patch: Haddock syntax for enumeration (and 1 more)

Sun Jun  1 17:49:51 BRT 2008  Malebria <malebria@...>
  * Haddock syntax for enumeration

Sun Jun  1 18:25:15 BRT 2008  Malebria <malebria@...>
  * Haddock links
Sun Jun  1 17:49:51 BRT 2008  Malebria <malebria@...>
  * Haddock syntax for enumeration

Sun Jun  1 18:25:15 BRT 2008  Malebria <malebria@...>
  * Haddock links
Gwern Branwen | 2 Jun 2008 00:27
Picon
Gravatar

Raising Amarok

Ho everyone:

I recently installed Ubuntu, and so could now use Amarok (the Gentoo installation being messed up for me),
and all is well. I went to add a keybinding:

>          , ((m,              xK_a), runOrRaise "amarok" (title =? "Amarok"))

And it is kind of odd. It is the correct name, and it works correctly when Amarok is not running - but if Amarok
is running, it only causes a file dialogue to open up instead of the right thing. (See attached screenshots.)

Is this Amarok's fault? Any ideas how to work around it?

--
gwern
FSK S511 Zemin Monica PABX NSG mercur text Meade ULF
Ho everyone:

I recently installed Ubuntu, and so could now use Amarok (the Gentoo installation being messed up for me),
and all is well. I went to add a keybinding:

>          , ((m,              xK_a), runOrRaise "amarok" (title =? "Amarok"))

And it is kind of odd. It is the correct name, and it works correctly when Amarok is not running - but if Amarok
is running, it only causes a file dialogue to open up instead of the right thing. (See attached screenshots.)

Is this Amarok's fault? Any ideas how to work around it?
(Continue reading)

Spencer Janssen | 2 Jun 2008 06:18
Favicon

Re: Raising Amarok

On Sun, Jun 01, 2008 at 06:27:18PM -0400, Gwern Branwen wrote:
> Ho everyone:
> 
> I recently installed Ubuntu, and so could now use Amarok (the Gentoo installation being messed up for me),
and all is well. I went to add a keybinding:
> 
> >          , ((m,              xK_a), runOrRaise "amarok" (title =? "Amarok"))
> 
> And it is kind of odd. It is the correct name, and it works correctly when Amarok is not running - but if Amarok
is running, it only causes a file dialogue to open up instead of the right thing. (See attached screenshots.)
> 
> Is this Amarok's fault? Any ideas how to work around it?
> 
> 
> --
> gwern
> FSK S511 Zemin Monica PABX NSG mercur text Meade ULF

Try matching on the WM_CLASS (note that it is set to "amarokapp") instead.  If
this works, there might be some problem with the 'title' function.
Spencer Janssen | 2 Jun 2008 06:25
Favicon

Re: darcs patch: Haddock syntax for enumeration (and 1 more)

On Sun, Jun 01, 2008 at 02:34:51PM -0700, Malebria wrote:
> Sun Jun  1 17:49:51 BRT 2008  Malebria <malebria@...>
>   * Haddock syntax for enumeration
> 
> Sun Jun  1 18:25:15 BRT 2008  Malebria <malebria@...>
>   * Haddock links

The second patch looks good, but I don't understand the purpose of the first.
Why add so many blank comment lines?  Unless there is a good reason for that
change, please re-record and send the 'Haddock links' patch separately.

Cheers,
Spencer Janssen
Spencer Janssen | 2 Jun 2008 06:36
Favicon

Re: Raising Amarok

On Sun, Jun 01, 2008 at 11:18:57PM -0500, Spencer Janssen wrote:
> On Sun, Jun 01, 2008 at 06:27:18PM -0400, Gwern Branwen wrote:
> > Ho everyone:
> > 
> > I recently installed Ubuntu, and so could now use Amarok (the Gentoo installation being messed up for
me), and all is well. I went to add a keybinding:
> > 
> > >          , ((m,              xK_a), runOrRaise "amarok" (title =? "Amarok"))
> > 
> > And it is kind of odd. It is the correct name, and it works correctly when Amarok is not running - but if
Amarok is running, it only causes a file dialogue to open up instead of the right thing. (See attached screenshots.)
> > 
> > Is this Amarok's fault? Any ideas how to work around it?
> > 
> > 
> > --
> > gwern
> > FSK S511 Zemin Monica PABX NSG mercur text Meade ULF
> 
> Try matching on the WM_CLASS (note that it is set to "amarokapp") instead.  If
> this works, there might be some problem with the 'title' function.

Very good advice, Spencer.  I'd also add that Amarok changes title when music
is playing, making it rather likely that this is not an issue with xmonad's
'title' function at all.  WM_CLASS should be much more robust here since it is
a violation of the ICCCM to change those properties after requesting that the
window be mapped.
Devin Mullins | 2 Jun 2008 07:04

Re: darcs patch: Haddock syntax for enumeration (and 1 more)

On Sun, Jun 01, 2008 at 11:25:40PM -0500, Spencer Janssen wrote:
> The second patch looks good, but I don't understand the purpose of the first.
> Why add so many blank comment lines?  Unless there is a good reason for that
> change, please re-record and send the 'Haddock links' patch separately.

-- 1. Blah
--
-- 2. Blah

renders as an <ol>, but

-- 1. Blah
-- 2. Blah

renders as <p>1. Blah 2. Blah</p>.

At least, that's what I assume it's about. I didn't look at the patch in
detail.
Asumu Takikawa | 2 Jun 2008 09:51

Re: Gnome Do config

Late response and I guess you've ditched Do, but maybe someone will find
it useful. I got Gnome Do working with this snippet in the management hook:

  , resource =? "Do" --> doIgnore

It works fine for me. I bound it to mod+d and it pops up and the arrows
seem to work. It disappears when I focus on a different window.

Cheers,
Asumu Takikawa

On 20:01 Tue 27 May     , Magnus Therning wrote:
> Under Xmonad the drop-downs are unresponsive to up and down keys.  They
> won't even go away when choosing something with the mouse.  The only way
> I've found is to click the little triangle in the top-right corner and
> choose "Exit".
> 
> I ended up removing GnomeDo altogether, IMNSHO it's simply too broken to
> be used.
> 
> /M
> 
> -- 
> Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
> magnus@therning.org             Jabber: magnus.therning@gmail.com
> http://therning.org/magnus
Yitzchak Gale | 2 Jun 2008 10:57

Session configuration in xmonad under kdm

On Debian testing (Lenny), when I install the
xmonad package I automatically get an
"XMonad" item in the "Session type" menu
on the kdm login screen. Nice!

But how do I configure that session? It ignones
my ~/.xsession.

Thanks,
Yitz
Yitzchak Gale | 2 Jun 2008 12:54

Re: Session configuration in xmonad under kdm

I wrote:
> On Debian testing (Lenny), when I install the
> xmonad package I automatically get an
> "XMonad" item in the "Session type" menu
> on the kdm login screen. Nice!
> But how do I configure that session? It ignones
> my ~/.xsession.

OK, I see why. The Debian package supplies a
file /usr/share/xsessions/xmonad.desktop
containing the line:

Exec=xmonad

Instead, it should run a script that first sources
xsession file(s) and then execs xmonad.

I propose that:

o the cross-platform standard name
  for this script should be "startxmonad"
  (/usr/bin/startxmonad on Debian).
o the script should set SESSION_TYPE=xmonad so that
  xsession scripts can know that this is an xmonad session.
o the script should first source /etc/xmonad/xsession,
  if it exists, then ~/.xsession if it exists.

Debian bug submitted.

Other platforms?
(Continue reading)

Malebria | 2 Jun 2008 19:57

Re: darcs patch: Haddock syntax for enumeration (and 1 more)

Em Dom, 2008-06-01 às 22:04 -0700, Devin Mullins escreveu:
> -- 1. Blah
> --
> -- 2. Blah
> 
> renders as an <ol>, but
> 
> -- 1. Blah
> -- 2. Blah
> 
> renders as <p>1. Blah 2. Blah</p>.

Right.

--

-- 
Malebria
http://malebria.wordpress.com/
http://marcotmarcot.googlepages.com/
Correio eletrônico: malebria@...
XMPP: malebria@...
MSN: marcotmarcot@...
Telefone: 25151920
Celular: 98116720
Endereço:
 Rua Turfa, 639/701 Prado 30410-370
 Belo Horizonte/MG Brasil


Gmane