Re: [Geany-Users] geany scss
On 18 October 2012 16:17, Ross McKay ro...@zeta.org.au wrote: Lex Trotman wrote: Just one thought, does it work with Geany 1.22 colour schemes approach? Don't know, but the version I'm running is 1.23 (i.e. built with SCSS filetype support), if that tells you enough. But if there's more to it than building off a 1.23 base, then I don't know. As I said, I'll look at merging in the current master some time soon (like next week, after a few things pass through the system here) and push back to Github, so I'll look at the colour scheme support then. Ok, while you are there, if you can make your pr a single commit re-based off git head then it will be easier to get it committed. Cheers Lex -- Ross McKay, Toronto, NSW Australia Before enlightenment: chop wood, carry water; After enlightenment: chop wood, carry water - Wu Li ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Getting familiar with the code
On 19 October 2012 06:18, John McCrary johnmccrary1...@yahoo.com wrote: I'm wondering on how I could familiarize myself with the code more when poking around in Geany. I think a good idea is to have a link on the Developer page that describes some common functions that are used in the source code of geany. If not then could anybody help me in finding small tasks that I could help out with? Hi John, Well, you could write a page linked to the developer page that describes some common functions that are used in the source code of Geany :-D Seriously, its a good idea, its called design documentation, the only problems are that doing it after the fact takes time away from the development tasks and, well, no one who knows how it works wants to do it. The other way to get more familiar with the code is to do something with it, select something from the features tracker (or your own feature, something you are interested in, since if you are like me you won't persist if you are not interested) that can be done as a plugin. Plugins use many of the Geany functions, but they are generally better documented, see http://www.geany.org/manual/reference/ Make sure you post here what you decide to do for advice and to avoid the (very unlikely) chance of someone else doing the same thing. Cheers Lex cheers John __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] PHP_Beautifier
On 25 November 2012 21:11, barz...@yahoo.it barz...@yahoo.it wrote: Try running it same as the Geany version from the command line, ex: $ echo Some PHP Code Here | php_beautifier -s4 -l ... or $ cat some-code-file.php | php_beautifier -s4 -l ... done. Both the commands work fine in terminal. What platform are you on? Version of Geany, version of GTK and Glib, from help-debug messages? Look for error messages in help-debug messages. Xubuntu 12.10, Geany 1.22, GTK 2.24.13 Those are the error messages in HelpDebug: 11:03:17: Geany WARNING: php_beautifier -s4 -l ArrayNested() NewLines(before=if:switch:while:for:foreach:function:T_CLASS:return:break,after=T_COMMENT) IndentStyles(style=kr): PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70 PHP Strict Standards: Non-static method Console_Getopt::getopt() should not be called statically in /usr/bin/php_beautifier on line 84 PHP Strict Standards: Non-static method Console_Getopt::doGetopt() should not be called statically in /usr/share/php/Console/Getopt.php on line 92 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 109 PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Strict Standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Strict Standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/bin/php_beautifier on line 85 Those same messages are also shown in terminal but all works however! Right, but Geany thinks that since it returned messages on stderr that something went wrong with the command, so it doesn't do the substitution. You should have a message along the line The executed custom command returned an error. Your selection was not changed. in the status bar. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Changing colors in Syntaxshemes
On 28 December 2012 17:21, A.Kipsch a.kip...@kabelmail.de wrote: Hi, how can i change the colors in syntaxshemes of Geany? I don't find a possibility. Thanks for an answer, Andreas Have a look at http://wiki.geany.org/themes/start making *sure* you use the right version for the version of Geany you are using. Use the colour scheme files as a guide to create your own. Cheers Lex -- ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Ruby indent not working
On 18 January 2013 08:00, Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 17.01.2013 21:28, schrieb Lex Trotman: On 17 January 2013 23:02, Sayth Renshaw flebber.c...@gmail.com wrote: Hi I just installed geany 1.22 on a windows 7 laptop and I am starting into rails. So I am tinkering with ruby files which I haven't done before. The thing is geany isn't indenting my files. I created a file test.rb and just typed a multi array and printed it to output as a test. However I got no indenting so it looks like. my_array = [[1,0],[2,1],[3,2]] my_array.each do |x| x.each do |y| puts y end end when it should look like. my_array = [[1,0],[2,1],[3,2]] my_array.each do |x| x.each do |y| puts y end end Not sure if I have missed something Ruby specific Hi, Well, sort of, or rather Geany has missed something, Ruby specific support for indenting :) Geany autoindent is almost language independent, it knows how to: 1. go to the same indent as last line 2. indent and unindent on { and } 3. as a special case only, indent on : in Python None of these will work for Ruby IIUC. What it needs is for someone to specify the algorithm, and to provide a plugin that implements it (such language specific stuff shouldn't be in core) I disagree. This is something that ought to be in the core, really. Language support is a core feature of Geany (and any IDE). It should work out of the box and not reside in disabled-by-default extensions. Especially if python can have its special case in the core. What else, if not language support, belongs to the core? And since when is handling/enabling indentation a plugin-thing? Hi Thomas, None of the language specifics belong in core, given the ever increasing number of languages it would bloat Geany far too much to include all requested language specific features in core. This would cause a cost that all users must bear, irrespective of what languages they want to use. There is no reason why language specific plugins should not be distributed with Geany, like Class Builder, HTML Characters and friends. Your point about enabling is reasonable, but there is nothing from preventing such plugins from being enabled automatically when a file of the specific filetype is opened (filetypes are not loaded until needed, so it just becomes another part of that process using a list (in the filetypes file) of which plugins to enable for this filetype). The fact that Python indenting is currently built-in is historical and shouldn't be taken as an invitation for more languages to do the same :) Cheers Lex Best regards. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Newbie Question
On 22 February 2013 22:52, Peredur pere...@peredur.net wrote: El 22/02/13 11:42, Lex Trotman escribió: Modifying them on a project by project basis is fine, just use the project-properties-build tab which provides the same dialog as the build-set build commands, but stores the result in the project file so it only applies when the project is open. Cheers Lex Thanks Lex. That's good to know. I hadn't spotted the distinction. The re-use of the same dialog had me fooled. Hopefully, it will help Bill, too. I would recommend reading the manual and the follow up wiki link Matthew posted to understand the possibilities of the build system. Its simple once you know, but without the background it can be confusing when you start modifying both project and the non-project settings. Cheers Lex Cheers Peter -- Peter Bradley peredur.net ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] adding json support
On 25 February 2013 09:43, Bob Furber burnsmi...@gmail.com wrote: On 13-02-23 07:41 PM, Matthew Brush wrote: No change even after restarting my PC: Names are bold black, values are normal black, numbers are green ..and filetypes.JSON.conf looks like this: I found it!! For some reason, I had 2 filetypes.JSON.conf files: /usr/share/geany/filetypes.JSON.conf and /root/.config/geany/filedefs/filetypes.JSON.conf This seems to have come about because I accessed Geany in supervisor mode to edit filetypes.JSON.conf. Perhaps the lesson is Don't try stuff as root, do it as an unprivileged user, thats why we read the user config so users can change it without touching the system stuff :) And as a user mistakes make less of a mess :) Cheers Lex In the meantime, I have merrily been editing /root/.config/geany/filedefs/filetypes.JSON.conf, while Geany, accessed in user mode uses /usr/share/geany/filetypes.JSON.conf. What are names? Perhaps I am using Name inappropriately. What I mean is the lowest element in a json file is a name:value pair (i.e., {myVarName:myVarValue}). While not very important, I can see some merit in differentiating the name from the value. The only way I have found so far to differentiate names from values is by setting lexer_filetype=YAML. Thanks Matthew Lex for all your help. RF ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] no Terminal tab in Geany preferences??
On 1 March 2013 07:41, Matthew Brush mbr...@codebrainz.ca wrote: On 13-02-28 11:17 AM, Marco Bianchi wrote: Hello Geany users, I have just installed Geany on Ubuntu and when I open the preferences I Which version of Ubuntu? And which version of Geany? repositories are often way out of date. Cheers Lex have tab General, Interface, ..., Various but after Various* I do not have the Terminal tab (see image below)*, which is what I wanted to access to paste and copy commands to the terminal to execute small pieces of code. Have I made a mistake in installing geany (i used on the command line: sudo apt-get install geany) Under Preferences-General-Startup is Load virtual terminal support checked? Also, are you sure you aren't running Geany with -t or --no-terminal argument? Otherwise it's probably like Colomban mentioned that you don't have the required libvte package, although I would've assumed installing Geany from the repositories would've dragged that it automatically. Cheers, Matthew Brush ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] no Terminal tab in Geany preferences??
On 1 March 2013 15:05, Chow Loong Jin hyper...@ubuntu.com wrote: On 01/03/2013 11:08, Lex Trotman wrote: IIUC that would mean that Geany binaries could not be run on any system without libvte9 installed, the user would have to re-compile? That doesn't sound acceptable to me. Conversely, what's the use-case of having binaries that were built with libvte9 support, but run on systems without libvte9 support? Is it somehow desirable to not have libvte9 installed? Well, thats a user decision. Geany is supposed to require few dependencies to run. FWIW I think Matthews suggestion of removing vte and using multiterm is the right solution, then only multiterm depends on libvte and it can be a hard depends. Cheers Lex -- Kind regards, Loong Jin ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
[Geany-Users] Removing [new instance] bug #3607948
Hi, Moved discussion of https://sourceforge.net/tracker/?func=detailatid=787791aid=3607948group_id=153444 to this thread since discussion is easier on the mailing list than on the bug tracker. Sorry but that's not quite so, at least for me: Second and following instances open with the '[new instance]' tag although I open with the plain command $ geany I do find that the first instance opened does receive $ geany somefile.txt... not sure what happens if I close that one and open a third or fourth. Nor do I care. That kind of open-when-multiple-instances-are-running command is a questionable act in any application. If you do geany a_file and geany b_file then b_file will open in the window with a_file, that is the original instance. The command geany a_file will not exit, but the command geany b_file will exit immediately since the file was opened in the original window, that is in the original instance. If you do geany a_file and geany -i b_file then b_file will open in a new window, that is a new instance and will be labelled by (new instance). The command geany -i b_file will not exit. If you do geany a_file and geany then the second geany command will open a new window, that is a new instance, since thats the only sensible thing it can do when told no files to open. It will be labelled by (new instance). If you close the first instance, the next time you run geany some_file it will open a new window and then geany else_file will open that file in the same window as some_file. In other words only one geany with files and without -i will ever run. When it is running each invocation without -i will open the files in the same window. If that Geany is closed, the next time geany is run without -i it will take over the role of being the window other files are opened in. This is the normal use-case, Geany is not intended to run multiple times except in special circumstances, such as using it as a VCS message editor. Settings are shared and set by the last closed instance, IIUC. That is a global reality that holds at all times, for all instances. The only way I can be sure to close the right instance of Geany last is if I know in which one I made mods to settings I wish to retain. Do you know which? I cannot formulate a rule. I tend to open an instance specifically for the purpose of modifying Geany settings. It does not tell you which to close last since it doesn't know which changes you want to keep. Does it help to inform or remind the user of this global, invariant behavior by tagging some instances and not others with text unrelated to settings? I don't see how. It merely reminds you to be careful, for most people running multiple instances is unusual, so the reminder is worthwhile. I suppose you could make this work by flashing the titlebar reversed in red and replacing the text with SHARED SETTINGS ARE YOU SURE YOU WANT TO CLOSE THIS WINDOW LAST. Please don't do that. As I said above, Geany doesn't know which settings you want to keep, so doesn't know which instance to show that on. Neither situation requires a reminder at all, persistent or not. Geany is a complex tool and to get the most out of it with the least astonishment, the user must read and understand the manual... and do some experimentation. I'm satisfied that the average user who does neither will still be productive; nor will he encounter undue astonishment. The normal Geany use-case is the same as most other editors/ides, command line requests to open a file are opened in the original window. Geany is a multi-document compliant GUI application, there is no need to run multiple copies, and most users do not do so. This is a bug, not a feature request; because the message text does not reflect anything in reality. All instances are new; that's why they're called 'instances'. What may be meant is that 'this' instance is 'newer' than another. But that's irrelevant to any other question about the instance. The (new instance) message in the title bar reflects that this instance has been started with the --new-instance option, either explicitly, or implicitly by not specifying any files to open. It might be of interest to tag the titlebar of an instance opened with '-c' as 'Unshared settings'. But then, the attempt to do so raises a modal dialog and anybody who okays such a thing is probably aware... it's deliberate action. And since the new instance does indeed open without shared settings, its window's appearance is quite different from any of the instances running *with* shared settings. It might indeed be useful to indicate the source of the configuration for instances started with -c, but that will use even more screen real-estate. By the way, you can give multiple geany commands with the same -c value and they will behave in the same way towards each other as the set without -c, and will totally ignore the set run without -c. Think like a GUI designer, not like a CLI
Re: [Geany-Users] bracket or code block highlight
On 27 March 2013 04:20, Tri Le tri...@gmail.com wrote: Hi All, Sorry to post this message again but it's my first time posting a question and didn't know image attachment is not allowed. Is there a way to highlight the bracket so that one can easily see the beginning and ending of a block of code? Something similar to these images You could check the plugins, but as far as I know this is not available. Cheers Lex http://s19.postimg.org/pmvrygg9f/130326092805_3.jpg http://s19.postimg.org/dz1q3wr4j/130326092608_2.jpg Thanks, Tri ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] List of the customisable keywords for each lexer
On 5 April 2013 21:15, Sigmun unna...@gmail.com wrote: Where can I find a list of the customisable keywords (such as primary,secondary,commentdoc for C lexer) for each lexer ? Essentially its the lists in the filetypes files. There may be cases where keyword lists provided by the lexers are (ab)used by Geany for symbol lists and so are not available for user customisation. Also if lists provided by the lexers are not already in the filetype file then Geany probably doesn't map them to anything so adding them to the filetype file won't do anything. Cheers Lex Sigmun ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] [patch] Improved brackets completion
On 6 April 2013 06:04, Pavel Roschin ros...@scriptumplus.ru wrote: Hello! I'm currently working on patch (not plugin) that may improve current brackets auto-closing. Patch is under construction but I hope for feedback - may be you are interesting in some on those features in geany and may be you have some ideas how to do it better. Already implemented features. To use it all, enable all brackets completion in preferences. * auto-complete second char for: {, [, (, , ' as geany does (rewritten logic) * disable brackets auto-completion inside strings and comments Thats a good idea * delete second completed char if you pressed BackSpace Whats wrong with deleting it by pressing delete which does not need any special handling and your horrible hack mentioned below? This is essentially contrary to the usual operation of backslash. * suppress inserting one char twice (if you type {} you will get {}, not {}}) What do I get when I am editing and accidentally delete the ( and then re-type it? * wrap selected text into brackets instead of removing selection (select text and type ( or ) to wrap selection into ()) This should be a keycode, not automatic. Its essentailly contrary to the usual UI operation. * keep selection in cause of wrapping * for C-like languages wrapping selection into {} makes auto-indentation (select text and type { or } - text will be wrapped and indented) * {}-wrapper moves cursor to beginning (before first { * for C-like languages to insert {}-block you do not need to select text precisely: geany detects boundaries automatically, just ensure that selection covers lines you need to indent (works like TAB indentation) * fix auto-indent inside {} for C-like languages (makes full indent for this block) I presume this works in accordance with the the indent settings, so it doesn't change them if autoindent is off * auto-close functions (sin(| - sin(|);) with double-chars suppression (for C only) Does the tooltip still work? Patch itself and planning features you will find on my github: https://github.com/scriptum/geany-patches/ I also planning to move all brackets logic from editor_notify to GTK's key-press-event because of lack of features in editor_notify events. Is it possible? I tried it and seems that it works fine... Key press and adding a character to the buffer can be different things, not all keypresses get to be characters in the buffer. Admittedly brackets might be fairly safe, but still it would be nice to keep the current division for maintainability. Test thoroughly that when each type of the autoclose preference is turned off, all effects of this change must be removed. As I said above it would be preferable to maintain normal UI operation if possible. Cheers Lex -- Pavel aka RPG ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] [patch] Improved brackets completion
Hi again, After a *quick* look at your code, some more comments below. On 6 April 2013 06:04, Pavel Roschin ros...@scriptumplus.ru wrote: Hello! I'm currently working on patch (not plugin) that may improve current brackets auto-closing. Patch is under construction but I hope for feedback - may be you are interesting in some on those features in geany and may be you have some ideas how to do it better. Already implemented features. To use it all, enable all brackets completion in preferences. * auto-complete second char for: {, [, (, , ' as geany does (rewritten logic) * disable brackets auto-completion inside strings and comments * delete second completed char if you pressed BackSpace To be clear, actually deletes *both* the opening and closing, makes more sense. * suppress inserting one char twice (if you type {} you will get {}, not {}}) * wrap selected text into brackets instead of removing selection (select text and type ( or ) to wrap selection into ()) * keep selection in cause of wrapping * for C-like languages wrapping selection into {} makes auto-indentation (select text and type { or } - text will be wrapped and indented) * {}-wrapper moves cursor to beginning (before first { * for C-like languages to insert {}-block you do not need to select text precisely: geany detects boundaries automatically, just ensure that selection covers lines you need to indent (works like TAB indentation) * fix auto-indent inside {} for C-like languages (makes full indent for this block) * auto-close functions (sin(| - sin(|);) with double-chars suppression (for C only) Why are you putting a semicolon? that leaves characters to delete when the user is trying to type if( getc() == 'a' )return or sin(x)+cos(y). The assumption that a function call is the end of a statement is a bad one. Patch itself and planning features you will find on my github: https://github.com/scriptum/geany-patches/ I also planning to move all brackets logic from editor_notify to GTK's key-press-event because of lack of features in editor_notify events. Is it possible? I tried it and seems that it works fine... What do you need that you don't currently have in notify? Cheers Lex -- Pavel aka RPG ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Fwd: [Harold], Write a micro book on Geany IDE - Starter for Packt Publishing
On 20 April 2013 18:25, Frank Lanitz fr...@frank.uvena.de wrote: Am 19.04.2013 15:07, schrieb Lex Trotman: Yes, packt exists and publishes books on computing topics. However I don't think much of their quality. And their spamming methods to find authors are questionable. A quick web search shows they do the same to many projects. It appears they have some system of generating automatic reminder mails. I received a number of these during the last days and I really lost the last interest of maybe doing a project with them. My concern is the potential impact on the Geany community, unless everyone agrees, if one person writes the book and gets paid, even a little, others may feel that they have been used, answering questions on the ML and IRC. And the benefit to the community is likely to only be greater support requirements. I don't see this in that way: Generally putting information into a book is a good chance to review current documentation and can bring back import for improving the general manual. Also it's a chance to explain things in a different way via a different medium. E.g. I got some smaller patches for documentation based on just translating them into German. Yes, agree it can be, but only if the author actually does improvements to the documentation at the same time, and avoids copyright snags with the publishers. My experience of publishing deadlines are such that they almost certainly won't have time to touch the documentation whilst writing. Also I don't see the being used as very problematic thing. Writing a (good) book is not the same as answering on IRC. In fact, putting information into a good technical one is much more about writing skills and description/explaining skills (and I think most of us are really sucking at these). I'm not trying to belittle the effort a writer would put into explaining a program, and they definitely should get paid for that, but they have to understand it first, and if they use a lot of ML and IRC time to do that, well, thats where those answering can feel hey we've contributed a lot here, and we don't get anything. Thats just human nature I'm afraid :) Also if you are not the coder kind of person, writing a book -- given that somebody is liking to spent money for -- might be a good way to pay the rent on one hand and improve free software on the other hand. (Many people just take software serious, if there are books about it just have a look onto public library and count how many books about $software you will find and have a look which software they are about) And how many you glance at and put back on the shelf :) A computer book author might pay a few months rent (for a cheap apartment), but shouldn't bank on much more. BUT of course: if a book just puts content from IRC/manual between two book covers, the book is not needed, waste of time for author and editor and ppl from community will feel used -- me included. Ok, so I'm a grumpy old so-and-so for seeing this outcome first :) But then I have seen it before, so I am just offering a warning. Geany has a good community, we don't want to divide it, thats why the community needs to agree that a particular person should write it and that yes they will offer support. Or of course, decide not. And if the book is successful in bringing new Geany users, we need to understand that they will need support as well. The people who would be using such a book, Geany IDE - Starter are not going to add to the support staff, much less the code, for a long time. So... I understand your censors, but I don't agree in all of them ;) And thats perfectly all right, differing views are what makes life interesting :) Cheers Lex Cheers, Frank ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Is https://lists.geany.org/cgi-bin/mailman/listinfo/users safe.
On 30 April 2013 08:55, Chris Williams purplewel...@googlemail.com wrote: Sorry I am a newbie and when I try to go to: https://lists.geany.org/cgi-bin/mailman/listinfo/users I get the following error: *** This Connection is Untrusted You have asked Firefox to connect securely to lists.geany.org, but we can't confirm that your connection is secure. Normally, when you try to connect securely, sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified. What Should I Do? If you usually connect to this site without problems, this error could mean that someone is trying to impersonate the site, and you shouldn't continu lists.geany.org uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer) If you understand what's going on, you can tell Firefox to start trusting this site's identification. Even if you trust the site, this error could mean that someone is tampering with your connection. Don't add an exception unless you know there's a good reason why this site doesn't use trusted identification. * Hi Chris, Unfortunately this is an argument between firefox and the certificate provider such that firefox is unwilling to include the particular certificate provider. Other browsers such as chrome or even IE (I understand, I haven't tried myself) do include the certificate provider. The best suggestion is to use another browser or install the certificate providers certificate yourself. Cheers Lex Is it safe for me to proceed? -- Chris Williams [image: Thermalsrus Logo] http://www.thermalsrus.com Thermals R Us http://www.thermalsrus.com/ http://www.thermalsrus.com/- For all your Thermal Clothing ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users logo 8-100x100.png___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Is https://lists.geany.org/cgi-bin/mailman/listinfo/users safe.
On 1 May 2013 18:52, Frank Lanitz fr...@frank.uvena.de wrote: Am 01.05.2013 10:47, schrieb Enrico Tröger: On 30/04/13 03:06, Lex Trotman wrote: On 30 April 2013 08:55, Chris Williams purplewel...@googlemail.com wrote: Sorry I am a newbie and when I try to go to: https://lists.geany.org/cgi-bin/mailman/listinfo/users I get the following error: *** This Connection is Untrusted You have asked Firefox to connect securely to lists.geany.org, but we can't confirm that your connection is secure. Normally, when you try to connect securely, sites will present trusted identification to prove that you are going to the right place. However, this site's identity can't be verified. What Should I Do? If you usually connect to this site without problems, this error could mean that someone is trying to impersonate the site, and you shouldn't continu lists.geany.org uses an invalid security certificate. The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer) If you understand what's going on, you can tell Firefox to start trusting this site's identification. Even if you trust the site, this error could mean that someone is tampering with your connection. Don't add an exception unless you know there's a good reason why this site doesn't use trusted identification. * Hi Chris, Unfortunately this is an argument between firefox and the certificate provider such that firefox is unwilling to include the particular certificate provider. Other browsers such as chrome or even IE (I understand, I haven't tried myself) do include the certificate provider. The best suggestion is to use another browser or install the certificate providers certificate yourself. Which you can find here: https://www.cacert.org/index.php?id=3 A bit more information: Frank Lanitz created this certificate and it is signed by Cacert. To be able to do this, you first need to authenticate yourself to Cacert, in person including an identity check. Frank, and me also, did this. So, this is not just a self-signed certificate to have 'something' for SSL, but a qite good certificate. Even though Mozilla just doesn't consider it good enough to include the root certificate into their browser and other products :(. Is it a correct time for a little SSL-Mozilla-Bashing? I have gone totally to Chrome, is that bashing enough :) /you are not paranoid, on the internet they *are* out to get you Cheers Lex They do not include CAcert with their Web-of-Trust-based method of authentification, but include root-certificates which are known to be very week PKI and there are rumors that some of them are ruled be the agencies. /paranoid Cheers, Frank ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
[Geany-Users] File Saving options
There have been recent queries about file saving, backups etc. I have just added a wiki article on how Geany file saving settings and the save actions plugin works at http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving Everyone should read it or forever lose your data. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] setup custom server-side tags
On 2 May 2013 16:09, Charles Johannisen charles.johanni...@tray-international.com wrote: Hi, I would like to know how I can setup the syntax highlighter to recognize a custom server-side tag like the PHP ? ? or ASP % % This is done in the HTML Lexer (LexHTML.cxx) from the Scintilla project, which is written in C++, so you need to modify that to recognise your tags. Cheers Lex Thanks --** http://www.tray-international.**com http://www.tray-international.com --** __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] multiple, non-adjacent lines selection
On 8 May 2013 05:11, Liviu Andronic landronim...@gmail.com wrote: Dear all, Can I use Geany to select multiple, non-adjacent lines? I looked into the extra selection plugin, but it doesn't seem to support this. For example I want to select line 3, then hold ctrl and select line 7; then press delete. No you can't, Geany doesn't use scintilla multiple selections. Note that Scite doesn't either, wonder why? Cheers Lex Regards, Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Tile windows in Windows
On 12 May 2013 17:10, מתן הרשקוביץ bint...@walla.com wrote: Hi guys, Can you please tell if there is a way to tile some open windows in order to observe several files on the same time? As the title indicates, I'm working on Windows. Hi, you can get two panes with the splitwindow plugin. To get multiple windows you need to run multiple instances of Geany, just be aware that the configuration is shared between them, the last one closed will save its configuration over any others. Cheers Lex Thanks, Matan -- Walla! Mail - Get your free unlimited mail today http://www.walla.com ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] geanylua-plugin
On 6 June 2013 00:02, Martin Nöthig elnecesar...@googlemail.com wrote: Hi Charles, thanks for your prompt answer. I think it's best to give you all the information about how I build it up, since I don't know what's important and what's irrelevant. 1. installing geany I wanted to install geany via apt-get install geany, but by default it's not supported from the mac os. 1.2 fink So I installed fink via curl -O http://psbmini.ucsc.edu/~wgscott/downloads/fink_for_10.8_64bit_base_install_aptsources_sw.tgz sudo mv fink_for_10.8_64bit_base_install_aptsources_sw.tgz /. cd /. sudo tar xvfz fink_for_10.8_64bit_base_install_aptsources_sw.tgz sudo rm fink_for_10.8_64bit_base_install_aptsources_sw.tgz source /sw/bin/init.sh fink scanpackages sudo apt-get update sudo apt-get dist-upgrade that worked fine. One thing to notice is, that every time i want to do something with fink in a newly opened terminal, I first have to execute source /sw/bin/init.sh. Otherwise my terminal can't find fink or any of the apt-get functionalities. 1.3 geany Now I can use the commands get-apt, but it's not finding geany. Though I found another way to install geany via fink with fink install geany. Now Geany works fine :) This would have installed a pre-compiled Geany so the lack of any build tools would not have shown. 2. geanylua - plugin To install the plugin I navigated to the downloaded folder, but my terminal gives me: Martins-MacBook-Pro:geany-plugins-master Martin$ configure -bash: configure: command not found , though I can find a file named configure.ac Same with make Was this a git download? If it doesn't have a configure script it sounds like it. In which case you need the build tools to build the plugins including autotools, make, C compiler and whatever other dependencies the plugins define. Try one of the tarball downloads, at least they will have configure, but you will still need to install make and whatever other dependencies are needed. Cheers Lex Greets, Martin On 05.06.2013, at 14:18, Charles Johannisen charles.johanni...@tray-international.com wrote: Hi Martin, Can you include the error message. It might just be a dependency problem. Did you build geany from source as well? Regards Charles On 05/06/2013 13:18, Martin Nöthig wrote: Hi geanyusers, I recently installed geany on my mac (osx 10.8.4) to code in lua and have lua 5.2 installed. For the auto-completion functionality I want to install the geanylua - plugin and here comes my problem. I downloaded the plugin from https://github.com/geany/geany-plugins/tree/master/geanylua; and followed the README and INSTALL instructions, but configure or one of the make commands are not working. How can I get the plugin installed? Thank you in advance and please ask for more information if needed. Greets from Berlin, Martin ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] How to Change Themes?
On 13 June 2013 20:56, Lee Gold leeg...@operamail.com wrote: Hi, Using .21 downloaded and installed geany-themes-0.21.zip from http://wiki.geany.org/themes/start. Using Ubuntu. So how do I access all these themes? I expected a drop down menu some where in the tool bar so I could easily preview and change each theme, but can't find it. Help appreciated. Thanks. Should be in the view menu Cheers Lex -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Auto-close plugin for brackets
On 13 June 2013 20:26, Павел Рощин ros...@scriptumplus.ru wrote: Yes, of course, I there are similar functions in addons plugin, e.g. selection enclosing. Geany has similar feature. Enclosing in addons plugin defenitely has bugs. Patches are welcome :) The idea is to make *one* plugin that does everything concerned with autoclosing. Also this plugin substitutes autoclose feature in Geany itself that works very strange too. (simple) patches are welcome :) Also there are some plugins I saw in IRC and ML but your team didn't include them into Geany and noboby know about them. I guess their devs didn't make a PR so its assumed that they didn't want to submit them. Cheers Lex Sun, 09 Jun 2013 16:22:23 +0200 сообщение от Frank Lanitz fr...@frank.uvena.de: Hi Pavel, Am 13.05.2013 19:23, schrieb Pavel: I made new plugin that includes almost all possible features concerned with brackets and quotes auto-closing. I just finished it and maybe you want to test it. If it is useful and good enoough I will make pull request. Did you check the other plugins already providing some autoclosing of bracket etc? Is there maybe some place to consolidate solutions a bit? Just wondering as I don't see it very useful having 3 plugins doing pretty similar things inside one project. Cheers, Frank ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users -- Best regards, Pavel Roschin ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] End key = Go to RH window edge, not line end
On 19 June 2013 23:24, Cliff Laine cliffla...@europe.com wrote: Hello Geany people Is there a way of writing a snippet which would take the cursor to that part of the line which is at the RH window edge? I.e., to modify the behaviour of the End key to make it go to the RH window edge rather than the end of the line? I notice that this was raised on the list in January 2009 http://blog.gmane.org/gmane.editors.geany.general/month=20090601/page=8 In this thread, Heiko Studt commented on the apparent impossibility of swapping the End and Alt+End keybindings. Both end and alt-end can be redefined in menu-edit-preferences-keybindings, so you can swap them yourself. Cheers Lex PS the quoted ML thread was a very old version of Geany Is this still the case? Alt+End is possibly one of the most difficult key combinations to press without taking one's eyes off the screen. I would very much rather use a simple End. Thank you an excellent editor, btw. I have been using EditPlus under Wine for a few years and didn't think I'd find anything better. Cliff ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Change Home key to Go to Beginning of Display Line
On 20 June 2013 22:09, Cliff Laine cliffla...@europe.com wrote: Is this possible? The Home keybinding currently defaults to Go to Start of Line There is no option in the Preferences Keybindings to add Go to Start of Display Line. Its in the current git version of Geany (default binding alt-home), not sure when it was added. Cheers Lex Cliff ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] How to Set Custom Commands in Geany
[...] I am sorry if i am being a pain guys. Matthew's adivce was great I was able to add any commands i wished. The thing is doesn't work properly, meaning the selection never gets send to the command. eg: I select Documents and I send it to ls. Instead of listing the Documents directory, it lists the current directory, ~ in this case. I even tried full path. It doesn't work for grep command either. What am I doing wrong this time? The selection is not made part of the command, it is sent to the standard input of the selection, and the standard output is pasted in the buffer in place of the selection. See http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands Cheers Lex I appreciate your time Kostas Dimakis __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] add same text to multiple end of line
On 1 July 2013 23:13, Colomban Wendling lists@herbesfolles.org wrote: Le 01/07/2013 11:20, Gael Lafond a écrit : The regular expression is probably the best solution, but I would like to add this one, in case it is more appropriate for what you are doing, and also because it is easier to use for people that do not know regexp. If all lines have the same length (same amount of text), you could use the Column Mode from the Extra Selection plugin. You don't need the plugin to use rectangular selections, it IIUC only provides a few extras. By default to create a rectangular selection, place the cursor on one of its corner, and use Alt+Shift+arrow to expand it in any direction. Or place the cursor at one corner and ctrl+shift+click at the diagonally opposite one. Cheers Lex Regards, Colomban ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Recent files as toolbar item?
On 5 July 2013 07:37, Victoria S. 1...@victoriasjourney.com wrote: Is it possible to have be able to select/open 'recent files,' from the toolbar? The dropdown list next to the open icon. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Press Any Key not working
On 7 July 2013 20:18, c.tdonald c.tdon...@gmail.com wrote: I am seeking assistance with Geany 1.23.1 which has been installed on a Notebook running Windows 8. Just a note that I am not aware that Geany has ever been officially tested on win8. Has the terminal program changed? Check that the terminal command in the preferences is correct for your win8 system. Note that as of 1.23 it is now a complete command, not just the name of the terminal program, so you can set options if you need to. The %c is substituted by the command file name. ** ** The problem is that when a Pyton file is executed it seems to execute OK but the command module flashes onto the screen and then disappears straight away. So no “Press any key to continue” message appears. I am assuming this is an issue with Geany but may be one with Python; my IT knowledge is scant and I am not even sure what the correct question to ask is. ** ** The version of Python being used is WinPython-32bit-2.7.5.1 which has been installed into C:\WinPython-32bit-2-7-5-1. Initially Geany issued a message that Python is not recognized until I included in the system variables path ;C:WinPython-32bit-2-7-5-1\Scripts. At this point the issue started occurring. Have changed the path to exclude the \Scripts part and if I do Python is again not recognized. You certainly need python to be recognised. Cheers Lex ** ** I have no idea what needs to be done to fix this matter and hope someone can help. ** ** Chris ** ** ** ** ** ** ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Sluggish (slow; transiently non-responsive) Geany?
HI, Nothing below looks unusual. So a few questions/suggestions to help track it down. What filetype does it happen on? Does the slowdown happen on all filetypes? If you set menu-edit-preferences-editor-completions Symbol list update frequency to 0 does that fix it? What period do you have save actions plugin autosave period set to? Try turning plugins off one at a time to see if one can be identified as the culprit. Cheers Lex On 23 July 2013 10:10, Victoria S. 1...@victoriasjourney.com wrote: Hello: Can anyone comment on this? Thanks ... I am experiencing frequent sluggish/non-responsive behavior persisting several seconds upon routine use of Geany - virtually every copy/paste action. During these episodes, Geany appears to 'freeze;' it is increasingly annoying to me. Ubuntu 12.04 LTS 64 bit Intel® Core™2 Quad CPU Q9300 @ 2.50GHz × 4 Geany 1.23 I generally several tabs open in Geany, copying and pasting text from my web browser (Firefox) and the gnome-terminal into Geany. These Geany files are rather small: at most several hundred lines long (e.g. up to ~1200 or so lines). I have just a few plugins running (all from the default installation - nothing exotic), Addons | Export | Extra Selection | Save Actions | Shift Column | Spell Check | Split Window | Tree Browser | Updatechecker ... although I did tweak the following two configuration files, a bit,as shown: 'snippets.conf' : sep1== sep2 sep3=- sep4=--- sep5=- - - - - - - - - - 1at=1...@victoriasjourney.com #snip=[snip] Snip=[ ... SNIP! ... ] 'filetypes.common' : ... # third argument: if true, use this foreground color # fourth argument: if true, use this background color #white_space=0xc0c0c0;0xff;true;false white_space=0xFF;0xDD;true;true # test: test test # some colors: # http://www.color-hex.com/ # http://stackoverflow.com/questions/2188492/flex-colorpicker-load-colors-from-xml # http://www.color-hex.com/ # http://aprendiendocss3.files.wordpress.com/2012/01/hex_colors.jpg # more compact (fewer shown): http://www.flymedia.co.uk/help-in-general.php # navy blue: 0x23238E # red: 0xFF # v. light yellow: 0xBB | 0xCC | 0xDD # v. light gray: 0xCC | 0xDD | 0xEE # 0xF is white, essent. # http://html-color-codes.com/ # restart Geany for these to take effect: # commented text color (#): #comment=0xd0 # red #comment=0x7a7a7a # medium gray (0x00 = black) #comment=0x66 # dark gray #comment=0xcc66ff # light purple comment=0x9900cc # darker purple ... # restart Geany for these to take effect: # docstring color ( text ); e.g. Python: #string=0xff8000 # light orange string=0xff3300 # darker orange ... === ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Sluggish (slow; transiently non-responsive) Geany?
Hi, Thanks for the update, please try the list of things suggested and report the results. Regards Lex On 24 July 2013 06:08, Victoria S. 1...@victoriasjourney.com wrote: Thank you for your comments / suggestions - appreciated. I tried your suggestions: none had any effect. Ubuntu 12.04 LTS 64 bit Intel® Core™2 Quad CPU Q9300 @ 2.50GHz × 4 Geany 1.23 UPDATE 1 (July 23): I am (currently) working with plain-text (.txt) files. I am teaching myself RDBMS/SQL; the file I am working on (my saved text) is /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt ... i.e. a path to a nested folder, with spaces, etc. in the path. That file is ~1100 lines in length, although many of those are long, unwrapped single lines as I typically don't employ line wrapping / right margins unless I have a specific need to do so. In teh Documents menu, I do have 'Line Wrapping' and 'Auto-Indentation' checked/selected. The file is currently 65.4 kB (65,439 bytes; ~8900 words; ~65750 characters; UTF-8; no execute permissions (just the standard Owner/Group read/write). This morning the pauses were averaging ~9 seconds or so, at every paste (gnome-terminal Geany .txt file). I quit Geany (one current/working tab), then reopened the file, and immediately did some copy/pastes from my (gnome-)terminal to this txt file: all instantly pasted, with Geany fully 'responsive.' Here's a key observation: I then saved the file (the first save operation after opening it), and ** immediately thereafter** the aforementioned behavior began: Geany began pausing/'freezing' (up to ~2 min 35 sec i.e. 155 sec), but more typically , ~15-60+ seconds, intermittently (many but not all paste operations). Manual save operations (Ctrl-S) are instant. While this was occurring I had one eye on my System Monitor: Geany would shoot to 100% CPU use (typically 0%, otherwise). As mentioned, I have a quad-core system: among those CPU, Geany would max out (100% useage) one of those four CPU for a bit (say 10-15 sec.?), then swap to another CPU, that would then be at 100% use (with the previous CPU freed for other system use). I quit Geany, and launched it from the (terminal) command line (not the Ubuntu Unity Panel, as I have been doing). Here is the terminal poutput; I was hoping to see something during the freezes, but saw no system/terminal messages: victoria@victoria:~$ geany (geany:19046): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:19046): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed I have no idea what any of that means, however. :-/ Watching the terminal window, when I made an edit to the .txt file and saved it, this line was appended to the terminal output (but nothing, if Ctrl-S on an unedited, i.e. unchanged) file): (geany:19185): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Sluggish (slow; transiently non-responsive) Geany?
On 24 July 2013 08:08, Victoria S. 1...@victoriasjourney.com wrote: ... please try the list of things suggested and report the results. Hi: As mentioned, ... I tried your [the users' list] suggestions: none had any effect. ..., I already tried the other suggestions. ;-) Ok, so we move on to more detailed things :) As you would have probably guessed, it isn't happening for anyone here, so we need you to help track it down. Can you run geany with gdb and when it is consuming 100% cpu interrupt it (ctrl-c in the terminal) and see if you can get a backtrace to find where it is spending its time. Also when you run from terminal you can use -v to see more information, and possibly see more warnings. Of the warnings you listed, the menushell one is caused by Ubuntu rudely stealing the menu from an application that isn't designed for that, complaints to them, we can't fix it. Not sure what the others are, when running in gdb you could try using the --g-fatal-warnings option, though that will stop at the first one, but you might be able to continue from there to get it to stop on the second. If you can please send the backtrace so we can see where it is happening. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Sluggish (slow; transiently non-responsive) Geany?
[...] ** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word *word' failed ** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word *word' failed ** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word *word' failed These messages are from the enchant library that the spell checker plugin uses, so step one is to disable that plugin in the plugin manager and try again. [...] ... [SNIP! ~230 each of these two lines while Geany was 'frozen' -- Victoria] ... Looks suspicious, lets try the disable of the spell checker :) ** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word *word' failed ** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word *word' failed Geany-INFO: /home/victoria/Programming/RDB, SQL/Examples/Tutorial 3 - More Advanced SQL Instruction/Tutorial 3 - More Advanced SQL Instruction.txt : None (UTF-8) [FOLLOWING LINE AFTER FILE SAVE -- Victoria:] (geany:22793): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed I suspect (without a great deal of evidence to date) that this is from the tree browser plugin, but I doubt its the cause of the slowdown. ** (geany:22793): CRITICAL **: enchant_is_title_case: assertion `word *word' failed ** (geany:22793): CRITICAL **: enchant_is_all_caps: assertion `word *word' failed [...] I repeated the above (Geany in gdb), this time halting gdb (Ctrl-C in terminal) when Geany was frozen. Geany went to a slightly greyed-out (non-responsive but still visible, readable) window and remained as a process in the System Monitor. It finally closed when I quit gdb (below): Thats what is supposed to happen, the ctrl-c just interrupts it and throws control back to gdb, freezing the UI. victoria@victoria:~$ gdb geany GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /usr/bin/geany...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/geany [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. [New Thread 0x701af700 (LWP 23335)] [New Thread 0x7fffef9ae700 (LWP 23336)] [New Thread 0x7fffee948700 (LWP 23337)] (geany:23332): LIBDBUSMENU-GTK-CRITICAL **: watch_submenu: assertion `GTK_IS_MENU_SHELL(menu)' failed (geany:23332): Gtk-CRITICAL **: IA__gtk_list_store_clear: assertion `GTK_IS_LIST_STORE (list_store)' failed (geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed (geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed [Thread 0x7fffee948700 (LWP 23337) exited] (geany:23332): Gtk-CRITICAL **: IA__gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed ^C Program received signal SIGINT, Interrupt. 0x7541e313 in poll () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) q What you should do here is bt to get a backtrace before quitting. [...] I hope that this helps; Although knowledgeable in Linux operation, I am entirely unfamiliar with debugging (gdb, etc.) No problem, thanks for helping. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Sluggish (slow; transiently non-responsive) Geany?
[...] = THIRD: Geany (regular launch; 'Spell Check' plugin disabled (deselected)): Working normally; no 'freezes'! :-) Very fast, responsive (immediate) - heavy (intensive) pastes/saves/deletes ... Ok, well, now the culprit is identified :) But it is still worthwhile getting the backtrace from GDB as I asked. Since it doesn't happen here, that will provide some guidance for the plugin maintainer where to look. Without that info he may not be able to recreate the fault to fix it. Geany-plugins is separate from Geany, the plugins are not necessarily created or maintained by Geany devs. So please make a bug report on the geany-plugins bug tracker (https://sourceforge.net/p/geany-plugins/bugs/) including the backtrace from above, so the maintainer will be informed. That way he can fix it and you won't need to go without. That's good: I like the Tree Browser plugin. The treebrowser plugin has been orphaned for a while, but has just got a new maintainer (IIRC) so again please make a bug report so he will know about the problem. Cheers Lex = I can live without the 'Spell Check' plugin, but very grudgingly so: I use it extensively for personal/professional use. Is there a work-around/other options? I use enchant e.g. with gedit, Claws mail - seemingly without issue ... Thanks again for your excellent help much appreciated! Sincerely, Victoria :-) ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] geany does not send commands to terminal (in fresh new installation), geany 1.23, GTK 2.24, Ubuntu 12.04 64bit
On 27 July 2013 22:29, Marco Bianchi marcolondo...@gmail.com wrote: Dear Users, I love geany lightweight editor which I have used for a couple of years now. I have made a brand new installation of Ubuntu 12.04 64bit on a brand new hard disk etc and then I have installed geany, version below: geany 1.23 (built on Apr 7 2013 with GTK 2.24.10, GLib 2.32.3) I have installed libvte9 too. My issue with geany is that it does not send commands to terminal. Any idea why this is happening? marco PS: It can be seen from the image below that I have selected the first three lines of code, but nothing happens when I send those lines to terminal using the CTRL-4 key (which I have defined in keybindings). I also attach more images showing set up of some of my preferences tabs. As there is no prompt in the terminal it would appear that your shell, R, is not running properly. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] 'Error regular expression' feature?
On 7 August 2013 18:38, Vitali Samurov vital...@elisanet.fi wrote: Hello, I'm trying to add a new compiler toolchain in Geany and would like to highlight an error (waring) line in the code by using 'Error regular expression' feature. I have added this: (.+)\line\s+([0-9]+) And was able to get line 'E011 The value of symbolic' colored in RED: /mkl2mkp_en -i DIYGeigerCounter_ver_1-3.mkl (in directory: /../Temp) MKP file DIYGeigerCounter_ver_1-3.mkl E011 The value of symbolic reference is not defined in line 77 - RECEIVE1 First page: 0 Length (pages): 6 Compilation failed. But editor does not show /highlight the line in edit window. Is it possible to do that? Yes, but the regular expression has to have two captures, one that extracts the line number and one that extracts the filename so it knows which file and which line. And the filename and line no must be in the same line in your compiler output. That does not appear to be the case in the output above (but it may simply be wrapped by the mailer). Cheers Lex Br, Vitali -- --- Sent from the web-mail --- __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] 'Error regular expression' feature?
On 7 August 2013 20:23, Vitali Samurov vital...@elisanet.fi wrote: Hello, oh. So, the compiler output should look like e.g. GCC outputs, which Geany does parse well? Well, certainly gcc outputs have been used most :) It would be the best course to use that if your compiler can be configured to produce it. If it is a very good copy of gcc it may work with the built-in decoding and no regex will be needed. But for example the regex can be used with Python output like SyntaxError: ('invalid syntax', ('untitled.py', 28, 5, '\tfor:\n')) can also be parsed because it has the filename untitled.py and line number 28 in the output. The requirement for each line to have both is because compilers like C or C++ can interleave error messages from included headers with errors from the .c file so each line must be fully identified to allow marking in the source file. Cheers Lex mkl2mkp_en-0.25.c:3211:11: error: 'comp_adres' undeclared (first use in this function) Br, Vitali Lex Trotman [ele...@gmail.com] kirjoitti: On 7 August 2013 18:38, Vitali Samurov vital...@elisanet.fi wrote: Hello, I'm trying to add a new compiler toolchain in Geany and would like to highlight an error (waring) line in the code by using 'Error regular expression' feature. I have added this: (.+)\line\s+([0-9]+) And was able to get line 'E011 The value of symbolic' colored in RED: /mkl2mkp_en -i DIYGeigerCounter_ver_1-3.mkl (in directory: /../Temp) MKP file DIYGeigerCounter_ver_1-3.mkl E011 The value of symbolic reference is not defined in line 77 - RECEIVE1 First page: 0 Length (pages): 6 Compilation failed. But editor does not show /highlight the line in edit window. Is it possible to do that? Yes, but the regular expression has to have two captures, one that extracts the line number and one that extracts the filename so it knows which file and which line. And the filename and line no must be in the same line in your compiler output. That does not appear to be the case in the output above (but it may simply be wrapped by the mailer). Cheers Lex Br, Vitali -- --- Sent from the web-mail --- ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/usershttps://lists.geany.org/cgi-**bin/mailman/listinfo/users htt**ps://lists.geany.org/cgi-bin/**mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users -- --- Sent from the web-mail --- __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Plugin API
On 15 August 2013 17:45, Vitali Samurov vital...@elisanet.fi wrote: Hello, looking in to Plugin API how-to: http://www.geany.org/manual/**reference/howto.htmlhttp://www.geany.org/manual/reference/howto.html where the source files are? e.g. geanyplugin.h In GIT? See http://www.geany.org/Download/Git Cheers Lex Br, Vitali -- --- Sent from the web-mail --- __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Help: Custom syntax highlighting file.
Hi, Couple of comments below. Cheers Lex On 3 September 2013 19:59, Daniel Carrera dcarr...@gmail.com wrote: Hello, I want to add syntax highlighting for Gnuplot files. I have made an effort to follow the documentation but the syntax highlighting doesn't work. My guess is that I got the file contents wrong. I am using the instructions in the manual: http://www.geany.org/manual/dev/index.html#custom-filetypes As instructed, I edited filetype_extensions.conf and inserted the following line: Gnuplot=*.plt;*.gp; I also created filetypes.Gnuplot.conf and I have every indication that Geany can in fact read this file: 1) I now have a new menu entry: Document Set Filetype Gnuplot file. 2) Geany seems to recognize that a file with the .plt or .gp extension is a Gnuplot file (it says Gnuplot on the status bar). 3) All this stops working if I remove filetypes.Gnuplot.conf So clearly Geany can see the file. But I do not have any kind of syntax highlighting that I can see. So I suppose that my file contents are wrong. Here is the file. Can anyone see an obvious problem with it? -- // -- # For complete documentation of this file, please see Geany's main documentation [styling] It is better to use named styles rather than setting hard colours, then your filetype will also adapt with loaded colour schemes. # foreground;background;bold;italic default=0x00;0xff;false;false commentline=0xd0;0xff;false;false number=0x007f00;0xff;false;false word=0x99;0xff;true;false string=0xff901e;0xff;false;false character=0x404000;0xff;false;false operator=0x301010;0xff;false;false identifier=0x00;0xff;false;false backticks=0x00;0xd0d0d0;false;false param=0x009f00;0xff;false;false scalar=0x105090;0xff;false;false error=0xff;0xff;false;false here_delim=0x00;0xddd0dd;false;false here_q=0x7f007f;0xddd0dd;false;false [keywords] primary=at help plot set terminal eps png svg enhanced plot key top down left right label xlabel ylabel xrange yrange [settings] To get highlighting you need to specify a lexer using the lexer_filetypes setting, see http://www.geany.org/manual/current/index.html#settings-section Since there isn't a GNUPlot lexer you need to specify something close enough. # default extension used when saving files extension=plt # the following characters are these which a word can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 # single comments, like # in this file comment_single=# # multiline comments #comment_open= #comment_close= # set to false if a comment character/string should start a column 0 of a line, true uses any # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d #command_example(); # setting to false would generate this # command_example(); # This setting works only for single line comments comment_use_indent=true # context action command (please see Geany's main documentation for details) context_action_cmd= [indentation] #width=4 # 0 is spaces, 1 is tabs, 2 is tab spaces #type=1 [build_settings] # %f will be replaced by the complete filename # %e will be replaced by the filename without extension # (use only one of it at one time) run_cmd=./%f -- // -- Thanks for the help. Cheers, Daniel. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] cmd window problem
On 24 September 2013 21:38, John Yeung gallium.arsen...@gmail.com wrote: On Tue, Sep 24, 2013 at 5:28 AM, JPM jpmel...@gmail.com wrote: I mean the console window appear and disappear 0.1 second after and I can not see any output. I think the console window should remain open. The python program only has one print line ( print Hello world ). I don't have time at the moment to test things out with Geany (it's not my usual editor), but I do have a suggestion: One thing to try, to keep a Python window open that is not staying open by other means, is to add an input statement at the end of your program. If you're using Python 2, it would be a raw_input() statement; if using Python 3, just input(). The python command is actually run by a .bat script which has a pause after the python command, so you shouldn't need anything in the program if the python command runs. It sounds more like as Johannes said, the command is probably python.exe or some other error is preventing it finding python, so the bat file is exiting immediately without doing the pause. Cheers Lex John ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] autocompletion issues
On 30 October 2013 16:24, Mike Miller geany-us...@mgmiller.net wrote: Hi, I noticed autocompletion never seemed to work right for me in geany, even though I had all the checkboxes checked in the preferences. It could only complete things I had already written. After seeing completion work well in another editor I decided to dig in and try to figure out why. Turns out that I had to learn about tag files, find the files myself and put them in a certain folder. Not so bad. But I notice that it still doesn't work unless I type at least 5 characters, even though I have the number set to 3 in the preferences. For example I have to type backg or text- in a css file before the popup comes up. Strange, for me it works at 3, but note that it only works for basenames, abc.def will show all abc autocompletes, but thats as far as it goes. I would guess this is because other languages don't allow dot(.) inside symbols, instead they use the dot to select from a nested structure. But the symbols in CSS tags are not nested so that won't work. In python I notice keywords don't complete. Keywords do not complete in any language. What am I doing wrong? Geany should be able to complete keywords at a minimum, it already has them all specified in the filedef.conf files. The basics here should work out of the box in my opinion... for an editor as friendly as Geany. Geany doesn't complete keywords, there have been several suggestions to do this, but nobody has come up with the code, patches are welcome. Cheers Lex I'd like to help, though unfortunately haven't written C/++ in many years. But, I could certainly pack up files and check them in, make another debian package, add tips to the preference dialog strings, etc. How can we make the experience better? -Mike __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Creating a version of Geany for Microcontrollers
On 31 October 2013 13:44, lmx l...@sapo.pt wrote: Hi guys, I like a lot geany, it is very powerful, and simple, fast... ;) I think that it is the best candidate to be the base of a IDE for microcontroler's... As the beginning using SDCC(it start to support one MCU of my interest...STM8). I don't know how to start :S , I just downloaded the source code...I see that it is almost a C project ;) I need to change some things in the graphical fronted...I never played with gtk, or glade :(. And worst, I don't know what files to change and where ...but i have compiled it successfully. Any description of the folder's in the role of geany ? Hi, Not sure exactly what you are trying to do. The HACKING file provides some guidance for adding a language which is the most common adaptation people do. Otherwise you need to ask specific questions. Cheers Lex Thanks in advance regards tux __**_ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-**bin/mailman/listinfo/usershttps://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Auto-indenting R code
On 4 November 2013 02:28, Frank Harrell f.harr...@vanderbilt.edu wrote: I have been unable to get geany to auto-indent to the right level after a previous line ends with {, and to get geany to auto-unindent to the right level after the previous line ends with }. Any pointers appreciated. You need to define right, your right may be anothers wrong. Cheers Lex Frank Harrell ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Geany list
On 11 November 2013 10:35, James Brierley jmb8...@gmail.com wrote: Ah, this has reminded me: I forgot to mention, but perhaps it would be possible (for someone) to write a plugin which pipes your code through something such as Uncrustify, which is a modern version of the classic Unix utility ‘cb’. You would still need to hit a button to beautify your code (rather like the XML PrettyPrinter plugin) but at least it might be one way of having configurable indentation without costly on-the-fly parsing. What about http://www.geany.org/manual/current/index.html#sending-text-through-custom-commands Ok, you need an extra ctrl+a to select all before the keybinding for the command, but two keys isn't too bad :) BTW do not use astyle for this, it lies through its teeth about working from a piped stdin, it tries to do a seek on the input and thats not possible on pipes. I havn't done it for ages, but uncrustify used to work. Cheers Lex I’d have a go at this myself, but for the fact that I’m a CS graduate student (learning all that new stuff is great but why do they have to give you piles of coursework as well? :P) James -- Unix is the worst computer operating system, except all the others that have been tried. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Please check your mail clients to support threads
And to add to Franks note, please don't do reply-all, just reply to the list. When you reply-all the direct reply will almost always get to the sender before the list bounce, so it is likely this is the one that will get the next reply, and that means to you directly, taking the conversation off list. Also please don't edit subject lines unless you mean to split the thread, the big ugly Gorilla of webmail clients, Gmail, will only thread based on subject. So editing the subject means you split the thread for those users. Cheers Lex On 13 November 2013 02:33, Frank Lanitz fr...@frank.uvena.de wrote: Hi folks, Sorry for that Geany-OT posting... but please be so kind and take some second to check whether your mail client is respecting the threading when answering a post. I've got a lot of spitted up threads here and it's really annoying and time consuming to put them together again. In details: When answering a post, your mail client (or at latest yout mail server) should add a message ID to your mail. This can be checked in source of your mail and looks similar to: Message-ID: 527b726c.9070...@frank.uvena.de (it's another post of myself) Also when hitting answer, your client should add the References and In-Reply-To header to new mail. Also pelase don't answer to the collection of mails. Cheers, Frank ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Some questions about tags
On 19 November 2013 06:48, Carlos Pita carlosjosep...@gmail.com wrote: I see that option reading and initializing was removed from tagmanager/ctags/options.c: #define readOptionConfiguration #define initOptions #define freeOptionResources I assume there are good reasons for this, but would it be too difficult to make the embedded ctags read ~/.ctags? Would it take a lot more effort than more or less copypasting some code from the official ctags? I understand one can just write a C extension for ctags, even one only relying on regexs the same as would be done in ~/.ctags, which is not that hard, but it would be nice to avoid geany recompilation for simple tasks. Currently there is no way to define new parsers without re-compiling and no way of assigning them to filetypes without re-compiling. So to allow configurable parsers you would need to add that capability first. It would be less work to compile in your new filetype and add the capability to load the regexen to it. Note that the current R parser has the (compile time) option to use the regex parser, but it defaults to a coded one. Don't know why or whats the difference. But even if it used the regex one it would not load options, you would have to add that. On using regex parsers, note that by default the parser runs every 250ms when you are making changes to a file, don't make your regexes too complex (or get a faster machine I guess). Cheers Lex Any advice will be very much appreciated. On Mon, Nov 18, 2013 at 11:25 AM, Carlos Pita carlosjosep...@gmail.com wrote: I don't think so, but I'm not 100% positive. I'm sure Geany won't recognize a new language added like this, but I'm not 100% sure you Can anyone else confirm this? IMO this is an important point from the extensibility perspective. If a language is not supported out of the box you need to be able to configure both geany workhorses: scintilla and, in this case, ctags. Or maybe ctags configuration could be done at the geany language level (filetypes.*) instead of at the system user level (~/.ctags). That seems the correct way to do it but also looks harder to implement. I don't know how difficult it is to initialize the embedded ctags with specific options or to instruct it to load some initialization file at startup. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Location of geany.gtkrc
On 28 November 2013 17:04, Augustine Souza aesouza2...@gmail.com wrote: Hi, I'm using Geany 1.23.1 on Lubuntu 13.10. My question is this: if I want to make changes to geany.gtkrc must these changes be done to /usr/share/geany/geany.gtkrc or can I copy this file over to somewhere in my home and edit that copied file? I copied the file to ~/.config/geany but any changes I make there are ineffective. Geany adds installdir/geany.gtkrc last on the normal list of rc files GTK reads. So any normal gtk rc file can overload it, eg ~/.gtkrc-2.0. Cheers Lex Thank you AESouza ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Lost ability to create a new file from a template
Try without a customisation by running Geany from a terminal, geany -c /tmp/something_that_does_not_exist If that works then there is something wrong in the config, though I don't know of any changes to templates for several versions. Or if you are running with a detached menu, then it could be something wrong in the menu stealing hacks. Cheers Lex On 6 December 2013 17:49, Robert Parker rlp1...@gmail.com wrote: Since installing Ubuntu 13.10 when I select File - New(with template) no template list is exposed to select from. It just exits without any action. The Geany version is showing 1..23.1 I use a separate /home partition so my customisation is preserved across re-installations. Where to next please? Bob Parker ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Lost ability to create a new file from a template
On 6 December 2013 22:59, Robert Parker rlp1...@gmail.com wrote: On Fri, Dec 6, 2013 at 1:57 PM, Lex Trotman ele...@gmail.com wrote: Try without a customisation by running Geany from a terminal, geany -c /tmp/something_that_does_not_exist Did that. It just came up with 'untitled' , no template selection. Again running geany -c /tmp/new_config can you see if the template list is available when using the drop down to the left of the open button the the toolbar (instead of the menu). In menu-help-debug messages there is an entry listing the system data dir (probably /usr/share/geany), list whats in the templates/files directory below that dir, thats where the templates are kept. Each file there should be an entry in the menu list. If there are no entries there try uninstalling and re-installing geany (note that the geany in the ubuntu repositories is fine, I'm running that since my distro Linux Mint 16 Cinnamon is based on ubuntu 13.10) If that works then there is something wrong in the config, though I don't know of any changes to templates for several versions. Or if you are running with a detached menu, then it could be something wrong in the menu stealing hacks. I guess that means what Ubuntu does to it. I'll try compiling from source and if that works I'll give the Ubuntu deb the flick. Ubuntu does the hack in the GTK libraries, not to Geany so it won't help compiling geany. There are many distros based on ubuntu but with normal desktops you could try. That still gives you the Ubuntu software selection but since they don't use the hacks there should be less problems. Linux Mint for example is more popular than the Ubuntu its based on (by some measures). Thanks, Bob Cheers Lex On 6 December 2013 17:49, Robert Parker rlp1...@gmail.com wrote: Since installing Ubuntu 13.10 when I select File - New(with template) no template list is exposed to select from. It just exits without any action. The Geany version is showing 1..23.1 I use a separate /home partition so my customisation is preserved across re-installations. Where to next please? Bob Parker ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users -- The healthy eating pyramid as published by the USDA and it's satellites all over the world is purposely designed to bring about an epidemic of obesity, hypertension and diabetes. It is wildly successful in this aim. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Highlight C function names?
On 11 January 2014 13:21, Nate Bargmann n...@n0nb.us wrote: As I use Geany for C work, one enhancement to the syntax highlighting would be to have C function names highlighted. This would be any symbol, other than a C language keyword such as do, if, else, while, etc. that often have an open parenthesis following them and are already highlighted. For example, main() would have the word main highlighted but not the paratheses. Or, foo(bar(a, (b * x))) would have the words foo and bar highlighted, and the parentheses, operators, and arguments would be in the current colors. Perhaps this is a limitation of the Scintilla editor? You are correct that the first step would be to make Scintilla's C lexer identify function calls as separate entities that can be highlighted. (and an option to turn this off as well) Cheers Lex This would really help when dealing with source that uses libraries such as Gtk+ with many long function names on line after line. Thanks! - Nate -- The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true. Ham radio, Linux, bikes, and more: http://www.n0nb.us ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Highlight C function names?
[...] However, a quick test shown that the style identifier (as provided by Scintilla) matches way more than function names only. It highlights also local variables in functions and many more symbols. Yeah, thats the problem (my understanding of the OP was they only wanted function names highlighted, not variables). Cheers Lex Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] syntax highlighting of .rst files
oops, misread the extension. There is no highlighting of restructured text available. A lexer needs to be added to the Scintilla editing widget (a separate project at www.scintilla.org) first. Cheers Lex On 22 January 2014 19:06, Lex Trotman ele...@gmail.com wrote: On 22 January 2014 18:59, Roel De Coninck roeldeconi...@gmail.com wrote: Hi all I'm editing an .rst file. When I open the file in vim, there is a syntax highlighting and I like to have something similar in Geany. Currently, in geany there is no single highlighting to be seen on the screen. My system is Ubuntu 13.10, 64 bit. Geany version is 1.23.1. I have installed the geany-plugins. Rust language support was committed about a week ago, you need to build the latest git version or wait for the next release. Cheers Lex Thanks, Roel ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Makefile redirction for Make Command
On 22 January 2014 19:24, Tim Black tbl...@actia.co.uk wrote: Hello In the Manual there is talk of Makefile redirection that is used for “out of tree” compilation. I am using Geany and have recently migrated a project that uses an Automake VPATH build(s) and now my apps will not build without the use of this Makefile redirection. Has anyone got an example of this Makefile redirection. Basically I need to fire off the makefile that now exists in my build tree. I have two versions of build tree that have different targets and use different versions of gcc so it would also be good to pass an argument that would select one of the targets. Geany just runs the commands you tell it to, so if you know the commands to use at the command line, you can just add them to the Geany commands with menu-build-set build commands. One of the filetype independent commands asks for a parameter to be added to the command. This is detailed here http://www.geany.org/manual/current/index.html#build-menu-configuration and here http://wiki.geany.org/howtos/configurebuildmenu Cheers Lex Many Thanks Tim Black Senior Developer Actia UK Ltd Important: This e-mail is intended for the above named only. It may contain private or confidential information, protected by copyright. If this has been received in error, it should be destroyed or the sender notified. It should not be used except by the intended recipient. The views contained in this email are those of the author and not necessarily those of Actia (UK) Ltd. It is for the recipient to undertake any virus checking and no liability therefore is accepted by the sender. Actia (UK) Ltd Registered Office: Unit 81 Mochdre Industrial Estate, Newtown, Powys. SY16 4LE. Company Reg. No: 2910867 ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Makefile redirction for Make Command
On 22 January 2014 23:19, Tim Black tbl...@actia.co.uk wrote: Hi thanks for getting back to me. Maybe I should have been a little more specific in my requirements: My folder structure looks like: /APPS /application1 /src /application2 /src- geany pointing to file here ! See note below Not sure what you mean by pointing to here, do you mean 1) currently editing a file here, 2) Geany was started with here as pwd, 3) the wd of the make command is explicitly pointed here, or something else? In each case 1) your command could be a script that is passed %d as an argument and then extracts the tail and prefixes it with /build1. That is a single script and it doesn't even need to be in the application dir and can be filetype independent and an absolute path. 2) a filetype independent build command runs a script (from the local dir) that knows to run the matching make in /build1/... This needs a script in each application dir. 3) if its explicit, you might as well make it explicit to build1/... dir You should probably also be looking at projects which can also set build commands and be more specific. Personally I would use 2) having a hard wired script in each application dir, its simple, its explicit so the next maintainer can understand it, and it doesn't depend on Geany specifically so you can also run the script from the command line as well. Sure it will take half an hour to set up twenty scripts, but then its done :) Cheers Lex /application3 /src ... 20 or so applications ... /buid1 /application1 /src /application2 /src- I want geany to execute the Makefile here /application3 /src ... 20 or so applications ... If I put a makefile (e.g. Makefile.geany) in /APPS/application2/src that points to the makefile in /build1/application2/src then regardless of which directory the file I am editing is the Make command will pick up the Makefile.geany and build application2. Obviously each Makefile.geany file would need to be customised to execute the correct target. My question is: What would I put in the Makefile.geany to run make in ../../build1/application/src or would a shell script (geany.make) be more sensible that simply executed e.g. pushd ../../build1/application/src; make; popd; Every directory would have the geany.make script so I can simply have to put geany.make in the command settings. Your comments on the best course of action would be appreciated. Thanks again Tim [...] ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Use python virtualenvs in Geany
On 1 February 2014 10:14, Sayth Renshaw flebber.c...@gmail.com wrote: How can i use isolated environments in Geany? Thinking that maybe I should create this as a build command so when it compiles it executes using only virtualenv packages. Any tips on how to get this to happen? If you know how to do this on the command line, do the same with the Geany build commands build-set build commands. If you don't know how to do it on the command line, probably best to ask on the Python list. Cheers Lex Sayth ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Use python virtualenvs in Geany
On 3 February 2014 20:48, Sayth Renshaw flebber.c...@gmail.com wrote: Thanks Enrico that does seem to work on the file I have using bin/python %f and %p as my working directory. I can't however get a working version of a /bin/sh -c %p/bin/activate; python %f style virtualenv command. I have tried many versions but just can't get it working. This one finds activate and the file but fails. Did you actually include the /bin/sh -c as part of the command? Because, as I said before, the whole command is already prefixed by /bin/sh -c inside Geany. So then when you included it in the command it ran the part before the semicolon in a subshell, so the activate just ran in the sub-shell, and the python ran in the top level shell which didn't know any of the activate settings Just run: ./bin/activate; python %f with working dir %p Cheers Lex /bin/sh -c /home/sayth/Projects/Test/bin/activate; python file1.py (in directory: /home/sayth/Projects/Test) Traceback (most recent call last): File file1.py, line 3, in module import django ImportError: No module named django Compilation failed. Sayth On Sun, Feb 2, 2014 at 10:02 PM, Enrico Tröger enrico.troe...@uvena.dewrote: On 02/02/14 01:12, Sayth Renshaw wrote: OK using vanilla virtualenv(no wrapper) and with built in project from geany I have ~/Projects/Test/bin/activate for virtualenv. The project is open and so %p as working directory works perfectly, however it returns error on source /bin/sh:1 :source not found. Updated the command to source bin/activate; python %f as thats the usual command line activation. still same error. I'm afraid I wasn't clear enough about what I meant: Instead of using the 'bin/activate' script at all, just use the Python interpreter in the virtualenv's bin directory as this should know the paths already. Something like this could be your build command: %p/env/bin/python %f (provided that your virtualenv is called 'env' in the project directory) Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Makefile redirction for Make Command
[...] Just one more question though - Eclipse allows you to specify a target for a build e.g. Debug or Release. Is there a way to simulate this in Geany? Can I have a build or build1A target selectable from a menu or something easy to use like that and then pass this as an argument to the build script? One of the filetype independent commands asks for extra text to be appended to the command. Cheers Lex [...] ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] smalsmall Q
On 8 February 2014 11:30, Talking Bird 1402...@gmail.com wrote: Hi guys! Geany my first IDE. Tell my please, how can i choose other colour for this syntax element \n? Thanks for all! The recognition and highlighting of syntax within strings would have to be performed by the Lexer in Scintilla, the editing widget Geany uses. This is a separate project at www.scintilla.org. Cheers Lex English - detected English Russian English Russian ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] List all variables in javascript file ?
On 18 February 2014 08:46, Alain Meunier dec...@hotmail.fr wrote: Hello, Is it possible to list all the vars in a javascript/lua/python app ? The symbols just list the functions. Vars would be cool too.. :) Any hints ? thanks Don't know enough Lua to know if its possible. Others may wish to comment. Because Python does not have declarations the only way of identifying variables is from assign statements, and it depends on the execution paths which is the defining assign for each variable. And where the assign occurs defines if the name is an addition is to a class, an instance or a local variable. This means suggestions such as use the first assign found for a variable or show all assigns for the variable are actually unlikely to be useful in practice. So it is unlikely that this will improve in basic Geany, but plugins that use external support (such as Jedi) may provide more assistance. Contributions of such plugins are welcome. Javascript has many of the same problems as Python (despite having var) so although there has been some progress in this area, it is currently buggy and unknown when it may become available. Contributions are welcome. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] short cut for bépo
On 20 February 2014 11:46, major_ghz major_...@electronique-libre.org wrote: hello, i try to modify short cut for more easy in bepo, but alt commande open menu, or short cut no responding can i désactivate atl menu short cut ? Alt activating a menu is a function of your window manager or the GTK toolkit, it isn't something defined in Geany. The use of alt to show menus or mnemonics is pretty standard, I don't know if the wm or toolkit allow it to be changed. Combinations of alt and another key work (at least on my system, windows and KDE milage may vary :) Cheers Lex why certain short cut no responding ? regard, major. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Changing Colour scheme
On 5 April 2014 20:48, Lex Trotman ele...@gmail.com wrote: [...] [2] http://www.geany.org/Download/Extras A better set of colour schemes for recent versions of Geany are at https://github.com/codebrainz/geany-themes Oops, wrong link, these are under the Geany github organisation at https://github.com/geany/geany-themes Cheers Lex Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Has anyone experienced Build Commands being stuck as defaults???
On 25 April 2014 12:57, Tory Gaurnier tory.gaurn...@linuxmail.org wrote: I did, that's how I changed the name, been using Geany for about 2 years or so, I added QML support (though never got it merged with the main git repo), and I've never had this issue till now, if I open the Build Commands dialog, it shows the name I set, but in the actual menu it shows the default name. Since it doesn't happen here, all I can do is fish around for possible causes. AFAICT both the menu and the dialog use the same code to determine their contents, so its hard to see how a divergence can happen. With no plugins enabled, and no project open, can you possibly put screen captures of the menu and set build commands dialog and the build section(s) of the user configuration file on some pastebin somewhere and post the URLs. Cheers Lex [...] ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Has anyone experienced Build Commands being stuck as defaults???
On 25 April 2014 14:25, Tory Gaurnier tory.gaurn...@linuxmail.org wrote: On 04/24/2014 09:15 PM, Tory Gaurnier wrote: On 04/24/2014 08:53 PM, Lex Trotman wrote: On 25 April 2014 12:57, Tory Gaurnier tory.gaurn...@linuxmail.org wrote: I did, that's how I changed the name, been using Geany for about 2 years or so, I added QML support (though never got it merged with the main git repo), and I've never had this issue till now, if I open the Build Commands dialog, it shows the name I set, but in the actual menu it shows the default name. Since it doesn't happen here, all I can do is fish around for possible causes. AFAICT both the menu and the dialog use the same code to determine their contents, so its hard to see how a divergence can happen. With no plugins enabled, and no project open, can you possibly put screen captures of the menu and set build commands dialog and the build section(s) of the user configuration file on some pastebin somewhere and post the URLs. Cheers Lex [...] ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users Here are some screenshots: https://drive.google.com/file/d/0B61pokflgsLdV1pLZC1tYXZ0N00/edit?usp=sharing https://drive.google.com/file/d/0B61pokflgsLdb0JxR3QwcW13dm8/edit?usp=sharing ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users Well, I have no idea what I changed to fix it, but it's working now, however I do have to close and reopen Geany any time I change a Build Command name (which I'm pretty sure I never had to do before), but that's not too much of a problem since Geany closes and opens so fast. Ahhh, which distro? I vaguely remember a report that the Ubuntu menu hacks cached the menus and they didn't get updated when the application changed them. Which of course is a problem with a dynamic menu like the build menu. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Problem with mouse copy/paste
On 8 May 2014 16:30, Alessandro Pasotti apaso...@gmail.com wrote: 2014-05-08 2:23 GMT+02:00 Lex Trotman ele...@gmail.com: On 7 May 2014 22:36, Alessandro Pasotti apaso...@gmail.com wrote: Hi, I'm not sure it is a geany bug but this is the only GTK application I use and I'm on kubuntu 14.04. The problem seems the same described here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1032119 - Copy-paste with mouse wheel fails + Left-click clears PRIMARY buffer selection (Copy-paste with middle- + button/mouse wheel fails) To reproduce, try the following steps in gedit, geany or jedit (same in old bug-report): 1) Select some text, thus copying it to the primary copy-paste-buffer-thingy. 2) *Left* click somewhere on the document, thus clearing the selection. 3) Click mouse wheel (middle click). Many people brought up on cut/copy to clipboard and paste do not seem to grasp that the selection is a *selection*, it is not copied to a clipboard. The applications that the bug reporters call working are doing the wrong thing and copying the selection to the CLIPBOARD or internally preserving it even after it is unselected. When the middle paste is used it pastes the PRIMARY selection, or if there is no selection pastes clipboard. So the applications doing the wrong thing will paste (either from their own internal copy or from clipboard), but those doing the right thing won't. Cheers Lex Sorry but I don't understand your answer, I try to describe better the steps to reproduce: 1) Select some text by *Left* clicking and move the mouse over the text, then release the *Left* click [1] So some text is selected, usually it is highlighted. It is *not* copied to the clipboard. 2) *Left* click somewhere on the document, usually in the place you want to paste Selection is removed, ***nothing*** is highlighted, ***nothing*** is selected. 3) Click mouse wheel (middle click). 4) nothing is pasted Because nothing is selected, see step 2. This is expected. Cheers Lex is this the expected behavior? (not for me) [1] this is the way I usually select-copy text under X -- Alessandro Pasotti w3: www.itopen.it ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Problem with mouse copy/paste
[...] Funny, it's about 20 years now that I'm using that method to quickly copy-paste under linux using the mouse, just to discover today that it's the wrong one :) Never too late to learn something! BTW it's a pity, because I find it much more quick and intuitive than hitting various keyboard combinations like CTRL+SHIF+C or similar. Just to be sure, I did some quick tests (I'm on Kubuntu 14.04 64bit): Perhaps its a KDE thing. The KDE usability guidelines do not mention how mouse interaction is meant to work (that I can see, correct me if I'm wrong) http://techbase.kde.org/Projects/Usability/HIG#Structure The Gnome HIG however says Your application uses the middle button to paste the current PRIMARY (usually the last-highlighted) selection at the pointer position https://developer.gnome.org/hig-book/stable/input-mouse.html.en So if nothing is highlighted, nothing is selected. This is the behaviour that Gnome applications conform to, eg geany, gedit etc. mouse copy-paste works fine (as I expected) in terminal applications like konsole and xterm and works in mozilla FF and thunderbird. Among IDE's it works fine under kdevelop, netbeans, eclipse kepler. kdevelop is a KDE app, netbeens and eclipse are portable Java apps and conform to the java tool kit, not any desktop convention. Ah, it also works in vim (didn't test emacs though) I'm pretty sure all curses-based apps work. Terminal based apps do that because they cannot locate another position whilst keeping the selection, since they only have one cursor. Graphical UIs have a text cursor and a mouse cursor (pointer) and so can nominate the cursor position without moving the text selection. Are you really sure that all these applications are doing it the wrong way? Yes :) Cheers Lex It seems to me that clearing the selection/buffer when the user start dragging would much better that clearing it on mouse down events. -- Alessandro Pasotti w3: www.itopen.it ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Problem with mouse copy/paste
On 8 May 2014 18:00, Thomas Martitz ku...@rockbox.org wrote: Am 08.05.2014 09:53, schrieb Lex Trotman: Ah, it also works in vim (didn't test emacs though) I'm pretty sure all curses-based apps work. Terminal based apps do that because they cannot locate another position whilst keeping the selection, since they only have one cursor. Graphical UIs have a text cursor and a mouse cursor (pointer) and so can nominate the cursor position without moving the text selection. I think he was referring to the fact that when you select a text in a terminal (regardless of CLI or TUI) without moving the text cursor, and then click in the terminal window (this still doesn't move the text cursor but clears the selection), then the last-selected text is still pasted. This is the case e.g. in the bash prompt of gnome-terminal. Sorry to be unclear, I was referring to the bit about curses based apps. Things like gnome-terminal et al are not curses based but since they have to support curses I would expect that they tend to operate in the same manner. But I havn't really thought about the implications of having to pretend to be a stupid character based display, whilst actually being a fully graphic app. I expect it could be confusing :) Cheers Lex Best regards ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Help by filename
On 12 May 2014 17:30, Slavko Kocjancic esla...@gmail.com wrote: Hello... Is there a way to redirect F1 or perheaps shift F1 to show help by project? I mean if I hit F1 while editing *.py to get python help, if i edit *.asm to get asm help etc... No, F1 by default gives you Geany help. It can be done within Set build Command but I can assign hotkey only for 1'st item in each group but is already taken (and needed) In the manual there are stated: Keyboard shortcuts can be defined for the first two filetype menu items, the first three independent menu items, the first two execute menu items and the fixed menu items. In the keybindings configuration dialog (see Keybinding preferences) these items are identified by the default labels shown in the Build Menu section above. It is currently not possible to bind keyboard shortcuts to more than these menu items. Correct. But I can set keybinding only to 1'st item in each group. How to do with other?!? They are in the menu-edit-prefs-keybindings build section named by the default use of the command. The second filetype specific command is right underneath where you bind the first :) It defaults to f9. Cheers Lex Slavko. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Search in symbolic link files
On 21 May 2014 17:28, Kim Ludvigsen ludv...@kimludvigsen.dk wrote: I have a folder with symbolic links to files in various places. I would like to be able to search in those files. It works fine using: Linux Mint 13 (maya), kernel Linux 3.2.0-23-generic Geany: 0.21 Caja 1.2.1 The search in the folder with symbolic link files does not work using: Linux Mint 14 (nadia), kernel Linux 3.5.0-17-generic Geany 1.22 Caja 1.40 What can I do to make it work at my Linux 14 machine? I am not a technical minded person, I can use the menu Search = Find in Files and enter a search term, I have no idea how to use grep or other nerdy things, thus I am looking for an non-geeky solution, thanks! grep appears to not search links when its in recursive mode. This is the case even if its invoked from the command line. If it is not in recursive mode it does search links. There does not appear to be any solution to this problem, it is inside grep. Cheers Lex -- Kind regards Kim Ludvigsen ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Search in symbolic link files
On 21 May 2014 19:05, Emil Brink e...@obsession.se wrote: Assuming GNU grep, the --dereference-recursive (-R) option makes it follow symlinks when recursing directories. See GNU grep 2.18 manual: http://www.gnu.org/software/grep/manual/grep.html#index-recursive-search-123. Yes, but the grep command generated uses the -r option, so its not possible to use -R. IIRC it was decided to do this to avoid infinite loops from cycles created by links. Also it seems silly that searching the contents of links to files depends on using the recursive option at all. Cheers Lex Regards, /Emil On Wed, May 21, 2014 at 10:10 AM, Lex Trotman ele...@gmail.com wrote: On 21 May 2014 17:28, Kim Ludvigsen ludv...@kimludvigsen.dk wrote: I have a folder with symbolic links to files in various places. I would like to be able to search in those files. It works fine using: Linux Mint 13 (maya), kernel Linux 3.2.0-23-generic Geany: 0.21 Caja 1.2.1 The search in the folder with symbolic link files does not work using: Linux Mint 14 (nadia), kernel Linux 3.5.0-17-generic Geany 1.22 Caja 1.40 What can I do to make it work at my Linux 14 machine? I am not a technical minded person, I can use the menu Search = Find in Files and enter a search term, I have no idea how to use grep or other nerdy things, thus I am looking for an non-geeky solution, thanks! grep appears to not search links when its in recursive mode. This is the case even if its invoked from the command line. If it is not in recursive mode it does search links. There does not appear to be any solution to this problem, it is inside grep. Cheers Lex -- Kind regards Kim Ludvigsen ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] per filetype font
On 15 June 2014 18:14, Johannes Lange johannes.la...@rwth-aachen.de wrote: Hi everyone, I am looking for a way to choose a font per filetype. E.g. I normally use a Monospace font for coding, but if I am writing continuous text like with LaTeX, I'd prefer a proportional one. Now I am using different filetypes in one session and don't want to switch the font manually. Am I right that there is no way achieving this by the normal filetype-settings? Or is there a plugin doing something like this? Unfortunately there is only one font setting for all editor objects. Setting the font is not available in the plugin API so even a plugin can't change it. Also it is set for all windows by Geany, so it would overwrite any plugin setting. Cheers Lex Cheers, Johannes ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] per filetype font
On 15 June 2014 19:01, Johannes Lange johannes.la...@rwth-aachen.de wrote: On Sun 15 Jun 2014 10:54:38 CEST, Lex Trotman ele...@gmail.com wrote: On 15 June 2014 18:14, Johannes Lange johannes.la...@rwth-aachen.de wrote: Hi everyone, I am looking for a way to choose a font per filetype. E.g. I normally use a Monospace font for coding, but if I am writing continuous text like with LaTeX, I'd prefer a proportional one. Now I am using different filetypes in one session and don't want to switch the font manually. Am I right that there is no way achieving this by the normal filetype-settings? Or is there a plugin doing something like this? Unfortunately there is only one font setting for all editor objects. Setting the font is not available in the plugin API so even a plugin can't change it. Also it is set for all windows by Geany, so it would overwrite any plugin setting. Thanks for the quick reply! That's sad, I thought about writing a plugin for that already... Would it be difficult to implement the font settings editor-wise? No, and yes :) The underlying editor widget allows the font to be set per style, not just per window, so the underlying basis is there and is available in the plugin API. But then a method of selecting a font per filetype needs to be added, and how that interacts with the code that sets the font from the GUI menu has to be decided, because at the moment the GUI is likely to overwrite that per filetype choice, but if it doesn't is it going to be confusing if the GUI now doesn't work on some files? etc In other words there is more to it than might first appear. It likely will require changes in core, it cannot be done just from a plugin without Geany possibly overwriting the plugins choice. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] different desktop themes
A quick web search shows that oxygen-gtk causes problems and crashes on lots of other applications. You could try upgrading (or downgrading) oxygen-gtk. Cheers Lex On 18 June 2014 01:23, Kevin McCormick kev4...@fastmail.fm wrote: I just installed geany-1.24.1 on my Slackware 14.1 x86_64 system. I had set my /etc/gtk-2.0/gtkrc file to point to the oxygen-gtk theme. Geany seemed to be using a lot of memory and cpu time, causing my cpu fan to start whirring. Geany was also very slow in the preferences configuration dialog. This had never happened with geany before. I reset the etc/gtk-2.0/gtkrc to point to Clearlooks-Classic and geany quieted down and the preferenced dialog seemed to be normal again. Maybe there is something in the interface handling of themes that needs some attention. Thanks, Kevin ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Syntax, colors, functions
On 25 June 2014 04:19, Péter pete...@mpp.hu wrote: Hi, Is there any way to syntax-colorize member function names, like below the ByteBuffer::put? The function=0x002F30;0xF8;true in ~/.config/geany/filedefs/filetypes.common seems not to be taken into account. (The keyword=.. *is* taken into account. The unsigned char etc. are green.) Hi, Unfortunately colouring is *syntax* highlighting, not semantic highlighting. That means the highlighter can recognise an identifier, but it doesn't know what it means. All it does is compare the identifier to the list and if it exists it colours it keyword not identifier colour. A second keyword list is (ab)used to list typenames identified by the symbol parser allowing them to be coloured differently, but again it can't tell if a name is actually being used as a typename or variable, so you can also get random variable names coloured if they match a typename anywhere, even if its not in scope. Cheers Lex [someting.cpp] #include namespace Xxx { namespace Y { void ByteBuffer::put( long value ) { } void ByteBuffer::put( unsigned char *buffer, unsigned int len ) { } void ByteBuffer::skipNext( ) { } unsigned char ByteBuffer::get( ) { } } } ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] automatically Reload the current file from disk upon external modification?
On 9 July 2014 18:36, Liviu Andronic landronim...@gmail.com wrote: Dear all, Currently Geany will pop-up a dialogue: The file 'gWidgets2-filter.R' on the disk is more recent than the current buffer. Do you want to reload it? when the same file has been modified externally. When working on a file using two different editors at the same time (and saving frequently), the workflow would be nicer if the file were automatically reloaded from disk upon external modification. Tow editors on the same file!! Here lies madness ;) Is there some hidden option that allows to achieve this? No, but if you want to do it manually you can disable checking by setting the timeout in prefs to zero. Cheers Lex Regards, Liviu -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] automatically Reload the current file from disk upon external modification?
On 9 July 2014 20:30, Liviu Andronic landronim...@gmail.com wrote: On Wed, Jul 9, 2014 at 11:28 AM, Lex Trotman ele...@gmail.com wrote: On 9 July 2014 18:36, Liviu Andronic landronim...@gmail.com wrote: Dear all, Currently Geany will pop-up a dialogue: The file 'gWidgets2-filter.R' on the disk is more recent than the current buffer. Do you want to reload it? when the same file has been modified externally. When working on a file using two different editors at the same time (and saving frequently), the workflow would be nicer if the file were automatically reloaded from disk upon external modification. Tow editors on the same file!! Here lies madness ;) Well, maybe, but I take full responsibility for my own stupidity: I just want the workflow to be useful. Here's my personal reason for doing that: http://wiki.geany.org/howtos/using_geany_with_r#combining_geany_with_rstudio . Is there some hidden option that allows to achieve this? No, but if you want to do it manually you can disable checking by setting the timeout in prefs to zero. Is it worth filing a feature request on Github for disabling the confirmation dialogue (via a hidden option)? I quite like the automatic reload, which is very useful, and I wouldn't want to have to do it manually all the time. It never hurts to ask, if you don't ask you don't get :) Cheers Lex Thanks, Liviu Cheers Lex Regards, Liviu -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On 23 July 2014 19:29, Rajib Bandopadhyay bkpsusmi...@gmail.com wrote: *[Attention- some additions]* On 22/07/2014, Rajib Bandopadhyay bkpsusmi...@gmail.com wrote: I use Knoppix 7.2. The version is in Debian archive. Link: https://packages.debian.org/sid/i386/geany-plugin-scope/download Knoppix Synaptic shows this as broken in status window. Thanks for replying. Regards. I deactivated the knoppix repositories, and tried both installing from Debian repository using Synaptic, and also via downloading the packages from Debian repository and installing via gdebi. But the result were the same. I am puzzled by the issue, so I wrote to Geany developers. One suggestion: GeoGebra, of which I am a poster, has a standalone package to be used in Linux, which runs irrespective of any version of Linux you are running. Can Geany developers think similarly? I am not aware if they already have. Maybe they have! Regards Hi, The Geany project does not provide any packages. You should address the questions about package problems to the packagers for the respective distributions. The Geany source code is intended to be portable to any Linux/Windows platform that has the appropriate dependencies. The plugins in Geany Plugins may have stricter requirements, that is up to the individual developer. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] styling of selected text in unfocused window
On 23 July 2014 19:57, paur...@gmail.com paur...@gmail.com wrote: I have set fg and bg colors for text selection in filetypes configuration but these are not applied sometimes after the editor window loses focus, for instance when the search dialog is open or after switching between tabbed documents too for some odd reason can i specify somewhere also a style for unfocused selection? the colors i get now make the text hard to read and clash with the rest of the styling No, because its not indended to change I don't think. Looks like a bug. Can confirm it happens on a default 1.24.1 07:54:44: Geany INFO : Geany 1.24.1 (git = b77e810), en_AU.UTF-8 07:54:44: Geany INFO : GTK 2.24.13, GLib 2.34.1 Perhaps you could raise a bug report. Cheers Lex thanks in advance for any help ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On 23 July 2014 20:13, Rajib Bandopadhyay bkpsusmi...@gmail.com wrote: On 23/07/2014, Lex Trotman ele...@gmail.com wrote: [snipped] ... The Geany project does not provide any packages. You should address the questions about package problems to the packagers for the respective distributions. The Geany source code is intended to be portable to any Linux/Windows platform that has the appropriate dependencies. The plugins in Geany Plugins may have stricter requirements, that is up to the individual developer. ... [snipped] Hello, Lex! I am not very conversant with how software developers of Collaborative Software test their 'source' before posting it for the community. There must be a system of specific configuration where the developers test their codes. Added to this is Geany's USP, ...Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME - Geany only requires the GTK2 runtime libraries... So how to add the said plugin with minimum fuss, and avoid its clash with my system? You can either install from your distro's repositories, with questions to them. Or you can compile from Geany and the plugin from source after installing the appropriate dependencies. Cheers Lex Thanks for replying. Regards ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On 23 July 2014 21:19, Rajib Bandopadhyay bkpsusmi...@gmail.com wrote: [Attn: Lex Trotman - Some additions] On 23/07/2014, Rajib Bandopadhyay bkpsusmi...@gmail.com wrote: Dear Lex, Please peruse the following links and then the attached snapshots: A. http://www.geany.org/Support/Plugins ... The Geany-Plugins project The Geany-Plugins project is a combined release for each matching Geany release, starting with version 0.17. It includes a huge number of plugins for different purposes. Please have a look at http://plugins.geany.org/ for more information. ... B. http://plugins.geany.org/install.html ... Install Geany-Plugins There are different ways to get the Geany-Plugins project onto your system. The easiest is to ask the package manager software of the distribution you are using. ... This approach has led me to a complicated situation. Instead of focussing on the task at hand I am now trying to get Geany fixed. That advice is normally correct, it is usually best to use the package provided by your distribution. It is unfortunate if your distribution has provided a bad package, but the Geany project has no control over that. I again draw your attention to Geany's USP, ...Another goal was to be as independent as possible from a special Desktop Environment like KDE or GNOME - Geany only requires the GTK2 runtime libraries... So how come Geany gets to depend on so many packages and breaks them(snapshots)? ;) The statement you quoted above is correct, Geany only needs the GTK runtimes to run. There is no way Geany can break packages, but your distribution can accidentally provide bad packages at times. That is a concern you need to raise with the distribution to get answers, we cannnot help you with that, we do not make the packages. I hope you would weigh the points I have raised. And your email does not address my other issue: There must be a system of specific configuration where the developers test their codes. Developers test on a number of different systems, with differing configurations, there is no specific configuration used. What is the specific system you all use? Let me know and I will set up the same system to minimise fuss. But first of all, I would compile the software from the source code and try to solve the issues. Let's see how this goes :) Ok, note that to compile the software you will likely need development tools and development versions of GTK, not just the runtimes. Cheers Lex Regards ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] I want to run a c program on Prisoner's Dilemma in Geany but can't
On 24 July 2014 16:08, Rajib Bandopadhyay bkpsusmi...@gmail.com wrote: Dimitar Zhekov dimitar.zhekov@... writes: [snipped] Scope requires Geany, glib/gtk+ and vte. Geany requires glib/gtk+ and suggests vte. These are the libraries required to run, not the tools required to build. NOt only these but intltool as well. Installed intltool This is a build tool. The only inaccuracy in the dependencies that I see is that the required glib/gtk+/vte versions are higher than what we really need, and that applies to both Geany and Scope. But Debian includes all required package versions, so there's absolutely no problem to install Geany or Scope. Why glib is required when gcc (various versions) are already installed in Knoppix? Glib has nothing to do with gcc, its is a library underlying GTK. Glibc is the C runtime library for gcc. There are so many installations required! This uses up my bandwidth. You say Geany requires minimum dependence on the system, but to run the source I find I have to install many packages. As I said building from source requires the tools and development libraries, not just the runtime requirements. Cheers Lex It is getting difficult, you know, with my limited bandwidth. ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Find, regex, spans lines
On 1 August 2014 04:27, Colomban Wendling lists@herbesfolles.org wrote: Le 31/07/2014 19:52, Péter a écrit : When I issue a Find, with regular expression like [^Q]*Q, Geany behaves strangely: the highlight (the string found) spans many lines. The [^Q]* matches as if the lines were joined. (The search is *not* line-based.) Do you experience the same? Yes Why does geany behave like this? For technical reasons, and because although I started some work for line-based RE support, I didn't finish it (yet). If you're interested in the technical reason, it's quite simple: we use a multiline-capable regex engine and we pass it a pointer to the whole buffer instead of feeding it line-by line -- hence allowing it to perform multi-line matches. And thats the right thing to do IM(NS)HO. To make searches anchored to lines you need to explicitly us the anchors ^ and $, and to facilitate this we set MULTILINE mode by default though you can set flags in the regex (?m). Cheers Lex How to alter this behaviour? First, let's see why it doesn't already do what you want: even though the DOTALL option is not enabled (which means . won't match a newline), you can match newlines (e.g. with \n). But as you use a not range (anything but Q), and newline are not part of this range (they admittedly aren't Qs), they get included. So, to work this around, use anything but Q or newline: [^Q\r\n] Regards, Colomban ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Find, regex, spans lines
On 1 August 2014 19:39, Péter pete...@mpp.hu wrote: Colomban Wendling wrote: Do you experience the same? Yes use anything but Q or newline: [^Q\r\n] OK, I accept it. [^Q\n]*Q works. (Finds only inside one line.) We were not sure what you were actually trying to achieve, but if this does it then thats ok. :) Lex Trotman wrote: though you can set flags in the regex (?m). I did not really succeed to use it. (I found the http://www.geany.org/manual/gtk/glib/glib-regex-syntax.html page.) Neither of these worked: (?m)[^Q]*Q (?s)[^Q]*Q (?-m)[^Q]*Q (?-s)[^Q]*Q The above page says: Characters that might indicate line breaks are never treated in any special way when matching character classes, whatever line-ending sequence is in use, and whatever setting of the G_REGEX_DOTALL and G_REGEX_MULTILINE options is used. A class such as [^a] always matches one of these characters. So the [^Q] still matches the newline. Note that unlike some editors, Geany stores the line ends in the buffer like any other character, so it can match like any other character. Hence Colomban's suggestion above to include the newline in the character class you don't want matched. The multiline flag only affects the anchors (^ and $). Cheers Lex -- Péter ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Page-down at start
On 5 August 2014 00:44, Péter pete...@mpp.hu wrote: Matthew Brush wrote: the VTE/terminal still has input focus. I used an external terminal window (xfce4-terminal). (Virtual terminal support is not even loaded.) You can jump to the editor using the Switch to Editor keybinding Yes I know. This key, and the LeftArrow, RightArrow, UpArrow keys moves the focus to the editor window. The users' expectation is that the editor already got the focus (when that file was opened). (Where is the focus, if not on the editor? Why? In my scenario there is no VTE, no messages, no sidebar, no previous open document.) It may be your window manager, for me on Cinnamon, after using a terminal command to open a file in an existing instance the focus is the editor of the newly opened file and typing or commands work immediately. Cheers Lex -- ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Were is Code Folding in Preferences?
edit-preferences-editor-features-code folding Cheers Lex On 16 August 2014 15:37, Lee Gold leeg...@operamail.com wrote: I'm sorry I must be missing it. Geany 1.22 on Debian and I can not find the code folding in the preferences to turn it off. It must be there? Thanks -- http://www.fastmail.fm - Access your email from home and the web ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] beginner
On 3 September 2014 04:44, james bernard seamusbern...@yahoo.co.uk wrote: I am a 61 year old total novice, and I would like to use GEANY as an IDE for the PYTHON programming language. I have a HP laptop with windows 8.1 installed and I have downloaded PYTHON 2.7.8 and GEANY 1.24. when I try to execute some code I have written I get the following error message. Did you save the code to a file with the .py extension before executing it? Cheers Lex 19:41:30: Failed to execute (null) (start-script could not be created: Failed to create file: Permission denied) Can anyone help me get started ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] emmit
On 7 September 2014 07:59, siefke_lis...@web.de siefke_lis...@web.de wrote: Hello, i try to run emmit with geany. I has now update to 1.24.1 for geanypy installation under gentoo. Now i follow the readme from emmit git https://github.com/sagarchalise/geanypy-emmet Did you use the authors personal gtk-3 version of geanypy and presumably that means also the unreleased gtk-3 version of Geany that you compiled from git? Cheers Lex I put the files in geanypy directory but i not sure because it want not work. siefke ~ $ ls .config/geany/plugins/geanypy/plugins/ PyV8.py _PyV8.so geanypy-emmet.py PyV8.pyc editor.js geanypy-emmet.pyc But it work not same like in sublime editor with tab. Has someone installed here this plugin? Thank you for help Regards Silvio ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Problem with gfortran in Geany
On 7 September 2014 12:21, William Waalkes waalk...@umich.edu wrote: 22:20:39: Geany INFO : WIN32: actually running command: cmd.exe /S /C gfortran -c TEST.f90 C:\Users\WILLIA~1\AppData\Local\Temp\tmp_EB6JLX 2C:\Users\WILLIA~1\AppData\Local\Temp\tmp_Z46JLX If there is no output in the compile window then you could check the temp files to see if they still exist and contain something useful. Also if you run Geany from the command line their may be some error messages. It is hard to give any ideas without some indication what went wrong. Note: the spawning of commands on windows currently uses the system() command so the use of quotes in the command varies between versions of windows. You might try searching the mailing list/bug reports to find suggestions about adding extra/removing quotes that various people have found to work. Cheers Lex On Sat, Sep 6, 2014 at 10:19 PM, Lex Trotman ele...@gmail.com wrote: On 7 September 2014 11:32, William Waalkes waalk...@umich.edu wrote: Hello, I am trying to use geany on my windows 7 os to code in fortran and I have installed gfortran correctly (confirmed by compiling on the command line). In geany however, when I try to compile a code, geany cannot find the gfortran compiler. I have already added the location of gfortran to the path list in my computer - advanced - environmental settings - path. Please provide the actual error message from help-debug messages Cheers Lex Thank you. Will ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users -- William Waalkes University of Michigan, College of Literature, Science, and the Arts Undergraduate, Class of 2016 Physics Dept, Astronomy Astrophysics Dept 616.516.9536 waalk...@umich.edu ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Feature request: Open all (after Find in files)
On 12 September 2014 21:23, Nick Treleaven nick.trelea...@btinternet.com wrote: On 12/09/2014 09:38, Matthew Brush wrote: At least for my use, I actually want the files all open in Geany, then maybe I'll do individual replace-in-file for each file or other edits on each file that contains matches. Just modifying some unknown group of potentially open or closed files en masse without any control or seeing the results wouldn't be very useful for the mentioned use-case, especially where the step #3 isn't a replace-in-session operation. Me too, for the same reason. From a terminal I use: grep blah -l |xargs geany -i Neat trick, I'll use that :) but it would be much nicer to use Find in Files then e.g. right click the Messages pane and choose Open All. Agree the right click menu is the right place, my concern was having a menu item that only applied when the message window was visible with suitable contents. Could also apply to any message window contents that recognise filenames not just FIF results. As I said above if its automated it doesn't matter if the file occurs several times since the open code already has the checks to prevent opening multiple times. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] geany does (no longer) start
On 30 September 2014 11:19, Matthew Brush mbr...@codebrainz.ca wrote: On 14-09-29 07:04 AM, Andreas Tscharner wrote: Hello World, On an up-to-date Debian unstable, geany does no longer start, I get the following message instead: Attempt to unlock mutex that was not locked Does anyone know what this means? I have already filed a bug in the Debian BTS, but I am sure the Debian maintainer of geany is happy if I can provide a little bit more information. Most useful is a GDB backtrace as explained on this page: http://www.geany.org/Support/Bugs Since it's probably a bug in GLib/GIO/GTK+ Yes agree, the word mutex does not appear in Geany Linux code. Looks like glib's new tests caught itself or another one of the other libraries abusing mutexen. Thats what the tests are there for :) Cheers Lex (Geany doesn't use much threads itself, if any), it would also be helpful to have debugging symbols installed (packages with -dbg at the end) for those libraries before getting the backtrace. The message you gave might just be a warning and unrelated to the real problem, so seeing where in the code it's crashing would be super useful. Cheers, Matthew Brush ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Bug? Detecting indent width from content.
On 23 September 2014 00:46, Péter pete...@mpp.hu wrote: Hi! Here is my small sample file (indent unit is 4 spaces): -- -- -- -- $ cat indent_width.cpp // Indent width, detect from content: 8 (wrong). Delete any line. Indent width, detect from content: 4 (good). namespace S { int z () { int i = 0; char c = 2; double d = 2.4; d *= c; return d + i; } } -- -- -- -- In Geany, the default indent at me is 4 spaces. Open the indent_width.cpp in Geany, issue an Indent Width / Detect from Content command. The indent is now (erroneously) 8 spaces! Now try deleting a line (for example the double d = 2.4;). Repeat the autodetection: Indent Width / Detect from Content. The indent is now (correctly) 4 spaces. Hi, Well, the detection is a heuristic that applies some weightings to higher indents, so deleting a higher indent line can potentially change the results of the heuristic as you have demonstrated. I don't know where the heuristic came from, but since there are not lots of complaints similar to this, it would need lots of evidence to persuade a change. Geany's version is: 1.23.1 (current distributed (repository-ed) version). I *hope* you meant 1.24.1 (which is the current release) or you should poke your distro. Cheers Lex -- Péter ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Remembering fold status
On 6 November 2014 08:16, Stephen Schaefer stephen.schae...@rfmd.com wrote: I’m experiencing the same lack of remembered fold status described in this thread: http://lists.geany.org/pipermail/users/2012-September/008237.html Was there ever a resolution to that problem? I don't think so because the problem didn't appear for any of the devs. Cheers Lex My settings.conf file is identical to that of the one presented in the last post of that thread, but no [FileData] section ever appeared. I tried editing in an empty one, to no effect. Thanks in advance, - Stephen ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Command chaining
On 5 December 2014 at 11:18, Francois Tonneau francois.tonn...@gmail.com wrote: Hello-- I have a minor technical question about custom build-menu commands and the context-action command for a specific file type. I have noticed that build-menu commands accept command chaining such as: command_1 command_2 command_3 whereas chaining does not seem to work when specifying a context-action command. The only workaround I found in the latter case was to call the shell with the -c string option: sh -c 'command_1 command_2 command_3' which effectively converts the chain of commands into a single one. The command chaining is preformed by the shell. The difference is because the build commands are run in a shell (on Linux) whilst the context action commands are not run in a shell. As you found you can can manually run the shell for the context action commands. Cheers Lex I hope this makes sense -- or am I missing something about Geany? Thanks for your feedback, Francois Tonneau ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Jump to start/end of visual line
On 24 December 2014 at 02:53, sende.mir.p...@gmx.de wrote: Just found out that Alt + End and Alt + Home do what I want. However, I want to swap those key bindings with End and Home. There is an option to swap Alt + End with End, but there is no key binding for Alt + Home in my configuration dialog. There's only Home. :( In the dialog at menu-edit-preferences-keybindings what is the binding next to Goto start of line and Goto start of display line ? @Developers: Could you add Alt + Home, so I can re-bind it? It should be usable, you said above that it does what you want? And unfortunately, in German translation the name of the key bindings Alt + End and End is exactly the same, though these are two different options. Don't understand, where are you talking about? Regards, Bernd Gesendet: Dienstag, 23. Dezember 2014 um 17:42 Uhr Von: sende.mir.p...@gmx.de An: users@lists.geany.org Betreff: [Geany-Users] Jump to start/end of visual line Hello, There is one thing that has botheres me about Geany for quite some time: How can I make Geany jump to the start/end of a VISUAL line? Lets say I have a very long line of text. I'll enable the visual line break feature, so I can still see the entire text on the screen, though make it break into multiple visual lines. Now, I'd like to hit [Home] or [End] to jump to the beginning/end of the CURRENT visual line. However, Geany will make the cursor jump to the start/end of the actual line (not the visible one). Is there anything I can to about that, in terms of configuration? Kind regards Bernd ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Syntax support for Lisp, Scheme files
On 18 January 2015 at 14:44, Matthew Brush mbr...@codebrainz.ca wrote: On 15-01-17 01:04 PM, Ongun Arısev wrote: Greetings, Is there any plugin or configuration file out there that expands Geany's abilities of syntax coloring, comment toggling into Lisp, Scheme or other languages? Where can I find and install them on Ubuntu 14.04.1 64-bit? It already supports syntax highlighting for lisps, as much as they have syntax, anyway. Yeah, not much gets highlighted What specifically are you wanting that it doesn't have? (What is comment toggling?) If by comment toggling its meant menu-edit-format-(comment lines | uncomment lines | toggle line commentation(yuck!)) it works for me for lisp filetypes. Cheers Lex Cheers, Matthew Brush ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Syntax support for Lisp, Scheme files
On 18 January 2015 at 20:06, Ongun Arısev ongunari...@gmail.com wrote: Actually I am using - I think correct me if I am wrong- a dialect of Scheme called Libctl for scientific purposes in a program called MEEP. I think its syntax is similar to Scheme although I have not used Scheme before and by comment toggling I mean that commenting in/out with a keyboard shortcut as in other source files by prepending the text with a semicolon. menu-edit-format-toggle line commentation does that. Scheme is a dialect of lisp, so syntax is mostly the same. Cheers Lex Ongun Arısev On Sun, Jan 18, 2015 at 9:32 AM, Lex Trotman ele...@gmail.com wrote: On 18 January 2015 at 14:44, Matthew Brush mbr...@codebrainz.ca wrote: On 15-01-17 01:04 PM, Ongun Arısev wrote: Greetings, Is there any plugin or configuration file out there that expands Geany's abilities of syntax coloring, comment toggling into Lisp, Scheme or other languages? Where can I find and install them on Ubuntu 14.04.1 64-bit? It already supports syntax highlighting for lisps, as much as they have syntax, anyway. Yeah, not much gets highlighted What specifically are you wanting that it doesn't have? (What is comment toggling?) If by comment toggling its meant menu-edit-format-(comment lines | uncomment lines | toggle line commentation(yuck!)) it works for me for lisp filetypes. Cheers Lex Cheers, Matthew Brush ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] [ANN] GProject plugin renamed to ProjectOrganizer + new features
[...] Subannouncement: I have also created a new GeanyCtags plugin - it uses ctags to parse a project once and again offers goto tag definition/declaration similarly to ProjectOrganizer. It is meant to be used for really huge projects where the parsing speed of PorjectOrganizer is too slow to perform on every project load. Basically if you are using an SSD disk, you won't need this plugin (parsing the linux kernel with 3 files takes something like 20s) but may be useful with rotational HDDs (it takes over 5 minutes for the linux kernel to parse). And you probably would benefit from it even more if your project is stored on a network share. Cheers Lex Cheers, Jiri ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] Can Geany be configured (plugin?) to only Complete Words from a given file?
On 6 January 2015 at 13:24, Chris Simon xtiansi...@hotmail.com wrote: Colomban, Thanks for the link. That's _almost exactly_ what I wanted. I tested using PHP file type. The only problem is I'm getting suggestions from the entire PHP tag space. I see this is default Geany behavior. Thats because you luckily picked a language that has a system supplied tags file as well :) Just pick a different language, tags are supplied for c99, html, pascal, php, and python. Cheers Lex Can I make up my own filetype? Or is the best I can do just pick something that doesn't clash with the programming languages I am using, and with the auto-loading tags? Chris ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Re: [Geany-Users] debugging while interacting with program
Have you looked at the debugger plugin? Cheers Lex On 14 February 2015 at 06:34, Richard Mindorff rmindor...@cogeco.ca wrote: When using the komodo ide for php I could interact with my program, putting in data and using checkboxes and other HTML controls while debugging the code in the IDE. I would like to do the same thing for a C project. Geany uses GTK+ which has controls. Can I interact in some terminal while debugging in the geany ide? Can I use other libraries like allegro to get controls that I can interact with? Thanks, rm_ ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
[Geany-Users] Communication reminder
Reminder to all those who are discussing changes that affect others, like APIs or UIs. Please discuss the changes on the ML not exclusively on IRC, not everyone monitors IRC, and time zone issues mean not everyone is able to contribute. Do not discuss it on IRC and then dump it on the ML as a decided thing. Yes the ML slows down the communication process, but then that's probably a good thing anyway. Deciding the first thing someone thinks of is not always the best thing. Cheers Lex ___ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users