Thread View: news.software.readers
25 messages
25 total messages
Started by tlvp
Mon, 23 Jan 2012 22:12
Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Mon, 23 Jan 2012 22:12
Date: Mon, 23 Jan 2012 22:12
15 lines
1796 bytes
1796 bytes
Posters who include valid X-Face: data in their message headers expect readers to be able to see their intended b/w 48x48 image whenever their news client is displaying expanded headers. But it has come to my attention that my particular installation of Dialog, v. 2.0.15.41, displays precisely the photo-negative of what other news clients display, or of what the X-Face designer may have intended. Perhaps there is a Dialog setting I have overlooked that permits toggling of dia-positive or photo-negative display of X-Faces? Or is that setting "baked in" to Dialog, and just ... umm ... wrong? Is .84 any better there? TIA; and cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: Ted S.
Date: Mon, 23 Jan 2012 22:15
Date: Mon, 23 Jan 2012 22:15
10 lines
1921 bytes
1921 bytes
On Mon, 23 Jan 2012 17:12:55 -0500, tlvp wrote: > Perhaps there is a Dialog setting I have overlooked that permits > toggling of dia-positive or photo-negative display of X-Faces? Have you tried clicking on the X-Face? -- Ted S. fedya at hughes dot net
Re: Q.: Dialog and X-Face display ... ?
Author: VanguardLH
Date: Mon, 23 Jan 2012 22:47
Date: Mon, 23 Jan 2012 22:47
16 lines
2022 bytes
2022 bytes
Ted S. wrote: > On Mon, 23 Jan 2012 17:12:55 -0500, tlvp wrote: > >> Perhaps there is a Dialog setting I have overlooked that permits >> toggling of dia-positive or photo-negative display of X-Faces? > > Have you tried clicking on the X-Face? Actually it appears that with each click on the x-face icon that shading changes. Eventually you get to the positive version (instead of some shaded or negative version). Personally, I would like an option in Dialog to disable that public ego-stroking superfluous fluff. In forums, I have the option to NOT show the avatar fluff.
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Mon, 23 Jan 2012 23:17
Date: Mon, 23 Jan 2012 23:17
15 lines
1757 bytes
1757 bytes
On Mon, 23 Jan 2012 17:15:28 -0500, Ted S. wrote: > On Mon, 23 Jan 2012 17:12:55 -0500, tlvp wrote: > >> Perhaps there is a Dialog setting I have overlooked that permits >> toggling of dia-positive or photo-negative display of X-Faces? > > Have you tried clicking on the X-Face? I hadn't ... but now I have. Old fogey that I am, I'd never have thought to do that. Does each click record another toggle of a Dialog setting-option? Thank you! Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Mon, 23 Jan 2012 23:21
Date: Mon, 23 Jan 2012 23:21
12 lines
1726 bytes
1726 bytes
On Mon, 23 Jan 2012 16:47:17 -0600, VanguardLH wrote: > ... Personally, I would like an option in Dialog to disable that public > ego-stroking superfluous fluff. In forums, I have the option to NOT > show the avatar fluff. In Dialog, you have the option to leave the header pane unexpanded. Is that not good enough? Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: Bernd Rose
Date: Tue, 24 Jan 2012 06:02
Date: Tue, 24 Jan 2012 06:02
22 lines
2331 bytes
2331 bytes
On Mon, 23 Jan 2012 18:17:15 -0500 tlvp wrote: >>> Perhaps there is a Dialog setting I have overlooked that permits >>> toggling of dia-positive or photo-negative display of X-Faces? >> >> Have you tried clicking on the X-Face? > > I hadn't ... but now I have. Old fogey that I am, I'd never have thought to > do that. Does each click record another toggle of a Dialog setting-option? This question doesn't translate for me. Could you please elaborate? Just for the record. - Clicking on an X-Face does: - one click: toggle transparency - double click: toggle positive/negative view - triple click: combine the above ;-) - quadruple click: retain current state ;-) : - hundred clicks in ten milliseconds on an Easter-Christmas evening: get one (random) posting with golden star for free; *or* Dialog crashing on every start when done on a Friday the 13-th ;-) Bernd
Re: Q.: Dialog and X-Face display ... ?
Author: Jernej Simončič
Date: Tue, 24 Jan 2012 14:18
Date: Tue, 24 Jan 2012 14:18
11 lines
1902 bytes
1902 bytes
on Mon, 23 Jan 2012 18:17:15 -0500, tlvp wrote: > I hadn't ... but now I have. Old fogey that I am, I'd never have thought to > do that. Does each click record another toggle of a Dialog setting-option? Clicking the X-Face cycles between display modes. -- begin .sig < Jernej Simončič ><>◊<>< jernej|s-ng at eternallybored.org > end
Re: Q.: Dialog and X-Face display ... ?
Author: VanguardLH
Date: Tue, 24 Jan 2012 18:42
Date: Tue, 24 Jan 2012 18:42
72 lines
4673 bytes
4673 bytes
tlvp wrote: > On Mon, 23 Jan 2012 16:47:17 -0600, VanguardLH wrote: > >> ... Personally, I would like an option in Dialog to disable that public >> ego-stroking superfluous fluff. In forums, I have the option to NOT >> show the avatar fluff. > > In Dialog, you have the option to leave the header pane unexpanded. Is that > not good enough? Are you talking about whether or not the header pane (in the preview area) shows more than just the Subject header? If so, I lose some great functionality. I want to know, for example, if someone has posted using the FollowUp-To or X-No-Archive headers or if they tried to redirect replies via e-mail to take the discussion offline. Right-click in the header pane and select "Edit visible headers". I defined the following (in addition to the standard install-time defaults): Warn me that a poster used the X-No-Archive header Caption: WARN --> X-No-Archive Content: X-No-Archive Colorize: Always Bold: Always Underline: Never Alert me that a poster attempts to redirect replies elsewhere Caption: Alert --> FollowUp-To Content: Followup-To Colorize: Always Bold: Always Underline: Never Alert me that a poster attempts to redirect replies offline via e-mail Caption: Alert --> FollowUp-To: poster (email) Content: Followup-To: poster Colorize: Always Bold: Always Underline: Never Alert me that a poster attempts to redirect replies offline via e-mail Caption: Alert --> Mail-Copies-To (email) Content: Mail-Copies-To Colorize: Always Bold: Always Underline: Never It's a pity that Dialog doesn't let me select which color to use when it displays the specified header (identified in the Content parameter) in its header pane but, at least, I get notification about the use of those headers if used by a poster. That way, I don't have to remember to look at the raw message to see if those headers were used and can instead just see if they exist in the header pane while colorized and bolded to make their presence more obvious. If I collapse the header pane (to just show the Subject header) then I lose display of my alerts. So I get the good (alerts on some headers) with the bad (the ego-stroking face icon fluff). So, to answer you question, no, compressing (unexpanding) the header pane is not good enough. I need it expanded which means I get stuck seeing the face icon. No option JUST on the face icon to show/hide it. I'd have to use a proxy before Dialog that strips out the X-Face header to avoid see that fluff but that's more trouble than it's worth and reduces reliability (i.e., due to dependency on Dialog that the proxy is loaded and functional). Did clicking on the face icon in the header pane cycle through the shading/positive/negative image to get you the display you wanted? For me, single versus double clicking made no difference. It looks like the shading (transparency) just toggles on each single or double click. Looks like there are 8 different "levels" as you click on the face icon.
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Wed, 25 Jan 2012 02:10
Date: Wed, 25 Jan 2012 02:10
19 lines
2320 bytes
2320 bytes
On Tue, 24 Jan 2012 12:42:50 -0600, VanguardLH wrote: > Did clicking on the face icon in the header pane cycle through the > shading/positive/negative image to get you the display you wanted? Yup. Looks like 4 indistinguishable dia-positive forms, and 4 indistinguishable photo-negative forms. (Well, with/without some sort of picture-framing at the bottom, but *otherwise* indistinguishable). > For me, single versus double clicking made no difference. It looks like the > shading (transparency) just toggles on each single or double click. > Looks like there are 8 different "levels" as you click on the face icon. Agreed. And 'tis a pity you can't control presence/absence of the X-Face display with the same ease as you can other aspects of the headers. Cheers, and thanks for sharing your understandings, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Wed, 25 Jan 2012 02:24
Date: Wed, 25 Jan 2012 02:24
37 lines
2916 bytes
2916 bytes
On Tue, 24 Jan 2012 07:02:01 +0100, Bernd Rose wrote: > On Mon, 23 Jan 2012 18:17:15 -0500 tlvp wrote: > >> ... Does each click record another toggle of a Dialog setting-option? > > This question doesn't translate for me. Could you please elaborate? Gladly. Clearly, with each click on a given instance of an X-Face, something about the display state of that X-Face changes (pos/neg, transparency/opaqueness, etc.). So: will the display state of all subsequently encountered X-Face images accord with the display state of the last previously seen X-Face? Or is there a default initial display state that all newly encountered X-Faces are shown in? Well, that was the question, as intended when first asked here. With the passage of time, experience suggests that the last achieved X-Face display state becomes the current default X-Face display state, i.e., in effect, each such sequential click re-resets Dialog's X-Face display-state setting. > Just for the record. - Clicking on an X-Face does: > - one click: toggle transparency > - double click: toggle positive/negative view > - triple click: combine the above ;-) > - quadruple click: retain current state ;-) Thanks, Bernd. > - hundred clicks in ten milliseconds on an Easter-Christmas evening: get > one (random) posting with golden star for free; *or* Dialog crashing on > every start when done on a Friday the 13-th ;-) If I buy that, Bernd, what else will you sell me :-) ? Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: Bernd Rose
Date: Wed, 25 Jan 2012 05:55
Date: Wed, 25 Jan 2012 05:55
16 lines
2134 bytes
2134 bytes
On Tue, 24 Jan 2012 21:24:18 -0500 tlvp wrote: >>> ... Does each click record another toggle of a Dialog setting-option? >> >> This question doesn't translate for me. Could you please elaborate? > > Gladly. Clearly, with each click on a given instance of an X-Face, > something about the display state of that X-Face changes (pos/neg, > transparency/opaqueness, etc.). So: will the display state of all > subsequently encountered X-Face images accord with the display state of the > last previously seen X-Face? Yes. And on Dialog exit this setting is saved to XFaceDrawStyle in the settings.ini file. Bernd
Re: Q.: Dialog and X-Face display ... ?
Author: Bernd Rose
Date: Wed, 25 Jan 2012 05:59
Date: Wed, 25 Jan 2012 05:59
22 lines
2369 bytes
2369 bytes
On Tue, 24 Jan 2012 21:24:18 -0500 tlvp wrote: >> Just for the record. - Clicking on an X-Face does: >> - one click: toggle transparency >> - double click: toggle positive/negative view >> - triple click: combine the above ;-) >> - quadruple click: retain current state ;-) > > Thanks, Bernd. Forgot some states in this listing. (I don't do much with XFace, myself.) So don't rely too heavy on those vales. They, anyway, were merely meant as a vehicle for: >> - hundred clicks in ten milliseconds on an Easter-Christmas evening: get >> one (random) posting with golden star for free; *or* Dialog crashing on >> every start when done on a Friday the 13-th ;-) > > If I buy that, Bernd, what else will you sell me :-) ? It worth worth a try... ;-) Bernd
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Wed, 25 Jan 2012 08:17
Date: Wed, 25 Jan 2012 08:17
29 lines
2478 bytes
2478 bytes
On Wed, 25 Jan 2012 06:55:41 +0100, Bernd Rose wrote: > On Tue, 24 Jan 2012 21:24:18 -0500 tlvp wrote: > >>>> ... Does each click record another toggle of a Dialog setting-option? >>> >>> This question doesn't translate for me. Could you please elaborate? >> >> Gladly. Clearly, with each click on a given instance of an X-Face, >> something about the display state of that X-Face changes (pos/neg, >> transparency/opaqueness, etc.). So: will the display state of all >> subsequently encountered X-Face images accord with the display state of the >> last previously seen X-Face? > > Yes. ... That was the impression I was building up. > ... And on Dialog exit this setting is saved to XFaceDrawStyle in the > settings.ini file. Ah-hah! There! Not something either the Help or the FAQ talks about, afaics, whence my asking about it here. Thanks! > Bernd Cheers/Tschüß/Ciao, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: Bernd Rose
Date: Wed, 25 Jan 2012 17:34
Date: Wed, 25 Jan 2012 17:34
66 lines
3872 bytes
3872 bytes
On Tue, 24 Jan 2012 12:42:50 -0600 VanguardLH wrote:
>>> ... Personally, I would like an option in Dialog to disable that public
>>> ego-stroking superfluous fluff. In forums, I have the option to NOT
>>> show the avatar fluff.
>>
>> In Dialog, you have the option to leave the header pane unexpanded. Is that
>> not good enough?
[...]
> no, compressing (unexpanding) the header pane is not good enough. I need
> it expanded which means I get stuck seeing the face icon. No option JUST
> on the face icon to show/hide it.
You could set XFaceDrawStyle in settings.ini to an invalid number
(e.g. 9). This would hide the X-Face without changes to Dialog
itself or the messages. (Which are the two other possibilities of
hiding X-Face, that I am aware of. - See below.) The drawback of
this method is, that you need to avoid to click into the space,
where the X-Face would have been displayed. Any single mouse click
switches display mode to a valid one, which makes the X-Face images
visible, again.
The second method needs patching of Dialog. (Which I don't recommend
as long as other methods are available.) Inserting a line (with a
resource editor like Resource Hacker from Angus Johnson)
Visible = False
for the XFacePanel object in TFRM40TDMAIN should permanently switch
off the Image control itself.
The third method changes the incoming messages. Just remove the
X-Face header before saving the message to the Dialog database.
-> The following code is a stripped-down version of the general
RemoveHeaders script by Hermann Hippen, which can be found here:
http://kh-rademacher.de/4d/remove_g1.html
;----------------------------<Snip>----------------------------------
program OnBeforeSavingMessage;
// *Remove X-Face from incoming messages*
// Code needs to be inserted in a newly created
// or modified OnBeforeSaving Event Script
procedure OnBeforeSavingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean);
var i : Integer;
begin
i := 0;
repeat
if Pos('X-Face: ', Message[i]) = 1 Then
repeat
Message.delete(i);
until (Message[i][1] > ' ') or (Message[i] = '')
else
i := i + 1;
until Message[i] = '';
end;
begin
end.
;----------------------------<Snip>----------------------------------
As often: Many ways to achieve something in Dialog... ;-)
HTH.
Bernd
Re: Q.: Dialog and X-Face display ... ?
Author: VanguardLH
Date: Wed, 25 Jan 2012 18:53
Date: Wed, 25 Jan 2012 18:53
83 lines
4949 bytes
4949 bytes
Bernd Rose wrote:
> On Tue, 24 Jan 2012 12:42:50 -0600 VanguardLH wrote:
>
>>>> ... Personally, I would like an option in Dialog to disable that public
>>>> ego-stroking superfluous fluff. In forums, I have the option to NOT
>>>> show the avatar fluff.
>>>
>>> In Dialog, you have the option to leave the header pane unexpanded. Is that
>>> not good enough?
> [...]
>> no, compressing (unexpanding) the header pane is not good enough. I need
>> it expanded which means I get stuck seeing the face icon. No option JUST
>> on the face icon to show/hide it.
>
> You could set XFaceDrawStyle in settings.ini to an invalid number
> (e.g. 9). This would hide the X-Face without changes to Dialog
> itself or the messages. (Which are the two other possibilities of
> hiding X-Face, that I am aware of. - See below.) The drawback of
> this method is, that you need to avoid to click into the space,
> where the X-Face would have been displayed. Any single mouse click
> switches display mode to a valid one, which makes the X-Face images
> visible, again.
>
> The second method needs patching of Dialog. (Which I don't recommend
> as long as other methods are available.) Inserting a line (with a
> resource editor like Resource Hacker from Angus Johnson)
>
> Visible = False
>
> for the XFacePanel object in TFRM40TDMAIN should permanently switch
> off the Image control itself.
>
> The third method changes the incoming messages. Just remove the
> X-Face header before saving the message to the Dialog database.
> -> The following code is a stripped-down version of the general
> RemoveHeaders script by Hermann Hippen, which can be found here:
>
> http://kh-rademacher.de/4d/remove_g1.html
>
> ;----------------------------<Snip>----------------------------------
> program OnBeforeSavingMessage;
> // *Remove X-Face from incoming messages*
> // Code needs to be inserted in a newly created
> // or modified OnBeforeSaving Event Script
>
> procedure OnBeforeSavingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean);
> var i : Integer;
> begin
> i := 0;
> repeat
> if Pos('X-Face: ', Message[i]) = 1 Then
> repeat
> Message.delete(i);
> until (Message[i][1] > ' ') or (Message[i] = '')
> else
> i := i + 1;
> until Message[i] = '';
> end;
>
> begin
> end.
> ;----------------------------<Snip>----------------------------------
>
> As often: Many ways to achieve something in Dialog... ;-)
>
> HTH.
> Bernd
I like the script method. I defined a bunch of scripts (custom,
message, and event) when I first got Dialog. There was a handy site
listing a bunch of them that I could use or adapt. In fact, when I
trialed many newsreaders at different times trying to find one that I
wanted, I had declined on Dialog until I decided to get into modifying
it using scripts and then it would pass my criteria for a replacement
NNTP client.
I already have a script assigned to the OnBeforeSavingMessage event that
eliminates the PHP signature garbage from posts (yeah, like anyone is
going to bother validating their PHP sig is valid and theirs). I'll
have to see how to roll the above into that same script.
Thanks for the script idea.
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Wed, 25 Jan 2012 19:03
Date: Wed, 25 Jan 2012 19:03
13 lines
1932 bytes
1932 bytes
On Wed, 25 Jan 2012 18:34:05 +0100, Bernd Rose wrote:
> ... RemoveHeaders script by Hermann Hippen, which can be found here:
>
> http://kh-rademacher.de/4d/remove_g1.html
OT side digression, but: is that honoring the mathematician Rademacher,
coauthor, inter alia, with Toeplitz, of {The Enjoyment of Math} (by
Rademacher, H. and Toeplitz, O., published by Princeton University Press)?
Cheers, -- tlvp
--
Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: Gene E. Bloch
Date: Wed, 25 Jan 2012 19:12
Date: Wed, 25 Jan 2012 19:12
20 lines
1939 bytes
1939 bytes
On 1/25/2012, tlvp posted:
> On Wed, 25 Jan 2012 18:34:05 +0100, Bernd Rose wrote:
>> ... RemoveHeaders script by Hermann Hippen, which can be found here:
>>
>> http://kh-rademacher.de/4d/remove_g1.html
> OT side digression, but: is that honoring the mathematician Rademacher,
> coauthor, inter alia, with Toeplitz, of {The Enjoyment of Math} (by
> Rademacher, H. and Toeplitz, O., published by Princeton University Press)?
> Cheers, -- tlvp
At least I'm sure it isn't Radeberger, a Pilsner I've added to my
larder lately.
--
Gene E. Bloch (Stumbling Bloch)
Re: Q.: Dialog and X-Face display ... ?
Author: VanguardLH
Date: Wed, 25 Jan 2012 19:45
Date: Wed, 25 Jan 2012 19:45
73 lines
4864 bytes
4864 bytes
Bernd Rose wrote:
> program OnBeforeSavingMessage;
> // *Remove X-Face from incoming messages*
> // Code needs to be inserted in a newly created
> // or modified OnBeforeSaving Event Script
>
> procedure OnBeforeSavingMessage(var Message: TStringlist; Servername: string; IsEmail: boolean);
> var i : Integer;
> begin
> i := 0;
> repeat
> if Pos('X-Face: ', Message[i]) = 1 Then
> repeat
> Message.delete(i);
> until (Message[i][1] > ' ') or (Message[i] = '')
> else
> i := i + 1;
> until Message[i] = '';
> end;
>
> begin
> end.
I don't do Delphi so I have to guess based on other programming
languages that I've played with. Looking at your script, is:
Message[i]
the same as:
Message.strings[i]
I see the latter get used in the PHP-stripping script already defined
for the event. Some programming languages default to the string value
if a type or attribute isn't specified for an object.
Also, how does this script limit its scan to just the headers (i.e., up
to the first blank line that delimits the headers)? That seems to be
the point for the until-clause of the *outer* repeat loop. Okay, but
then what is the point of the inner repeat loop (in the then-clause of
the if-statement)? i isn't getting incremented there. At that point in
that loop, i isn't changing.
Since you delete that line via Message.delete(i), is the inner
until-clause looking at the *next* line to see if it is the blank
delimiter line for the header section? That would only work in
Mesage[i+1] becomes Message[i] after deleting the original Message[i].
Does Delphia aka Pascal actually roll up the next item in an array into
a prior index position when a prior item in the array is deleted? Does
line 4 become line 3 after you delete the original line 3? If that were
true, and because you're still inside the inner repeat-loop, wouldn't it
just delete all lines in the message from that point? Each subsquent
line rolls up in the array to get deleted again in the repeat loop until
the first line with a leading space character or null line (empty) was
found. That seems like the inner repeat-loop would trigger on finding
X-Face in a header line and then proceed to delete every header line
thereafter and stopping only when it hit the blank delimiter line for
the header section.
If array items move up (get reassigned a reduced index count) on a
deletion of a prior item in the array then it seems you don't need the
repeat-loop in the then-clause. If the X-Face string is found (starting
at position 1 on the line), it gets deleted, you don't modify the i
variable because the next item rolls into the i-indexed position in the
array, and you retest on the i position again for the next line that
rolled up. You increment i if X-Face was NOT found to move to the next
line. The outer until-clause checks if the current line indexed by the
yet unchanged i value is the blank delimiter line or not.
If array items don't automatically roll up to a prior index position
when prior items are deleted then what's the point of the inner
repeat-loop (in the then-clause of the if-statement)?
Re: Q.: Dialog and X-Face display ... ?
Author: Sqwertz
Date: Wed, 25 Jan 2012 19:46
Date: Wed, 25 Jan 2012 19:46
25 lines
2227 bytes
2227 bytes
On Mon, 23 Jan 2012 16:47:17 -0600, VanguardLH wrote: > Ted S. wrote: > >> On Mon, 23 Jan 2012 17:12:55 -0500, tlvp wrote: >> >>> Perhaps there is a Dialog setting I have overlooked that permits >>> toggling of dia-positive or photo-negative display of X-Faces? >> >> Have you tried clicking on the X-Face? > > Actually it appears that with each click on the x-face icon that shading > changes. Eventually you get to the positive version (instead of some > shaded or negative version). I can get it to change but the behavior is inconsistent. Sometimes if I double or triple click it changes, but a single click rarely works. I have tried many sequences of clicks, pauses, and pointer focus on the pane and nothing seems consistent. But by default after downloading an article is consistently show a negative. I just figured that's the way people had designed them <shrug> -sw
Re: Q.: Dialog and X-Face display ... ?
Author: Sqwertz
Date: Wed, 25 Jan 2012 19:48
Date: Wed, 25 Jan 2012 19:48
16 lines
1981 bytes
1981 bytes
On Mon, 23 Jan 2012 18:21:06 -0500, tlvp wrote: > On Mon, 23 Jan 2012 16:47:17 -0600, VanguardLH wrote: > >> ... Personally, I would like an option in Dialog to disable that public >> ego-stroking superfluous fluff. In forums, I have the option to NOT >> show the avatar fluff. > > In Dialog, you have the option to leave the header pane unexpanded. Is that > not good enough? No if you want the benefit of seeing everything else that pane has to offer when expanded. You can add/subtract headers to that pane, but X-Face is not one of the available elements to customize in that pane. -sw
Re: Q.: Dialog and X-Face display ... ?
Author: Jernej Simončič
Date: Wed, 25 Jan 2012 20:39
Date: Wed, 25 Jan 2012 20:39
27 lines
2580 bytes
2580 bytes
on Wed, 25 Jan 2012 13:46:44 -0600, Sqwertz wrote: > I can get it to change but the behavior is inconsistent. Sometimes if > I double or triple click it changes, but a single click rarely works. > I have tried many sequences of clicks, pauses, and pointer focus on > the pane and nothing seems consistent. Each click cycles to the next mode. The modes are (bevel style, background colour, foreground colour): - inset, button background, text colour - inset, window background, text colour - double, button background, text colour - double, window background, text colour - inset, text colour, button background - double, text colour, button background - inset, text colour, window background - double, text colour, window background With the default windows colour scheme, button background is grey, window background is white and text colour is black, but this can be adjusted in Control Panel (but it doesn't work very well unless you use Windows Classic theme). -- begin .sig < Jernej Simončič ><>◊<>< jernej|s-ng at eternallybored.org > end
Re: Q.: Dialog and X-Face display ... ?
Author: Sqwertz
Date: Wed, 25 Jan 2012 23:40
Date: Wed, 25 Jan 2012 23:40
32 lines
2716 bytes
2716 bytes
On Wed, 25 Jan 2012 21:39:56 +0100, Jernej Simončič wrote: > on Wed, 25 Jan 2012 13:46:44 -0600, Sqwertz wrote: > >> I can get it to change but the behavior is inconsistent. Sometimes if >> I double or triple click it changes, but a single click rarely works. >> I have tried many sequences of clicks, pauses, and pointer focus on >> the pane and nothing seems consistent. > > Each click cycles to the next mode. The modes are (bevel style, background > colour, foreground colour): > - inset, button background, text colour > - inset, window background, text colour > - double, button background, text colour > - double, window background, text colour > - inset, text colour, button background > - double, text colour, button background > - inset, text colour, window background > - double, text colour, window background > > With the default windows colour scheme, button background is grey, window > background is white and text colour is black, but this can be adjusted in > Control Panel (but it doesn't work very well unless you use Windows Classic > theme). OK, I see. Using yours an example, I can get it to invert once every 7 clicks. But I use simple black on white (which I've probably changed in dialog rather than Windows 7). We'll chalk up the default behavior to "Bug" ;-) -sw
Re: Q.: Dialog and X-Face display ... ?
Author: tlvp
Date: Thu, 26 Jan 2012 01:30
Date: Thu, 26 Jan 2012 01:30
7 lines
1601 bytes
1601 bytes
On Wed, 25 Jan 2012 17:40:13 -0600, Sqwertz wrote: > We'll chalk up the default behavior to "Bug" ;-) I'd rather call it "Surprise" :-) . Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: Q.: Dialog and X-Face display ... ?
Author: Bernd Rose
Date: Thu, 26 Jan 2012 18:16
Date: Thu, 26 Jan 2012 18:16
45 lines
3504 bytes
3504 bytes
On Wed, 25 Jan 2012 13:45:03 -0600, VanguardLH wrote:
> I don't do Delphi so I have to guess based on other programming
> languages that I've played with. Looking at your script, is:
>
> Message[i]
>
> the same as:
>
> Message.strings[i]
Strings is the default method of the TStrinList object and therefore
can be omitted when using indexed access. So: Yes, it is the same.
> I see the latter get used in the PHP-stripping script already defined
> for the event.
You probably mean PGP? - It just makes me nervous to read that "PHP"
over and over again, and always have that gnawing doubt... ;-)
> Also, how does this script limit its scan to just the headers (i.e., up
> to the first blank line that delimits the headers)? That seems to be
> the point for the until-clause of the *outer* repeat loop.
Yes.
> Okay, but then what is the point of the inner repeat loop (in the
> then-clause of the if-statement)? i isn't getting incremented there. At
> that point in that loop, i isn't changing.
The inner loop does not only remove the line starting with "X-Face: "
but also all following lines starting with a space char until either
another header is found or the end of the headers block. This is done
to remove additional X-Face lines (in case the X-Face is spread among
multiple lines, which is possible). Please note: The deletion of each
line lets the next line take its place /without/ an increment to i.
As long as you only search for X-Face, it would be possible to break
out of the outer loop at the end of the "then" part of the if condition.
But this would increase complexity without much gain. And you couldn't
just add checks for other headers in the "if" part, as you can do now:
if (Pos('X-Face: ', Message[i]) = 1) or (Pos('Keywords: ', Message[i]) = 1) Then
Bernd
Re: Q.: Dialog and X-Face display ... ?
Author: VanguardLH
Date: Thu, 26 Jan 2012 20:38
Date: Thu, 26 Jan 2012 20:38
53 lines
4062 bytes
4062 bytes
Bernd Rose wrote:
> On Wed, 25 Jan 2012 13:45:03 -0600, VanguardLH wrote:
>
>> I don't do Delphi so I have to guess based on other programming
>> languages that I've played with. Looking at your script, is:
>>
>> Message[i]
>>
>> the same as:
>>
>> Message.strings[i]
>
> Strings is the default method of the TStrinList object and therefore
> can be omitted when using indexed access. So: Yes, it is the same.
>
>> I see the latter get used in the PHP-stripping script already defined
>> for the event.
>
> You probably mean PGP? - It just makes me nervous to read that "PHP"
> over and over again, and always have that gnawing doubt... ;-)
>
>> Also, how does this script limit its scan to just the headers (i.e., up
>> to the first blank line that delimits the headers)? That seems to be
>> the point for the until-clause of the *outer* repeat loop.
>
> Yes.
>
>> Okay, but then what is the point of the inner repeat loop (in the
>> then-clause of the if-statement)? i isn't getting incremented there. At
>> that point in that loop, i isn't changing.
>
> The inner loop does not only remove the line starting with "X-Face: "
> but also all following lines starting with a space char until either
> another header is found or the end of the headers block. This is done
> to remove additional X-Face lines (in case the X-Face is spread among
> multiple lines, which is possible). Please note: The deletion of each
> line lets the next line take its place /without/ an increment to i.
>
> As long as you only search for X-Face, it would be possible to break
> out of the outer loop at the end of the "then" part of the if condition.
> But this would increase complexity without much gain. And you couldn't
> just add checks for other headers in the "if" part, as you can do now:
>
> if (Pos('X-Face: ', Message[i]) = 1) or (Pos('Keywords: ', Message[i]) = 1) Then
>
> Bernd
Thanks for the reply. I learned something new (although I've
instinctively handled continuation lines): a header line with a space
character in position 1 is a continuation line. I don't know how many
hundreds of messages that I've looked at their headers but it never
dawned on me that was the scheme to denote a multi-line header. Duh!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads