[sage-devel] Re: hyperlinks for Colloquy users

2008-04-09 Thread Yi Qiang

Haha, yeah, it almost makes your solution look "simple" at this point.
I filed a bug report in their trac.

On Wed, Apr 9, 2008 at 10:22 PM, David Harvey <[EMAIL PROTECTED]> wrote:
>
>
>  On Apr 10, 2008, at 1:02 AM, Yi Qiang wrote:
>
>  > I debugged this some more with Craig Citro and it turns out it's a bug
>  > in Colloquy itself. It seems that on Leopard system it links against
>  > Python 2.3 by default. I've recompiled it so it links against Python
>  > 2.5 if it exists and falls back to Python 2.3 if it does not (so it's
>  > still compatible on 10.4)
>  >
>  > You can find the app here:
>  >
>  > http://yiqiang.org/Colloquy.zip
>  >
>  > Follow the same instructions as in the previous email to install
>  > the plugin.
>  >
>  > Craig reported it working correctly on his machine now so I'm curious
>  > to see if anyone else has success =)
>
>  So now I have to both use a patched Colloquy *and* a plugin? :-)
>
>  But seriously, if this is really a colloquy bug, you should submit it
>  to the author(s). They seem to have a pretty ferocious release schedule.
>
>  I'm too tired to try it now, will try tomorrow.
>
>
>
>  david
>
>
>  >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-09 Thread David Harvey


On Apr 10, 2008, at 1:02 AM, Yi Qiang wrote:

> I debugged this some more with Craig Citro and it turns out it's a bug
> in Colloquy itself. It seems that on Leopard system it links against
> Python 2.3 by default. I've recompiled it so it links against Python
> 2.5 if it exists and falls back to Python 2.3 if it does not (so it's
> still compatible on 10.4)
>
> You can find the app here:
>
> http://yiqiang.org/Colloquy.zip
>
> Follow the same instructions as in the previous email to install  
> the plugin.
>
> Craig reported it working correctly on his machine now so I'm curious
> to see if anyone else has success =)

So now I have to both use a patched Colloquy *and* a plugin? :-)

But seriously, if this is really a colloquy bug, you should submit it  
to the author(s). They seem to have a pretty ferocious release schedule.

I'm too tired to try it now, will try tomorrow.

david


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-09 Thread Yi Qiang

I debugged this some more with Craig Citro and it turns out it's a bug
in Colloquy itself. It seems that on Leopard system it links against
Python 2.3 by default. I've recompiled it so it links against Python
2.5 if it exists and falls back to Python 2.3 if it does not (so it's
still compatible on 10.4)

You can find the app here:

http://yiqiang.org/Colloquy.zip

Follow the same instructions as in the previous email to install the plugin.

Craig reported it working correctly on his machine now so I'm curious
to see if anyone else has success =)

On Wed, Apr 9, 2008 at 1:08 PM, Yi Qiang <[EMAIL PROTECTED]> wrote:
> Do you use Leopard? I don't know if pyobjc is distributed in pre 10.5.
>
>  Any chance you've installed a different Python.framework other than
>  what's shipped in /System/Library/Frameworks?
>
>
>
>  On Wed, Apr 9, 2008 at 6:12 AM, David Harvey <[EMAIL PROTECTED]> wrote:
>  >
>  >  Yi,
>  >
>  >  This sounds like a much better approach than what I did, but when I
>  >  run that I get an error message about not being able to find the objc
>  >  module?
>  >
>  >  david
>  >
>  >
>  >
>  >  On Apr 9, 2008, at 2:54 AM, Yi Qiang wrote:
>  >
>  >  >
>  >  > Hey,
>  >  > I thought this was a great idea but I found the patching Colloquy
>  >  > approach to be a bit hardcore, especially since it does the wrong
>  >  > things for channel urls in other channels.
>  >  >
>  >  > I whipped up a quick python plugin using Colloquy's plugin framework.
>  >  > To install it, just drop it into ~/Library/Application
>  >  > Support/Colloquy/PlugIns/ and type /reload plugins or restart
>  >  > Colloquy.
>  >  >
>  >  > You can get the plugin here:
>  >  >
>  >  > http://yiqiang.org/sage-devel-trac.py
>  >  >
>  >  > Cheers,
>  >  > Yi
>  >  >
>  >  > http://yiqiang.org
>  >  >
>  >  > On Fri, Apr 4, 2008 at 10:22 AM, David Harvey
>  >  > <[EMAIL PROTECTED]> wrote:
>  >  >>
>  >  >>  Hi all,
>  >  >>
>  >  >>  This message is for Sage developers who use the Colloquy IRC chat
>  >  >>  client.
>  >  >>
>  >  >>  I have patched Colloquy so that text like "#1234" gets
>  >  >> hyperlinked to
>  >  >>  the sage trac server.
>  >  >>
>  >  >>  Here is the patch file, which should get applied to the file Panels/
>  >  >>  JVDirectChatPanel.m in the root of the colloquy tree (you can get
>  >  >> the
>  >  >>  original source via svn from the main colloquy web site):
>  >  >>
>  >  >> http://math.harvard.edu/~dmharvey/sage-colloquy.patch
>  >  >>
>  >  >>  Also I made a binary. I think I made it Universal. But really I have
>  >  >>  no idea what I'm doing, since I don't really know how to use XCode,
>  >  >>  but it seems to work for me (OSX 10.4.11, intel):
>  >  >>
>  >  >> http://math.harvard.edu/~dmharvey/Colloquy.app.zip
>  >  >>
>  >  >>  david
>  >  >>
>  >  >>
>  >  >>>
>  >  >>
>  >  >
>  >  > >
>  >
>  >
>  >  >  >
>  >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-09 Thread Yi Qiang

Do you use Leopard? I don't know if pyobjc is distributed in pre 10.5.

Any chance you've installed a different Python.framework other than
what's shipped in /System/Library/Frameworks?

On Wed, Apr 9, 2008 at 6:12 AM, David Harvey <[EMAIL PROTECTED]> wrote:
>
>  Yi,
>
>  This sounds like a much better approach than what I did, but when I
>  run that I get an error message about not being able to find the objc
>  module?
>
>  david
>
>
>
>  On Apr 9, 2008, at 2:54 AM, Yi Qiang wrote:
>
>  >
>  > Hey,
>  > I thought this was a great idea but I found the patching Colloquy
>  > approach to be a bit hardcore, especially since it does the wrong
>  > things for channel urls in other channels.
>  >
>  > I whipped up a quick python plugin using Colloquy's plugin framework.
>  > To install it, just drop it into ~/Library/Application
>  > Support/Colloquy/PlugIns/ and type /reload plugins or restart
>  > Colloquy.
>  >
>  > You can get the plugin here:
>  >
>  > http://yiqiang.org/sage-devel-trac.py
>  >
>  > Cheers,
>  > Yi
>  >
>  > http://yiqiang.org
>  >
>  > On Fri, Apr 4, 2008 at 10:22 AM, David Harvey
>  > <[EMAIL PROTECTED]> wrote:
>  >>
>  >>  Hi all,
>  >>
>  >>  This message is for Sage developers who use the Colloquy IRC chat
>  >>  client.
>  >>
>  >>  I have patched Colloquy so that text like "#1234" gets
>  >> hyperlinked to
>  >>  the sage trac server.
>  >>
>  >>  Here is the patch file, which should get applied to the file Panels/
>  >>  JVDirectChatPanel.m in the root of the colloquy tree (you can get
>  >> the
>  >>  original source via svn from the main colloquy web site):
>  >>
>  >> http://math.harvard.edu/~dmharvey/sage-colloquy.patch
>  >>
>  >>  Also I made a binary. I think I made it Universal. But really I have
>  >>  no idea what I'm doing, since I don't really know how to use XCode,
>  >>  but it seems to work for me (OSX 10.4.11, intel):
>  >>
>  >> http://math.harvard.edu/~dmharvey/Colloquy.app.zip
>  >>
>  >>  david
>  >>
>  >>
>  >>>
>  >>
>  >
>  > >
>
>
>  >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-09 Thread Kiran Kedlaya

+1 (on the error message)

Kiran

On Apr 9, 9:12 am, David Harvey <[EMAIL PROTECTED]> wrote:
> Yi,
>
> This sounds like a much better approach than what I did, but when I  
> run that I get an error message about not being able to find the objc  
> module?
>
> david
>
> On Apr 9, 2008, at 2:54 AM, Yi Qiang wrote:
>
>
>
> > Hey,
> > I thought this was a great idea but I found the patching Colloquy
> > approach to be a bit hardcore, especially since it does the wrong
> > things for channel urls in other channels.
>
> > I whipped up a quick python plugin using Colloquy's plugin framework.
> > To install it, just drop it into ~/Library/Application
> > Support/Colloquy/PlugIns/ and type /reload plugins or restart
> > Colloquy.
>
> > You can get the plugin here:
>
> >http://yiqiang.org/sage-devel-trac.py
>
> > Cheers,
> > Yi
>
> >http://yiqiang.org 
>
> > On Fri, Apr 4, 2008 at 10:22 AM, David Harvey  
> > <[EMAIL PROTECTED]> wrote:
>
> >>  Hi all,
>
> >>  This message is for Sage developers who use the Colloquy IRC chat
> >>  client.
>
> >>  I have patched Colloquy so that text like "#1234" gets  
> >> hyperlinked to
> >>  the sage trac server.
>
> >>  Here is the patch file, which should get applied to the file Panels/
> >>  JVDirectChatPanel.m in the root of the colloquy tree (you can get  
> >> the
> >>  original source via svn from the main colloquy web site):
>
> >>    http://math.harvard.edu/~dmharvey/sage-colloquy.patch
>
> >>  Also I made a binary. I think I made it Universal. But really I have
> >>  no idea what I'm doing, since I don't really know how to use XCode,
> >>  but it seems to work for me (OSX 10.4.11, intel):
>
> >>    http://math.harvard.edu/~dmharvey/Colloquy.app.zip
>
> >>  david
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-09 Thread David Harvey

Yi,

This sounds like a much better approach than what I did, but when I  
run that I get an error message about not being able to find the objc  
module?

david

On Apr 9, 2008, at 2:54 AM, Yi Qiang wrote:

>
> Hey,
> I thought this was a great idea but I found the patching Colloquy
> approach to be a bit hardcore, especially since it does the wrong
> things for channel urls in other channels.
>
> I whipped up a quick python plugin using Colloquy's plugin framework.
> To install it, just drop it into ~/Library/Application
> Support/Colloquy/PlugIns/ and type /reload plugins or restart
> Colloquy.
>
> You can get the plugin here:
>
> http://yiqiang.org/sage-devel-trac.py
>
> Cheers,
> Yi
>
> http://yiqiang.org
>
> On Fri, Apr 4, 2008 at 10:22 AM, David Harvey  
> <[EMAIL PROTECTED]> wrote:
>>
>>  Hi all,
>>
>>  This message is for Sage developers who use the Colloquy IRC chat
>>  client.
>>
>>  I have patched Colloquy so that text like "#1234" gets  
>> hyperlinked to
>>  the sage trac server.
>>
>>  Here is the patch file, which should get applied to the file Panels/
>>  JVDirectChatPanel.m in the root of the colloquy tree (you can get  
>> the
>>  original source via svn from the main colloquy web site):
>>
>> http://math.harvard.edu/~dmharvey/sage-colloquy.patch
>>
>>  Also I made a binary. I think I made it Universal. But really I have
>>  no idea what I'm doing, since I don't really know how to use XCode,
>>  but it seems to work for me (OSX 10.4.11, intel):
>>
>> http://math.harvard.edu/~dmharvey/Colloquy.app.zip
>>
>>  david
>>
>>
>>>
>>
>
> >


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-08 Thread Yi Qiang

Hey,
I thought this was a great idea but I found the patching Colloquy
approach to be a bit hardcore, especially since it does the wrong
things for channel urls in other channels.

I whipped up a quick python plugin using Colloquy's plugin framework.
To install it, just drop it into ~/Library/Application
Support/Colloquy/PlugIns/ and type /reload plugins or restart
Colloquy.

You can get the plugin here:

http://yiqiang.org/sage-devel-trac.py

Cheers,
Yi

http://yiqiang.org  

On Fri, Apr 4, 2008 at 10:22 AM, David Harvey <[EMAIL PROTECTED]> wrote:
>
>  Hi all,
>
>  This message is for Sage developers who use the Colloquy IRC chat
>  client.
>
>  I have patched Colloquy so that text like "#1234" gets hyperlinked to
>  the sage trac server.
>
>  Here is the patch file, which should get applied to the file Panels/
>  JVDirectChatPanel.m in the root of the colloquy tree (you can get the
>  original source via svn from the main colloquy web site):
>
> http://math.harvard.edu/~dmharvey/sage-colloquy.patch
>
>  Also I made a binary. I think I made it Universal. But really I have
>  no idea what I'm doing, since I don't really know how to use XCode,
>  but it seems to work for me (OSX 10.4.11, intel):
>
> http://math.harvard.edu/~dmharvey/Colloquy.app.zip
>
>  david
>
>
>  >
>

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-07 Thread Dan Drake
On Mon, 07 Apr 2008 at 04:47PM -0700, mhampton wrote:
> > I have patchedColloquyso that text like "#1234" gets hyperlinked to
> > the sage trac server.

Another thing that everyone can do is set up a Firefox "Quick Search" so
that you can just type something like "sagetrac 1234" in the location
bar and it takes you to that ticket. Look in the Quick Searches folder
under the bookmarks menu and copy one of the pre-made searches; you'll
need to use "http://sagetrac.org/sage_trac/ticket/%s"; in the location
field, and then add "sagetrac" (or whatever you like) for the keyword.

You can get the same sort of thing in Safari, too:
http://purefiction.net/keywurl/

Dan

-- 
---  Dan Drake <[EMAIL PROTECTED]>
-  KAIST Department of Mathematical Sciences
---  http://math.kaist.ac.kr/~drake


signature.asc
Description: Digital signature


[sage-devel] Re: hyperlinks for Colloquy users

2008-04-07 Thread mhampton

Works great for me on a ppc (G4) 10.4.11 mac.

Thanks, those little things can make a quite a difference!

-Marshall Hampton

On Apr 4, 12:22 pm, David Harvey <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> This message is for Sage developers who use theColloquyIRC chat
> client.
>
> I have patchedColloquyso that text like "#1234" gets hyperlinked to
> the sage trac server.
>
> Here is the patch file, which should get applied to the file Panels/
> JVDirectChatPanel.m in the root of thecolloquytree (you can get the
> original source via svn from the maincolloquyweb site):
>
>http://math.harvard.edu/~dmharvey/sage-colloquy.patch
>
> Also I made a binary. I think I made it Universal. But really I have
> no idea what I'm doing, since I don't really know how to use XCode,
> but it seems to work for me (OSX 10.4.11, intel):
>
>http://math.harvard.edu/~dmharvey/Colloquy.app.zip
>
> david
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: hyperlinks for Colloquy users

2008-04-05 Thread Nick Alexander


On 4-Apr-08, at 10:22 AM, David Harvey wrote:

>
> Hi all,
>
> This message is for Sage developers who use the Colloquy IRC chat
> client.

Along the same lines... for devs who use the Emacs IRC client erc,  
the following makes Sage ticket numbers clickable links.

;; Make Sage tickets of the form #1234 erc-buttons
(add-to-list 'erc-button-alist
 '("#\\([0-9]+\\)" 0 t
   (lambda
 (ticket-number)
 (browse-url
  (concat "http://trac.sagemath.org/sage_trac/ticket/"; ticket- 
number)))
   1))

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---