From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.6) Gecko/20070926 Epiphany/2.20 Firefox/2.0.0.6 Description of problem: When writing %{_lib Eclipse suggests on Ctrl-<space> completion of %_libdir (note missing curly braces). Please, don't do that, the completion should be %{_libdir} (for example), because it apparently means something else than %_libdir. Version-Release number of selected component (if applicable): eclipse-rpm-editor-0.1.0-8.fc8 How reproducible: Always Steps to Reproduce: 1. write %{_lib 2. press Ctrl-SPACE Actual Results: %_libdir is suggested Expected Results: %{_libdir} should be suggested (note BOTH curly braces are suggested) Additional info:
Hi Matej, In this case the specfile editor suggest you %_libdir but when you press enter the braces are added automatically. Do you prefer to type %_li Ctrl-Space and have the possibility to configure that the braces are not added automatically?
(In reply to comment #1) > In this case the specfile editor suggest you %_libdir but when you press enter > the braces are added automatically. I cannot confirm this. See the following two screenshots before and after Ctrl-Space<Enter> -- I begin with %{_lib and ended with %libdir.
Created attachment 225321 [details] before
Created attachment 225331 [details] after
That's a bug, I will take a look on that this weekend. Thanks for the feedback
Ok, I had accidentally add code that make the macro completion sucking. Fixed in 0.1.0-10.