Re: [Github-comments] [geany/geany-plugins] LaTeX plugin: Keyboard shurtcuts for itemize and enumerate generate wrong result (#1071)

2021-05-13 Thread Frank Lanitz
Sorry for the late reaction ;)

To be honest I have not even an idea what might cause that issue. This function 
is actually done by building up a string 

```C
if (type == GLATEX_ENVIRONMENT_TYPE_LIST)
{
g_string_append(tmpstring, "\t\\item ");
}
``` 
and than later

```C
GeanyDocument *doc = NULL;

doc = document_get_current();

if (doc != NULL && string != NULL)
{
…
editor_insert_text_block(doc->editor, string, pos, len, 0, 
TRUE);
}
}
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1071#issuecomment-840516030

Re: [Github-comments] [geany/geany] Closing a project with a large number of files open causes Geany to terminate (#2809)

2021-05-13 Thread ctp52
Help->Debug Messages provides a list of files opened during startup, plus a few 
other notes. The last two entries were:
```
07:19:43: GLib DEBUG: posix_spawn avoided (child_setup specified)
07:19:43: GLib DEBUG: posix_spawn avoided (child_setup specified)
```
It seems the message content did not survive the crash and all that shows is 
from a restart of Geany.

My file count was 166, not counting Geany own-use files. All are text files 
(various languages) in UTF-8.
The total byte count for the complete project (281 files) is 2.857 megabytes 
and I have never had all of
them in an open Geany session. That byte count is from the scc program. I had 
checked memory usage
and at the time only 1.8 GB of 3.8 GB available was in use, so running out of 
memory is not likely to be
the source of the fault.

I have not yet used gdb to diagnose further because I don't know it and will 
need to take time for that.

I tried a variety of trial to start Geany, with existing open project, close 
project resulting in crash. I have
many projects and the failure has been evident in large file counts (120+). But 
I tried a small project
with 14 files and had a crash first time. I have not been able to repeat it, 
suggesting Geany might be
reading uninitialised memory.

It seems that taking some actions within Geany will clear the issue and it 
operates as expected. I
have not clearly identified a set of operations prior to failure.

I read \#267 and conclude that i need "Use project-based session files" 
activated for my normal use
case. I don't want to reload manually a long list of files within each project 
on each switch to it.

More to come later.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2809#issuecomment-840516545

Re: [Github-comments] [geany/geany] Closing a project with a large number of files open causes Geany to terminate (#2809)

2021-05-13 Thread elextr
> I have not yet used gdb to diagnose further because I don't know it and will 
> need to take time for that.

Given the other information you provided above that would appear to be the only 
other way forward.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2809#issuecomment-840532379

Re: [Github-comments] [geany/geany-plugins] Can't activate debugger plugin Ubuntu 20.04 (#1072)

2021-05-13 Thread Frank Lanitz
Self compiled Geany as well as plugins go to /usr/local unless you change it 
during configure-run. If this one is missing in default Ubuntu profile you 
might want to fill a feature/bug-report there. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1072#issuecomment-840557677

Re: [Github-comments] [geany/geany-plugins] Can't activate debugger plugin Ubuntu 20.04 (#1072)

2021-05-13 Thread Frank Lanitz
Closed #1072.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1072#event-4741829893

Re: [Github-comments] [geany/geany-osx] Mac - call geany from command line to open a file with only 1 geany instance (#21)

2021-05-13 Thread Simon Hardy-Francis
Geany 1.37 does different behaviour for me on macOS. If I invoke it with no 
file argument then it opens a brand new Geany process and Window. However, if I 
invoke it with a file argument then it will open the file in the original Geany 
process window. This behaviour is a little unusual :-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/21#issuecomment-840691341

Re: [Github-comments] [geany/geany-osx] Mac - call geany from command line to open a file with only 1 geany instance (#21)

2021-05-13 Thread elextr
@simonhf what you describe is the normal behaviour of Geany on other platforms, 
it is a multi-tabbed application, so a request to open a file from the command 
line opens a new tab and the command finishes, so not tying up a terminal until 
you finish editing.

Of course doing that makes just `geany` without any arguments useless, so it 
does the only thing such a command can usefully mean, it starts a new geany.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-osx/issues/21#issuecomment-840896075