[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#598443: kate: Kate reuses instances even without the -u option.



Hi,

Am Dienstag, 28. September 2010, 16:09:58 schrieb Andrew Greenberg:
> I need to run multiple Kate instances from the command line. I expect
> `kate file1` followed by `kate file2` to open two separate kate
> instances since those commands NOT include the `-u` flag. However, it
> *always* opens up in the already open instance even without that flag.
> 
> Perhaps I'm missing something? Or there's some kind of alias somewhere
> on my system that replaces `kate` with `kate -u`? I certainly can't find
> it, if so.

The default behaviour of kate seems to have changed between 4.3 and 4.4. Have 
a look at "kate --help":

>   -n, --new                 Force start of a new kate instance (is
>   ignored if start is used and another kate instance already has the
>   given session opened), forced if no parameters and no URLs are given
>   at all
> 
> [...]
> 
>   -u, --use                 Reuse existing Kate instance; default, only
>   for compatibility

So "kate" starts a new instance, "kate somefile" reuses an existing instance, 
"kate -n somefile" forces start of a new kate instance. As documented, -u is 
default behaviour, the option is only left for compatibility reasons.

Does that answer your question?

Eckhart



Reply to: