Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-23 Thread Colomban Wendling
Le 24/04/2011 02:32, Thomas Martitz a écrit : > Am 23.04.2011 22:37, schrieb Liviu Andronic: >> Right, distclean! I only fancied make clean. Now it worked. >> >> The {datetime}& {date} templates seem to be updated, as expected, >> upon inserting. Thanks! >> Liviu >> > > That "make clean" worked w

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-23 Thread Thomas Martitz
Am 23.04.2011 22:37, schrieb Liviu Andronic: Right, distclean! I only fancied make clean. Now it worked. The {datetime}& {date} templates seem to be updated, as expected, upon inserting. Thanks! Liviu That "make clean" worked was would have been my expecation too. Is something wrong with th

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-23 Thread Liviu Andronic
On Sat, Apr 23, 2011 at 10:21 PM, Colomban Wendling wrote: > I guess you've not build Geany since a while, right? > Yup. > Just regenerate the > whole build system, there is a known problem since the big change in the > Scintilla directory tree. You just need to: > >  make distclean && ./autogen.

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-23 Thread Colomban Wendling
Le 23/04/2011 20:25, Liviu Andronic a écrit : > On Sat, Apr 23, 2011 at 2:19 PM, Nick Treleaven > wrote: >> On Thu, 14 Apr 2011 15:27:44 +0200 >> Liviu Andronic wrote: >> >>> [...] >> Should be fixed now in SVN, thanks. >> > Cool! Thanks. > > I tried to compile r5734 but I hit a bump: > [...] I

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-23 Thread Liviu Andronic
On Sat, Apr 23, 2011 at 2:19 PM, Nick Treleaven wrote: > On Thu, 14 Apr 2011 15:27:44 +0200 > Liviu Andronic wrote: > >> The {datetime} & {date} templates are updated only after reloading the >> config. To reproduce insert {datetime} in >> ~/.config/geany/templates/changelog, reload the config an

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-23 Thread Nick Treleaven
On Thu, 14 Apr 2011 15:27:44 +0200 Liviu Andronic wrote: > The {datetime} & {date} templates are updated only after reloading the > config. To reproduce insert {datetime} in > ~/.config/geany/templates/changelog, reload the config and then in a > blank document do c-menu > insert > changelog. Wai

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-17 Thread Lex Trotman
U, I have just realised I have misunderstood Franks comment, since I was mostly thinking about file templates and he was talking about insertions, so I'll change my answer. I agree that substitution should happen when the template is put in the buffer not when Geany is started, for both types.

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-17 Thread Lex Trotman
On 17 April 2011 20:55, Liviu Andronic wrote: > Hello > I'm not sure I follow. > > > On Sun, Apr 17, 2011 at 12:40 PM, Lex Trotman wrote: >> On 17 April 2011 20:37, Liviu Andronic wrote: >>> On Fri, Apr 15, 2011 at 6:35 PM, Frank Lanitz wrote: What about moving this to request time? So not

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-17 Thread Liviu Andronic
Hello I'm not sure I follow. On Sun, Apr 17, 2011 at 12:40 PM, Lex Trotman wrote: > On 17 April 2011 20:37, Liviu Andronic wrote: >> On Fri, Apr 15, 2011 at 6:35 PM, Frank Lanitz wrote: >>> What about moving this to request time? So not parsing at startup but >>> parsing it when requested by u

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-17 Thread Lex Trotman
On 17 April 2011 20:37, Liviu Andronic wrote: > On Fri, Apr 15, 2011 at 6:35 PM, Frank Lanitz wrote: >> What about moving this to request time? So not parsing at startup but >> parsing it when requested by user to insert? >> > Yes! This would definitely be much better. Of course, if easy enough >

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-17 Thread Liviu Andronic
On Fri, Apr 15, 2011 at 6:35 PM, Frank Lanitz wrote: > What about moving this to request time? So not parsing at startup but > parsing it when requested by user to insert? > Yes! This would definitely be much better. Of course, if easy enough to implement. Liviu ___

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-17 Thread Frank Lanitz
On Fri, 15 Apr 2011 22:57:00 +1000 Lex Trotman wrote: > On 15 April 2011 21:51, Randy Kramer wrote: > > On Thursday 14 April 2011 08:02:17 pm Lex Trotman wrote: > >> Yes the {datetime} and {date} are substituted when the templates are > >> initialised, usually when Geany is opened.  As you say t

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-15 Thread Randy Kramer
On Friday 15 April 2011 08:57:00 am Lex Trotman wrote: > Apologies if it was unclear, but after the {date} or {datetime} > marker is *replaced* by the date/time the first time it no longer > exists so no further updates occur. Lex, Thanks! No problem, it sounds like what I (vaguely) remember fro

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-15 Thread Lex Trotman
On 15 April 2011 21:51, Randy Kramer wrote: > On Thursday 14 April 2011 08:02:17 pm Lex Trotman wrote: >> Yes the {datetime} and {date} are substituted when the templates are >> initialised, usually when Geany is opened.  As you say this may not >> be very useful. >> >> This can be changed just by

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-15 Thread Randy Kramer
On Thursday 14 April 2011 08:02:17 pm Lex Trotman wrote: > Yes the {datetime} and {date} are substituted when the templates are > initialised, usually when Geany is opened. As you say this may not > be very useful. > > This can be changed just by moving the call to > templates_replace_default_date

Re: [Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-14 Thread Lex Trotman
On 14 April 2011 23:27, Liviu Andronic wrote: > Dear devels > The {datetime} & {date} templates are updated only after reloading the > config. To reproduce insert {datetime} in > ~/.config/geany/templates/changelog, reload the config and then in a > blank document do c-menu > insert > changelog. W

[Geany-devel] {datetime} & {date} are updated only after config reload

2011-04-14 Thread Liviu Andronic
Dear devels The {datetime} & {date} templates are updated only after reloading the config. To reproduce insert {datetime} in ~/.config/geany/templates/changelog, reload the config and then in a blank document do c-menu > insert > changelog. Wait a minute (or an hour, or a day) and insert again the