FvwmM4: predefined macro "DISPLAY"
Imho, it would be plausible and useful to have the X display available as a predefined macro in FvwmM4. Plus: the patch is really short ;-) Regards, Peter Daum --- FvwmM4.c.org2006-07-23 11:33:57.0 +0200 +++ FvwmM4.c2006-07-23 11:32:07.0 +0200 @@ -373,6 +373,7 @@ hostname = gethostbyname(client); strcpy(server, XDisplayName(host)); + fputs(MkDef("DISPLAY", server), tmpf); colon = strchr(server, ':'); if (colon != NULL) *colon = '\0'; if ((server[0] == '\0') || (!strcmp(server, "unix")))
Re: Man page changes - negation method
On 7/24/06, Thomas Adam <[EMAIL PROTECTED]> wrote: On 24/07/06, Jacob Bachmeyer <[EMAIL PROTECTED]> wrote: > seventh guardian wrote: > > On 7/23/06, Jacob Bachmeyer <[EMAIL PROTECTED]> wrote: > >> seventh guardian wrote: > >> > Ok, what about this: > >> > > >> > Some options are now deactivated by prefixing ! to the option. This > >> > will eventually be the default, and the old negative options are > >> > now deprecated. > >> > This is a list of MenuStyle deprecated negative options: > >> > AutomaticHotkeysOff, HilightBackOff, TitleWarpOff > >> > > >> > > >> > It's a bit more conservative, yet should still be useful :) > >> > > >> > Cheers > >> > Renato > >> > >> "the default" in that could be confusing to new users, how about "the > >> preferred form"? > >> > >> ("default" could be taken as all options will be default off.) > > > > You're right. But it will not be the preferred method, it will be the > > only method (hence the other methods being deprecated). Can you find > > me a word for "the only method" that fits here? :) > > > > Cheers > > Renato > > > >> This would be: > >> > >> Some options are now deactivated by prefixing ! to the option. This > >> will eventually be the preferred form, and the old negative forms are > >> now deprecated. > > > Ok, how about: > > Some options are now deactivated by prefixing ! to the option. This I wouldn't use that word. This seems to be becoming more complex when it's actually very simple. Rewording the sentence above, and adding what you have below should be sufficient. I would simply reword that sentence as: Some options can now be negated by prefixing ``!'' to the option. Sounds good. > will soon be the preferred form for all such options. Any negatable > option for which ! does not work should be reported as a bug. The other ^^^ This is unnecessary, at least for now, as we should know what doesn't work. Besides, it is obvious that things that _are_documented_ and don't work as documented should be reported as bugs. > negative forms are now deprecated and will be removed in FVWM X.Y. ^^ In here I would prefer "the future". Because we don't really know when it will be removed. I would prefer it being removed previous to the 2.6 release, as we are growing to have more compatibility options than real options :P . But I bet thats not the opinion of most of us, so.. Future it should be :) Does everybody agree with something like this: Some options are now negated by prefixing ! to the option. This will soon be the preferred form for all such options. The other negative forms are now deprecated and will be removed in the future. Cheers Renato -- Thomas Adam
Re: Man page changes - negation method
On 24/07/06, Jacob Bachmeyer <[EMAIL PROTECTED]> wrote: seventh guardian wrote: > On 7/23/06, Jacob Bachmeyer <[EMAIL PROTECTED]> wrote: >> seventh guardian wrote: >> > Ok, what about this: >> > >> > Some options are now deactivated by prefixing ! to the option. This >> > will eventually be the default, and the old negative options are >> > now deprecated. >> > This is a list of MenuStyle deprecated negative options: >> > AutomaticHotkeysOff, HilightBackOff, TitleWarpOff >> > >> > >> > It's a bit more conservative, yet should still be useful :) >> > >> > Cheers >> > Renato >> >> "the default" in that could be confusing to new users, how about "the >> preferred form"? >> >> ("default" could be taken as all options will be default off.) > > You're right. But it will not be the preferred method, it will be the > only method (hence the other methods being deprecated). Can you find > me a word for "the only method" that fits here? :) > > Cheers > Renato > >> This would be: >> >> Some options are now deactivated by prefixing ! to the option. This >> will eventually be the preferred form, and the old negative forms are >> now deprecated. Ok, how about: Some options are now deactivated by prefixing ! to the option. This I wouldn't use that word. This seems to be becoming more complex when it's actually very simple. Rewording the sentence above, and adding what you have below should be sufficient. I would simply reword that sentence as: Some options can now be negated by prefixing ``!'' to the option. will soon be the preferred form for all such options. Any negatable option for which ! does not work should be reported as a bug. The other negative forms are now deprecated and will be removed in FVWM X.Y. -- Thomas Adam
FvwmM4: predefined macro "DISPLAY"
Imho, it would be plausible and useful to have the X display available as a predefined macro in FvwmM4. Plus: the patch is really short ;-) Regards, Peter Daum --- FvwmM4.c.org2006-07-23 11:33:57.0 +0200 +++ FvwmM4.c2006-07-23 11:32:07.0 +0200 @@ -373,6 +373,7 @@ hostname = gethostbyname(client); strcpy(server, XDisplayName(host)); + fputs(MkDef("DISPLAY", server), tmpf); colon = strchr(server, ':'); if (colon != NULL) *colon = '\0'; if ((server[0] == '\0') || (!strcmp(server, "unix")))