[Geany-devel] Proposed patch to fix issues with command line file loading
Lex Trotman
elextr at xxxxx
Sat Jan 29 20:10:36 UTC 2011
On 30 January 2011 04:37, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> On Sat, 29 Jan 2011 17:39:31 +0100
> weltall <weltall2 at gmail.com> wrote:
>
>> So now the idea of having the new file open in a new session if geany
>> was not opened is not wanted anymore?
>
> I can live without it. But my view is biased, since I use Geany with x11
> session management, so the main instances are pretty much permanent.
I'd have thought that you would be even *more* upset that the
filemanager shoves extra files into your "permanent" sessions :-)
In other words --in-new-session is independent of session management
and is about temporarily interrupting the session without modifying
it.
Cheers
Lex
PS the pseudocode modification below doesn't save the session on in-new-session
>
> In the end, it's up to Enrico, Nick and Frank to decide. But the
> pseudocode can easily be modified to support it:
>
> ...
> else if (cl_options.load_session && prefs.load_session != Never && !
> new_instance)
> if (args <= 1) // no filenames, restore project and session
> load_session_project_file()
> load_session = true
> else // filenames: no project, maybe default session
> load_session = prefs.load_session == Always
> ...
>
> Or with separate load_session and keep_session variables, it doesn't
> matter.
>
> --
> E-gards: Jimmy
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
More information about the Devel
mailing list