From notifications at xxxxx Fri Jan 1 21:07:30 2021 From: notifications at xxxxx (philip r brenan) Date: Fri, 01 Jan 2021 13:07:30 -0800 Subject: [Github-comments] [geany/geany] Surprising delay moving the text cursor in snippets (#2716) Message-ID: I experience a considerable delay moving the text cursor into the pink cell in snippets from the left using the right arrow key: ![image](https://user-images.githubusercontent.com/7548378/103446151-6e935a00-4c74-11eb-9bf3-17856a8f11ea.png) `table=\n
%cursor%\n
%cursor%\n
%cursor%
` which is surprising in Geany which is well known and admired for its brilliant presentation and lightening fast response. -- 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/2716 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 1 23:24:30 2021 From: notifications at xxxxx (Logan Kilpatrick) Date: Fri, 01 Jan 2021 15:24:30 -0800 Subject: [Github-comments] [geany/geany] Create julia lexer and tags parser (#2584) In-Reply-To: References: Message-ID: Love this initiative! Thank you all. -- 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/pull/2584#issuecomment-753403299 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 1 23:31:11 2021 From: notifications at xxxxx (elextr) Date: Fri, 01 Jan 2021 15:31:11 -0800 Subject: [Github-comments] [geany/geany] Surprising delay moving the text cursor in snippets (#2716) In-Reply-To: References: Message-ID: @philiprbrenan you have been around long enough to know to always post the Geany, GTK, glib and operating systems versions. Also what filetype are you using for that file, its clearly not `conf`, and try with no plugins enabled. -- 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/2716#issuecomment-753403863 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 2 00:11:31 2021 From: notifications at xxxxx (philip r brenan) Date: Fri, 01 Jan 2021 16:11:31 -0800 Subject: [Github-comments] [geany/geany] Surprising delay moving the text cursor in snippets (#2716) In-Reply-To: References: Message-ID: It was the miniscript plugin that was causing the delay. I have unplugged it. -- 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/2716#issuecomment-753407506 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 2 00:11:33 2021 From: notifications at xxxxx (philip r brenan) Date: Fri, 01 Jan 2021 16:11:33 -0800 Subject: [Github-comments] [geany/geany] Surprising delay moving the text cursor in snippets (#2716) In-Reply-To: References: Message-ID: Closed #2716. -- 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/2716#event-4161345480 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 2 00:11:56 2021 From: notifications at xxxxx (philip r brenan) Date: Fri, 01 Jan 2021 16:11:56 -0800 Subject: [Github-comments] [geany/geany] Surprising delay moving the text cursor in snippets (#2716) In-Reply-To: References: Message-ID: Thank you for your help. -- 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/2716#issuecomment-753407553 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 2 03:23:50 2021 From: notifications at xxxxx (Adam Dingle) Date: Fri, 01 Jan 2021 19:23:50 -0800 Subject: [Github-comments] [geany/geany-plugins] TreeBrowser: Avoid double node clear (#1015) In-Reply-To: References: Message-ID: The change seems fine to me. I can confirm that it fixes the crash. -- 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/pull/1015#issuecomment-753424601 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 2 10:45:18 2021 From: notifications at xxxxx (Frank Lanitz) Date: Sat, 02 Jan 2021 02:45:18 -0800 Subject: [Github-comments] [geany/geany-plugins] [treebrowser] Intermittent crashing when deleting a file (#675) In-Reply-To: References: Message-ID: Closed #675 via #1015. -- 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/675#event-4161621066 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 2 10:45:17 2021 From: notifications at xxxxx (Frank Lanitz) Date: Sat, 02 Jan 2021 02:45:17 -0800 Subject: [Github-comments] [geany/geany-plugins] TreeBrowser: Avoid double node clear (#1015) In-Reply-To: References: Message-ID: Merged #1015 into master. -- 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/pull/1015#event-4161621064 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 14:01:31 2021 From: notifications at xxxxx (Edgar) Date: Sun, 03 Jan 2021 06:01:31 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) Message-ID: If I create files (`Ctrl+N`) then new files _untitled_, _untitled_, ... will be created. Once Geany gets closed, a save dialog is going to be opened for each of these files. Is there a way to preserve those files in the editor without being forced to save them, so they and their content would be kept upon the user manually closes them? -- 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/2717 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 16:03:11 2021 From: notifications at xxxxx (getzze) Date: Sun, 03 Jan 2021 08:03:11 -0800 Subject: [Github-comments] [geany/geany] Create julia lexer and tags parser (#2584) In-Reply-To: References: Message-ID: @getzze pushed 2 commits. 09e8137b6f8db325289fd94b5577247446d56be7 better handling of struct with @kwdef 04cf6b3c16fc3cb3c6c615b843c99abd6f92b6e2 interpolation of all strings and correct folding of list comprehension -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2584/files/d3ec25d5be98e4b0a6e72d19a0ea8752eccee141..04cf6b3c16fc3cb3c6c615b843c99abd6f92b6e2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 17:30:31 2021 From: notifications at xxxxx (Edgar) Date: Sun, 03 Jan 2021 09:30:31 -0800 Subject: [Github-comments] [geany/geany] No .conf file for the default color scheme? (#2718) Message-ID: Is there no .conf file for the default color scheme of geany? In `geany/data/colorschemes` I was only able to find _alt.conf_. It would be interesting what exactly is possible to change using a colorscheme.conf in `~/.config/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/issues/2718 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 22:14:53 2021 From: notifications at xxxxx (Matthew Brush) Date: Sun, 03 Jan 2021 14:14:53 -0800 Subject: [Github-comments] [geany/geany] No .conf file for the default color scheme? (#2718) In-Reply-To: References: Message-ID: For historical reasons, the default colour scheme is in [filetypes.common](https://github.com/geany/geany/blob/d9f8cdbad58d09f0c18ca8acccb49209263018f0/data/filedefs/filetypes.common#L2). -- 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/2718#issuecomment-753683663 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 22:20:39 2021 From: notifications at xxxxx (Edgar) Date: Sun, 03 Jan 2021 14:20:39 -0800 Subject: [Github-comments] [geany/geany] No .conf file for the default color scheme? (#2718) In-Reply-To: References: Message-ID: Thank you! -- 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/2718#issuecomment-753684395 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 22:20:40 2021 From: notifications at xxxxx (Edgar) Date: Sun, 03 Jan 2021 14:20:40 -0800 Subject: [Github-comments] [geany/geany] No .conf file for the default color scheme? (#2718) In-Reply-To: References: Message-ID: Closed #2718. -- 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/2718#event-4162850416 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 22:22:24 2021 From: notifications at xxxxx (Matthew Brush) Date: Sun, 03 Jan 2021 14:22:24 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Geany will only open additional unsaved new files if you've modified the previous one, and will also only present the save dialog if you've modified the new unsaved documents. The action of saving them to disk is what persists them. > Is there a way to preserve those files in the editor without being forced to save them, so they and their content would be kept upon the user manually closes them? I haven't tried, but it's possible with one of the plugins that provides auto-backup that it would do so for new unsaved documents. There is also the "Scribble" tab in the message window, which sounds like what you're after, but it's not a real document and there's only one. -- 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/2717#issuecomment-753684614 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 3 22:29:13 2021 From: notifications at xxxxx (elextr) Date: Sun, 03 Jan 2021 14:29:13 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: No, files only exist if saved, and the only way to keep content when Geany is closed is to save it in a file. Note that `Preferences->Various->interface.new_document_after_close` controls if new `untitled`s get made or only one as @codebrainz noted. -- 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/2717#issuecomment-753685408 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 08:51:33 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 00:51:33 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: What about a native feature which 1. changes the naming behaviour from `untitled, untitled, ...` to `untitled 1, untitled 2, ...`, and 2. keeps all those files opened in the editor after restart, without being forced to save them on disk. **Reason** People may use these untitled files just for temporarily editing or storing anything, without the need to save it into a file. It is also more comfortable to not be forced to save it into a specific file, if keeping it in the editor is fine. I also think it is more robust to not delete anything if not explicitly asked to do that. This is by the way the default behaviour from Notepad++, this is where I know it from. -- 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/2717#issuecomment-753845489 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 08:53:58 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 00:53:58 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: "Somebody" can make a plugin to do this. -- 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/2717#issuecomment-753846748 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 08:54:49 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 00:54:49 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Why not as a native feature via Pull Request? -- 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/2717#issuecomment-753847098 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 08:57:08 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 00:57:08 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Its not something that appears to be vastly desired or needed in the core since this is the first time its been asked for, so it should be in a plugin, at least to start with. -- 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/2717#issuecomment-753848186 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 08:57:40 2021 From: notifications at xxxxx (Thomas Martitz) Date: Mon, 04 Jan 2021 00:57:40 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: I think it would make sense to enhance the autosave plugin to do this. -- 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/2717#issuecomment-753848417 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:03:44 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 01:03:44 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: > Its not something that appears to be vastly desired or needed in the core since this is the first time its been asked for, so it should be in a plugin, at least to start with. Okay! What are the general reasons for when it is better to make a plugin instead of a core feature? E.g. there is a plugin which highlights double-click-selected text in the editor, but I always asked why this is not a core feature because I think it is very helpful for many coders. @kugel- Could you please give me a link to the exact plugin? -- 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/2717#issuecomment-753851322 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:04:57 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 01:04:57 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: To expand somewhat. All IDEs today do things by plugin, there are too many languages, use-cases, special cases, features etc to put them in core, especially for an IDE that makes at least a token effort to stay "small and lightweight". -- 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/2717#issuecomment-753851999 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:08:10 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 01:08:10 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: https://github.com/geany/geany/blob/master/plugins/saveactions.c -- 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/2717#issuecomment-753853551 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:16:05 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 01:16:05 -0800 Subject: [Github-comments] [geany/geany] Are different colorschemes possible for embed code? (#2719) Message-ID: I try to modify my colorscheme, but I am not sure if my approach would work at all, so I want to ask: I have an HTML file where PHP and JavaScript code is embed. Usually my JavaScript code would have a bluish background color, while HTML has a white and PHP a yellowish/greenish background color. Here is an example: ![example](https://user-images.githubusercontent.com/40885610/103519240-7e2dc100-4e75-11eb-8707-14a760f4f6b9.png) However, in Geany it seems that the colorscheme will always apply to all in the document, so the background color will be white - or whatever color I choose - for all and I cannot, for instance, highlight inline JavaScript code with a bluish background color. -- 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/2719 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:16:57 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 01:16:57 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: > E.g. there is a plugin which highlights double-click-selected text in the editor, but I always asked why this is not a core feature because I think it is very helpful for many coders. Because it costs time and cpu to do this, especially on large files. And not everyone wants it, I for one find it hugely annoying the way Eclipse highlights the [expletive deleted] out of everything. Also purely textual highlighting in code is only useful in some simple languages like C [ducks @b4n volley] whereas more sophisticated languages with overloading and scopes its highly misleading. Its possibly useful in text of course, so its in a plugin. -- 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/2717#issuecomment-753857925 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:26:33 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 01:26:33 -0800 Subject: [Github-comments] [geany/geany] Are different colorschemes possible for embed code? (#2719) In-Reply-To: References: Message-ID: It depends on Scintilla's ability to distinguish embedded languages, currently it distinguishes embedded SGML, Javascript, VBscript (two versions?), ASP javascript, Python, and PHP. Those are mapped to styles within HTML, but some of them are currently mapped to copy Javascript because nobody knows what they are? And for those separately mapped like php, python, javascript I suspect most colour schemes don't give them their own colours and/or the filetype file maps them to "standard" colours. See `highlightingmappings.h` for how Scintilla styles are mapped to names, and filetypes.html for the mapping to colour names. -- 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/2719#issuecomment-753862848 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:29:56 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 01:29:56 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: I had now a look into the builtin plugin `Save Actions`. I think the asked feature could fit into this plugin; however it seems, it would need an additional tab because it is a very different approach. I for instance do not wish any autosaving of already existing, opened files, I only want that the `untitled` files are kept after reopening Geany without being asked if I want to save them. The question is, if the plugin can bypass the dialog `The file 'untitled' is not saved.` because that would be needed. Another thing is the naming behaviour: Changing it from `untitled` to `untitled _n_` is more a core thing, not for a plugin. What do you think about changing that via a seperate Pull Request? -- 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/2717#issuecomment-753864612 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:39:28 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 01:39:28 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: > it would need an additional tab because it is a very different approach A good point, and as you say it should be independent of any choosing of autosave settings, but as @kugel- noted, the general context is suitable for that plugin (and its way easier to extend an existing plugin than to make a new one). To be clear, for contents to be saved between invocations of Geany you are going to have to save them somewhere, and then they will have a unique name, even something useful like `scratch-1` scratch-2` etc. so if the plugin does that it should avoid the save query. To be clear, the editing notebook is for _files_ it doesn't handle anything else, and changing that is a big change. Your other option is to add tabs to the message window, like extra scribble tabs, but that would be a whole new plugin. -- 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/2717#issuecomment-753869011 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:47:27 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 01:47:27 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: > To be clear, the editing notebook is for _files_ it doesn't handle anything else, and changing that is a big change. Would do you mean by _editing notebook_? > Your other option is to add tabs to the message window, like extra scribble tabs, but that would be a whole new plugin. It would be also a very different approach I think. Only keeping the untitled files without being forced to save them, that is enough. > To be clear, for contents to be saved between invocations of Geany you are going to have to save them somewhere, and then they will have a unique name, even something useful like scratch-1 scratch-2 etc. so if the plugin does that it should avoid the save query. I refer to the tab name in Geany. If I open multiple new files, they all will be named `untitled, untitled, ...` without iterator. Independent of keeping their contents after restart, I think it would be a good change if Geany would per default name them `untitled 1, untitled 2, ...` (or capitalized `Untitled 1, Untitled 2, ...`, but I prefer lower case for no reason). We would not need a plugin or setting for that, just a core change. What do you think about that? -- 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/2717#issuecomment-753872946 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 09:54:54 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 01:54:54 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: > What do you think about that? Beware, there are things that assume unsaved tabs are called "untitled" so its likely that change will break other stuff, including in templates IIRC, and in plugins that are not part of Geany itself. To be clear, tabs are called the filename, if they have no backing file they are called "untitled". To be clear, if they are to survive between invocations of Geany they need to be saved by the plugin, you seem to be skipping that point, where and how is the plugin going to save them? and will that give them a filename? if it does your problem is solved. -- 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/2717#issuecomment-753876562 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:04:49 2021 From: notifications at xxxxx (Matthew Brush) Date: Mon, 04 Jan 2021 02:04:49 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: FWIW, the weirdness with new untitled files not opening sometimes is explained in #2656. I believe this issue is a duplicate of #905, and should be closed as such, with further discussion on the already existing issue as to not bifurcate it. -- 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/2717#issuecomment-753881636 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:07:23 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 02:07:23 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: I see, so changing the naming behaviour can be risky. > Beware, there are things that assume unsaved tabs are called "untitled" so its likely that change will break other stuff, including in templates IIRC, and in plugins that are not part of Geany itself. > To be clear, if they are to survive between invocations of Geany they need to be saved by the plugin, you seem to be skipping that point, where and how is the plugin going to save them? and will that give them a filename? if it does your problem is solved. That risk involved, the plugin could just convert any untitled files into a real file on disk. Then the naming can be arbitrary. The plugin needs to save the file automatically on disk, at the latest when Geany is closed. Also, the plugin would always keep the red color of the tab, so the user independent of the naming behaviour always knows that the file is an auto-saved untitled file. If users decide they want a file on disk, they would use `Save As...` to save a copy and continue with this copy or `Save` to virtually convert it to a "real file" which can be easily done by just moving it. -- 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/2717#issuecomment-753883052 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:12:48 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 02:12:48 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: @codebrainz Yes, looks like a duplicate. @elextr Since multiple users are asking for it, are we still looking for a plugin (which seems to not exist), or could we implement it as core feature using a Pull Request? I will close this issue in favor of continuing the discussion in #905. -- 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/2717#issuecomment-753885831 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:12:48 2021 From: notifications at xxxxx (Edgar) Date: Mon, 04 Jan 2021 02:12:48 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Closed #2717. -- 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/2717#event-4164267737 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:33:04 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 02:33:04 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Reopened #2717. -- 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/2717#event-4164351055 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:33:03 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 02:33:03 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: I'm not sure #905 is the same thing, its more about preserving state of files and sessions in an unexpected occurrence and _not_ being annoyed by checks to not save untitled scratch files (its got lots of stuff mixed in together). But this is about preserving unnamed editing tab contents in normal circumstances, which is something else again. This isn't (IIUC) targeted at the same thing as #905 so lets not mix more into the mess thats #905. @etkaar a plugin saving files to disk is what autosave does, so thats why we suggest this has some affinity with the existing functionality of that plugin, and you may be able to reuse some of its code. Since you want the contents of `untitled` tabs preserved, they need to be saved somewhere by the plugin and reloaded on start up. Since the editing tabs are designed to load and save files, that seems the simplest solution for your plugin, save them in files with names it makes up, in a hidden location somewhere. Even if its not exactly identical to notebook++ functionality it satisfys the same use-case. As for keeping status colour, you may have difficulty controlling it because thats checked against the file date/time and updated regularly, but if the tabs contents are saved/not yet saved its probably good to know that. -- 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/2717#issuecomment-753895638 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:35:20 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 02:35:20 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: In particular see the "instant save" part of autosave plugin. -- 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/2717#issuecomment-753896764 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:51:31 2021 From: notifications at xxxxx (Matthew Brush) Date: Mon, 04 Jan 2021 02:51:31 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Closed #2717. -- 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/2717#event-4164421467 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:51:31 2021 From: notifications at xxxxx (Matthew Brush) Date: Mon, 04 Jan 2021 02:51:31 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: This is a duplicate of #905 even though they may have been requested for different reasons. Please lets not scatter several discussions across duplicate issues. #905 is older, has quite a few :+1: s and only has 6 comments including one misunderstanding the request and one saying "patches welcome", hardly a mess. -- 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/2717#issuecomment-753904291 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 10:56:25 2021 From: notifications at xxxxx (abdulbadii) Date: Mon, 04 Jan 2021 02:56:25 -0800 Subject: [Github-comments] [geany/geany] How to set Find next selection some specific ones (#2720) Message-ID: When we do Find next selection, how can we set it some specific setting e.g. case-sensitive search and also whole word at the same time ? Thanks before -- 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/2720 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 11:45:07 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 03:45:07 -0800 Subject: [Github-comments] [geany/geany] Add an option for automatically saving any unsaved / unnamed (new) documents in a cache directory (#905) In-Reply-To: References: Message-ID: Ok, @codebrainz and I have had an offline discussion and since it doesn't matter which issue discussion actually continues on this will continue here, but the discussion on #2717 which does (at least to me, @etkaar may disagree) seem to be heading to an implementation, is to be considered to be pasted here (sadly Github doesn't actually allow them to be combined AFAIK). -- 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/905#issuecomment-753929442 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 12:05:25 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 04:05:25 -0800 Subject: [Github-comments] [geany/geany] Preserving the 'untitled' files (#2717) In-Reply-To: References: Message-ID: Just to confirm, discussion continues on #905 but this discussion still stands. -- 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/2717#issuecomment-753937964 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 20:13:25 2021 From: notifications at xxxxx (Chris Mayo) Date: Mon, 04 Jan 2021 12:13:25 -0800 Subject: [Github-comments] [geany/geany] scintilla: Add more MIME types for copy/paste (#2298) In-Reply-To: References: Message-ID: Fixed in Geany 1.37.1 I think. https://sourceforge.net/p/scintilla/bugs/2127/ was resolved in https://sourceforge.net/p/scintilla/bugs/2175/ by commit https://sourceforge.net/p/scintilla/code/ci/a9f4676a45e824c4390db6105a72d3c74ee0f3f4/ and released in Scintilla 3.21.0. ``` $ cat geany-1.37.1/scintilla/version.txt 3211 ``` -- 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/pull/2298#issuecomment-754192177 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 20:39:03 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 12:39:03 -0800 Subject: [Github-comments] [geany/geany] scintilla: Add more MIME types for copy/paste (#2298) In-Reply-To: References: Message-ID: Closed fixed -- 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/pull/2298#issuecomment-754205254 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 4 20:39:03 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 12:39:03 -0800 Subject: [Github-comments] [geany/geany] scintilla: Add more MIME types for copy/paste (#2298) In-Reply-To: References: Message-ID: Closed #2298. -- 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/pull/2298#event-4166636277 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 5 01:46:02 2021 From: notifications at xxxxx (abdulbadii) Date: Mon, 04 Jan 2021 17:46:02 -0800 Subject: [Github-comments] [geany/geany] Multi line matching not work (#2721) Message-ID: tried to find any thing in capture group being exist in next some lines using Use Multi Line matching option but is not working at all,any idea how to solve it? -- 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/2721 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 5 01:50:19 2021 From: notifications at xxxxx (elextr) Date: Mon, 04 Jan 2021 17:50:19 -0800 Subject: [Github-comments] [geany/geany] Multi line matching not work (#2721) In-Reply-To: References: Message-ID: Please provide your regular expression and settings of the find dialog. -- 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/2721#issuecomment-754333036 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 5 12:01:10 2021 From: notifications at xxxxx (=?UTF-8?B?QWxleGFuZGVyIEYuIFLDuGRzZXRo?=) Date: Tue, 05 Jan 2021 04:01:10 -0800 Subject: [Github-comments] [geany/geany-plugins] Use stdbool.h istead of redefining bool (#1053) Message-ID: Hi, I'm maintaining the `geany-plugins` pacakge for Arch Linux. When compiling the latest version of geany-plugins, I get this error: ``` PrettyPrinter.h:55:22: error: two or more data types in declaration specifiers 55 | typedef unsigned int bool; | ^~~~ ``` Including `<stdbool.h>` and removing the typdef for `bool` solves this issue. Tested on GCC 10.2.0. Thanks for creating and maintaining Geany and Geany Plugins! They are both pretty sweet and usually unproblematic to package. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany-plugins/pull/1053 -- Commit Summary -- * Use stdbool.h istead of redefining bool -- File Changes -- M pretty-printer/src/PrettyPrinter.h (5) -- Patch Links -- https://github.com/geany/geany-plugins/pull/1053.patch https://github.com/geany/geany-plugins/pull/1053.diff -- 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/pull/1053 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 5 13:07:46 2021 From: notifications at xxxxx (elextr) Date: Tue, 05 Jan 2021 05:07:46 -0800 Subject: [Github-comments] [geany/geany-plugins] Use stdbool.h istead of redefining bool (#1053) In-Reply-To: References: Message-ID: Seems reasonable to me, `stdbool.h` is a C99 header and `HACKING` says use C99, although I am curious what just changed that made it suddenly not compile? @b4n what say you oh ancient C guru? -- 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/pull/1053#issuecomment-754624807 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 5 19:34:11 2021 From: notifications at xxxxx (Chris Mayo) Date: Tue, 05 Jan 2021 11:34:11 -0800 Subject: [Github-comments] [geany/geany] geany loses ability to middle click copy/paste (#2629) In-Reply-To: References: Message-ID: I think this is a Scintilla issue https://sourceforge.net/p/scintilla/bugs/2227/. -- 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/2629#issuecomment-754851750 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 5 23:54:39 2021 From: notifications at xxxxx (Matthew Brush) Date: Tue, 05 Jan 2021 15:54:39 -0800 Subject: [Github-comments] [geany/geany-plugins] Use stdbool.h istead of redefining bool (#1053) In-Reply-To: References: Message-ID: I believe this is a dupe of #1023 -- 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/pull/1053#issuecomment-754972321 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 6 12:27:38 2021 From: notifications at xxxxx (Frank Lanitz) Date: Wed, 06 Jan 2021 04:27:38 -0800 Subject: [Github-comments] [geany/geany-plugins] Use stdbool.h istead of redefining bool (#1053) In-Reply-To: References: Message-ID: Merged #1053 into master. -- 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/pull/1053#event-4175002682 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 6 12:27:39 2021 From: notifications at xxxxx (Frank Lanitz) Date: Wed, 06 Jan 2021 04:27:39 -0800 Subject: [Github-comments] [geany/geany-plugins] Build error with 1.37 release (#1023) In-Reply-To: References: Message-ID: Closed #1023 via #1053. -- 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/1023#event-4175002687 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 8 14:54:13 2021 From: notifications at xxxxx (crazyBaboon) Date: Fri, 08 Jan 2021 06:54:13 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores in Linux Mint 20 (#2722) Message-ID: Using Linux Mint 20 (cinnamon edition), the underscores disappear. I can only see them when i zoom in or if i change the default font. Thanks! -- 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/2722 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 8 16:05:25 2021 From: notifications at xxxxx (abdulbadii) Date: Fri, 08 Jan 2021 08:05:25 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores in Linux Mint 20 (#2722) In-Reply-To: References: Message-ID: It's a **Pinned Issue**, https://github.com/geany/geany/issues/2502 -- 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/2722#issuecomment-756837618 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 8 16:55:20 2021 From: notifications at xxxxx (crazyBaboon) Date: Fri, 08 Jan 2021 08:55:20 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores in Linux Mint 20 (#2722) In-Reply-To: References: Message-ID: @abdulbadii , thanks but that issue is closed, but the problem is out 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/issues/2722#issuecomment-756868813 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 8 22:26:47 2021 From: notifications at xxxxx (nomadbyte) Date: Fri, 08 Jan 2021 14:26:47 -0800 Subject: [Github-comments] [geany/geany] Ukrainian translation needs an update (#2723) Message-ID: Not sure how much use Geany has seen in Ukrainian, but the current uk-translation appears very much incomplete (~48%). -- 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/2723 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 8 22:30:51 2021 From: notifications at xxxxx (elextr) Date: Fri, 08 Jan 2021 14:30:51 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores in Linux Mint 20 (#2722) In-Reply-To: References: Message-ID: @crazyBaboon did you try the solution given in the pinned issue? -- 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/2722#issuecomment-757030779 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 8 23:03:28 2021 From: notifications at xxxxx (nomadbyte) Date: Fri, 08 Jan 2021 15:03:28 -0800 Subject: [Github-comments] [geany/geany] PO:(uk) Update translation (#2724) Message-ID: Fixes #2723 . More like an overhaul; covers UI messages for the main core and the integrated plugins; reviewed and cross-checked. Hopefully, with better localization Geany may integrate more seamlessly into the Ukrainian localized usage, at least in the case of Linux-based workflow. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/2724 -- Commit Summary -- * PO:(uk) Update translation -- File Changes -- M po/uk.po (3866) M src/about.c (5) -- Patch Links -- https://github.com/geany/geany/pull/2724.patch https://github.com/geany/geany/pull/2724.diff -- 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/pull/2724 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 9 16:04:38 2021 From: notifications at xxxxx (Bert Speckels) Date: Sat, 09 Jan 2021 08:04:38 -0800 Subject: [Github-comments] [geany/geany-plugins] Markdown: Context menu "Reload" does not work (#946) In-Reply-To: References: Message-ID: I have the same problem. I get the error "Error opening file {path-tp-md-file}/index.html: No such file or directory" -- 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/946#issuecomment-757327594 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 9 16:10:35 2021 From: notifications at xxxxx (Bert Speckels) Date: Sat, 09 Jan 2021 08:10:35 -0800 Subject: [Github-comments] [geany/geany-plugins] Feature request to reload modified template file at runtime of geany (#1054) Message-ID: I have a feature request - hope this is the correct correct place for feature requests: Current behaviour: When changing the markdown template file (html) it doesn't apply to the current preview. Feature request: It would be nice if the **next reload** of the preview will **use the modified template file**. It would also be great to have some stylish template files delivered with the plugin, like "ReText" does. -- 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/1054 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 9 16:14:04 2021 From: notifications at xxxxx (Bert Speckels) Date: Sat, 09 Jan 2021 08:14:04 -0800 Subject: [Github-comments] [geany/geany-plugins] Markdown (Feature Request): Keep scroll position on reload (#1055) Message-ID: Currently the markdown preview always resets the scroll position of the preview on any modification of the markdown text. I would be nice if the preview can remember the scroll position. -- 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/1055 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 9 21:53:17 2021 From: notifications at xxxxx (Matthew Brush) Date: Sat, 09 Jan 2021 13:53:17 -0800 Subject: [Github-comments] [geany/geany-plugins] Markdown Plugin (Feature Request): Reload modified template file at runtime of geany (#1054) In-Reply-To: References: Message-ID: It would have to use [`GFileMonitor`](https://developer.gnome.org/gio/stable/GFileMonitor.html) on the template file, seems perfectly do-able. For the latter part, something like [Bootswatch](https://bootswatch.com/) would probably do, and perhaps add a placeholder like `@@theme@@` to select which theme to use. If anyone wants to work on this, drop a comment here to discuss. -- 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/1054#issuecomment-757372798 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 9 22:00:56 2021 From: notifications at xxxxx (Matthew Brush) Date: Sat, 09 Jan 2021 14:00:56 -0800 Subject: [Github-comments] [geany/geany-plugins] Markdown Plugin (Feature Request): Keep scroll position on reload (#1055) In-Reply-To: References: Message-ID: I tried to fix this in d1a4dd15089551cd2eddcf9beb77ee9256f2d26f and I thought I remember @b4n helping with this too, but I can't seem to find that discussion. -- 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/1055#issuecomment-757373611 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 9 22:46:26 2021 From: notifications at xxxxx (Morusec) Date: Sat, 09 Jan 2021 14:46:26 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) Message-ID: Hi! I usually use the plugins under Linux and everything works as expected. Recently, I've been dual booting on Windows and can't get the "git commit" from GeanyVC to work at all. I can check files, add a comment and click "Commit" but it fails with this error: "17:39:18: Error initializing GeanyVC spell checking: enchant error for language: en. Check your configuration." I also can see this under Debug Messages: 17:39:18: (NULL) WARNING : Error loading plugin: 'C:\Program Files (x86)\Geany/lib/enchant-2\enchant_aspell.dll': The specified module could not be found. 17:39:18: (NULL) WARNING : Error loading plugin: 'C:\Program Files (x86)\Geany/lib/enchant-2\enchant_voikko.dll': The specified module could not be found. The DLL files are present if that path with slashes and backslashes can be interpreted right. I did not enable any other plugins than "GeanyVC" and "Git Change Bar" so no spellchecking should be considered. I suspects it is related to "gtkspell -- GeanyVC's spell-check support" I am used to recompile and test under linux but have no clue how to do it right under Windows. Thank you! Julien -- 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/1056 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 03:42:30 2021 From: notifications at xxxxx (Andy Alt) Date: Sat, 09 Jan 2021 19:42:30 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: I'm having this issue on GNU/Debian Linux 10. I've been experiencing a slow-down when opening projects ever since I rebuilt Geany a couple weeks ago. I was using the git version. I checked out 1.37.1 and rebuilt, then 1.37.0, and things didn't go back to normal until I checked out 1.36 and rebuilt. It happens with any project, no matter the number of files. Each file takes noticeably longer to load than before. I've included some logs and profiling output below. ``` 21:24:28: Geany INFO : Geany 1.37.1 (git >= 26f4813f), en_US.utf8 21:24:28: Geany INFO : GTK 3.24.5, GLib 2.58.3 21:24:28: Geany INFO : OS: Linux 21:24:28: Geany INFO : System data dir: /home/andy/.local/share/geany 21:24:28: Geany INFO : User config dir: /home/andy/.config/geany 21:24:28: Geany INFO : Loaded GTK+ CSS theme '/home/andy/.local/share/geany/geany.css' 21:24:28: Geany INFO : Loaded GTK+ CSS theme '/home/andy/.local/share/geany/geany-3.20.css' 21:24:28: Geany INFO : System plugin path: /home/andy/.local/lib/geany 21:24:28: Geany INFO : Added filetype Clojure (63). 21:24:28: Geany INFO : Added filetype Nim (64). 21:24:28: Geany INFO : Added filetype Graphviz (65). 21:24:28: Geany INFO : Added filetype Groovy (66). 21:24:28: Geany INFO : Added filetype CUDA (67). 21:24:28: Geany INFO : Added filetype JSON (68). 21:24:28: Geany INFO : Added filetype Arduino (69). 21:24:28: Geany INFO : Added filetype Kotlin (70). 21:24:28: Geany INFO : Added filetype Scala (71). 21:24:28: Geany INFO : Added filetype Genie (72). 21:24:28: Geany INFO : Added filetype Swift (73). 21:24:28: Geany INFO : Added filetype Cython (74). 21:24:28: Geany INFO : Added filetype TypeScript (75). 21:24:28: Geany INFO : Loaded libvte from libvte-2.91.so 21:24:28: Geany INFO : unknown : None (UTF-8) ``` ## config.log [config.log](https://github.com/geany/geany/files/5792156/config.log) ## SVG output from profiling This contains 2 SVG files, one from profiling with 1.36 and the other from 1.37.1 [geany_iss_2649_pprof.zip](https://github.com/geany/geany/files/5792171/geany_iss_2649_pprof.zip) ## Project I loaded for each of the 2 profiles This is only useful to get an overview of the filetypes I'm loading. As I said above, it happens with any project. Most of the files I'm opening are of pretty average size. [rmw.geany.txt](https://github.com/geany/geany/files/5792165/rmw.geany.txt) -- 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/2649#issuecomment-757408888 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 03:48:56 2021 From: notifications at xxxxx (Andy Alt) Date: Sat, 09 Jan 2021 19:48:56 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: These are the files included in the zip file above (converted to png). ![geany_1 36_pprof26182 0](https://user-images.githubusercontent.com/16764864/104113922-2f908480-52c4-11eb-924c-f06de5f053d1.png) ![geany_1 37 1_pprof24873 0](https://user-images.githubusercontent.com/16764864/104113924-30291b00-52c4-11eb-8f6b-d6b633178a88.png) -- 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/2649#issuecomment-757409442 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 04:14:32 2021 From: notifications at xxxxx (Andy Alt) Date: Sat, 09 Jan 2021 20:14:32 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: ``` *-disk:0 description: ATA Disk product: ST1000DX002-2DV1 physical id: 0 bus info: scsi at 0:0.0.0 logical name: /dev/sda version: CC41 serial: Z4YG898K size: 931GiB (1TB) ``` ``` andy at oceanus:~/src/Geany/geany/_build$ sudo hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 626 MB in 3.01 seconds = 208.02 MB/sec ``` ``` andy at oceanus:~/src/Geany/geany/_build$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 94 model name : Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz stepping : 3 microcode : 0xd6 cpu MHz : 900.033 cache size : 6144 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds bogomips : 5424.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: ``` -- 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/2649#issuecomment-757411918 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 04:26:59 2021 From: notifications at xxxxx (nomadbyte) Date: Sat, 09 Jan 2021 20:26:59 -0800 Subject: [Github-comments] [geany/geany] PO:(uk) Update translation (#2724) In-Reply-To: References: Message-ID: @nomadbyte pushed 1 commit. fba639faf61170b17ca20314b8be662e4eacf97b PO:(uk) Update translation -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2724/files/8676879cf7f8d5b757ed08b3e94ea3d35c0f0c89..fba639faf61170b17ca20314b8be662e4eacf97b -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 04:44:34 2021 From: notifications at xxxxx (elextr) Date: Sat, 09 Jan 2021 20:44:34 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: > The difference for loading 161 files is 13 seconds vs 5. The 13 secs is 81mS per file average, not tragic, but certainly slower than before. Most likely I'd say is a change in Scintilla that does more work each load. At one stage Geany used to move the carat from the start of the newly opened file to the end, likely causing Scintilla to lay out the whole file, does anyone know if thats still happening? -- 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/2649#issuecomment-757414835 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 07:40:43 2021 From: notifications at xxxxx (elextr) Date: Sat, 09 Jan 2021 23:40:43 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores in Linux Mint 20 (#2722) In-Reply-To: References: Message-ID: Duplicate of #2502 -- 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/2722#issuecomment-757432879 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 07:50:35 2021 From: notifications at xxxxx (elextr) Date: Sat, 09 Jan 2021 23:50:35 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores in Linux Mint 20 (#2722) In-Reply-To: References: Message-ID: Closed #2722. -- 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/2722#event-4187783932 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 08:23:27 2021 From: notifications at xxxxx (crazyBaboon) Date: Sun, 10 Jan 2021 00:23:27 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores on Ubuntu 20.04 (#2502) In-Reply-To: References: Message-ID: > yes, the problem seems to mostly be dejavu fonts, which unfortunately Ubuntu made default. hum... i don't know why this problem does not exist on many other editors (e.g. vscode, bluefish, octave). This issue should not be closed until it is resolved. I mean it is great to have a workaround, but the solution needs to be implemented by default IMHO -- 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/2502#issuecomment-757437679 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 08:55:27 2021 From: notifications at xxxxx (elextr) Date: Sun, 10 Jan 2021 00:55:27 -0800 Subject: [Github-comments] [geany/geany] Can't see underscores on Ubuntu 20.04 (#2502) In-Reply-To: References: Message-ID: The issue is in the deja-vu fonts which at some font sizes at some screen resolutions specify a line height that is too small to contain the underscore once it is rounded to an integral number of pixels. A quick google will show that it affects both vscode and eclipse and in both cases the same workaround is used, manually increase the line height. A change has been made in Scintilla to reduce the situations this occurs, but it may not be a full fix. That change will bubble through Geany in due course and hopefully will improve things, but there is not going to be a total fix at the client end. So the issue is closed with a workaround because its not something we can independently fix. Whilst its tempting to yell at Ubuntu to "fix your [expletive deleted] font" since that is the underlying problem a) I doubt that would have any effect, and b) its difficult for them to do so given they don't know the resolution of the screen being used, and the font size chosen, and therefore which way the rounding is going to go. If they adjust the line height too far it will result in complaints of excessive space between lines on some systems. Its just unfortunate that Ubuntu chose that font as the monospace default so the issue shows up in lots of places. -- 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/2502#issuecomment-757441118 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 13:54:52 2021 From: notifications at xxxxx (Dan Dascalescu) Date: Sun, 10 Jan 2021 05:54:52 -0800 Subject: [Github-comments] [geany/geany-plugins] Retain the line:column position for recent files (#838) In-Reply-To: References: Message-ID: @elextr: I expect Geany core (not a plugin) to remember the cursor and scroll position for recent files, and restore them when the file is opened again. -- 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/838#issuecomment-757480163 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 10 19:06:08 2021 From: notifications at xxxxx (elextr) Date: Sun, 10 Jan 2021 11:06:08 -0800 Subject: [Github-comments] [geany/geany-plugins] Remember and restore the line:column cursor and document scroll position for recent files (#838) In-Reply-To: References: Message-ID: @dandv this is the plugins issues, thats why I asked. -- 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/838#issuecomment-757526827 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 04:53:45 2021 From: notifications at xxxxx (Dan Dascalescu) Date: Sun, 10 Jan 2021 20:53:45 -0800 Subject: [Github-comments] [geany/geany-plugins] Remember and restore the line:column cursor and document scroll position for recent files (#838) In-Reply-To: References: Message-ID: @elextr - super weird. No idea why I created this issue here and not in the geany repo. Can an admin please [transfer](https://docs.github.com/en/free-pro-team at latest/github/managing-your-work-on-github/transferring-an-issue-to-another-repository) the issue in the other repo? CC @geanyadmin, @eht16, @ntrel -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/838#issuecomment-757622854 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 04:55:38 2021 From: notifications at xxxxx (Dan Dascalescu) Date: Sun, 10 Jan 2021 20:55:38 -0800 Subject: [Github-comments] [geany/geany] Remember and restore the line:column cursor and document scroll position for recent files (#2725) Message-ID: 1. Open a file 2. Scroll to the end (common if working on, say, a book) 3. Close the file 4. Open the file again, to continue working on your book Notice the cursor position is 1:1, instead of where you left off. -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/2725 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 05:57:45 2021 From: notifications at xxxxx (elextr) Date: Sun, 10 Jan 2021 21:57:45 -0800 Subject: [Github-comments] [geany/geany] Remember and restore the line:column cursor and document scroll position for recent files (#2725) In-Reply-To: References: Message-ID: Could add cursor position to the end of recents filenames, that would allow the cursor to move to where it was (or as near as possible if the file changed and its now past the end) and that would be onscreen. Similarly could do getfirst visible and set first visble to scroll position. A well written pull request would probably be accepted. -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/2725#issuecomment-757640692 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 11:49:17 2021 From: notifications at xxxxx (gavr123456789) Date: Mon, 11 Jan 2021 03:49:17 -0800 Subject: [Github-comments] [geany/geany] when selected non EN keyboard layout some hot key combination not worked such as Ctrl + X, Ctrl + C, but Ctrl + V still works (#1286) In-Reply-To: References: Message-ID: Have same problem on another GTK2 app. If it was started with RU layout then hotkeys not works, if EN then all okey. -- 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/1286#issuecomment-757900948 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 12:02:47 2021 From: notifications at xxxxx (getzze) Date: Mon, 11 Jan 2021 04:02:47 -0800 Subject: [Github-comments] [geany/geany] Create julia lexer and tags parser (#2584) In-Reply-To: References: Message-ID: @getzze pushed 1 commit. dccf5522f9945ba739d2e0b2c9743245335a65b4 merge scope from ctags -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2584/files/04cf6b3c16fc3cb3c6c615b843c99abd6f92b6e2..dccf5522f9945ba739d2e0b2c9743245335a65b4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 15:03:57 2021 From: notifications at xxxxx (ferdymercury) Date: Mon, 11 Jan 2021 07:03:57 -0800 Subject: [Github-comments] [geany/geany] SPICE syntax highlighter (#2726) Message-ID: I was wondering if this extension to highlight SPICE circuit files could be added in the list of 'scripting languages' or miscellaneous, rather than having to configure it yourself on separate computers, etc: https://github.com/thomasysliu/Gedit-SPICE-syntax-highlighting Thanks in advance! -- 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/2726 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 20:05:03 2021 From: notifications at xxxxx (James Shorthouse) Date: Mon, 11 Jan 2021 12:05:03 -0800 Subject: [Github-comments] [geany/geany] Blank extra line displayed for files with terminating newline (#2727) Message-ID: If I open a newline terminated file in geany extra blank line is displayed: ![Screenshot_2021-01-11_19-50-14](https://user-images.githubusercontent.com/18244032/104231328-b2d9e380-5446-11eb-8f43-e61710d8e325.png) This is incorrect according to the POSIX specification of a file, in which all lines should be newline terminated. From looking at how geany presents the file it would appear that the file has 6 lines with the final line being empty, when it actually only has 5 newline terminated lines. `wc` correctly reports only 5 lines in this file: ![Screenshot_2021-01-11_19-58-30](https://user-images.githubusercontent.com/18244032/104231821-68a53200-5447-11eb-94bf-bb4511b6054d.png) And vim correctly only displays 5 lines: ![Screenshot_2021-01-11_19-59-12](https://user-images.githubusercontent.com/18244032/104231908-81ade300-5447-11eb-9332-0eefe244b49c.png) -- 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/2727 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 11 23:37:34 2021 From: notifications at xxxxx (elextr) Date: Mon, 11 Jan 2021 15:37:34 -0800 Subject: [Github-comments] [geany/geany] Blank extra line displayed for files with terminating newline (#2727) In-Reply-To: References: Message-ID: The behaviour of Geany is self consistent, if you move the cursor after the newline it goes to the start of the next line. That means you need to have a visual next line after the last line for it to go to. Also, irrespective of what POSIX says there are situations where files must not have a terminating newline (inline includes for example) so there needs to be a way of indicating the presence or absence of the last newline. But its impossible for a mere editor to know if its a file with a terminating newline, or a file with an empty unterminated last line, so it shows the presence of a newline by showing a next line place for the cursor to go. This is the behaviour of other proper modeless visual editors/IDEs, Mint Text Edit (a Gedit clone IIRC) and Eclipse being the two I have at hand and a quick peruse of the vscode docs suggests its the same. -- 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/2727#issuecomment-758292585 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 09:23:22 2021 From: notifications at xxxxx (Damon Harris) Date: Tue, 12 Jan 2021 01:23:22 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) Message-ID: Hi! I want to make a feature request for the "Line Operations" plugin, it will be nice to have a "Reverse" option which will sort the selected lines in the reverse order! For some reason, I keep coming across the need for this feature :grin: -- 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/1057 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 09:29:12 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 01:29:12 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: There is already a sort descending IIUC. Or do you not mean "sort" but just reverse the order of the lines? -- 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/1057#issuecomment-758526811 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 09:33:30 2021 From: notifications at xxxxx (Damon Harris) Date: Tue, 12 Jan 2021 01:33:30 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: @elextr The latter, "sort" them in the order of the lines, but in reverse. Basically reverse the lines so that: ``` 1 2 3 ``` becomes: ``` 3 2 1 ``` -- 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/1057#issuecomment-758529469 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 09:54:02 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 01:54:02 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: "Sort" usually means order based on the value of the line contents, and forward and reverse sort is already available. But just to confirm, your request is for simply reversing the order of the lines independent of the content. (your example could be either). -- 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/1057#issuecomment-758541400 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 15:58:26 2021 From: notifications at xxxxx (Thomas Wolf) Date: Tue, 12 Jan 2021 07:58:26 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Having the same issue on Windows 10. Did some testing with different Geany versions, different install and file locations and two different machines: ### Geany versions - 1.37.1 --> slow - 1.37 --> slow - 1.36 --> slow - 1.36 **portable** --> fast - 1.35 --> fast ``` 22:28:45: Geany INFO : Geany 1.37.1, German_Germany.1252 22:28:45: Geany INFO : GTK 2.24.32, GLib 2.66.2 22:28:45: Geany INFO : OS: Windows 10 1909 22:28:45: Geany INFO : System data dir: C:\Program Files (x86)\Geany\data 22:28:45: Geany INFO : User config dir: C:\Users\lupus\AppData\Roaming\geany 22:28:45: Geany INFO : System plugin path: C:\Program Files (x86)\Geany\lib\geany 22:28:45: Geany INFO : Added filetype Arduino (63). 22:28:45: Geany INFO : Added filetype Clojure (64). 22:28:45: Geany INFO : Added filetype CUDA (65). 22:28:45: Geany INFO : Added filetype Cython (66). 22:28:45: Geany INFO : Added filetype Genie (67). 22:28:45: Geany INFO : Added filetype Graphviz (68). 22:28:45: Geany INFO : Added filetype Groovy (69). 22:28:45: Geany INFO : Added filetype JSON (70). 22:28:45: Geany INFO : Added filetype Kotlin (71). 22:28:45: Geany INFO : Added filetype Nim (72). 22:28:45: Geany INFO : Added filetype Scala (73). 22:28:45: Geany INFO : Added filetype Swift (74). 22:28:45: Geany INFO : Added filetype TypeScript (75). 22:28:45: Geany INFO : Added filetype AutoHotkey (76). 22:28:45: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ?gio-vfs? 22:28:46: Geany INFO : unknown : None (UTF-8) ``` ``` 22:28:40: Geany INFO : Geany 1.35, German_Germany.1252 22:28:40: Geany INFO : GTK 2.24.32, GLib 2.60.1 22:28:40: Geany INFO : System data dir: C:\Program Files (x86)\Geany_135\data 22:28:40: Geany INFO : User config dir: C:\Users\lupus\AppData\Roaming\geany 22:28:40: Geany INFO : System plugin path: C:\Program Files (x86)\Geany_135\lib\geany 22:28:40: Geany INFO : Added filetype Arduino (61). 22:28:40: Geany INFO : Added filetype Clojure (62). 22:28:40: Geany INFO : Added filetype CUDA (63). 22:28:40: Geany INFO : Added filetype Cython (64). 22:28:40: Geany INFO : Added filetype Genie (65). 22:28:40: Geany INFO : Added filetype Graphviz (66). 22:28:40: Geany INFO : Added filetype JSON (67). 22:28:40: Geany INFO : Added filetype Scala (68). 22:28:40: Geany INFO : Added filetype AutoHotkey (69). 22:28:40: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ?gio-vfs? 22:28:40: Geany INFO : unknown : None (UTF-8) ``` ``` 11:32:03: Geany INFO : Using alternate configuration directory <----- PORTABLE 11:32:03: Geany INFO : Geany 1.36, German_Germany.1252 11:32:03: Geany INFO : GTK 2.24.32, GLib 2.60.6 11:32:03: Geany INFO : System data dir: F:\PortableApps\GeanyPortable\App\Geany\data 11:32:03: Geany INFO : User config dir: F:\PortableApps\GeanyPortable\Data\settings 11:32:04: Geany INFO : System plugin path: F:\PortableApps\GeanyPortable\App\Geany\lib\geany 11:32:04: Geany INFO : Added filetype Arduino (61). 11:32:04: Geany INFO : Added filetype Clojure (62). 11:32:04: Geany INFO : Added filetype CUDA (63). 11:32:04: Geany INFO : Added filetype Cython (64). 11:32:04: Geany INFO : Added filetype Genie (65). 11:32:04: Geany INFO : Added filetype Graphviz (66). 11:32:04: Geany INFO : Added filetype Groovy (67). 11:32:04: Geany INFO : Added filetype JSON (68). 11:32:04: Geany INFO : Added filetype Kotlin (69). 11:32:04: Geany INFO : Added filetype Nim (70). 11:32:04: Geany INFO : Added filetype Scala (71). 11:32:04: Geany INFO : Added filetype Swift (72). 11:32:04: Geany INFO : Added filetype TypeScript (73). 11:32:04: Geany INFO : Added filetype AutoHotkey (74). 11:32:04: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ?gio-vfs? 11:32:04: Geany INFO : unknown : None (UTF-8) ``` Notice the different GLib versions. GTK is identical. ### Slow vs. fast With "slow" I mean the longer load times for opening (new) files, which I first realized after upgrading from 1.35 to 1.37. With "fast" I mean the normal load times from 1.35. As already mentioned, the problem is not the startup time of Geany itself, but the time to open a file. This applies to opening a text file from an arbitrary location on disk, but also **opening a new and empty file** via `ctrl+n`. In my opinion, there is nothing special about opening sessions/projects, except the fact that sessions usually include multiple files, which means one slowdown per file in the saved session. ### Plugins and settings Tried with plugins and with deactivating all plugins via settings -> general menu. No difference. Tried with and without `files.save_config_on_file_change`. No difference. ### Location and machine Staying on the same machine (tested at work), it makes no difference if I run Geany (or load files) from the local SSD, HDD, USB flash drive or network share. At least the Geany/file location impact is much smaller than the difference between the slow and fast Geany versions. On the machine at home I did not test with different install locations, but expect the same result. My machine at home shows faster startup/load times in general. The slow/fast version difference is still noticeable, albeit less pronounced. ### Portable version This really puzzles me. It was the last test I did. Before, I was sure hat something must have changed between 1.35 and 1.36 (untouched by changes introduced in 1.37 and 1.37.1). But than I discovered that [PortableApp's 1.36 version](https://portableapps.com/apps/development/geany_portable) has the fast load times from 1.35 and not the slow ones from 1.36 non-portable! Unfortunately, it seems like they don't offer 1.37 or 1.37.1 yet and 1.34 not anymore. 1.33 is still available, but I did not test it, because I expect fast times as with 1.35. So far, I only tested 1.36 portable at work, but will test at home later. The big question is: Why do 1.36 portable and non-portable behave differently? With the portable version, one does not start Geany directly, but with a launcher executable `GeanyPortable.exe`. The launcher does some "portable magic" beforehand, than loads `geany.exe`, and does some cleanup afterwards (as far as I understand the portable apps system). Anything else I can do to narrow down the problem? -- 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/2649#issuecomment-758754507 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 16:22:25 2021 From: notifications at xxxxx (James Shorthouse) Date: Tue, 12 Jan 2021 08:22:25 -0800 Subject: [Github-comments] [geany/geany] Blank extra line displayed for files with terminating newline (#2727) In-Reply-To: References: Message-ID: I understand that this is a subjective issue, so perhaps it could be a configuration option (like automatically adding a terminating newline on save is)? I think there are valid arguments for either side. I know there are many other IDEs that behave the same was as Geany currently does, but in my personal opinion they behave incorrectly. Early text editors such as Vim and Emac displayed files with lines according to POSIX. It was the newer IDEs that decided to come along and break this long standing convention, and thereby causing all of this confusion. If they had just stuck to the POSIX-correct interpretation of newlines as Vim and Emacs do then I think there would be no confusion and debate around terminating newlines. >The behaviour of Geany is self consistent, if you move the cursor after the newline it goes to the start of the next line. I'd argue this isn't consistent at all because the last "line" isn't a line at all (according to POSIX). Trying to move the cursor past the last line with text shouldn't go anywhere. >vscode You are correct that vscode behaves the same way as geany by default, but it also has a configuration option to hide the last line (`editor.renderFinalNewline`). In summary I can understand why people would want the editor to show lines this way, but there are also many people who don't. As previously explained the current behaviour is inconsistent with basically all long-standing unix tools, from inspecting a file with `vim` or `wc -l` is appears that geany is adding blank lines. The default behaviour can be kept but I would very much appreciate an option to hide the final line if possible. -- 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/2727#issuecomment-758770397 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 16:59:21 2021 From: notifications at xxxxx (Damon Harris) Date: Tue, 12 Jan 2021 08:59:21 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: Sorry, that was a bad example, I updated it to remove the ambiguity. -- 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/1057#issuecomment-758797725 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 17:25:35 2021 From: notifications at xxxxx (Matthew Brush) Date: Tue, 12 Jan 2021 09:25:35 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: @TheDcoder FWIW, you can do this using just Geany: ![tac](https://user-images.githubusercontent.com/181177/104349566-f28ce380-54b7-11eb-9111-705208d64c8b.png) https://www.geany.org/manual/current/#sending-text-through-custom-commands -- 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/1057#issuecomment-758814363 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 17:29:33 2021 From: notifications at xxxxx (Damon Harris) Date: Tue, 12 Jan 2021 09:29:33 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: @codebrainz why didn't anyone tell me about the `tac` utility before?! I better go through them all now :grin: By the way, this feature won't be available to Windows users so it is still worth considering a native independent solution. -- 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/1057#issuecomment-758816815 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 18:53:07 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 12 Jan 2021 10:53:07 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: @L--U--P--U--S Thanks for the extra info. Can you time some of the differences with a stopwatch? -- 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/2649#issuecomment-758864738 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 21:30:29 2021 From: notifications at xxxxx (Thomas Wolf) Date: Tue, 12 Jan 2021 13:30:29 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Sorry, my mistake. 1.36 is fast, both in the portable and the non-portable version. Don't know what happened that night ? I updated the previous post. Now my observations are consistent with @andy5995 : All versions are fast versions until and including 1.36. Slowdown starts with 1.37 and goes on with 1.37.1. Will do some stopwatch experiments tomorrow. -- 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/2649#issuecomment-759026948 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 22:52:39 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 14:52:39 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: @L--U--P--U--S Thanks for the work, could you please do comparisons using versions built with gtk3. As 1.37 is the last release that will officially support gtk2, any issues it causes are likely not going to be fixed. @andy5995 your 1.37 debug messages shows its gtk3, can you post your 1.36 debug just to reassure me its also gtk3. -- 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/2649#issuecomment-759088038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 23:16:05 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 15:16:05 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: I can't measure any material difference (the difference is within the error caused by my reaction time) between ``` 08:56:28: Geany INFO : Geany 1.37 (git >= 915cf6e8), en_AU.UTF-8 08:56:28: Geany INFO : GTK 3.24.20, GLib 2.64.3 08:56:28: Geany INFO : OS: Linux Mint 20 (ulyana) ``` and ``` 08:55:54: Geany INFO : Geany 1.36 (git >= 825acb21), en_AU.UTF-8 08:55:54: Geany INFO : GTK 3.24.20, GLib 2.64.3 ``` opening a project with Geanys and Scintilla sources. Always be careful what you are comparing is identical, use a copy of the same files, but don't use the same actual files between the two geanys or OS caching may make the second run faster. Always measure more than once to avoid any system hiesenwork happening in the background affecting the results (your mailer fetching stuff, your browser updating the news feed etc). -- 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/2649#issuecomment-759097437 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 12 23:31:06 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 15:31:06 -0800 Subject: [Github-comments] [geany/geany-plugins] Line Operations: Reverse (#1057) In-Reply-To: References: Message-ID: A quick google shows a number of similar utilities on Windows, not sure how hard they would be to set up. But the line operations maintainer may entertain a well written pull request. -- 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/1057#issuecomment-759102885 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 00:04:07 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 16:04:07 -0800 Subject: [Github-comments] [geany/geany] Blank extra line displayed for files with terminating newline (#2727) In-Reply-To: References: Message-ID: A quick google didn't find any option to hide it in the Scintilla editing widget (which is what draws that line) so unless I missed it the option would have to be added to that project first then a pull request could be made to add setting the option in 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/issues/2727#issuecomment-759114601 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 00:29:36 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 12 Jan 2021 16:29:36 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: ``` 18:28:27: Geany INFO : Geany 1.36, en_US.utf8 18:28:27: Geany INFO : GTK 3.24.5, GLib 2.58.3 18:28:27: Geany INFO : System data dir: /home/andy/.local/share/geany 18:28:27: Geany INFO : User config dir: /home/andy/.config/geany 18:28:28: Geany INFO : Loaded GTK+ CSS theme '/home/andy/.local/share/geany/geany.css' 18:28:28: Geany INFO : Loaded GTK+ CSS theme '/home/andy/.local/share/geany/geany-3.20.css' 18:28:28: Geany INFO : System plugin path: /home/andy/.local/lib/geany 18:28:28: Geany INFO : Added filetype Clojure (61). 18:28:28: Geany INFO : Added filetype Nim (62). 18:28:28: Geany INFO : Added filetype Graphviz (63). 18:28:28: Geany INFO : Added filetype Groovy (64). 18:28:28: Geany INFO : Added filetype CUDA (65). 18:28:28: Geany INFO : Added filetype JSON (66). 18:28:28: Geany INFO : Added filetype Arduino (67). 18:28:28: Geany INFO : Added filetype Kotlin (68). 18:28:28: Geany INFO : Added filetype Scala (69). 18:28:28: Geany INFO : Added filetype Genie (70). 18:28:28: Geany INFO : Added filetype Swift (71). 18:28:28: Geany INFO : Added filetype Cython (72). 18:28:28: Geany INFO : Added filetype TypeScript (73). 18:28:28: Geany INFO : Loaded libvte from libvte-2.91.so 18:28:28: Geany INFO : unknown : None (UTF-8) ``` -- 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/2649#issuecomment-759123225 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 00:43:06 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 12 Jan 2021 16:43:06 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: I've narrowed down the specific commit where this slowdown starts. https://github.com/geany/geany/commit/e42a963d6b4f1b2ef2063e59fc4139a250dfe709 Which is one commit before the release of 1.37.0 -- 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/2649#issuecomment-759127626 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 01:01:26 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 17:01:26 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: As discussed on IRC https://github.com/geany/geany/commit/e42a963d6b4f1b2ef2063e59fc4139a250dfe709 may cause Scintilla to re-layout stuff, but maybe Pango caching is improving it, @andy5995 is on Pango 1.42.4 and I'm on Pango 1.44.7 -- 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/2649#issuecomment-759133575 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 01:04:19 2021 From: notifications at xxxxx (elextr) Date: Tue, 12 Jan 2021 17:04:19 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Just to note the profiles @andy5995 posted above show most time being spent in Pango. -- 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/2649#issuecomment-759134858 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 06:07:33 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 12 Jan 2021 22:07:33 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: I was curious and built pango from git, installed it, rebuilt geany.. appears to be linked properly, but I still get the slowdown ``` $ ldd `which geany` linux-vdso.so.1 (0x00007fff31b61000) libgeany.so.0 => /home/andy/.local/lib/libgeany.so.0 (0x00007fcae186a000) libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007fcae1179000) libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007fcae107d000) libpangocairo-1.0.so.0 => /home/andy/.local/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007fcae106c000) libpango-1.0.so.0 => /home/andy/.local/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007fcae101d000) ``` -- 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/2649#issuecomment-759228278 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 09:32:20 2021 From: notifications at xxxxx (Thomas Wolf) Date: Wed, 13 Jan 2021 01:32:20 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: > could you please do comparisons using versions built with gtk3. As 1.37 is the last release that will officially support gtk2, any issues it causes are likely not going to be fixed. Are there windows installers with gtk3 available for download or do I have do compile it myself following [this guide](https://wiki.geany.org/howtos/win32/msys2)? -- 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/2649#issuecomment-759324923 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 09:51:13 2021 From: notifications at xxxxx (Thomas Wolf) Date: Wed, 13 Jan 2021 01:51:13 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: > Can you time some of the differences with a stopwatch? ### Procedure 1. randomly opened 15 files (ranging from one to some hundreds of lines in size) and save those files as project 2. closed Geany 3. opened Geany (empty editor/file) 4. opened project while looking on stopwatch Repeated steps 2-4 several times while switching between 1.36 and 1.37(.1) once in a while. Always got identical timings (in terms of 1-sec-accuracy). ### Result - at home (better I/O performance in general) - 1.37.1 --> about 11 sec in total - 1.36 --> something between 1 and 2 sec - at work - 1.37 --> about 15 sec - 1.36 --> something between 1 and 2 sec ### Note As stated, I always started with an fresh/empty Geany instance. While waiting for all the project files to open, the Geany window kind of freezes. Why "kind of"? The editor stays empty until all files have been opened. I cannot see the mouse pointer if it is located on top of the Geany window (can see it if moving the pointer sideways on top of another window or desktop), **but** the window title gets updated with the file, which is currently loaded or was loaded last. -- 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/2649#issuecomment-759335428 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 13 10:10:42 2021 From: notifications at xxxxx (elextr) Date: Wed, 13 Jan 2021 02:10:42 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: @L--U--P--U--S ummm, ahh, Windows, I missed that, yeah well the windows downloads are gtk2 up to 1.37, the intention is to switch to gtk3 before 1.38 release, but it depends on peoples time availability which is unknown in these "interesting" times. So you would have to build it yourself at the moment. hmmm, 15 files of a few hundred lines taking 11 secs, on Linux I'm testing with approx 120 files taking about 6 secs, some of them being several thousands of lines (basically Geany and Scintilla src directories) and not seeing any difference between 1.36 and 1.37, but @andy5995 is seeing it on Linux. I'm not on a blindingly fast machine, its 9 years old, but it is from SSD, I wonder if there is something about some disks? And windows? I'm not aware of any big changes to how Geany reads files between 1.36 and 1.37. If I get time I will try loading the files off spinny disk. -- 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/2649#issuecomment-759346700 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 14 01:59:23 2021 From: notifications at xxxxx (nomadbyte) Date: Wed, 13 Jan 2021 17:59:23 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: Which Geany version are you using? How did you install it? GeanyVC plugin is dependent on `libgtkspell`, which in its turn depends on `libenchant`. The spellcheck is used for the commit message/comment (when language is configured in the plugin's Preferences). -- 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/1056#issuecomment-759874220 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 14 05:19:08 2021 From: notifications at xxxxx (nomadbyte) Date: Wed, 13 Jan 2021 21:19:08 -0800 Subject: [Github-comments] [geany/geany-plugins] Spellcheck on Windows: The Enchant library couldn't be initialized (unknown error(maybe the chosen language is not available)) (#939) In-Reply-To: References: Message-ID: ``` ... 23:05:00: SpellCheck DEBUG : Initializing Enchant library version 2.2.5 23:05:00: (NULL) WARNING : Error loading plugin: 'C:\Program Files (x86)\Geany/lib/enchant-2\enchant_aspell.dll': The specified module could not be found. ... ``` This appears as some odd path issue: `"\Geany/lib/enchant-2\enchant_aspell.dll"`. The slashes mixed with backslashes. Indeed the .dll **is** present, yet the loader apparently can't load it via such a mixed path. Not sure whether it's a build or a configuration issue. Same warning is being reported from GeanyVC plugin (at commit dialog, which uses GTKspell for commit message check). See the issue #1056 -- 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/939#issuecomment-759932402 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 15 20:13:40 2021 From: notifications at xxxxx (Thomas Wolf) Date: Fri, 15 Jan 2021 12:13:40 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: > So you would have to build it yourself at the moment. Built a gtk3 version myself using https://download.geany.org/geany-1.37.1.tar.gz, https://wiki.geany.org/howtos/win32/msys2 (with few adjustments to fix configure errors) and my home machine. Outcome: **absolutely no difference** :( Identical behaviour and time ? as described [before](#issuecomment-759335428). ``` 21:00:33: Geany INFO : Using TCP port number 45937 for IPC 21:00:33: Geany INFO : Geany 1.37.1, German_Germany.1252 21:00:33: Geany INFO : GTK 3.24.24, GLib 2.66.4 21:00:33: Geany INFO : OS: Windows 10 1909 21:00:33: Geany INFO : System data dir: C:\geany\data 21:00:33: Geany INFO : User config dir: C:\Users\lupus\AppData\Roaming\geany 21:00:33: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation winhttp (GWinHttpVfs) for ?gio-vfs? 21:00:33: Geany INFO : Loaded GTK+ CSS theme 'C:\geany\data\geany.css' 21:00:33: Geany INFO : Loaded GTK+ CSS theme 'C:\geany\data\geany-3.20.css' 21:00:33: Geany INFO : System plugin path: C:\geany\lib\geany 21:00:33: Geany INFO : Added filetype Arduino (63). 21:00:33: Geany INFO : Added filetype Clojure (64). 21:00:33: Geany INFO : Added filetype CUDA (65). 21:00:33: Geany INFO : Added filetype Cython (66). 21:00:33: Geany INFO : Added filetype Genie (67). 21:00:33: Geany INFO : Added filetype Graphviz (68). 21:00:33: Geany INFO : Added filetype Groovy (69). 21:00:33: Geany INFO : Added filetype JSON (70). 21:00:33: Geany INFO : Added filetype Kotlin (71). 21:00:33: Geany INFO : Added filetype Nim (72). 21:00:33: Geany INFO : Added filetype Scala (73). 21:00:33: Geany INFO : Added filetype Swift (74). 21:00:33: Geany INFO : Added filetype TypeScript (75). 21:00:33: Geany INFO : Added filetype AutoHotkey (76). 21:00:34: Geany INFO : unknown : None (UTF-8) ``` -- 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/2649#issuecomment-761174188 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 15 22:55:35 2021 From: notifications at xxxxx (Andy Alt) Date: Fri, 15 Jan 2021 14:55:35 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) Message-ID: When I look at examples for creating .desktop files, it's recommended to use the full path to the binary. One practical advantage to this is when the --prefix is changed when running `./configure`. For example, if I use `--prefix=$HOME/.local`, Geany will show in my desktop menu, but even though $HOME/.local/bin is already included in my PATH, Geany won't execute because the `Exec` line in the desktop file is simply 'geany'. I included some other trivial changes in this PR to make more practical use of the new 'geany.desktop.in.in' file. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/2728 -- Commit Summary -- * writes absolute path to geany bin in desktop file -- File Changes -- M Makefile.am (2) M configure.ac (4) R geany.desktop.in.in (6) M geany.pc.in (4) M m4/geany-utils.m4 (12) -- Patch Links -- https://github.com/geany/geany/pull/2728.patch https://github.com/geany/geany/pull/2728.diff -- 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/pull/2728 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 00:30:51 2021 From: notifications at xxxxx (elextr) Date: Fri, 15 Jan 2021 16:30:51 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: @L--U--P--U--S thanks for doing that, so at least your problem doesn't seem to be GTK major version dependent either. So summarising the data: | Reported | OS | Version | GTK | slower | |-------------|------|------------|--------|----------| | https://github.com/geany/geany-osx/issues/20 | OSX | 1.36 | ??? | no | | https://github.com/geany/geany-osx/issues/20 | OSX | 1.37-2 | ??? | yes untimed | | @L--U--P--U--S | Windows | 1.36 | GTK 2.24.32, GLib 2.60.6 | no | | @L--U--P--U--S | Windows | 1.37.1 | GTK 2.24.32, GLib 2.66.2 | yes 5-10 times | | #2639 | Windows | 1.36 | ??? | no | | #2639 | Windows | 1.37.1 | ??? | yes untimed | | @andy5995 | Linux | 1.36 | GTK 3.24.5, GLib 2.58.3 | no | | @andy5995 | Linux | 1.37 | GTK 3.24.5, GLib 2.58.3 | yes, 2 times | | @elextr | Linux | 1.36 | GTK 3.24.20, GLib 2.64.3 | No | | @elextr | Linux | 1.37 | GTK 3.24.20, GLib 2.64.3 | No | And to summarise my conclusions from that: 1. For some people 1.37(.1) is measurably slower, but not everyone, seems from the reports at https://github.com/geany/geany-osx/issues/20 (OSX) @L--U--P--U--S (Windows) and @andy5995 (Linux) it happens on all platforms. 2. @andy5995 bisected it to https://github.com/geany/geany/commit/e42a963d6b4f1b2ef2063e59fc4139a250dfe709 on Linux 3. but neither @codebrainz nor I see any slowdown on Linux So maybe there is something in the environment that triggers https://github.com/geany/geany/commit/e42a963d6b4f1b2ef2063e59fc4139a250dfe709 to cause slowdown. Because that patch sets the margin width, maybe it triggers Scintilla to re-layout each file after opening which is a plausible slowdown, but why does it only happen on some systems, or is that patch a furphy, those are the questions? -- 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/2649#issuecomment-761273052 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 00:43:06 2021 From: notifications at xxxxx (elextr) Date: Fri, 15 Jan 2021 16:43:06 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: The idea seems ok to me, desktop menu systems these days are started by systemd not as the user, so user changes to PATH are not available to the desktop, so setting the full path seems sensible. My Autofools isn't good enough to comment on the implementation. CI issues need fixing. -- 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/pull/2728#issuecomment-761275774 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 01:59:10 2021 From: notifications at xxxxx (Matthew Brush) Date: Fri, 15 Jan 2021 17:59:10 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > When I look at examples for creating .desktop files, it's recommended to use the full path to the binary. Best source for info is [the spec](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables): >> The executable program can either be specified with its full path or with the name of the executable only. If no full path is provided the executable is looked up in the $PATH environment variable used by the desktop environment. -- 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/pull/2728#issuecomment-761292571 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 02:06:29 2021 From: notifications at xxxxx (elextr) Date: Fri, 15 Jan 2021 18:06:29 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @codebrainz neat, so the spec allows full path. -- 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/pull/2728#issuecomment-761293624 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 02:14:34 2021 From: notifications at xxxxx (Matthew Brush) Date: Fri, 15 Jan 2021 18:14:34 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: Yeah, it doesn't recommend either way. I'm not sure what the consequences of hard-coding an absolute path in practice are - particularly in the case of multiple Geany installations - versus doing a `PATH` lookup, so I do not have an opinion, other than that the unrelated changes in this PR aren't super compelling. Ping @dmaphy, @hyperair, @b4n et al. -- 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/pull/2728#issuecomment-761294993 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 02:18:22 2021 From: notifications at xxxxx (elextr) Date: Fri, 15 Jan 2021 18:18:22 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > versus doing a PATH lookup The problem is (and as the spec says) its the _desktop_ PATH, not the users PATH, so it will only ever work if Geany is in a standard system PATH location, and putting stuff there usually needs root or sudo. -- 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/pull/2728#issuecomment-761295598 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 02:27:31 2021 From: notifications at xxxxx (Matthew Brush) Date: Fri, 15 Jan 2021 18:27:31 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: I have no idea if other stuff (DEs, menu editors, etc.) purposefully use the DE's `PATH` variable in all configurations, or whether it is common for DEs to run under other than the currently logged in user, so not sure, no opinion. -- 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/pull/2728#issuecomment-761296639 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 02:47:54 2021 From: notifications at xxxxx (elextr) Date: Fri, 15 Jan 2021 18:47:54 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: Good point, on my Mint a minor survey shows about 50/50 eg firefox is just the command, chrome is the full path, scite is the command, eclipse is the full path etc -- 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/pull/2728#issuecomment-761299067 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 02:53:16 2021 From: notifications at xxxxx (Andy Alt) Date: Fri, 15 Jan 2021 18:53:16 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @andy5995 pushed 1 commit. 786a4caa9969e170910694d2cbc24fa603c74e63 specify path to geany.desktop.in in POTFILES.in -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2728/files/d8b1001ebdefad5c55a0c94deb87557c03aec59a..786a4caa9969e170910694d2cbc24fa603c74e63 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 03:29:23 2021 From: notifications at xxxxx (Andy Alt) Date: Fri, 15 Jan 2021 19:29:23 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: Trying to fix the po issue... heading into spaghetti territory with my [last commit](https://github.com/geany/geany/pull/2728/commits/786a4caa9969e170910694d2cbc24fa603c74e63) (which doesn't work anyway, and won't without more of a mess I think). https://travis-ci.org/github/geany/geany/jobs/754726914#L1809 Might be time to abandon this PR and seek out a better approach. I think it would be best if this could be done using the already-existing `geany.desktop.in` file. But I don't know how to do that. I see this in the main automake file ``` desktop_in_files = geany.desktop desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ ``` But I'm not familiar yet with this process of generating the desktop(out) file (as opposed to using './configure'). This looks like someone trying to do something similar to what I"m trying to accomplish, using the in.in file when INTLTOOL_DESKTOP_RULE is also being used to create an out file... https://stackoverflow.com/questions/12239624/intltool-with-an-autoconf-generated-desktop-file -- 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/pull/2728#issuecomment-761307651 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 03:44:46 2021 From: notifications at xxxxx (Andy Alt) Date: Fri, 15 Jan 2021 19:44:46 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @andy5995 pushed 1 commit. 4082f98202a00b7ff89afc231992c575e539b45f use pkg description in about.c and libmain.c as well -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2728/files/786a4caa9969e170910694d2cbc24fa603c74e63..4082f98202a00b7ff89afc231992c575e539b45f -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 04:17:28 2021 From: notifications at xxxxx (Andy Alt) Date: Fri, 15 Jan 2021 20:17:28 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @andy5995 pushed 1 commit. a3fdfe10241b1c1a5d03673a8c142bfda89e07ec Revert "use pkg description in about.c and libmain.c as well" -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2728/files/4082f98202a00b7ff89afc231992c575e539b45f..a3fdfe10241b1c1a5d03673a8c142bfda89e07ec -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 12:30:31 2021 From: notifications at xxxxx (Thomas Wolf) Date: Sat, 16 Jan 2021 04:30:31 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Because it is mentioned in the very first post, I suggest to add Georg Klingenberg's report to the table: Reported | OS | Version | GTK | slower -- | -- | -- | -- | -- [msg02989](https://www.mail-archive.com/users at lists.geany.org/msg02989.html) | Windows| 1.36 | ??? | no [msg02989](https://www.mail-archive.com/users at lists.geany.org/msg02989.html) | Windows| 1.37 | ??? | yes untimed In his [reply](https://www.mail-archive.com/users at lists.geany.org/msg02992.html) he described the familiar behaviour: not the startup per se is slow, but the load time of each file (loaded at startup or 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/2649#issuecomment-761556010 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 13:01:56 2021 From: notifications at xxxxx (Colomban Wendling) Date: Sat, 16 Jan 2021 05:01:56 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @b4n requested changes on this pull request. I am not sure we do want this, but maybe. I don't see much downside, but perhaps when building with `--enable-binreloc` (gives `Exec=//bin/geany` which is? well, both right an wrong), yet I don't know how much sense a .desktop makes for a relocatable installation. So let's say we're happy with it. However, I don't like the implementation. IMO, we should rather do something like https://github.com/b4n/geany/commit/884309bd6e7969f7b2d01592fa6741cd76b1580b -- and AFAIK it's how other do. This said, full path is not a popular trend in my Debian stable, which kind of makes me wonder if there is a downside I can't think about: ```shell $ rgrep 'Exec *= */' /usr/share/applications/ | wc -l # absolute paths 27 $ rgrep 'Exec *= *[^/]' /usr/share/applications/ | wc -l # non-absolute paths 233 ``` > @@ -11,6 +11,18 @@ AC_DEFUN([GEANY_PREFIX], if test "x$exec_prefix" = xNONE; then exec_prefix=$prefix fi + + # The $bindir variable is equal to the literal string "${exec_dir}/bin" + # rather than the actual path. pkgconfig (.pc) files can use that ok, but + # other files written out by configure require the literal path. + # + # If the --bindir argument is given to configure, then $bindir will already + # be equal to an absolute path. Actually no, AFAIK it's valid to pass `--bindir` with placeholders. The only "reliable" way of expanding one of the dir variables is to eval it until it stops changing -- which is both annoying and tricky. IIRC there's a 3rd party macro to do so, but in any case it's not great. The best solution usually is to perform these replacements at make time. > @@ -9,6 +9,9 @@ AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([1.11 -Wall parallel-tests subdir-objects]) AC_CONFIG_HEADERS([config.h]) +PKG_DESC="A fast and lightweight IDE using GTK+" I think that's kind of over-engineering the thing, and IMO should at least not be part of this change. > +Name: @PACKAGE_NAME@ +Description: @PKG_DESC@ This is unrelated to the proposed change -- 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/pull/2728#pullrequestreview-569935949 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 13:41:55 2021 From: notifications at xxxxx (Colomban Wendling) Date: Sat, 16 Jan 2021 05:41:55 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: OK, thanks to the @andy5995's bisect we now know what's going on, and I see at least on one of my machines that undoing most of what that commit does roughly halves my loading times as well (I guess I never really noticed because I'm used for my usual huge Geany session to be slow enough that I don't attend it, and I don't restart Geany often either). In any case, if all the reports about this slowness come from the same issue, then we're on the right tracks: having identified the issue usually accounts for at least half the work. Thanks! -- 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/2649#issuecomment-761565249 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 14:30:47 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sat, 16 Jan 2021 06:30:47 -0800 Subject: [Github-comments] [geany/geany] Link to the change log per #2701 (#2714) In-Reply-To: References: Message-ID: @eht16 commented on this pull request. > @@ -27,6 +27,10 @@ The basic features of Geany are: - embedded terminal emulation - extensibility through plugins +Changelog +--------- +See the release notes on `the website `_ or `on GitHub `_. + I like this more, also because it doesn't mix ChangeLog and ReleaseNotes which is not the same. If we could omit the version number, the ReadMe doesn't need to be touched on each release. -- 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/pull/2714#discussion_r558905832 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 14:33:18 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sat, 16 Jan 2021 06:33:18 -0800 Subject: [Github-comments] [geany/geany] Link to the change log per #2701 (#2714) In-Reply-To: References: Message-ID: @eht16 commented on this pull request. > @@ -27,6 +27,10 @@ The basic features of Geany are: - embedded terminal emulation - extensibility through plugins +Changelog +--------- +See the release notes on `the website `_ or `on GitHub `_. ReleaseNotes and ChangeLog are not the same. The ChangeLog is a generated list from the GIT history, i.e. it contains each commit. The ReleaseNotes are hand-written highlight changes for each release and much shorter. IMO nowadays, most people look for what we put in ReleaseNotes and those who want to check every single commit, probably already know how to find the GIT history. -- 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/pull/2714#pullrequestreview-569942645 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 15:25:34 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sat, 16 Jan 2021 07:25:34 -0800 Subject: [Github-comments] [geany/geany-plugins] geany-plugins sourceforge site should be maintained or removed (#1049) In-Reply-To: References: Message-ID: - I added some badge to the top of the SF project page with a link to https://plugins.geany.org. - Also disabled the trackers by removing permissions to create tickets and posts. - Updated the default support URL to point to the issue tracker at SF - http://geany-plugins.sourceforge.net still shows the old content, I wasn't able to access the file storage but asked SF for their help @frlan @elextr @b4n @codebrainz if there are no objections, I would try to the delete the whole Geany-Plugins SF project page in a few months. I assume anything pointing to this site is also already pretty outdated, nobody of us keeps maintaining it and so we can also drop it. Most of this is probably true for the Geany SF project page (except for maintaing release notes). -- 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/1049#issuecomment-761581219 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 15:57:53 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sat, 16 Jan 2021 07:57:53 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: @Morusec did you try to disable spellchecking for GeanyVC by setting the language option to an empty string in the plugin preferences? The posted warnings about aspell and voikkpo libraries are rather harmless and I even think the mixed slashes would work. But Enchant on Windows doesn't work with these libraries even if there are built and present, these two messages always appear and I didn't find a way yet to silence them. I assume the real problem is that you simply doesn't have any dictionaries installed but spell checking configured in the plugin preferences. -- 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/1056#issuecomment-761586617 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 20:58:56 2021 From: notifications at xxxxx (Morusec) Date: Sat, 16 Jan 2021 12:58:56 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: The Windows version 1.37.1 was installed along side with geany-plugins 1.37. In GeanyVC's option, the field for the language option is empty by default. The error messages a WARNINGs and should not break the git functionality, it may not be related. -- 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/1056#issuecomment-761651544 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 21:07:02 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 13:07:02 -0800 Subject: [Github-comments] [geany/geany-plugins] geany-plugins sourceforge site should be maintained or removed (#1049) In-Reply-To: References: Message-ID: Unless somebody can provide a good reason to maintain a second site then I would say its a waste of any effort maintaining it, and to delete it. -- 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/1049#issuecomment-761657425 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 21:50:27 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 13:50:27 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Ok, I can get the slowdown if I make a project with _line wrap on all files_. That definitely suggests that its a display issue triggered by the margin width thing. Possibly hard to fix if keeping the auto margin width, since the file needs to be loaded, which does one layout pass, to get line height, to calculate the margin setting, which triggers another layout pass. Maybe add #2140 back in for you folks who load the whole world in one go with wrap on :grin: @b4n since all Scintilla widgets have the same font and so line height and so margin width, can that be calculated with the first file loaded and set on the widget before loading for the other files so they only layout once? -- 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/2649#issuecomment-761684715 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 22:02:51 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 14:02:51 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: Thinking about it, distros can use just the command because they install programs in system directories, which are in the default PATH, so the desktop will look there. So it is expected that all of Debian `.desktop`s will only have the command. Bright packagers like @hyperair will set the `.desktop` to suit their distros rules anyway. So @b4n what Debian does for software in its repo is not good guidance for what we should generate in a default `.desktop` that may be installed outside system directories. For user installs outside the system directories the path is needed because it isn't installed in a system directory, so the desktop will not find it in its PATH, so no install outside system directories will work with a `.desktop` otherwise. So the `.desktop` we generate on a build should have the full path. -- 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/pull/2728#issuecomment-761686486 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 22:18:48 2021 From: notifications at xxxxx (Colomban Wendling) Date: Sat, 16 Jan 2021 14:18:48 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > So @b4n what Debian does for software in its repo is not good guidance for what we should generate in a default `.desktop` that may be installed outside system directories. I don't think Debian goes to any length to tamper with a working upstream Desktop file, so that really seem like an upstream thing to me (and I checked a few, and they are the same as I see). > For user installs outside the system directories the path is needed because it isn't installed in a system directory, so the desktop will not find it in its PATH, so no install outside system directories will work with a `.desktop` otherwise. Well, the *only* case where it really is that simple is the OP's one, i.e. `--prefix=$HOME/.local`. In all other situations the desktop file will not be located automatically by the DE either, so it'd require manual tampering. Yes, it's easier to just have to move/link the Desktop file than modify it, but it sill doesn't work out of the box. In any case, again, I don't see a real downside to having a full path, and I see the upside (even if not huge), so why not. -- 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/pull/2728#issuecomment-761688701 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 16 22:44:37 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 14:44:37 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: Hmmm, yes the autotools default of `$datadir/applications` is pretty much only occasionally right if not a system location. Just a query, shouldn't it be called `org.geany.Geany.desktop`? -- 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/pull/2728#issuecomment-761691983 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 00:00:36 2021 From: notifications at xxxxx (Andy Alt) Date: Sat, 16 Jan 2021 16:00:36 -0800 Subject: [Github-comments] [geany/geany] Adding an appdata.xml (#2729) Message-ID: There was some discussion about this in https://github.com/geany/geany/issues/2093 https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps Is there a final verdict on whether or not an appdata.xml should be included? -- 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/2729 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 00:05:03 2021 From: notifications at xxxxx (Andy Alt) Date: Sat, 16 Jan 2021 16:05:03 -0800 Subject: [Github-comments] [geany/geany] Make "Geany is a small and ..." translatable (#2093) In-Reply-To: References: Message-ID: I created a separate ticket (#2729) regarding the appdata discussion. As for translating files other than source code files, [po4a](https://github.com/mquinson/po4a) might be helpful in resolving some issues? I'm not sure. -- 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/2093#issuecomment-761701450 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 00:19:45 2021 From: notifications at xxxxx (Andy Alt) Date: Sat, 16 Jan 2021 16:19:45 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > Hmmm, yes the autotools default of `$datadir/applications` is pretty much only occasionally right if not a system location. Looking at config.log... ``` datadir='${datarootdir}' datarootdir='${prefix}/share' ``` So $datadir will change depending on $prefix. > > Just a query, shouldn't it be called `org.geany.Geany.desktop`? I see that format used in [appdata](https://github.com/geany/geany/issues/2729) files, but I don't see any desktop files with that filename. The emacs appdata file for example has lines like ``` org.gnu.emacs emacs ``` and 0 A.D. ``` com.play0ad.zeroad 0ad.desktop ``` -- 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/pull/2728#issuecomment-761702949 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 00:20:50 2021 From: notifications at xxxxx (jesus2099) Date: Sat, 16 Jan 2021 16:20:50 -0800 Subject: [Github-comments] [geany/geany] Default custom command keyboard shortcuts are only valid for QWERTY keyboards (#2730) Message-ID: Default shortcut keys for custom commands are ctrl+1, ctrl+2 and ctrl+3 This only works on QWERTY keyboards. My AZERTY (French) keyboard have those keys as: Keyboard | | | | -|-|-|-| QWERTY | 1 | 2 | 3 | AZERTY (shift) | 1 | 2 | 3 | AZERTY (no modifier) | & | ? | " | Even if I press Ctrl+Shift+&, it does not trigger the first custom command (sort, in my case, see #2582). So I had to change the key binding in the settings (hopefully, it's great that this is possible!): Key binding | Before | After | -|-|-| Send to custom command 1 | `1` | `ampersand` | Send to custom command 2 | `2` | `eacute` | Send to custom command 3 | `3` | `quotedbl` | Would it be possible to set those by default if French keyboard is used? Maybe not. -- 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/2730 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 00:49:42 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 16:49:42 -0800 Subject: [Github-comments] [geany/geany] Adding an appdata.xml (#2729) In-Reply-To: References: Message-ID: Well, @b4n said on #1142 "I basically hate everything that tries and put the upstream (us) in downstream's (distributions) place. It's not our role, and a lot of upstream trying to be "smart" and "help" downstream just end up with a terrible mess that just make everyone's lives harder." See also further rants on #1142. And regarding images I said on #2014 "For example I just updated to the latest Mint and found icons are provided for save all and build so Geany's fallback "blue floppy disk stack" and "red fallen over bookcase" icons don't show, but they have on every other distro I've used (including older mints) and stand out like [colloquial expression elided] on "modern" flat dark themes." My summary of previous discussions would be: a) to be distro independent its going to be pretty bland, carefully can't mention Gnome/KDE/Mint/Nixos or whatever. b) since theming is delegated to the distro, Geany doesn't know what it will look like, so images are pretty sure to be wrong on any but the originator's system, so I guess photos on my dark theme Mint should be used so it doesn't look like any other distro :grin: c) not sure how happy translators are going to be with more work that may or may not be used by distros (@frlan thoughts?). So if there is any verdict its not positive so far. -- 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/2729#issuecomment-761706984 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 00:59:50 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 16:59:50 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > So $datadir will change depending on $prefix. Yep, but desktop files are in fixed locations defined in $XDG_DATA_DIRS so unless thats updated to point to wherever $prefix/share/applications says to install it, the desktop file won't be found, its just lucky your install location is in your $XDG_DATA_DIRS, ~/.local is not in mine for eg. (that was the point @b4n made) > > Just a query, shouldn't it be called org.geany.Geany.desktop? > I see that format used in appdata files, but I don't see any desktop files with that filename. Sorry should have put the reference, the [desktop file spec](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html) says "For applications, the part of the name of the desktop file (before the .desktop) should follow the "reverse DNS" convention, e.g. org.example.FooViewer.desktop." -- 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/pull/2728#issuecomment-761708104 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 01:19:54 2021 From: notifications at xxxxx (elextr) Date: Sat, 16 Jan 2021 17:19:54 -0800 Subject: [Github-comments] [geany/geany] Default custom command keyboard shortcuts are only valid for QWERTY keyboards (#2730) In-Reply-To: References: Message-ID: Similar if not duplicate of #1368 and others referenced in that. Also #1633 that has stalled. Geany does not know the keyboard layout, the GTK library does not provide it, so we can do nothing based on keyboard layouts. However you should be able to manually re-bind any problematic bindings to your particular keyboard, and that should be remembered in your user config. -- 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/2730#issuecomment-761710242 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 01:55:28 2021 From: notifications at xxxxx (Matthew Brush) Date: Sat, 16 Jan 2021 17:55:28 -0800 Subject: [Github-comments] [geany/geany-plugins] geany-plugins sourceforge site should be maintained or removed (#1049) In-Reply-To: References: Message-ID: @eht16 Maybe before deleting we could [snarf it up in an archiver](https://archive.vn/QPeDh) for posterity, including all the other SF pages, and link them from somewhere on the main site? -- 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/1049#issuecomment-761714313 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 09:04:27 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sun, 17 Jan 2021 01:04:27 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: Just tested on a Windows box: I can confirm the commit action fails. But it is unrelated to any spell checking issues. Though we also cannot see why it is failing at all, the plugin doesn't log the process result :(. For this to work, we need https://github.com/geany/geany-plugins/pull/1026 to be merged. Also, the message "17:39:18: Error initializing GeanyVC spell checking: enchant error for language: en. Check your configuration.` is quite misleading I'd say as it also happens when no spell check language is selected in the plugin preferences (as you said). @frlan I'd say the plugin should either have a toggle to enable/disable spell checking at all or at least disable spell checking when the language field is empty (currently it seems to default to "en" if it is empty). So, we have two issues here: the failing `git commit` command without any feedback and the spell checking errors even if not enabled. -- 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/1056#issuecomment-761758074 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 09:09:06 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sun, 17 Jan 2021 01:09:06 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: Running `geany -v` revealed the underlying GIT error: ``` Author identity unknown *** Please tell me who you are. Run git config --global user.email "you at example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'enrico at DESKTOP-1921KWH.(none)') ``` So, in my case the GIT repository wasn't configured properly. After setting author, the `git commit` worked successfully. -- 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/1056#issuecomment-761758663 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 09:43:34 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sun, 17 Jan 2021 01:43:34 -0800 Subject: [Github-comments] [geany/geany-plugins] geany-plugins sourceforge site should be maintained or removed (#1049) In-Reply-To: References: Message-ID: Closed #1049. -- 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/1049#event-4214927553 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 09:43:34 2021 From: notifications at xxxxx (=?UTF-8?B?RW5yaWNvIFRyw7ZnZXI=?=) Date: Sun, 17 Jan 2021 01:43:34 -0800 Subject: [Github-comments] [geany/geany-plugins] geany-plugins sourceforge site should be maintained or removed (#1049) In-Reply-To: References: Message-ID: The files http://geany-plugins.sourceforge.net/ were just there generated files from the READMEs in GIT and the non-generated part of the website is in https://github.com/geany/plugins.geany.org versioned. So, after my SSH pubkey worked today on SF, I deleted the old web content and put a redirect to the current website (without a backup of auto-generated files). But I created an export of the SF project settings and tracker items and uploaded this backup to geany.org in the home of the user "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-plugins/issues/1049#issuecomment-761762439 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sun Jan 17 22:39:39 2021 From: notifications at xxxxx (jesus2099) Date: Sun, 17 Jan 2021 14:39:39 -0800 Subject: [Github-comments] [geany/geany] Default custom command keyboard shortcuts are only valid for QWERTY keyboards (#2730) In-Reply-To: References: Message-ID: Interesting tickets. I have not noticed any others yet in several weeks of Grant but I will now check all the other default keyboard shortcuts, to see if there are other problems than custom commands for French AZERTY keyboard. -- 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/2730#issuecomment-761893220 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 03:01:12 2021 From: notifications at xxxxx (Andy Alt) Date: Sun, 17 Jan 2021 19:01:12 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @andy5995 pushed 3 commits. 639e610a819d01215981e27d76ab2d22aee82f4b Revert "specify path to geany.desktop.in in POTFILES.in" 30de359bb0d43e00c02dda8fd59bdadaecb6d379 Revert "writes absolute path to geany bin in desktop file" d16ead846bb7f8e6c0c694c0ae5efc2e713cf1ff use sed to replace Exec line with path -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2728/files/a3fdfe10241b1c1a5d03673a8c142bfda89e07ec..d16ead846bb7f8e6c0c694c0ae5efc2e713cf1ff -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 03:08:54 2021 From: notifications at xxxxx (Andy Alt) Date: Sun, 17 Jan 2021 19:08:54 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > However, I don't like the implementation. IMO, we should rather do something like [b4n at 884309b](https://github.com/b4n/geany/commit/884309bd6e7969f7b2d01592fa6741cd76b1580b) -- and AFAIK it's how other do. > I wasn't happy with it either. I've made some changes. -- 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/pull/2728#issuecomment-761950376 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 03:12:22 2021 From: notifications at xxxxx (Andy Alt) Date: Sun, 17 Jan 2021 19:12:22 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @andy5995 pushed 1 commit. e2d328c0e0644ac5a8da33e0e4182849dbc7da74 append '%F' to Exec line -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2728/files/d16ead846bb7f8e6c0c694c0ae5efc2e713cf1ff..e2d328c0e0644ac5a8da33e0e4182849dbc7da74 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 04:33:01 2021 From: notifications at xxxxx (Andy Alt) Date: Sun, 17 Jan 2021 20:33:01 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: > Ok, I can get the slowdown if I make a project with _line wrap on all files_. > For me, it made no difference. I have line wrapping disabled (0;1;0). -- 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/2649#issuecomment-761972989 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 04:35:53 2021 From: notifications at xxxxx (Matthew Brush) Date: Sun, 17 Jan 2021 20:35:53 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @codebrainz commented on this pull request. > @@ -37,6 +37,7 @@ uninstall-local: # manually install some files under another name install-data-local: + sed -i '/Exec=/c\Exec=@bindir@/geany %F' @top_builddir@/geany.desktop Can't you just do this: ```diff - Exec=geany %F + Exec=@bindir@/geany %F ``` In [the `geany.desktop.in` file](https://github.com/geany/geany/blob/d9f8cdbad58d09f0c18ca8acccb49209263018f0/geany.desktop.in#L7) or similar? I'm pretty sure if you added it to `AC_CONFIG_FILES` it would get the substitutions. But maybe I'm missing something of Geany's Autotools. -- 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/pull/2728#pullrequestreview-570165514 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 12:46:30 2021 From: notifications at xxxxx (Colomban Wendling) Date: Mon, 18 Jan 2021 04:46:30 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @b4n commented on this pull request. > @@ -37,6 +37,7 @@ uninstall-local: # manually install some files under another name install-data-local: + sed -i '/Exec=/c\Exec=@bindir@/geany %F' @top_builddir@/geany.desktop @codebrainz It's not that simple, because all the `*dir` variables usually expand to placeholders like `${prefix}/bin` and such. So you need to expand them first, and as mentioned in another comment, it's not super trivial. Plus, in some situations they can be overridden up until make calls, so it's better to apply them 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/pull/2728#discussion_r559542327 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 13:00:28 2021 From: notifications at xxxxx (Colomban Wendling) Date: Mon, 18 Jan 2021 05:00:28 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @b4n requested changes on this pull request. This has a few issues IMO: * The way you modify the file *changes the whole line*, meaning that if that rule and the source file are not in sync, it's super hard to diagnose weird content in the installed file (as it ignores the content of the source file). * I don't like modifying a file at install time. Not only this means you get another set of files before and after installation, this also means that for a lot of people it'll modify build files *as root* (if they install as root), which is awfully annoying (you get root-owned files you can't modify in a user directory). * The [documentation](https://www.gnu.org/software/automake/manual/automake.html#Extending-Installation) doesn't actually say whether or not `install-data-local` is performed before or after the Automake rules, so it's not guaranteed modifying a file will install it. In practice it's probably the case if it currently works (and I guess the implementation is straightforward and guarantees it), but it's undocumented. I'll abuse of my dictatorship here and say that if we want this we'll use my set of changes (https://github.com/b4n/geany/commit/884309bd6e7969f7b2d01592fa6741cd76b1580b), unless of course anybody has specific concerns about it. -- 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/pull/2728#pullrequestreview-570468082 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 13:06:24 2021 From: notifications at xxxxx (Colomban Wendling) Date: Mon, 18 Jan 2021 05:06:24 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > Sorry should have put the reference, the [desktop file spec](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html) says "For applications, the part of the name of the desktop file (before the .desktop) should follow the "reverse DNS" convention, e.g. org.example.FooViewer.desktop." @elextr this is orthogonal to the issue at hand, but: * Yes, I think it's now the preferred naming scheme; * However, I don't know if it actually has any advantage (I though at a time it helped with startup notification, but tests I made a while back suggests it does not); * I know downsides to changing a .desktop file name (dead links, duplicated entries if people copied over the file, and whatnot). So? yeah if we'd start over, I'd use the reverse-DNS scheme, but I don't think we should change the name we use unless we really know *why*. -- 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/pull/2728#issuecomment-762238915 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 15:27:52 2021 From: notifications at xxxxx (Thomas Wolf) Date: Mon, 18 Jan 2021 07:27:52 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Because display and margin stuff was mentioned, I did more testing with the view options ? with an interesting outcome, I think: Usually, I have line endings turned off, everything else on. - [x] Show markers margin - [x] Show Line Numbers - [x] Show spaces - [ ] Show line endings - [x] Show indentation guides --> 15s ----- - [ ] Show markers margin - [x] Show Line Numbers - [x] Show spaces - [ ] Show line endings - [x] Show indentation guides --> 10s ----- - [ ] Show markers margin - [ ] Show Line Numbers - [x] Show spaces - [ ] Show line endings - [x] Show indentation guides --> 8s ----- - [ ] Show markers margin - [ ] Show Line Numbers - [ ] Show spaces - [ ] Show line endings - [x] Show indentation guides --> 8s ----- - [ ] Show markers margin - [ ] Show Line Numbers - [ ] Show spaces - [ ] Show line endings - [ ] Show indentation guides --> 8s ----- Ok, everything off. Let's reverse some. - [x] Show markers margin - [ ] Show Line Numbers - [ ] Show spaces - [ ] Show line endings - [ ] Show indentation guides --> 12s ----- - [x] Show markers margin - [ ] Show Line Numbers - [ ] Show spaces - [x] Show line endings - [ ] Show indentation guides --> 12s ----- - [x] Show markers margin - [x] Show Line Numbers - [ ] Show spaces - [x] Show line endings - [ ] Show indentation guides --> 15s All using version 1.37.0. 15 files loaded at once via project. Stopwatch precision. With 1.36: back to 2s, as described [before](#issuecomment-759335428), with all options turned on. It looks like _markers margin_ (~4-5s) and _Line Numbers_ (2-3s) have an impact on the load times. The other view options don't have an impact; or at least not a measurable one with my test project size and stopwatch. Does this tell you something? -- 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/2649#issuecomment-762319264 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 19:48:30 2021 From: notifications at xxxxx (Matthew Brush) Date: Mon, 18 Jan 2021 11:48:30 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: @codebrainz commented on this pull request. > @@ -37,6 +37,7 @@ uninstall-local: # manually install some files under another name install-data-local: + sed -i '/Exec=/c\Exec=@bindir@/geany %F' @top_builddir@/geany.desktop Ah ok. I was thinking it like the pkg-config file where do this, but I guess there we want them unexpanded because pkg-config takes care of it. -- 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/pull/2728#discussion_r559768929 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 21:02:07 2021 From: notifications at xxxxx (Morusec) Date: Mon, 18 Jan 2021 13:02:07 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: Closed #1056. -- 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/1056#event-4219819960 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 21:02:06 2021 From: notifications at xxxxx (Morusec) Date: Mon, 18 Jan 2021 13:02:06 -0800 Subject: [Github-comments] [geany/geany-plugins] GeanyVC git commit not working (Windows) (#1056) In-Reply-To: References: Message-ID: Nice find! My settings were set globally and are not considered for some reason. When settings them per project, it works! Thank you -- 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/1056#issuecomment-762469003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 22:28:44 2021 From: notifications at xxxxx (elextr) Date: Mon, 18 Jan 2021 14:28:44 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: @L--U--P--U--S it pretty much points to the same thing, the slowdowns happen when you turn on auto margin things. Line number margins are set by Geany to fit the line numbers in a Scintilla callback IIRC, so its after Scintilla has loaded and done its thing, which may have included laying out at least some of the file, so that layout has to be done again after the margin is set since that changes the available page width, and that re-layout is the extra time you see. Not sure how we can fix that since it is different for each file because it depends on the number of lines in each file and so can't be set until the file is loaded. The marker margins is the one automated by the patch identified by @andy5995 and it probably also causes a Scintilla re-layout when its set to anything other than Scintillas default value (16 I think). Hopefully @b4n can identify a way of setting it before load since its the same for all files. -- 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/2649#issuecomment-762496925 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Mon Jan 18 22:44:30 2021 From: notifications at xxxxx (elextr) Date: Mon, 18 Jan 2021 14:44:30 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > @elextr this is orthogonal to the issue at hand, but: But if we are stuffing about with the file it might have been an appropriate time to do it. > Yes, I think it's now the preferred naming scheme; > However, I don't know if it actually has any advantage (I though at a time it helped with startup notification, but tests I made a while back suggests it does not); Possibly its as simple as to avoid name clashes, but thats unlikely to be a problem for us. Also the name [is used on DBUS](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.1.html#dbus) so it needs to be DBUS format. Of course Geany doesn't use that, so it doesn't matter to us. > I know downsides to changing a .desktop file name (dead links, duplicated entries if people copied over the file, and whatnot). Well an install with a new filename could always remove any old `*geany.desktop` filenames, currently we claim the whole of that namespace so its _somebody else's problem_ if they invaded our namespace `` :grin:. > So? yeah if we'd start over, I'd use the reverse-DNS scheme, but I don't think we should change the name we use unless we really know why. But but its _new_ and _techo_ ... oh ok fair enough :grin:. -- 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/pull/2728#issuecomment-762501041 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 19 17:57:56 2021 From: notifications at xxxxx (Venezolana de GNU Linux) Date: Tue, 19 Jan 2021 09:57:56 -0800 Subject: [Github-comments] [geany/geany] improvement: cut down the space wasted in sidebar (#1711) In-Reply-To: References: Message-ID: hi! i'm interesting in this for my own purposes.. i want just a simple patch.. just cut down first 3 letters.. in witch part of code must be done? @elextr ? @codebrainz ? @mckaygerhard ? i'm not xpert in c! help! -- 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/1711#issuecomment-763016439 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 19 18:08:16 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Tue, 19 Jan 2021 10:08:16 -0800 Subject: [Github-comments] [geany/geany] improvement: cut down the space wasted in sidebar (#1711) In-Reply-To: References: Message-ID: > hi! i'm interesting in this for my own purposes.. i want just a simple patch.. just cut down first 3 letters.. in witch part of code must be done? @elextr ? @codebrainz ? @mckaygerhard ? i'm not xpert in c! help! i guess: search at the code `geany->main_widgets->sidebar_notebook` and when you see `gtk_notebook_append_page` change the `gtk_label_new` string or cut off to 3 lettters -- 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/1711#issuecomment-763023024 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 19 18:30:54 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Tue, 19 Jan 2021 10:30:54 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) Message-ID: i have following error when try to compile geany, using gcc 4.8 cos ist upstream provided.. is any workaround to prioperty compile of can i disable that part? ``` [ 181s] Making all in scintilla [ 181s] make[3]: Entering directory `/usr/src/packages/BUILD/scintilla' [ 181s] Making all in include [ 181s] make[4]: Entering directory `/usr/src/packages/BUILD/scintilla/include' [ 181s] make[4]: Nothing to be done for `all'. [ 181s] make[4]: Leaving directory `/usr/src/packages/BUILD/scintilla/include' [ 181s] make[4]: Entering directory `/usr/src/packages/BUILD/scintilla' [ 182s] CXX gtk/ScintillaGTKAccessible.lo [ 182s] CXX gtk/ScintillaGTK.lo [ 182s] CXX gtk/PlatGTK.lo [ 182s] CC gtk/scintilla-marshal.lo [ 182s] CXX lexlib/Accessor.lo [ 183s] CXX lexlib/CharacterCategory.lo [ 184s] In file included from gtk/ScintillaGTKAccessible.cxx:98:0: [ 184s] ./src/UniqueString.h: In function 'UniqueString UniqueStringCopy(const char*)': [ 184s] ./src/UniqueString.h:27:26: error: use of deleted function 'std::unique_ptr<_Tp [], _Dp>::unique_ptr(_Up*, typename std::enable_if::value>::type*) [with _Up = char; _Tp = const char; _Dp = std::default_delete; typename std::enable_if::value>::type = void]' [ 184s] In file included from /usr/include/c++/4.8/memory:86:0, [ 184s] from gtk/ScintillaGTKAccessible.cxx:64: [ 184s] /usr/include/c++/4.8/bits/unique_ptr.h:433:2: error: declared here [ 184s] CXX lexlib/CharacterSet.lo [ 185s] CXX lexlib/LexerBase.lo [ 185s] In file included from gtk/ScintillaGTK.cxx:49:0: [ 185s] ./src/UniqueString.h: In function 'UniqueString UniqueStringCopy(const char*)': [ 185s] ./src/UniqueString.h:27:26: error: use of deleted function 'std::unique_ptr<_Tp [], _Dp>::unique_ptr(_Up*, typename std::enable_if::value>::type*) [with _Up = char; _Tp = const char; _Dp = std::default_delete; typename std::enable_if::value>::type = void]' [ 185s] In file included from /usr/include/c++/4.8/memory:86:0, [ 185s] from gtk/ScintillaGTK.cxx:21: [ 185s] /usr/include/c++/4.8/bits/unique_ptr.h:433:2: error: declared here [ 185s] CXX lexlib/LexerModule.lo [ 186s] CXX lexlib/LexerNoExceptions.lo [ 186s] CXX lexlib/LexerSimple.lo [ 186s] make[4]: *** [gtk/ScintillaGTKAccessible.lo] Error 1 [ 186s] make[4]: *** Waiting for unfinished jobs.... [ 186s] make[4]: *** [gtk/ScintillaGTK.lo] Error 1 [ 187s] make[4]: Leaving directory `/usr/src/packages/BUILD/scintilla' [ 187s] make[3]: *** [all-recursive] Error 1 [ 187s] make[3]: Leaving directory `/usr/src/packages/BUILD/scintilla' [ 187s] make[2]: *** [all-recursive] Error 1 [ 187s] make[2]: Leaving directory `/usr/src/packages/BUILD' [ 187s] make[1]: *** [all] Error 2 ``` -- 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/2731 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 19 22:17:12 2021 From: notifications at xxxxx (elextr) Date: Tue, 19 Jan 2021 14:17:12 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: IIRC GCC 4.8 is too old, at least GCC 5.4 is needed, and probably GCC 7? for next version. A distro with 4.8 as the default compiler will usually have at least up to 5.4 available in the repos. -- 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/2731#issuecomment-763177149 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 05:00:15 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 19 Jan 2021 21:00:15 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: Closed #2728. -- 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/pull/2728#event-4225962841 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 05:00:14 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 19 Jan 2021 21:00:14 -0800 Subject: [Github-comments] [geany/geany] write absolute path to geany bin in desktop file (#2728) In-Reply-To: References: Message-ID: > This has a few issues IMO: > > * The way you modify the file _changes the whole line_, meaning that if that rule and the source file are not in sync, it's super hard to diagnose weird content in the installed file (as it ignores the content of the source file). > > * I don't like modifying a file at install time. Not only this means you get another set of files before and after installation, this also means that for a lot of people it'll modify build files _as root_ (if they install as root), which is awfully annoying (you get root-owned files you can't modify in a user directory). > > * The [documentation](https://www.gnu.org/software/automake/manual/automake.html#Extending-Installation) doesn't actually say whether or not `install-data-local` is performed before or after the Automake rules, so it's not guaranteed modifying a file will install it. In practice it's probably the case if it currently works (and I guess the implementation is straightforward and guarantees it), but it's undocumented. > Hmm.. well points 2 and 3 are easily solved by moving the change so that it happens when 'make' is run without 'install'. I definitely agree that we can't have root modifying the file during install after it's been created by someone else when just 'make' is run. Though > it'll modify build files as root (if they install as root), which is awfully annoying (you get root-owned files you can't modify in a user directory). I don't think the file would ever be owned by root if created by someone else, and it's just changed during 'make install'. But still, it would be better to have the modification done during 'make' w/o install. I only kind of understood your first point. > * The way you modify the file _changes the whole line_, meaning that if that rule and the source file are not in sync, it's super hard to diagnose weird content in the installed file (as it ignores the content of the source file) If I understood it right, that's easy enough to fix by changing the Exec line to something like `Exec=DEST_BIN_PATH` and then have sed look for that exact line and do a replacement, and throw an error if the match isn't found at all. > I'll abuse of my dictatorship here and say that if we want this we'll use my set of changes ([b4n at 884309b](https://github.com/b4n/geany/commit/884309bd6e7969f7b2d01592fa6741cd76b1580b)), unless of course anybody has specific concerns about it. That's fine by me, whatever works and you find satisfactory. :) Thank you for explaining your reasoning. -- 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/pull/2728#issuecomment-763332831 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 05:14:33 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 19 Jan 2021 21:14:33 -0800 Subject: [Github-comments] [geany/geany] How to set Find next selection some specific ones (#2720) In-Reply-To: References: Message-ID: Hi @abdulbadii It sounds like you would like to change the "find" options during a "find" of the same text. Meaning: Start search for "foo" in a document ->After first instance is found, find next (Ctrl G) but change one of the options, such as "Case sensitive" I was just trying that out... Obviously using CTRL G doesn't allow for changing any options during a sequential search for the same string. If you start the search by using Ctrl-F, leave the dialog box open and use the "find next" button in the lower-right of the dialog box, you can change the options each time before you press "find next". Did I understand your question correctly? -- 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/2720#issuecomment-763338132 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 05:35:01 2021 From: notifications at xxxxx (atarax42) Date: Tue, 19 Jan 2021 21:35:01 -0800 Subject: [Github-comments] [geany/geany-plugins] Auto-indentation fails when using splitwindow plugin (#1058) Message-ID: When using the splitwindow plugin auto-indentation for a new line is not applied (when activated in settings > editor > indentation), instead the cursor is set to the first position of the new line. This is valid for the lower resp. right panel of the split window. In the upper resp. left panel indentation works as expected. (using Geany 1.36 on Linux Mint) -- 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/1058 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 06:01:04 2021 From: notifications at xxxxx (elextr) Date: Tue, 19 Jan 2021 22:01:04 -0800 Subject: [Github-comments] [geany/geany] Auto-indentation fails when using splitwindow plugin (#2732) In-Reply-To: References: Message-ID: If this is in the second pane, then its not unexpected, the second pane has limited functionality and is best considered a read-only pane. Also split-window is in the geany repo, not geany-plugins, moved. -- 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/2732#issuecomment-763357149 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 06:01:10 2021 From: notifications at xxxxx (atarax42) Date: Tue, 19 Jan 2021 22:01:10 -0800 Subject: [Github-comments] [geany/geany] Auto-indentation fails when using splitwindow plugin (#2732) Message-ID: When using the splitwindow plugin auto-indentation for a new line is not applied (when activated in settings > editor > indentation), instead the cursor is set to the first position of the new line. This is valid for the lower resp. right panel of the split window. In the upper resp. left panel indentation works as expected. (using Geany 1.36 on Linux Mint) -- 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/2732 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 06:14:34 2021 From: notifications at xxxxx (atarax42) Date: Tue, 19 Jan 2021 22:14:34 -0800 Subject: [Github-comments] [geany/geany] Auto-indentation fails when using splitwindow plugin (#2732) In-Reply-To: References: Message-ID: Aha. Would reduce confusion and improve productivity, if both panes had the same functionality, though. Thanks. -- 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/2732#issuecomment-763363530 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 06:28:37 2021 From: notifications at xxxxx (elextr) Date: Tue, 19 Jan 2021 22:28:37 -0800 Subject: [Github-comments] [geany/geany] Auto-indentation fails when using splitwindow plugin (#2732) In-Reply-To: References: Message-ID: Its not that there is no understanding of the potential benefits, but ... Its not so simple as saying it, there have been several attempts to make it happen. But they require a _lot_ of work because lots of the existing code simply wasn't written to allow for more than one pane (which is why much of it doesn't work in the second pane) or they have limitations (like the current plugin) or they have performance problems (like the switch pane implementation). So none has been good enough to displace the limited existing limited plugin. Perhaps it should be made read-only and documented as such, but nobody has felt its worth cutting off the limited functionality it has. Probably the existing plugin could use better documentation though. Actually any at all [its not mentioned in the manual](https://www.geany.org/manual/current/index.html#plugin-documentation). Pull requests are welcome. -- 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/2732#issuecomment-763369997 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 08:47:17 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 00:47:17 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) Message-ID: Open a document (JavaScript) that only contains a Tab followed by any character. Status bar settings should use `%C` to display column position (if your setting is `%c`, subtract 1 to all my examples). ?a (where the ? character represents the Tab character) - When you press Ctrl+Home, column is 1, correct ? - When you press Ctrl+End, column should be 3, but it is 6 ? - Indeed, when you now press left arrow, column should be 2, but it is 5 ? The problem is that the Tab is counted as 4 characters instead of 1. -- 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/2733 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 08:47:59 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 00:47:59 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: Therefore, eslint error messages (correct) lead to wrong column. -- 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/2733#issuecomment-763438573 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 08:49:08 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 00:49:08 -0800 Subject: [Github-comments] [geany/geany] New feature: go to column (#869) In-Reply-To: References: Message-ID: For instance, in EmEditor, the command Jump to line? was renamed long time ago to Jump? (Ctrl+G). The column fields defaults to 1, to mimic the Jump to line behaviour: ![EmEditor: Jump?](https://user-images.githubusercontent.com/1401086/105148584-d7972080-5b02-11eb-9063-689e4a8aedab.png) So, if you want to jump to a specific line: 1. Press Ctrl+G 2. Type line number 3. Press Enter And, if you want to jump to specific line and column: 1. Press Ctrl+G 2. Type line number 3. Press Tab 4. Type column number 5. Press Enter Note that Geany status bar column numbers should be fixed first (#2733). -- 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/869#issuecomment-763439169 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 09:55:29 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 01:55:29 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: In the file with `Tab a` go to the next line and type 5 `a`s , the last `a` lines up with the `a` in the line above, so clearly the `a` in the line above is in column 5. You appear to have confused character count and column count, a column is a vertical strip of screen, a character is an entity in teh file, the file may only have two characters `Tab` and `a` but `Tab` occupies 4 columns and `a` one, total 5. -- 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/2733#issuecomment-763483740 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 10:06:12 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 02:06:12 -0800 Subject: [Github-comments] [geany/geany] New feature: go to column (#869) In-Reply-To: References: Message-ID: Yes adding it to the goto line dialog like that would be possible, just needs somebody to do it. -- 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/869#issuecomment-763490785 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 10:21:19 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 02:21:19 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: Note eslint doesn't count columns, it counts code points AFAICT from its demo, paste o? (note copy and paste from here, its two code points not just one) in the `foo` and see what the "column" of the bar error says, although the `o Umlaut` shows as one its actually `o` and a `Umlaut` combining character, ie two code points and thats what eslint counts. -- 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/2733#issuecomment-763500304 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 10:58:02 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 02:58:02 -0800 Subject: [Github-comments] [geany/geany-plugins] [request] Show current character information (#1005) In-Reply-To: References: Message-ID: It would be nice that the [statusbar template](https://www.geany.org/manual/current/index.html#statusbar-templates) could get new placeholders for **character position** (see #2733) and **character code and/or name**: ![BabelPad](https://user-images.githubusercontent.com/1401086/105163747-990a6180-5b14-11eb-8a44-ba1fb88746e0.png) Above text line ??` // o?`?? consists of 6 characters (the 6th one having the caret cursor): 1. U+0009 : CHARACTER TABULATION, HORIZONTAL TABULATION [HT, TAB] : horizontal tabulation (HT), tab 2. U+002F SOLIDUS : slash 3. U+002F SOLIDUS : slash 4. U+0020 SPACE [SP] 5. U+006F LATIN SMALL LETTER O 6. **U+0308 COMBINING DIAERESIS : double dot above, umlaut, Greek dialytika, double derivative** --- Note: I use Geany on Linux, but EmEditor and BabelPad are Windows only softwares. -- 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/1005#issuecomment-763521711 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 11:21:07 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 03:21:07 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: Indeed for the **character count** used as we can see with tabs and combining characters. And I do think it's better to master what your code contains, by showing character count, rather than having the virtual column number we have. You're right that eslint should call this number, **Char** instead of **Col**. ![BabelPad](https://user-images.githubusercontent.com/1401086/105163747-990a6180-5b14-11eb-8a44-ba1fb88746e0.png) So it would be nice that we could have a new or modified placeholder in [statusbar template](https://www.geany.org/manual/current/index.html#statusbar-templates), counting **char**. I would use this instead of virtual column (IMO it should even be the new default). Before Geany, I did not see a tool that displays a virtual column position instead of character position. But I don't know many (I have used EmEditor and BabelPad, mostly). I tried some other tools right now but here is all I have available handy: - Linux nano: virtual column position (like Geany) - Windows [notepad2e](https://github.com/ProgerXP/Notepad2e): true character position (like eslint, EmEditor, BabelPad) There are other famous editors but I don't have them handy. --- Off topic, for what it's worth: I guess this issue is what makes the block selection (Crtl+click) slightly _strange_ on tab indented files. Selecting tabs, should not select groups of 4 characters above or below. But it is usually not needed to select both tabs and text in same block, so nvm) I use tabs to indent, I think as such I am more hindered by this ticket. -- 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/2733#issuecomment-763535454 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 11:27:30 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 03:27:30 -0800 Subject: [Github-comments] [geany/geany-plugins] [request] Show current character information (#1005) In-Reply-To: References: Message-ID: I assume that by your loose use of "character" you actually mean Unicode code point. When we are talking about these things its important to be precise, as was pointed out on #2733. A well written pull request that added say %u to the status bar template values to show the code point in the line would probably be accepted, just needs care to minimise the cost as it would have to be counted each update, and some people insist on editing minimised HTML/JS that is _all_ one line. Adding the character names requires the unicode data files (AFAICT its not available from any of the libraries Geany currently uses or something like ICU) and could be fairly big. Thats the sort of thing that should be put in a plugin so the cost isn't incurred by those not needing it. -- 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/1005#issuecomment-763538929 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 11:36:29 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 03:36:29 -0800 Subject: [Github-comments] [geany/geany-plugins] [request] Show current character information (#1005) In-Reply-To: References: Message-ID: Thanks for the correct **Unicode code point**. :) It's all English and I don't master it. - **Unicode code point** sounds like a genuine feature of Geany, more than a plugin - **Unicode character name** would be a nice to have plugin: personally I would not miss this much if I had the above already I would likely convert this ticket to **Unicode code point** only, back to geany/geany instead of geany/geany-plugins. -- 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/1005#issuecomment-763543573 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 11:41:26 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 03:41:26 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: I would suggest you create a new issue requesting the status bar count, _if_ such an issue doesn't already exist, as I said elsewhere, it seems reasonable if it can be done sufficiently efficiently. But nobody will find the suggestion buried in here. Yes tab indents are an idea from the 1970s and belong back there due to all their problems, please let me persuade you to use spaces for indent, Geany does them just fine and modern systems are not that short of storage :) (obviously for new code, sadly old code is usually stuck in the past) -- 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/2733#issuecomment-763546188 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 11:45:27 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 03:45:27 -0800 Subject: [Github-comments] [geany/geany-plugins] [request] Show current character Unicode code point (#1005) In-Reply-To: References: Message-ID: > Unicode code point sounds like a genuine feature of Geany, more than a plugin Correct as the edit above said and on geany/geany#2733 -- 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/1005#issuecomment-763548355 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:25:36 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 04:25:36 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: Sorry, I was editing my big post above when you replied. No need to elaborate on the tabs vs spaces here. IMO it's using space as tabulation that is ugly workaround bringing too many specific work-arounds (like this virtual column position: 1 character but 4 characters). This ticket is already (thanks to your additional example) about displaying true character count position instead of (or additionally to, like vim does) virtual column. We should just rename it to not specialise it about tabs. --- I did find 2 related tickets, but they are about the selected character count, not the position of the caret: - Number of selected characters #745 - Problem select char counting #1599 (could be a duplicate of previous ticket) -- 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/2733#issuecomment-763570255 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:30:35 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 04:30:35 -0800 Subject: [Github-comments] [geany/geany] Incorrect selection length calculation with cyrillic text (#2202) In-Reply-To: References: Message-ID: @wrgcpp, when your ticket is closed as duplicate, please upvote the original ticket to show the demand: 1. Go to #745 2. Click the smiley button (top right) and 3. Click ? -- 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/2202#issuecomment-763574666 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:31:56 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 04:31:56 -0800 Subject: [Github-comments] [geany/geany] Problem select char counting (#1599) In-Reply-To: References: Message-ID: @lep42, this looks like a duplicate of #745. If so, it might be closed. But make sure to upvote the original ticket to show the demand: 1. Go to #745 2. Click the smiley button (top right) and 3. Click ? -- 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/1599#issuecomment-763575332 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:35:51 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 04:35:51 -0800 Subject: [Github-comments] [geany/geany] Incorrect selection length calculation with cyrillic text (#2202) In-Reply-To: References: Message-ID: @jesus2099 no point, github makes an entry in the original noting the duplicate. -- 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/2202#issuecomment-763577550 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:36:47 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 04:36:47 -0800 Subject: [Github-comments] [geany/geany] Problem select char counting (#1599) In-Reply-To: References: Message-ID: @jesus2099 stop giving bad advice, this project does not run on the number of +1s -- 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/1599#issuecomment-763577997 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:42:28 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 04:42:28 -0800 Subject: [Github-comments] [geany/geany] Problem select char counting (#1599) In-Reply-To: References: Message-ID: Understood. It's just a thing I use in GitHub, usually. :) Can come in handy in some projects. -- 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/1599#issuecomment-763580960 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:49:48 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Wed, 20 Jan 2021 04:49:48 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > [Edit: assuming you are compiling Geany 1.37 a fully working C++11 compiler is needed, and as shown GCC 4.8 isn't that, 1.38 will probably need a c++17 compiler which I think is at least GCC 7] umm ok so @elextr geany 1.30+ will need moderns compilers .. pufff please is there any workaround.. the only code part that need that is scintilla directory > IIRC GCC 4.8 is too old i'm tyred of that shit! "too old" is the compiler provided i'm asking about any trick or workaround puff -- 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/2731#issuecomment-763584778 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 12:50:13 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 04:50:13 -0800 Subject: [Github-comments] [geany/geany] Problem select char counting (#1599) In-Reply-To: References: Message-ID: Since Geany does not have a written set of rules for github usage it can be difficult for new contributors. Geany is a totally volunteer project, people do what they _want_ to do if they have time and ability. There isn't a cadre of paid programmers who are looking for the next thing to do, so most statistical things that are useful on corporate sponsored projects are unused here. And having lots of people adding +1 to things has in the past annoyed people more than encouraged them. -- 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/1599#issuecomment-763584999 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 13:38:55 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 05:38:55 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: Yes the compiler requirement is driven by Scintilla, but thats a separate project and can make its own decisions, and Geany is only one of the users of that software. Whilst a branch compatible with C++11 has been maintained until recently, because the requirement for C++17 the day the standard was released was deemed too fast, that is no longer the case, so to update Scintilla requires moving to the current version that requires C++17 and we hope to do that in 1.38 which will move the requirement. The only possible workaround would be for somebody to take over that C++11 branch in the Scintilla project and maintain it for as long as they can, but it won't be the Geany project. But as I said in my edit, even that branch, which we are using in 1.37, needs a _working_ C++11 compiler, GCC 4.8 is not a complete C++11 compiler, that didn't come until something like GCC 5.4 IIRC, so its not unlikely that it will have problems with some C++11. So for "too old" you can read "not standards compliant yet" if you like. That branch intended to be compatible with compilers back to GCC 4.8, but maybe something newer leaked in or a change triggered a bug since its difficult for the (no longer) maintainer of the branch to check the backported changes from the C++17 Scintilla for compliance against a not yet standard compiler and the associated not yet standard library. And a rant of my own if I may, I am tired of people demanding that others invest the effort to support their particular configuration with no contribution of their own. Even to find the cause and possible workarounds takes effort that somebody has to provide. As I said above, even distros that use 4.8 as their standard compiler provide newer ones in their distros, and they can be installed at the same time as 4.8. Because you are compiling the whole application yourself with one compiler, and not using any other C++ libraries, issues with ABI incompatibilities with 4.8 won't worry you. End rant. -- 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/2731#issuecomment-763611184 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 13:44:56 2021 From: notifications at xxxxx (Colomban Wendling) Date: Wed, 20 Jan 2021 05:44:56 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > i'm asking about any trick or workaround puff * Build a new enough GCC for yourself * Adjust Scintilla's sources not to require features not in GCC 4.8 * If it's that simple, figure out a set of GCC 4.8 options that make it work (I'm afraid there won't be any) * Convince Scintilla's authors not to depend on C++ features not supported by your favorite version of the compiler. * Use an older version of Geany and/or Scintilla (it *might* be possible to downgrade Scintilla alone, YMMV) I'm sorry you're frustrated, but we depend on Scintilla, and Scintilla depends on a set of C++11 features (and will even be C++17 "soon" as @elextr mentioned). We don't have enough manpower or interest in maintaining support for compilers Scintilla stopped supporting, but if you offer that yourself we'll surely consider. -- 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/2731#issuecomment-763614620 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 14:18:18 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 06:18:18 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > Build a new enough GCC for yourself Its probably not even necessary to do that, for example Ubuntu 16.04 (which has 4.8 as the default compiler) has 4.9 and 5.4 in the repos ready to install. -- 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/2731#issuecomment-763635003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 15:42:20 2021 From: notifications at xxxxx (jesus2099) Date: Wed, 20 Jan 2021 07:42:20 -0800 Subject: [Github-comments] [geany/geany-plugins] [request] Show current character Unicode code point (#1005) In-Reply-To: References: Message-ID: > A well written pull request that added say %u to the status bar template values to show the code point in the line would probably be accepted, Unfortunately, I only know little bit of JavaScript. :-/ > just needs care to minimise the cost as it would have to be counted each update, and some people insist on editing minimised HTML/JS that is _all_ one line. @elextr Do you know if it would be always computed or only when the user includes `%u` in their statusbar template? -- 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/1005#issuecomment-763720597 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 15:47:47 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 07:47:47 -0800 Subject: [Github-comments] [geany/geany-plugins] [request] Show current character Unicode code point (#1005) In-Reply-To: References: Message-ID: > Do you know if it would be always computed or only when the user includes %u in their statusbar template. This is a question for the new issue you were asked to create on the Geany repo for that. Keep this issue for the plugin for character names, and that issue on Geany itself for the statusbar addition. -- 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/1005#issuecomment-763724449 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 17:06:21 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Wed, 20 Jan 2021 09:06:21 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: it seems is related to this commit: 170ebf610f33ac414799f1a841ae01c1e058d567 in fact the error is produced in that line and inherits -- 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/2731#issuecomment-763792487 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 17:10:04 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Wed, 20 Jan 2021 09:10:04 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > > i'm asking about any trick or workaround puff > > * Build a new enough GCC for yourself > * Adjust Scintilla's sources not to require features not in GCC 4.8 > * If it's that simple, figure out a set of GCC 4.8 options that make it work (I'm afraid there won't be any) > * Convince Scintilla's authors not to depend on C++ features not supported by your favorite version of the compiler. > * Use an older version of Geany and/or Scintilla (it _might_ be possible to downgrade Scintilla alone, YMMV) > > I'm sorry you're frustrated, but we depend on Scintilla, and Scintilla depends on a set of C++11 features (and will even be C++17 "soon" as @elextr mentioned). We don't have enough manpower or interest in maintaining support for compilers Scintilla stopped supporting, but if you offer that yourself we'll surely consider. ok i'll try all of that options.. thanks for your response taking in cosideration my line "im tyred of that shit "upgrade bla bla" that's the right one! .. it seems related to this commit 170ebf610f33ac414799f1a841ae01c1e058d567 so i'll try to investigate a little but seems i'll need more help -- 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/2731#issuecomment-763795582 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 17:13:17 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Wed, 20 Jan 2021 09:13:17 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > And a rant of my own if I may, I am tired of people demanding that others invest the effort to support their particular configuration with no contribution of their own. Even to find the cause and possible workarounds takes effort that somebody has to provide. As I said above, even distros that use 4.8 as their standard compiler provide newer ones in their distros, and they can be installed at the same time as 4.8. Because you are compiling the whole application yourself with one compiler, and not using any other C++ libraries, issues with ABI incompatibilities with 4.8 won't worry you. End rant. interesting paragraph .. first of all i contributed.. very little directly and a lost indirectly.. and this part : > compiling the whole application yourself with one compiler, and not using any other C++ libraries, issues with ABI incompatibilities wi.. **newer toys are just toys until becomes old and madure! a fact! in industry! and bussiness!** learn a lot first -- 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/2731#issuecomment-763798328 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 21:22:41 2021 From: notifications at xxxxx (Colomban Wendling) Date: Wed, 20 Jan 2021 13:22:41 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > it seems related to this commit [170ebf6](https://github.com/geany/geany/commit/170ebf610f33ac414799f1a841ae01c1e058d567) so i'll try to investigate a little but seems i'll need more help I hardly think this commits has anything to do with your problems, and I don't see any reference to that in your OP. BTW you didn't say what version you are trying to build (neither on what environment). It doesn't look like you're trying the current release (1.37) though. > [Edit: assuming you are compiling Geany 1.37 a fully working C++11 compiler is needed, and as shown GCC 4.8 isn't that There's one thing that puzzles me a bit: [GCC claims 4.8 is a full-featured C++11 compiler](https://gcc.gnu.org/projects/cxx-status.html#cxx11). Of course there might be bugs, but well. But if we accidentally started to depend on C++14, we probably should write this down :) -- 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/2731#issuecomment-763956522 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 20 23:01:26 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 15:01:26 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > But if we accidentally started to depend on C++14, we probably should write this down Not knowingly, Longterm3 branch claims "avoiding C++14" but Mitchell could have made a mistake, but since he has retired the branch its not going to be fixed if something did sneak in. @b4n to explain, the 4.8 _compiler_ may be "full featured" but the standard library wasn't standards compliant for `std::string` until "In the GCC 5.1 release libstdc++ introduced a new library ABI that includes new implementations of std::string and std::list." so its egregious of GCC to claim its compliant when even something as common as `std::string` is not compliant in the associated library, so who knows what else isn't. I'll be ranting again in a minute because it has always irked me that GCC ignores the state of the standard library shipped with it, even though its required to make it work. :grin: @mckaygerhard "i'm tyred of that shit! "too old" is the compiler provided" is the reason for my gentle rant, its not so nice when people rant at you is it? So please don't swear, make demands, or demeaning statements in __bold__. As Geany is a volunteer project people contribute what they want to contribute, and things like that just make them want to not help you. -- 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/2731#issuecomment-764009485 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 00:15:03 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 16:15:03 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: The errors posted in the OP (assuming Scintilla 3.7.5 or earlier, the line is blank in later versions) do indeed look like a known bug in early C++11 compilers that didn't detect the return value was an rvalue and required `std::move` on them. Of course then once that was fixed, later compilers complained that the explicit `std::move` prevented them from eliding the copy, so the `std::move` had to be removed. Basically its simply not possible to support both the erroneous compiler and correct ones. I remember discussing with Neil the issue of needing a compiler upgrade across the GCC 4.8-5 boundary and its ABI break would have on C++ projects that used any pre-compiled C++ as well as Scintilla, but I can't find it again now (paging @codebrainz search services). But as I said above thats not a problem for Geany which compiles all the C++ it uses and only uses C libraries that are precompiled, and the C abi hasn't been broken since forever. -- 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/2731#issuecomment-764058569 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 00:30:41 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Wed, 20 Jan 2021 16:30:41 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: ummno w correctly copy cat adn understand.. puff so i cant backport geany 1.33 to olders versions of my production environment devbelopers.. puff i already noted you guys were using the LongTerm3 brand for a while .. so i cant make anything .. so i will try to backport the 1.26 version or less, i already know that 1.24 already compiles for gcc 4.7 -- 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/2731#issuecomment-764072658 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 01:00:42 2021 From: notifications at xxxxx (elextr) Date: Wed, 20 Jan 2021 17:00:42 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: Closed #2731. -- 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/2731#event-4230823664 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 01:29:15 2021 From: notifications at xxxxx (Matthew Brush) Date: Wed, 20 Jan 2021 17:29:15 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > paging @codebrainz search services https://groups.google.com/g/scintilla-interest/c/ma_3cmKAEVs/m/n61l9uT4BQAJ -- 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/2731#issuecomment-764160501 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 08:47:09 2021 From: notifications at xxxxx (Colomban Wendling) Date: Thu, 21 Jan 2021 00:47:09 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: Maybe you could work out a patch for your use case using @elextr's suggestions about `std::move()`, if you're C++ proficient enough to understand the implications (I don't, it's not C :grin: ) -- 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/2731#issuecomment-764478818 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 10:39:19 2021 From: notifications at xxxxx (=?UTF-8?B?0JPQtdGA0YXQsNGA0LQgUElDQ09STyBMZW56IE1jS0FZ?=) Date: Thu, 21 Jan 2021 02:39:19 -0800 Subject: [Github-comments] [geany/geany] error compiling at scintilla with C++ (#2731) In-Reply-To: References: Message-ID: > Maybe you could work out a patch for your use case using @elextr's suggestions about `std::move()`, if you're C++ proficient enough to understand the implications (I don't, it's not C ) neither me :< snif... i will try with a frined.. thanks for all guys -- 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/2731#issuecomment-764543726 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 21 23:34:28 2021 From: notifications at xxxxx (nomadbyte) Date: Thu, 21 Jan 2021 15:34:28 -0800 Subject: [Github-comments] [geany/geany] PO:(uk) Update translation (#2724) In-Reply-To: References: Message-ID: @nomadbyte pushed 1 commit. 7b7f0def021715a44ac1e8c3938becb28270b71f PO:(uk) Update translation -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/geany/geany/pull/2724/files/fba639faf61170b17ca20314b8be662e4eacf97b..7b7f0def021715a44ac1e8c3938becb28270b71f -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 22 08:25:22 2021 From: notifications at xxxxx (Eric Emery) Date: Fri, 22 Jan 2021 00:25:22 -0800 Subject: [Github-comments] [geany/geany] Active cursor line (#2734) Message-ID: No matter what color scheme I choose, font I select, inverted colors or not, highlighting on or off, every single setting in the entire program I went through and the current line that my cursor is in highlights WHITE and types WHITE text. I cannot see anything I am typing. -- 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/2734 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 22 08:55:22 2021 From: notifications at xxxxx (elextr) Date: Fri, 22 Jan 2021 00:55:22 -0800 Subject: [Github-comments] [geany/geany] Active cursor line (#2734) In-Reply-To: References: Message-ID: This is a recorded message, please always provide the version of Geany, Glib and GTK and the operating system and version you are using (see lines near the top of Help->Debug Messages). -- 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/2734#issuecomment-765246454 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 22 16:29:25 2021 From: notifications at xxxxx (Colomban Wendling) Date: Fri, 22 Jan 2021 08:29:25 -0800 Subject: [Github-comments] [geany/geany] Active cursor line (#2734) In-Reply-To: References: Message-ID: Does it persist if you use a stock configuration? Try `geany -v -c /tmp/tmpconf`. -- 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/2734#issuecomment-765530493 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 23 13:00:33 2021 From: notifications at xxxxx (Colomban Wendling) Date: Sat, 23 Jan 2021 05:00:33 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: > Therefore, eslint error messages (correct) lead to wrong column. This will be true with most tools, even e.g. GCC. Fortunately, if you run those tool from inside Geany (as a build command), support for extracting the offset on the line uses character? code point? anyway, it "just works" for most people currently. So if you called eslint that way, it would probably work. IMO the issue here is "invalid" as we do display the visual column (not character count) which is what was intended, yet indeed somebody could add a new placeholder for the byte/code point/glyph to fit specific needs. Note the complexity/irrelevance of some of those depending on various factors highlighted e.g. in #745 (encodings, glyph vs. code point, etc.). -- 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/2733#issuecomment-765995583 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 23 16:09:25 2021 From: notifications at xxxxx (=?UTF-8?B?R2FicmllbCBOw6ltZXRo?=) Date: Sat, 23 Jan 2021 08:09:25 -0800 Subject: [Github-comments] [geany/geany-themes] How to change colorscheme? (#6) In-Reply-To: References: Message-ID: I installed Geany 1.37.1 flatpack on pop_os. I copied first manually, then using the `install.sh` the config files. I restarted Geany and my system too, but I see only default and alternate themes in the color schemes popup. -- 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-themes/issues/6#issuecomment-766111000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 23 18:03:24 2021 From: notifications at xxxxx (jesus2099) Date: Sat, 23 Jan 2021 10:03:24 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: I do run eslint from inside Geany (as a build command, great stuff!) but it does not change that eslint tells me character based position (which makes more sense to me, as you already know). So I don't know what character is provoking the error, as immediately as if Geany would show me character based position too. -- 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/2733#issuecomment-766152865 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 23 22:52:55 2021 From: notifications at xxxxx (elextr) Date: Sat, 23 Jan 2021 14:52:55 -0800 Subject: [Github-comments] [geany/geany] Wrong column number: Tab counts as 4 characters (#2733) In-Reply-To: References: Message-ID: Closed #2733. -- 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/2733#event-4241989363 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 23 22:56:18 2021 From: notifications at xxxxx (elextr) Date: Sat, 23 Jan 2021 14:56:18 -0800 Subject: [Github-comments] [geany/geany-themes] How to change colorscheme? (#6) In-Reply-To: References: Message-ID: @gabrielnemeth thats a problem with flatpacks. The Geany project does not make the flatpack, you should raise the problem with your OS. -- 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-themes/issues/6#issuecomment-766195219 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 26 15:35:19 2021 From: notifications at xxxxx (AdamDanischewski) Date: Tue, 26 Jan 2021 07:35:19 -0800 Subject: [Github-comments] [geany/geany] Question: Where are the "Send selection to"/Custom commands stored? (#2735) Message-ID: What config file if any stores the "Send selection to"/Custom commands? I have had my custom commands wiped out twice recently, not sure why maybe because of an update? -- 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/2735 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Tue Jan 26 22:44:23 2021 From: notifications at xxxxx (elextr) Date: Tue, 26 Jan 2021 14:44:23 -0800 Subject: [Github-comments] [geany/geany] Question: Where are the "Send selection to"/Custom commands stored? (#2735) In-Reply-To: References: Message-ID: They are stored in your `~/.config/geany/geany.conf` which should not be changed by an upgrade. As you have provided no information its not possible to help you further. -- 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/2735#issuecomment-767876518 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:04:46 2021 From: notifications at xxxxx (gsi-nestor) Date: Tue, 26 Jan 2021 19:04:46 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Hi, any progress on this issue? Same behavior in Ubuntu 20.04, just compiled Geany 1.37.1 and it is way slower than 1.36. This is an up-to-date system, 16GB RAM, SSD, 4th gen i3 processor. -- 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/2649#issuecomment-767983208 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:05:26 2021 From: notifications at xxxxx (AdamDanischewski) Date: Tue, 26 Jan 2021 19:05:26 -0800 Subject: [Github-comments] [geany/geany] Question: Where are the "Send selection to"/Custom commands stored? (#2735) In-Reply-To: References: Message-ID: It's not being stored there, using Geany 1.36 Using GTK+ v3.24.20 and GLib v2.64.3 runtime libraries. I stored a command for send input to Ctrl - 1, it is not found in the geany.conf file -- 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/2735#issuecomment-767983487 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:10:34 2021 From: notifications at xxxxx (gsi-nestor) Date: Tue, 26 Jan 2021 19:10:34 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) Message-ID: Hi, this is happening in Ubuntu 20.04, compiled version of geany 1.37.1. I'm a long time user of Geany, and I've always compiled from source. Compilation was fine, as usual. ??nalonso at satellite ~ ??$ geany [1] 1884036 segmentation fault (core dumped) geany ??nalonso at satellite ~ ??$ If I open documents everything works fine. Maybe unrelated, but Geany is taking a whole lot more time to load with a lot of documents. I use to have 30 or more files opened, mostly YAML and Dockerfiles, but up to 1.36 Geany was lightning fast even with all those documents open. -- 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/2736 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:12:21 2021 From: notifications at xxxxx (gsi-nestor) Date: Tue, 26 Jan 2021 19:12:21 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: More on that: If I open at least one document, "New document" works as expected. The issue appears only when I don't have any documents open and I click several times on "New document." -- 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/2736#issuecomment-767986113 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:14:31 2021 From: notifications at xxxxx (AdamDanischewski) Date: Tue, 26 Jan 2021 19:14:31 -0800 Subject: [Github-comments] [geany/geany] Question: Where are the "Send selection to"/Custom commands stored? (#2735) In-Reply-To: References: Message-ID: My bad guys - mine was located elsewhere and got overridden by something on my mach. Thanks -- 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/2735#issuecomment-767986941 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:14:33 2021 From: notifications at xxxxx (AdamDanischewski) Date: Tue, 26 Jan 2021 19:14:33 -0800 Subject: [Github-comments] [geany/geany] Question: Where are the "Send selection to"/Custom commands stored? (#2735) In-Reply-To: References: Message-ID: Closed #2735. -- 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/2735#event-4253729045 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:32:23 2021 From: notifications at xxxxx (elextr) Date: Tue, 26 Jan 2021 19:32:23 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: Please verify that you have _no_ plugins enabled. -- 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/2736#issuecomment-767996949 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:35:57 2021 From: notifications at xxxxx (elextr) Date: Tue, 26 Jan 2021 19:35:57 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: Note WFM on Linux Mint 20 which is derived from Ubuntu 20.04. -- 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/2736#issuecomment-767998254 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 03:49:03 2021 From: notifications at xxxxx (elextr) Date: Tue, 26 Jan 2021 19:49:03 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: @gsi-nestor its only been just over a week since last post, be patient or provide a PR. -- 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/2649#issuecomment-768002782 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 04:33:29 2021 From: notifications at xxxxx (gsi-nestor) Date: Tue, 26 Jan 2021 20:33:29 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: I'll be patient, thanks. El mar., 26 ene. 2021 10:49 p.m., elextr escribi?: > @gsi-nestor its only been just over a > week since last post, be patient or provide a PR. > > ? > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . > -- 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/2649#issuecomment-768021740 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 04:34:48 2021 From: notifications at xxxxx (gsi-nestor) Date: Tue, 26 Jan 2021 20:34:48 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: I've disabled all plugins and the problem remains. On Tue, Jan 26, 2021 at 10:35 PM elextr wrote: > Note WFM on Linux Mint 20 which is derived from Ubuntu 20.04. > > ? > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . > -- *Nestor Alonso* CTO General Software Inc (786) 230-8081 <+17862308081> nestor at generalsoftwareinc.com | LinkedIn -- 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/2736#issuecomment-768022278 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 04:57:01 2021 From: notifications at xxxxx (elextr) Date: Tue, 26 Jan 2021 20:57:01 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: try starting geany as `geany -c /tmp/something_that_does_not_exist` and see if the problem persists. -- 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/2736#issuecomment-768030488 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 05:32:16 2021 From: notifications at xxxxx (Andy Alt) Date: Tue, 26 Jan 2021 21:32:16 -0800 Subject: [Github-comments] [geany/geany] Slow startup (#2649) In-Reply-To: References: Message-ID: Hi @gsi-nestor, and welcome to the Geany project. Thank you for reporting your OS and specs. -- 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/2649#issuecomment-768042403 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 13:52:41 2021 From: notifications at xxxxx (gsi-nestor) Date: Wed, 27 Jan 2021 05:52:41 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: The problem changes a little bit. Geany opens fine, and is not segfaulting, but if I press "New document" nothing happens, but in the message console I get: 08:50:51: This is Geany 1.37.1. 08:50:51: New file "untitled" opened. 08:50:54: File untitled closed. 08:50:54: New file "untitled" opened. 08:50:54: File untitled closed. 08:50:55: New file "untitled" opened. 08:50:55: File untitled closed. 08:50:55: New file "untitled" opened. 08:50:55: File untitled closed. 08:50:55: New file "untitled" opened. Visually, there is only a new file tab in the editor area. Please see the attached file. On Tue, Jan 26, 2021 at 11:57 PM elextr wrote: > try starting geany as geany -c /tmp/something_that_does_not_exist and see > if the problem persists. > > ? > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . > -- *Nestor Alonso* CTO General Software Inc (786) 230-8081 <+17862308081> nestor at generalsoftwareinc.com | LinkedIn -- 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/2736#issuecomment-768299234 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 14:00:07 2021 From: notifications at xxxxx (gsi-nestor) Date: Wed, 27 Jan 2021 06:00:07 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: Now it is not segfaulting anymore even with the regular config. Maybe we should close this here and move forward with this last behavior. Thank you very much for your time -- 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/2736#issuecomment-768303938 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 15:02:35 2021 From: notifications at xxxxx (JLuc) Date: Wed, 27 Jan 2021 07:02:35 -0800 Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save (ubuntu 20.10) (#2737) Message-ID: This happens since i upgraded to Ubuntu 20.10 : each time i save the opened document, geany freezes about 10 seconds. - This happens whether the file is long (several ko) or short (a couple of words) - This happens whether saved on HD or SSD - When i type something during the freeze, typed text appears later on screen, when geany wakes up. - It doesnt prevent me of switching to another task. But i dont expect to have to do that when saving a text file so i rarely try to escape the freeze in such a way. - When i save after typing only one or 2 letters, then the freeze is shorter : 0 to 1 second. Same when i copy'n'paste the same content. Hard to grasp when it does freeze or not, but it has been freezing since the begining of 20.10 and still does. - When looking at htop display, i dont see a big surge in any process. "geany" and "Xorg vt2" are the heaviest process with 2 to 13% max -- 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/2737 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 20:56:17 2021 From: notifications at xxxxx (reregaga) Date: Wed, 27 Jan 2021 12:56:17 -0800 Subject: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738) Message-ID: # geany F5 trouble ## Description of problem F5 - works only the first time restarting F5 is possible only if you press ENTER in the "terminal" window or enter command, example 'clear' ### Video https://user-images.githubusercontent.com/76629445/106052373-8981ae80-60fa-11eb-9c13-7b34503d486a.mp4 ## What i want work every time a button F5 is pressed ## Environment tested on all geany versions geany 0.21, 1.22, 1.23, 1.24 Slackware 12.2 TDE-3.5.12 terminal client: konsole/kde3 -- 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/2738 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 23:12:52 2021 From: notifications at xxxxx (elextr) Date: Wed, 27 Jan 2021 15:12:52 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: > Geany opens fine, and is not segfaulting, Good, that means there is something in the setup or settings that is weird, but it nonetheless should not cause a segfault. > Now it is not segfaulting anymore even with the regular config. Thats weird, and bad because that means we can't track down what weirdness is causing the segfaulting and protect against it. If it happens again can you try running Geany under gdb and get a backtrace showing where it segfaults and re-open this and post here? The behaviour you describe with only one new document open is the intended behaviour. There is an option to always open a new document when the last is closed because someone didn't like having an empty space where the editor tabs go, but since it was just a space filler they deleted it when the user opened or created a document, but they did that always. So when you create a new document and there is only one existing document and it has no backing file and is unmodified it is deleted and you see that message in the status. A side effect of this is that unless you have more than one document open or one file backed or modified document open you can't open multiple empty documents. Although there have been various discussions about this over the years nobody has found the use-case of opening _only_ multiple empty documents sufficiently important to make the code to change it. For example add a flag to the "fake" document and only delete the single document it if its flagged as well as being unmodified and not file backed, so not deleting user created empty documents. -- 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/2736#issuecomment-768639702 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 23:12:53 2021 From: notifications at xxxxx (elextr) Date: Wed, 27 Jan 2021 15:12:53 -0800 Subject: [Github-comments] [geany/geany] Geany segfaults after clicking new document 3 or 4 times (#2736) In-Reply-To: References: Message-ID: Closed #2736. -- 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/2736#event-4258379753 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 23:20:31 2021 From: notifications at xxxxx (elextr) Date: Wed, 27 Jan 2021 15:20:31 -0800 Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737) In-Reply-To: References: Message-ID: This is a recorded message, please always provide the version of Geany, Glib and GTK and the operating system and version you are using (see lines near the top of Help->Debug Messages). Are you saving on the exact same file, filesystem, and partition as you did in 20.04 or has it been re-built or moved and what is the filesystem? -- 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/2737#issuecomment-768642716 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 23:46:14 2021 From: notifications at xxxxx (elextr) Date: Wed, 27 Jan 2021 15:46:14 -0800 Subject: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738) In-Reply-To: References: Message-ID: Closed #2738. -- 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/2738#event-4258489177 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Wed Jan 27 23:46:14 2021 From: notifications at xxxxx (elextr) Date: Wed, 27 Jan 2021 15:46:14 -0800 Subject: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738) In-Reply-To: References: Message-ID: This is intended behaviour, Geany only allows one execute at a time and you may notice that the menu and toolbar icon changes to some form of stop or cancel icon which if pressed will kill the terminal, and so the running process (in case your new program gets into an infinite loop :) and when you close the terminal (after you have read the messages your program printed) the icon reverts and a new execute can happen. However some terminal emulators circumvent this behaviour. Instead of running a new window they open a new tab in an existing terminal emulator window and exit immediately, telling Geany that the execute is finished so a new execute can start but losing the kill ability. IIRC the KDE terminal emulator is one of those, and thats likely the behaviour you have been seeing in the past if there was already a terminal running. But, if the terminal Geany runs happens to be the first one opened, it of course has to open a window and it keeps running, so Geany behaves as expected since the terminal process doesn't close immediately. -- 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/2738#issuecomment-768653319 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 28 00:40:32 2021 From: notifications at xxxxx (JLuc) Date: Wed, 27 Jan 2021 16:40:32 -0800 Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737) In-Reply-To: References: Message-ID: OS is Ubuntu 20.10 and help > Debug says : ``` 00:22:24: GLib-GIO DEBUG : _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs? 00:22:24: Geany INFO : Geany 1.36, fr_FR.UTF-8 00:22:24: Geany INFO : GTK 3.24.23, GLib 2.66.1 00:22:24: Geany INFO : System data dir: /usr/share/geany ``` Only one plugin is active : "Export" The physical HD and SSD are the same as before. All partitions are ext4 except boot/efi is vfat. Here is the simplified /etc/fstab : ``` # SSD : 200Go, sda1 and sda2 : UUID= / ext4 errors=remount-ro 0 1 UUID= /boot/efi vfat umask=0077 0 1 # HD : 2 To, sdb1 and sdb2 : UUID= /DATA ext4 defaults 0 2 UUID= /PARTAGE ext4 defaults 0 2 ``` The filesystem is organised slightly differently as before on Ubuntu 20.04 but i only remember some differences : - there was another "PROFILE" partition on SSD for thunderbird datas and firefox profiles, and now there is no such specific partition - SSD ext4 partition was sdb2 (now is sdb1) - /home was crypted and afaik it isnt now All partition are at least half free -- 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/2737#issuecomment-768673471 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 28 01:36:00 2021 From: notifications at xxxxx (elextr) Date: Wed, 27 Jan 2021 17:36:00 -0800 Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737) In-Reply-To: References: Message-ID: Are you using XWayland, if so try running Geany without X just purely Wayland with `GDK_BACKEND=wayland 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/issues/2737#issuecomment-768709449 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 28 08:19:24 2021 From: notifications at xxxxx (JLuc) Date: Thu, 28 Jan 2021 08:19:24 +0000 (UTC) Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737) In-Reply-To: References: Message-ID: I'm not familiar with these config and tools so I searched and found related tools and here are the results : - xeyes show moving eyes and xprop answers on geany window so i guess its XWayland. - `echo $XDG_SESSION_TYPE ` returns x11 - `pgrep Xorg` returns 1158 About your hint to `GDK_BACKEND=wayland geany` : - I opened a terminal and typed this on 1 line as cited (without the end point) and got an error. - I typed it on 2 lines and geany launches but xeyes still "looks" at geany's window so i'm not sure anything changed... but as for now, during this testing session, it doesnt freeze anymore ! But when i launch a new terminal, "echo $GDK_BACKEND" returns an empty line. So in case i confirm there is no more issue, how would i automaticaly launch geany with GDK_BACKEND=wayland ? -- 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/2737#issuecomment-768880890 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 28 09:05:59 2021 From: notifications at xxxxx (elextr) Date: Thu, 28 Jan 2021 01:05:59 -0800 Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737) In-Reply-To: References: Message-ID: I don't run Ubuntu itself, but its my understanding that you select X11 or Wayland at the login screen. > echo $XDG_SESSION_TYPE returns x11 Suggests you chose X11 by default or deliberately. > I opened a terminal and typed this on 1 line as cited (without the end point) and got an error. Would have been good to tell us the error, but given above its probably not important. So if you are running with the "conventional" window system, and none of the other points you note seem relevant, and you say Geany isn't using lots of CPU, then its probably waiting for the system to tell it something, but I don't know what. Geany certainly works for others on Ubuntu 20.10 so something is unique about your setup. Possibly you could run geany under the debugger and see where its hung, but I suspect that the system package may not have symbols, so it might not help, but try it if you can. Any other suggestions welcome. -- 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/2737#issuecomment-768908241 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 28 16:04:45 2021 From: notifications at xxxxx (reregaga) Date: Thu, 28 Jan 2021 08:04:45 -0800 Subject: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738) In-Reply-To: References: Message-ID: Thank @elextr for your detailed answer, if I understood you correctly, it is impossible to run several programs in parallel and I agree with that. But I would like to avoid pressing the Enter key between two consecutive runs of the same program. For example, right now it looks like this: 1. press F5. 2. program1 runs and finishes Press Enter for new line or input 'clear' in terminal, because otherwise F5 doesn't work. 4. Press F5 5. Program1 works and finishes I would like: 1. press F5 2. program1 runs and stops 3. press F5 4. Program1 runs and exits Is it possible? -- 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/2738#issuecomment-769189019 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Thu Jan 28 21:55:51 2021 From: notifications at xxxxx (elextr) Date: Thu, 28 Jan 2021 13:55:51 -0800 Subject: [Github-comments] [geany/geany] geany F5 trouble (command works only the first time) (#2738) In-Reply-To: References: Message-ID: Ahh, you are talking about running in the embedded terminal widget (VTE), that wasn't clear from the screenshot and your listing konsole as the terminal. This is a different problem, Geany just sends a command to VTE, it doesn't run the command, and VTE doesn't run the command either, the shell already running inside it does, and that does not have a way of communicating the process ID back to VTE for it to communicate it back to Geany, so neither VTE nor Geany can wait on completion since they do not know which process ID to wait on. So Geany doesn't wait for completion when running in VTE and the execute icon will never change to kill as Geany has no idea which process ID to kill. But the user can also type into the VTE widget, and as Geany can't remove those characters, any stray characters will get appended to the command. So there is the concept of the terminal being "clean", where to the best of Geany's knowledge nothing has been typed in VTE since the last command or enter or ctrl+c, all of which should cause any input to be consumed/ignored by the shell. If VTE isn't "clean" Geany asks you to clean it before it will attempt to run the command and confirm by enter or ctrl+c. But this is a bit of a heuristic, its not perfect. For me it works the way you would like. F5, program runs and finishes, F5, program runs and finishes. There is a keybinding to switch to the VTE (bound to F4 by default) and there is a keybinding to switch to the editor (bound to F2 by default). But within VTE only the minimal keybindings work, to avoid stealing them from the program running there which may use them. IIRC the (default F2) switch to editor is one of the few that work and F5 deliberately doesn't along with most of the other keybindings. For me a program that needs user input works as F5, program runs until input needed, F4, type input, enter, program completes, F2, F5 ... rinse and repeat. So your continual need to clean VTE means somehow you are getting VTE "unclean" by typing in VTE between commands. -- 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/2738#issuecomment-769425038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 29 07:06:35 2021 From: notifications at xxxxx (Devansh Patil) Date: Thu, 28 Jan 2021 23:06:35 -0800 Subject: [Github-comments] [geany/geany] Geany not responding to certain keys (#2739) Message-ID: Geany needs me to press the same key twice to register it once. Note that this only happens on certain keys, like comma or a period. -- 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/2739 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Fri Jan 29 11:24:58 2021 From: notifications at xxxxx (JLuc) Date: Fri, 29 Jan 2021 03:24:58 -0800 Subject: [Github-comments] [geany/geany] geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) (#2737) In-Reply-To: References: Message-ID: after some use i see it also happens with pure wayland, but until now it is rare and doesnt lat so long. -- 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/2737#issuecomment-769747723 -------------- next part -------------- An HTML attachment was scrubbed... URL: From notifications at xxxxx Sat Jan 30 04:18:26 2021 From: notifications at xxxxx (Matthew Brush) Date: Fri, 29 Jan 2021 20:18:26 -0800 Subject: [Github-comments] [geany/geany] Geany not responding to certain keys (#2739) In-Reply-To: References: Message-ID: Hi @subtra3t, this looks like a duplicate of #1902, #2408, #2472, #2572. It's a good idea to search for existing same issues before posting a new one (I searched "comma" to find those issues), and also to give your operating system and version information. Try out the solution in [this comment](https://github.com/geany/geany/issues/1902#issuecomment-643657889) and [this comment](https://github.com/geany/geany/issues/1902#issuecomment-661295362) for the fix. If this is indeed a duplicate, please close it as #1902 is still open. If you have any problems with the solution or additional information to add, you can follow up on #1902 where people who have solved it are probably still getting notifications. -- 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/2739#issuecomment-770154298 -------------- next part -------------- An HTML attachment was scrubbed... URL: