1 | |
---|
2 | CHANGES to xmh for X11R5 |
---|
3 | |
---|
4 | For all users: |
---|
5 | -------------- |
---|
6 | |
---|
7 | All popup dialog boxes now respond to WM_DELETE_WINDOW protocol. |
---|
8 | |
---|
9 | All popup dialog boxes now should correctly iconify when the window they |
---|
10 | are transient for is iconified. Some popups will be positioned closer to the |
---|
11 | point of the most recent keypress or button press than they have been in the |
---|
12 | past. |
---|
13 | |
---|
14 | Upon issuing the mh command "scan", xmh will force the argument |
---|
15 | "-noheaders" even when you have "-headers" in your .mh_profile. |
---|
16 | |
---|
17 | When requesting to see a message that no longer exists, xmh will pop up |
---|
18 | an error dialog box, stating that it cannot open the named file. |
---|
19 | |
---|
20 | When requesting to open a folder for reading or deletion which can no |
---|
21 | longer be found on the filesystem, xmh will pop up an error dialog box, |
---|
22 | stating that it cannot open the directory. |
---|
23 | |
---|
24 | At start up, xmh now looks first at the MH environment variable for the |
---|
25 | location of the MH profile; if this environment variable is not set, then |
---|
26 | xmh does what it used to do: looks for .mh_profile in the user's home |
---|
27 | directory (from $HOME) and gets the path to the directory of folders from |
---|
28 | there, prepending $HOME if the path is not absolute; and finally falls back |
---|
29 | to $HOME/Mail as the directory of folders to operate upon. |
---|
30 | |
---|
31 | The function LoadCheckFiles, which at the time you start up xmh, reads |
---|
32 | the previously undocumented file $HOME/.xmhcache, or if that is not found, |
---|
33 | looks at the value of InitialIncFile, is now run independently of the |
---|
34 | value of the application resource CheckNewMail. It used to run only when |
---|
35 | CheckNewMail was true. This separates the functionality of |
---|
36 | specifying files for inc to see as mail drops from the functionality of |
---|
37 | asking xmh to tell you when you have new mail. Users can have multiple |
---|
38 | mail drops now when CheckNewMail is false. |
---|
39 | |
---|
40 | Furthermore, xmh, in LoadCheckFiles, will not construct a file to inc |
---|
41 | from by default; it will rely on MH's idea of a default and will not |
---|
42 | pass -file <file> -truncate to inc unless the user has specified the |
---|
43 | mail drop(s). Instead, if xmh doesn't know where to inc from, it relies |
---|
44 | upon MH. When CheckNewMail is true and MailInterval > 0, xmh will rely |
---|
45 | on the MH command msgchk to determine whether you have new mail, instead |
---|
46 | of doing stat on the known mail drop file. |
---|
47 | |
---|
48 | This means POP users do no longer have to set the following |
---|
49 | set of resources in order to get xmh to inc without the -file argument: |
---|
50 | Xmh.initialIncFile: |
---|
51 | Xmh.checkNewMail:True |
---|
52 | Xmh.checkFrequency:0 |
---|
53 | POP users don't have to set any special xmh resources to use xmh. |
---|
54 | They should specify the inc host in their MH profile. |
---|
55 | |
---|
56 | The default is to check for new mail every minute, and the default |
---|
57 | is to run msgchk. This is a little expensive on some machines. |
---|
58 | |
---|
59 | When xmh forks off a child process, it now effectively exec's the MH |
---|
60 | command in the user's path *before* looking in the directory specified |
---|
61 | by the application resource mhPath. It used to do the reverse. |
---|
62 | |
---|
63 | When destroying a folder which is actually a symbolic link, xmh will |
---|
64 | no longer follow the link to destroy the actual directory and its contents. |
---|
65 | xmh will now simply remove the link. |
---|
66 | |
---|
67 | New resources allow you to have separate control over toc updates, |
---|
68 | checkpointing of messages which are being edited, and checking for new mail. |
---|
69 | New resources allow you to specify a bitmap to be displayed to the left |
---|
70 | of the folder name when a top level folder has mail waiting, or not. |
---|
71 | New resources allow you to suggest an icon bitmap to the window manager |
---|
72 | which can change state depending on whether there is new mail waiting for |
---|
73 | any folder. |
---|
74 | |
---|
75 | The default value of SendBreakWidth has been changed to 2000, because |
---|
76 | it prevents diffs sent through xmh from being broken up when there are long |
---|
77 | lines. |
---|
78 | |
---|
79 | A delete button has been added to the View window, to delete the viewed |
---|
80 | message. |
---|
81 | |
---|
82 | The defaults specified in the application class defaults file have been |
---|
83 | weakened where possible, so that it is easier for users to specify |
---|
84 | resources values which will have higher precedence. |
---|
85 | |
---|
86 | New resource, ShowOnInc |
---|
87 | |
---|
88 | Supports WM_SAVE_YOURSELF by checkpointing unsaved edits of messages. |
---|
89 | |
---|
90 | When running with a click-to-set-input-focus window manager such as mwm, |
---|
91 | the input focus is now correct for compose windows. As a side effect, users |
---|
92 | who specified accelerators for the title bar and button box of compose |
---|
93 | windows will find that these accelerators no longer work. It is impossible |
---|
94 | to use accelerators in those areas of the compose window. |
---|
95 | |
---|
96 | Especially for users who write customized xmh resources: |
---|
97 | -------------------------------------------------------- |
---|
98 | |
---|
99 | New Actions, see the manual page: |
---|
100 | |
---|
101 | XmhWMProtocols() |
---|
102 | XmhShellCommand() |
---|
103 | XmhCheckForNewMail() |
---|
104 | XmhViewMarkDelete() |
---|
105 | |
---|
106 | Deleted actions, |
---|
107 | XmhCancelPick, replaced by XmhWMProtocols, but your old translations |
---|
108 | will still work. |
---|
109 | |
---|
110 | |
---|
111 | For programmers who have code which they add to xmh: |
---|
112 | ---------------------------------------------------- |
---|
113 | This is guaranteed not to be a complete listing of interface changes. |
---|
114 | |
---|
115 | Interface changes: |
---|
116 | DeterminePopupPosition popup.c |
---|
117 | PopupPrompt popup.c |
---|
118 | PopupError popup.c |
---|
119 | TocCheckForNewMail toc.c |
---|
120 | TocIncorporate toc.c |
---|
121 | |
---|
122 | New interfaces: |
---|
123 | PopupWarningHandler called by Xt for all warnings. |
---|
124 | CheckForNewMail internal interface, does the obvious |
---|
125 | TocHasMail whether xmh believes a folder has new mail |
---|
126 | TocFolderExists check before opening |
---|
127 | WMDeletePopup |
---|
128 | |
---|