Hi,
is this feature actually working for anyone?
I'm on arch linux and both tried the latest packages of geany and geany-plugins providing 1.22 as well as the git variants which currently provide
geany --version
geany 1.23 (git >= 66b93d2) (built on Sep 2 2012 with GTK 2.24.11, GLib 2.32.4)
. So far, no real cpp file nor a simple testing file managed to retain their folding status.
Any hints are welcome, thanks! -Paul
PS: this is the test file i used:
{
test
}
/* * * test * */
test
On 2 September 2012 23:15, daspostloch daspostloch@googlemail.com wrote:
Hi,
is this feature actually working for anyone?
I'm on arch linux and both tried the latest packages of geany and geany-plugins providing 1.22 as well as the git variants which currently provide
geany --version
geany 1.23 (git >= 66b93d2) (built on Sep 2 2012 with GTK 2.24.11, GLib 2.32.4)
Your test file works for me, are you sure you turned the plugin on?
Cheers Lex
. So far, no real cpp file nor a simple testing file managed to retain their folding status.
Any hints are welcome, thanks! -Paul
PS: this is the test file i used:
{
test
}
/*
- test
*/
test _______________________________________________ Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Hi Lex,
thanks for the reply
Hi,
is this feature actually working for anyone?
I'm on arch linux and both tried the latest packages of geany and geany-plugins providing 1.22 as well as the git variants which currently provide
geany --version
geany 1.23 (git >= 66b93d2) (built on Sep 2 2012 with GTK 2.24.11,
GLib
2.32.4)
Your test file works for me, are you sure you turned the plugin on?
Yes, I'm absolutetly positive - turning it on and trying directly, restarting geany, rebooting, re-installing, recompiling, nothing helps. Because I can set and then go to the numbered bookmarks, I am quite certain that I have the plugin turned on. Is there any way to further debug this? I also noted however, that neither the numbered nor regular bookmarks are remembered between sessions, neither. So it probably is a general problem saving this plugin's settings. This is my ~/.config/geany/plugins/Geany_Numbered_Bookmarks/settings.conf :
[Settings] Center_When_Goto_Bookmark=true Remember_Folds=true Position_In_Line=0 Where_To_Save_File_Details=0 Remember_Bookmarks=true File_Details_Suffix=.gnbs.conf
Motivated from here http://geany-plugins.sourceforge.net/geanynumberedbookmarks.html , I then tried to track down the file where the settings are supposed to be saved, but I never found anything, neither when saving the file details to the geany plugin config folder nor when saving to the same directory as the file.
This is my ~/.config/geany file tree:
ls -aR
.: . c99.tags filedefs geany.conf geany_socket_hostname__0 html_entities.tags pascal.tags plugins snippets.conf templates .. colorschemes filetype_extensions.conf geany.glade GPL-2 keybindings.conf php.tags python.tags tags ui_toolbar.xml
./colorschemes: . .. alt.conf
./filedefs: . .. filetypes.c filetypes.cmake filetypes.common filetypes.cpp filetypes.latex filetypes.README
./plugins: . .. addons geanyLaTeX Geany_Numbered_Bookmarks spellcheck
./plugins/addons: . .. addons.conf
./plugins/geanyLaTeX: . .. general.conf
./plugins/Geany_Numbered_Bookmarks: . .. settings.conf
./plugins/spellcheck: . .. spellcheck.conf
./tags: . ..
./templates: . .. bsd changelog fileheader files function gpl templates.README
./templates/files: . .. file.html file.php file.rb file.tex main.c main.cxx main.d main.java main.py main.vala program.pas
Note that I set some numbered bookmarks on files within this tree, so the state saving files should show up in the tree regardless of the save location option settings.
As an additional oddity, the markers from the plugin do not honor any of the marker_* colors i set in filetypes.common .
Happy to try whatever debugging method you guys suggest.
Thanks again, Paul
Cheers Lex
. So far, no real cpp file nor a simple testing file managed to retain their folding status.
Any hints are welcome, thanks! -Paul
PS: this is the test file i used:
{
test
}
/*
- test
*/
test
On 12-09-03 05:33 AM, daspostloch wrote:
[...]
Yes, I'm absolutetly positive - turning it on and trying directly, restarting geany, rebooting, re-installing, recompiling, nothing helps. Because I can set and then go to the numbered bookmarks, I am quite certain that I have the plugin turned on. Is there any way to further debug this? I also noted however, that neither the numbered nor regular bookmarks are remembered between sessions, neither. So it
AFAIK, Geany's regular markers' (plus symbol, arrow, etc.) line numbers aren't saved to disk/restored.
probably is a general problem saving this plugin's settings. This is my ~/.config/geany/plugins/Geany_Numbered_Bookmarks/settings.conf :
[Settings] Center_When_Goto_Bookmark=true Remember_Folds=true Position_In_Line=0 Where_To_Save_File_Details=0
Did you try to flip this to 1? Based on the source code it looks like 0 means to store settings in the main configuration file (this one), and 1 means to put settings in a file with the same name as the document and an ".gnbs.conf" extension in the same directory as the document in question.
Remember_Bookmarks=true File_Details_Suffix=.gnbs.conf
[...] As an additional oddity, the markers from the plugin do not honor any of the marker_* colors i set in filetypes.common .
I don't think Geany or Scintilla will style these markers, they are custom XPM images embedded in the source code and probably Scintilla is not brave enough to try and parse the XPM data and attempt to know how to colourise the images.
Cheers, Matthew Brush
On 4 September 2012 05:56, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-03 05:33 AM, daspostloch wrote:
[...]
Yes, I'm absolutetly positive - turning it on and trying directly, restarting geany, rebooting, re-installing, recompiling, nothing helps. Because I can set and then go to the numbered bookmarks, I am quite certain that I have the plugin turned on. Is there any way to further debug this? I also noted however, that neither the numbered nor regular bookmarks are remembered between sessions, neither. So it
AFAIK, Geany's regular markers' (plus symbol, arrow, etc.) line numbers aren't saved to disk/restored.
probably is a general problem saving this plugin's settings. This is my ~/.config/geany/plugins/Geany_Numbered_Bookmarks/settings.conf :
[Settings] Center_When_Goto_Bookmark=true Remember_Folds=true Position_In_Line=0 Where_To_Save_File_Details=0
Did you try to flip this to 1? Based on the source code it looks like 0 means to store settings in the main configuration file (this one), and 1 means to put settings in a file with the same name as the document and an ".gnbs.conf" extension in the same directory as the document in question.
Remember_Bookmarks=true File_Details_Suffix=.gnbs.con
This is mine:
[Settings] Center_When_Goto_Bookmark=true Remember_Folds=true Position_In_Line=0 Where_To_Save_File_Details=0 Remember_Bookmarks=true File_Details_Suffix=.gnbs.conf
[FileData] A0=/home/lex/tests/untitled.c B0=C C0=1346627477 A1=/home/lex/tests/untitled.cpp B1=C C1=1346627549
Mine is bigger than yours :)
And this bit above is where the folds are stored (the B keys). All I did was turn the plugin on and it worked, so what might be different about your setup?
This is a fairly current git.
Cheers Lex
[...]
As an additional oddity, the markers from the plugin do not honor any of the marker_* colors i set in filetypes.common .
I don't think Geany or Scintilla will style these markers, they are custom XPM images embedded in the source code and probably Scintilla is not brave enough to try and parse the XPM data and attempt to know how to colourise the images.
Cheers, Matthew Brush
Geany mailing list Geany@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Am 04.09.2012 00:59, schrieb Lex Trotman:
On 4 September 2012 05:56, Matthew Brush mbrush@codebrainz.ca wrote:
On 12-09-03 05:33 AM, daspostloch wrote:
[...]
Yes, I'm absolutetly positive - turning it on and trying directly, restarting geany, rebooting, re-installing, recompiling, nothing helps. Because I can set and then go to the numbered bookmarks, I am quite certain that I have the plugin turned on. Is there any way to further debug this? I also noted however, that neither the numbered nor regular bookmarks are remembered between sessions, neither. So it
AFAIK, Geany's regular markers' (plus symbol, arrow, etc.) line numbers aren't saved to disk/restored.
probably is a general problem saving this plugin's settings. This is my ~/.config/geany/plugins/Geany_Numbered_Bookmarks/settings.conf :
[Settings] Center_When_Goto_Bookmark=true Remember_Folds=true Position_In_Line=0 Where_To_Save_File_Details=0
Did you try to flip this to 1? Based on the source code it looks like 0 means to store settings in the main configuration file (this one), and 1 means to put settings in a file with the same name as the document and an ".gnbs.conf" extension in the same directory as the document in question.
Remember_Bookmarks=true File_Details_Suffix=.gnbs.con
This is mine:
[Settings] Center_When_Goto_Bookmark=true Remember_Folds=true Position_In_Line=0 Where_To_Save_File_Details=0 Remember_Bookmarks=true File_Details_Suffix=.gnbs.conf
[FileData] A0=/home/lex/tests/untitled.c B0=C C0=1346627477 A1=/home/lex/tests/untitled.cpp B1=C C1=1346627549
Mine is bigger than yours :)
And this bit above is where the folds are stored (the B keys). All I did was turn the plugin on and it worked, so what might be different about your setup?
This is a fairly current git.
I had some maybe similar issues with the plugin in past, so i decided to don't use it anymore. Unfortunately the current felt maintenance on it is low.
Cheers, Frank