[TxMt] Re: open "txmt://open?" beeps

Hans-Jörg Bibiko bibiko at eva.mpg.de
Wed Jun 18 06:01:14 UTC 2008


On 18.06.2008, at 05:22, Allan Odgaard wrote:

> On 18 Jun 2008, at 00:44, Hans-Jörg Bibiko wrote:
>
>> On 18.06.2008, at 00:08, Michael Sheets wrote:
>>
>>> On Jun 17, 2008, at 6:08 AM, Hans-Joerg Bibiko wrote:
>>>
>>>> is there a reason why TM beeps if I call open "txmt://open?" ?
>>>
>>> Check console.
>>
>> On Mac OSX 10.4.11 ppc and TM 1.5.7 (1464) nothing relevant found at
>> the console (?)
>
> Can you reproduce this from Terminal and then give the exact URL you
> attempt to open?

open "txmt://open?" invoked from the Terminal, TM's HTML output  
window, click  at the hyperlink in this mail: always the same => beep.

I do NOT use an URL, line, or column parameter. I only want to  
activate the front most TM window w/o changing the selection, caret  
position etc.

BTW e.g.
open "txmt://open?line=3" => no beep
open "txmt://open?line=300000" => no beep (even if the doc has only  
20 lines)
open "txmt://open?line=0" => beep

It's only a guess: if the line parameter == 0 : then beep ; an empty  
parameter will evaluated to 0 (?)


--Hans


More information about the textmate mailing list