english-strings.el 60.1 KB
Newer Older
Linus Tolke's avatar
Linus Tolke committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
;;;;;
;;;;; $Id$
;;;;; Copyright (C) 1991  Lysator Academic Computer Association.
;;;;;
;;;;; This file is part of the LysKOM server.
;;;;; 
;;;;; LysKOM is free software; you can redistribute it and/or modify it
;;;;; under the terms of the GNU General Public License as published by 
;;;;; the Free Software Foundation; either version 1, or (at your option) 
;;;;; any later version.
;;;;; 
;;;;; LysKOM is distributed in the hope that it will be useful, but WITHOUT
;;;;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
;;;;; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
;;;;; for more details.
;;;;; 
;;;;; You should have received a copy of the GNU General Public License
;;;;; along with LysKOM; see the file COPYING.  If not, write to
;;;;; Lysator, c/o ISY, Linkoping University, S-581 83 Linkoping, SWEDEN,
;;;;; or the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, 
;;;;; MA 02139, USA.
;;;;;
;;;;; Please mail bug reports to bug-lyskom@lysator.liu.se. 
;;;;;
;;;; ================================================================
;;;; ================================================================
;;;;
Linus Tolke's avatar
Linus Tolke committed
28
;;;; File: english-strings.el
Linus Tolke's avatar
Linus Tolke committed
29
30
31
;;;;
;;;; This file contains all strings in the LysKOM elisp client.
;;;; Language:     English.
32
;;;; Matches version 36.11 of swedish-strings.el
Linus Tolke's avatar
Linus Tolke committed
33
34
;;;; ================================================================
;;;;
35
36
;;;; Translation from swedish-strings.el: David Byers
;;;;
Linus Tolke's avatar
Linus Tolke committed
37
38
39
40


(setq lyskom-clientversion-long 
      (concat lyskom-clientversion-long
41
	      "$Id$"))
Linus Tolke's avatar
Linus Tolke committed
42
43


44
45
46
47
48
49
50
51
;;; ================================================================
;;; lyskom-edit-mode-map                             English version

(defvar lyskom-edit-mode-map nil
  "Mode map for LysKOM edit.")

;;; Set the keymap for lyskom-edit-mode

52
53
54
(defvar lyskom-edit-prefix nil
  "Mode-map for lyskom edit mode")

55
56
57
(if lyskom-edit-mode-map
    nil
  (setq lyskom-edit-mode-map (make-sparse-keymap))
58
59
60
  (define-prefix-command 'lyskom-edit-prefix)
  (define-prefix-command 'lyskom-edit-review-prefix)
  (define-prefix-command 'lyskom-edit-insert-prefix)
61
62
63
64
65
66
67
68
69
70
71
  (define-key lyskom-edit-mode-map "\C-c"	'lyskom-edit-prefix)
  (define-key lyskom-edit-mode-map "\C-c?"	'lyskom-help)
  (define-key lyskom-edit-mode-map "\C-cr"	'lyskom-edit-review-prefix)
  (define-key lyskom-edit-mode-map "\C-ci"	'lyskom-edit-insert-prefix)
  (define-key lyskom-edit-mode-map "\C-c\C-c"	'kom-edit-send)
  (define-key lyskom-edit-mode-map "\C-ck"	'kom-edit-quit)
  (define-key lyskom-edit-mode-map "\C-c\C-k"	'kom-edit-quit)
  (define-key lyskom-edit-mode-map "\C-cr?"	'lyskom-help)
  (define-key lyskom-edit-mode-map "\C-crc"	'kom-edit-show-commented)
  (define-key lyskom-edit-mode-map "\C-ci?"	'lyskom-help)
  (define-key lyskom-edit-mode-map "\C-cic"	'kom-edit-insert-commented)
72
  (define-key lyskom-edit-mode-map "\C-ci\C-y"	'kom-edit-insert-commented)
73
74
75
76
77
78
79
80
81
82
  (define-key lyskom-edit-mode-map "\C-ci1"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci2"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci3"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci4"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci5"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci6"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci7"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci8"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci9"	'kom-edit-insert-digit-text)
  (define-key lyskom-edit-mode-map "\C-ci "	'kom-edit-insert-text)
83
  (define-prefix-command 'lyskom-edit-add-prefix)
84
85
86
87
88
89
90
91
92
93
94
95
96
97
  (define-key lyskom-edit-mode-map "\C-ca" 'lyskom-edit-add-prefix)
  (define-key lyskom-edit-mode-map "\C-car" 'kom-edit-add-recipient)
  (define-key lyskom-edit-mode-map "\C-cac" 'kom-edit-add-copy)
  (define-key lyskom-edit-mode-map "\C-ca?" 'lyskom-help))


(defvar lyskom-header-separator
  (substitute-command-keys
   "\\<lyskom-edit-mode-map>\
--- Write below. \
Post: \\[kom-edit-send], \
Kill: \\[kom-edit-quit], \
Help: \\[describe-mode] ---")
  "*String to separate headers from text body.")
Linus Tolke's avatar
Linus Tolke committed
98

99
100
(defvar lyskom-swascii-header-separator nil
  "The swascii version of lyskom-header-separator.")
Linus Tolke's avatar
Linus Tolke committed
101
102
103
104
105

(defvar lyskom-header-subject "Subject: "
  "*String to prompt for subject in the edit buffer.")


106
107
108
(defvar lyskom-swascii-header-subject nil
  "The swascii version of lyskom-header-subject.")

Linus Tolke's avatar
Linus Tolke committed
109
110
111
112
113
114
115
116
117
118
119
120
(defconst lyskom-strings 
  '(
    ; From vars.el: 
    ; From komtypes.el: nil
    ; From clienttypes.el: nil
    ; From startup.el:
    (server-q . "LysKOM server? (%#1s) ")
    (try-connect . "LysKOM elisp client version %#1s.\nAttempting to connect to %#2s.\n")
    (protocoll-error . "Protocol error. Servers says: %#1s")
    (connection-done . "Connection established. Server version is %#1s.\n\n")
    (what-is-your-name . "What is your name? ")
    (password . "Your Password? ")
121
122
123
    (wrong-password . "Incorrect password\n")
    (are-logged-in . "You have entered LysKOM. Please wait...\n")
    (you-have-motd . "\nYou have a note on your door:\n\n")
124
    (presentation-encouragement .
125
126
"You have not written a presentation. Please write a presentation by using
the command Ap. If you do not want to write a presentations, please type fk.\n")
Linus Tolke's avatar
Linus Tolke committed
127
128

    (first-greeting . "%#1s
David Byers's avatar
David Byers committed
129
This appears to be the first time you use LysKOM. Welcome!
Linus Tolke's avatar
Linus Tolke committed
130
Please make sure you have spelled your name correctly. You should use your
131
full name and organisation, eg. \"Joe Hacker, MIT\". If your name is spelled
Linus Tolke's avatar
Linus Tolke committed
132
133
incorrectly, or you wish to change it, answer 'no' to the question below.

134
At present the LysKOM server stores most of the information so that
135
anybody can read it. Only passwords are encrypted.
Linus Tolke's avatar
Linus Tolke committed
136

137
If you ar uncertain about how to use LysKOM, you can retrieve a manual by
Linus Tolke's avatar
Linus Tolke committed
138
139
140
141
142
143
anonymous ftp to ftp.lysator.liu.se. Ask your system administrator for help
on how to do this.")

    (is-name-correct . "Is the name %#1s correct? ")
    (personal-password . "Enter a personal password: ")
    (repeat-password . "Repeat for confirmation: ")
David Byers's avatar
David Byers committed
144
    (repeat-failure . "The passwords were not the same.\n")
Linus Tolke's avatar
Linus Tolke committed
145

David Byers's avatar
David Byers committed
146
    (could-not-create-you .  "LysKOM couldn't create that user.\n")
Linus Tolke's avatar
Linus Tolke committed
147
148
149
    (presentation-subject . "%#1s")
    (presentation-form . "Name:\t\nAddress:\t\n\t\nTelephone:
Email-address:\n\nOther:\t")
150
    (presentation-help . "You are writing your presentation.\n")
Linus Tolke's avatar
Linus Tolke committed
151
152
153
154
155
156
157
158
159
160
161
162
    (not-present-anywhere . "Not in any conference.")



    ; From internal.el:
    (shaky-tcp . "At the moment I can't reach the server. The TCP/IP connection is shaky%#1s")
    (retrying-tcp . "Retrying.")

    ; From parse.el:
    ; No entries.

    ; From services.el:
David Kågedal's avatar
David Kågedal committed
163
    (interrupted . "Interrupted\n")
Linus Tolke's avatar
Linus Tolke committed
164
165
166
167
168
169

    ; From cache.el:
    ; No entries.

    ; From commands1.el:
    (appreciation . "Tap, tap.\n\n")
170
    (abuse . "Thomp! Ouch!\n\n")
Linus Tolke's avatar
Linus Tolke committed
171
172


173
    (what-conf-to-delete . "Conference/user to delete: ")
174
    (what-conf-to-change . "Conference to modify: ")
Linus Tolke's avatar
Linus Tolke committed
175
176
177
    (confirm-delete-pers-or-conf . "Really delete %#1s %#2s? ")
    (the-pers . "the user")
    (the-conf . "the conference")
178
    (deletion-not-confirmed . "Deletion aborted\n")
Linus Tolke's avatar
Linus Tolke committed
179
    (somebody-else-deleted-that-conf . "Somebody else just deleted the conference.\n")
180
    (conf-is-deleted . "OK, %#1s is now deleted.\n")
Linus Tolke's avatar
Linus Tolke committed
181
182
    (you-could-not-delete . "%#1s can't be deleted by you.\n")

183
    (what-text-to-delete . "Article to remove: ")
Linus Tolke's avatar
Linus Tolke committed
184
185
186
187
188
189
190
191
192
    (deleting-text . "Removing article %#1d...")

    (presentation-for-whom . "Which conference/user: ")
    (somebody-deleted-that-conf . "Somebody just deleted that conference.\n")
    (review-presentation-of . "Review presentation of %#1s.\n")
    (has-no-presentation . "%#1s has no presentation.\n")

    (have-to-read . "You must read an article first.\n")

193
    (review-text-no . "Review article %#1d.\n")
Linus Tolke's avatar
Linus Tolke committed
194
195
    (no-comment-to . "There is no commented article.\n")

196
    (who-letter-to . "Send a letter to whom: ")
David Kågedal's avatar
David Kågedal committed
197
    (has-motd . "%#1P has a note on the door:\n\n")
Linus Tolke's avatar
Linus Tolke committed
198
199
    (motd-persist-q . "Send the letter? ")

200
201
202
    (who-to-add . "Whom do you want to add: ")
    (where-to-add . "To which conference: ")
    (where-to-add-self . "Subscribe to which conference: ")
Linus Tolke's avatar
Linus Tolke committed
203
204
205
206
    (priority-q . "Conference priority? (0 (low) - 255 (high)) ")
    (done . "done.\n")
    (nope . "didn't work.\n")

David Kågedal's avatar
David Kågedal committed
207
    (cant-find-supervisor . "Can't find supervisor of %#1M.\n")
208
    (is-read-protected-contact-supervisor . "%#1s \344r closed.
209
Send a letter to  %#2s to apply for membership.")
210

211
    (conf-does-not-exist . "\nThe conference doesn't exist.\n")
Linus Tolke's avatar
Linus Tolke committed
212

213
214
    (who-to-exclude . "Whom do you want to unsubscribe: ")
    (where-from-exclude . "From which conference: ")
Linus Tolke's avatar
Linus Tolke committed
215

216
    (leave-what-conf . "Unsubscribe to which conference: ")
Linus Tolke's avatar
Linus Tolke committed
217

218
219
    (error-fetching-person . "Error retreiving user.\n")
    (error-fetching-conf . "Error retreiving conference.\n")
Linus Tolke's avatar
Linus Tolke committed
220

221
222
    (name-of-conf . "Conference name: ")
    (anyone-member . "May anyone subscribe? ")
Linus Tolke's avatar
Linus Tolke committed
223
    (secret-conf . "Secret conference? ")
224
    (comments-allowed . "Are comments allowed? ")
225
    (what-comment-no . "Comment article number: ")
Linus Tolke's avatar
Linus Tolke committed
226
227
    (confusion-what-to-comment . "I can't figure out which article you want to comment.\n")
    (confusion-what-to-footnote . "I can't figure out to which article you want to write a footnote to.\n")
228
    (what-private-no . "Private reply to article number: ")
Linus Tolke's avatar
Linus Tolke committed
229
230
231

    (confusion-who-to-reply-to . "I can't figure out which article you want to write a private reply to.\n")
    (confusion-what-to-answer-to . "I can't figure out which article you want write a reply to.")
232
    (quit-in-spite-of-unsent . "You have an unsent article. Do you really want to quit? ")
Linus Tolke's avatar
Linus Tolke committed
233
234
    (really-quit . "Do you really want to quit LysKOM? ")
    (session-ended . "
235
236
237
238
--------------------------------------------
  LysKOM session finished
  You are now disconnected from the server
--------------------------------------------\n")
239
240
241
242
243
    (session-auto-ended . "
============================================================
Disconnecting from LysKOM since all connections are in use
and you have finished reading. Please come back later.
============================================================\n\n")
244
    (what-to-change-pres-you . "Change presentation of who/what (yourself): ")
Linus Tolke's avatar
Linus Tolke committed
245
246
    (who-to-put-motd-for . "Post note on the door of who/what (yourself): ")

247
    (cant-get-conf-stat . "Cannot get the status of that conference.")
248
    (go-to-conf-p . "Go to conference: ")
249
    (want-become-member . "Do you want to subscribe? ")
Linus Tolke's avatar
Linus Tolke committed
250
251
252
253
    (no-ok . "Okiedokie, whatever you say.\n")

    (who-to-remove-motd-for . "Remove note from the door of who/what: ")

254
    (conf-all-read . "%#1M - no unread articles.\n")
Linus Tolke's avatar
Linus Tolke committed
255
256
257
258
259
    (no-in-conf . "You are not present in any conference.\n")

    (search-for-pers . "Enter search key (RETURN for all users) ")
    (search-for-conf . "Enter search key (RETURN for all conferences) ")
    (name-to-be-changed . "Name to change: ")
260
    (no-such-conf-or-pers . "The conference or user doesn't exist.\n")
Linus Tolke's avatar
Linus Tolke committed
261
    (new-name . "New name: ")
262
263
    (who-to-change-supervisor-for . "Change supervisor of who/what: ")
    (new-supervisor . "New supervisor: ")
264
265
266
    (text-to-mark . "Mark which article: ")
    (text-to-unmark . "Unmark which article: ")
    (what-mark . "Set which mark: ")
Linus Tolke's avatar
Linus Tolke committed
267
268
269
270
    (unmarking-textno . "Unmarking article %#1d...")
    (marking-textno . "Marking article %#1d...")

    (new-passwd-again . "Repeat the new password for confirmation: ")
271
272
    (what-mark-to-view . "Review which mark: ")
    (whos-passwd . "Change password for whom (yourself): ")
Linus Tolke's avatar
Linus Tolke committed
273
274
275
    (old-passwd . "Your old password: ")
    (new-passwd . "Your new password: ")
    (changing-passwd . "Changing password...")
David Byers's avatar
David Byers committed
276
    (retype-dont-match . "You didn't reenter the same passwrod. Try again.\n")
Linus Tolke's avatar
Linus Tolke committed
277
278
279
280
281
    (palindrome . "(a palindrome!) ")
    (lyskom-name . "User")
    (is-in-conf . "In conference")
    (from-machine . "At")
    (is-doing . "Activity")
282
    (text-to-add-recipient . "Add recipient to which article: ")
283
    (text-to-add-copy . "Add recipient of carbon copy of which article: ")
284
285
286
    (text-to-delete-recipient . "Remove recipient from which article: ")
    (text-to-add-comment-to . "Add comment to which article: ")
    (text-to-delete-comment-from . "Remove comment from which article: ")
Linus Tolke's avatar
Linus Tolke committed
287

288
    (where-on-list-q . "Placement in your list? (0-%#1d) ")
David Kågedal's avatar
David Kågedal committed
289
    (member-in-conf . "Subscribing to %#1M...")
Linus Tolke's avatar
Linus Tolke committed
290
    (add-member-in . "Adding %#1s as a subscriber to %#2s...")
291
    (unsubscribe-to . "Unsubscribing from %#1s...")
Linus Tolke's avatar
Linus Tolke committed
292
293
294

    (exclude-from . "Unsubscribing %#1s from %#2s...")

295
    (unsubscribe-failed . "\nDidn't work. Perhaps %#1s doesn't subscribe to %#2s?\n")
Linus Tolke's avatar
Linus Tolke committed
296
297
298
299

    (You . "You")
    (could-not-create-conf . "Couldn't create the conference \"%#1s\".\nError: %#2d.\n")
    (created-conf-no-name . "Conference number %#1d %#2s has been created.\n")
300
    (cant-read-textno . "You are not allowed to read article %#1d")
Linus Tolke's avatar
Linus Tolke committed
301

302
303
    (not-supervisor-for . "You are not the supervisor of %#1s.\n")
    (not-supervisor-for . "You are not the supervisor of %#1s.\n")
304
    (go-to-conf . "Go to conference %#1M.\n")
305
306
    (cant-go-to-his-mailbox . "You are not allowed to go to %#1s's mailbox.\n")
    (not-member-of-conf . "You are not subscribed to %#1s.\n")
David Kågedal's avatar
David Kågedal committed
307
    (about-to-change-name-from . "%#1P\n")
308
309
    (change-name-done . "Done. New name: %#1s.\n")
    (change-name-nope . "Didn't work. Error code %#3d. %#2s.\n")
310
    (change-supervisor-from-to . "Change supervisor of %#1s to %#2s...")
Linus Tolke's avatar
Linus Tolke committed
311
    (change-supervisor-nope . 
312
     "\nDidn't work. Perhaps you are not allowed to change the supervisor of %#1s?\n")
Linus Tolke's avatar
Linus Tolke committed
313
    
314
    (no-marked-texts . "You have not marked any articles.\n")
Linus Tolke's avatar
Linus Tolke committed
315
    (no-marked-texts-mark . 
316
317
318
     "You have not marked any articles with mark %#1d.\n")
    (time-is . "The time is %4#1d %02#3d/%02#2d %02#4d:%02#5d:%02#6d %#7s(according to the server).\n")
;;  (time-is . "The time is %4#1d-%02#2d-%02#3d %02#4d:%02#5d:%02#6d %#7s(according to the server).\n")
Linus Tolke's avatar
Linus Tolke committed
319
    (total-users . "    A total of %#1d users.\n")
320
    (who-to-add-q . "Add who/what as a recipient: ")
321
    (who-to-add-copy-q . "Add which conference/user as recipient of a carbon copy: ")
322
    (who-to-sub-q . "Remove who/what as a recipient: ")
323

324
325
    (adding-name-as-recipient . "Adding %#1M as recipient of article %#2n...")
    (adding-name-as-copy . "%#1M will receive a carbon copy of article %#2n...")
Linus Tolke's avatar
Linus Tolke committed
326
    (remove-name-as-recipient .
327
     "Removing %#1M as recipient of article %#2n...")
328
329
    (text-to-add-q . "Add which article as a comment: ")
    (text-to-remove-q . "Remove which article as a comment: ")
Linus Tolke's avatar
Linus Tolke committed
330
331
    (add-comment-to . "Adding article %#1d as a comment to text %#2d...")
    (sub-comment-to . "Removing article %#1d as a comment to article %#2d...")
332
    (comment-keep-recpt-p ."Should %#1s remain a recipient? ")
Linus Tolke's avatar
Linus Tolke committed
333
334
335
336
337
338

    ; From commands2.el:

    (your-memberships . "Your LysKOM conference subscriptions:\n")
    (memberships-header . "Last access	   Prio	Unread	Conference\n")
    
339
    (conf-for-status . "Get status of which conference: ")
David Byers's avatar
David Byers committed
340
    (no-such-conf . "The conference doesn't exist.")
David Kågedal's avatar
David Kågedal committed
341
    (status-record . "Status of conference %#1M (%#2m) %#3s\n\n")
Linus Tolke's avatar
Linus Tolke committed
342
343
344
345
    (Mailbox . "Mailbox")
    (Protected . "Protected")
    (no-comments . "No comments")
    (closed . "Closed")
346
                   
David Kågedal's avatar
David Kågedal committed
347
    (created-by . "%[%#3@Created by person %24#1:p%] %#4s(%#2P)\n")
348
349
350
351
352
    (created-at . "Created:%34#1s\n")
    (members .    "Number of subscribers: %19#1d\n")
    (garb-nice . "Expiration time (in days):%16#1d\n")
    (lowest-local-no . "Lowest local number: %21#1d\n")
    (highest-local-no . "Highest local number: %20#1d\n")
Linus Tolke's avatar
Linus Tolke committed
353
    (last-text-time . 
354
     "Time of last article: %20#1s (accordning to your cache)\n")
David Kågedal's avatar
David Kågedal committed
355
356
357
358
359
360
    (no-of-motd . "Note on the door in article: %13#1n\n")
    (superconf-is-no-name . "%[%#3@Superconference: %25#1:m%] %#4s(%#2M)\n")
    (permitted-submitters-no-name . "%[%#3@Allowed authors: %25#1:m%] %#4s(%#2M)\n")
    (supervisor-is-no-name . "%[%#3@Supervisor: %30#1:p%] %#4s(%#2P)\n")
    (presentation-no . "Presentation:    %25#1n\n")
    (conf-has-motd . "\n%#1M has a note on the door:\n")
Linus Tolke's avatar
Linus Tolke committed
361
362
363

    (Everybody . "Everyone")
    (show-members-list-also-q . "List subscribers? ")
David Kågedal's avatar
David Kågedal committed
364
    (conf-has-these-members . "\n%#1M has the following subscribers:\n")
365
    (member-list-header . "Last entered       Unread  Name\n\n")
366
    (secret-membership . "--- Secret line ---\n")
David Kågedal's avatar
David Kågedal committed
367
    (conf-membership-line . "%#1s%#2M\n")
368
    (pers-for-status . "Get status of which user: ")
David Byers's avatar
David Byers committed
369
    (no-such-pers . "The user doesn't exist.")
David Kågedal's avatar
David Kågedal committed
370
    (pers-status-record . "Status of user %#1P (%#2p)\n")
Linus Tolke's avatar
Linus Tolke committed
371
    (created-time .  "Created:%34#1s\n\n")
372
373
374
375
376
377
378
    (created-confs . "Conferences created:%22#1d\n")
    (created-persons . "Users created:%28#1d\n")
    (created-texts . "Articles created:%25#1d\n")
    (created-lines . "Lines created:%28#1d\n")
    (created-chars . "Characters created:%23#1d\n")
    (no-of-sessions . "Session count:%28#1d\n")
    (present-time-d-h-m-s . "Total presence:%16#1d d %02#2d:%02#3d:%02#4d\n")
Linus Tolke's avatar
Linus Tolke committed
379
    (last-log-in . "Last session:%29#1s\n")
380
    (user-name . "User: %36#1s\n")
Linus Tolke's avatar
Linus Tolke committed
381
382

    (read-texts . "Articles read:%28#1d\n")
383
    (marked-texts . "Articles marked:%26#1d")
384
    (time-for-last-letter . "Time of last letter:%22#1s (accordning to your cache)\n")
David Kågedal's avatar
David Kågedal committed
385
386
    (superconf . "%[%#3@Superconference:%31#1:m%] %#4s(%#2M)\n")
    (supervisor . "%[%#3@Supervisor:%29#1:p%] %#4s(%#2P)\n")
387
388
389
    (member-of-confs . "Subscribed to (conferences):%14#1d\n")
    (presentation . "Presentation:    %25#1d\n")
    (show-membership-list-also-q . "List subscriptions? ")
Linus Tolke's avatar
Linus Tolke committed
390
    (not-allowed-see-confs . "You are not premitted to see which conferences %#1s subscribes to.\n")
David Kågedal's avatar
David Kågedal committed
391
    (is-member-of . "\n%#1P subscribes to the following conferences:\n")
392
    (membership-list-header . "Last access       Unread Conference\n\n")
David Kågedal's avatar
David Kågedal committed
393
394
    (pers-membership-line . "%#1s%#2s%#3M\n")
    (is-supervisor-mark . "O ")
395
    (who-to-send-message-to . "Send message to whom? (%s) ")
David Kågedal's avatar
David Kågedal committed
396
    (his-total-unread . "\n%#1M has a total of %#2d unread articles.\n")
Linus Tolke's avatar
Linus Tolke committed
397
    (message-prompt . "Message: ")
398
399
    (message-sent-to-user .
     "================================================================
400
Your message for %#2M:
401

402
%#1t
403
404
405
406
407
408
----------------------------------------------------------------
")
    (message-sent-to-all . 
     "================================================================
Your public message:

409
%#1t
410
411
----------------------------------------------------------------
")
Linus Tolke's avatar
Linus Tolke committed
412
    (message-nope .
413
414
415
     "Unable to send the message. Perhaps the recipient isn't logged on.
The message you were sending to %#1s was:
%#2s\n")
416
    (only-last . "Last (0 - %#1d) articles in %#2s: ")
Linus Tolke's avatar
Linus Tolke committed
417
    (only-error . "Something went wrong. Sorry.\n")
418
    
419
420
421
422
    (you-have-unreads . "You have %#1d unread articles in %#2M\n")
    (you-have-an-unread . "You have 1 unread article in %#1M\n")
    (you-have-unreads-special . "You have %#1d uncommented articles in %#2M\n")
    (you-have-an-unread-special . "You have 1 uncommented article in %#1M\n")
Linus Tolke's avatar
Linus Tolke committed
423
424
425
426
427
428
429
    (you-have-read-everything . "No news (is bad news).\n")
    (total-unreads . "\nYou have %#1d unread articles.\n")
    (total-unread . "\nYou have 1 unread article.\n")
    (waiting-for-anything .
     "You are waiting for an article in any conference.\n")
    (waiting-higher-than . 
     "You are waiting for an article in any conference with a priority higher than %#1d.\n")
430
    
431
    (have-to-be-in-conf-with-unread . "You must go to a non-empty conference first.\n")
Linus Tolke's avatar
Linus Tolke committed
432
433
434
435
436
    (Texts . "Article")
    (Date . "Date")
    (Lines . "Lines")
    (Author . "  Author")
    (Subject . "  Subject")
David Byers's avatar
David Byers committed
437
    (could-not-read . "You couldn't read the article (%#1d).\n")
Linus Tolke's avatar
Linus Tolke committed
438
    (multiple-choice . "There are several alternatives.")
439
    (does-not-exist . "Unknown command.") ; Only people fixing bugs or recieving bug-reports should change these:
440
441

    ; Only people fixing bugs or recieving bugg-reports should change these:
442
443
    (buggrepport-compilestart . "Creating bug report...")
    (buggrepport-compileend . "Creating bug report...done")
444
    (buggreport-description . "This is what I was doing:
445
\(Fill in your comments below\)\n================\n\n
446
447
================
In the information below are the 100 most recently pressed keys from
448
449
450
451
your emacs. If you recently logged on, you password may be contained in
this list. If that is the case, change the characters corresponding to
your password to asterisks.

452
When you have finished writing this, send your bug report to the LysKOM
453
developers. You can do this either by email to bug-lyskom@lysator.liu.se or
454
by mailing a hardcopy of your bug report to:
455
456
Lysator, c/0 ISY, Linkoping Univerity, S-581 83 Linkoping, SWEDEN.
Mark the envelope with \"LysKOM bug report\"\n\n")
Linus Tolke's avatar
Linus Tolke committed
457
458
    (buggreport-internals . "LysKOM's internal information:\n\n")
    (buggreport-version . "lyskom-version:")
459
460
461
    (buggreport-emacs-version . "emacs-version:")
    (buggreport-system-id . "system-id:")
    (buggreport-ctl-arrow-doc . "ctrl-doc:")
Linus Tolke's avatar
Linus Tolke committed
462
    (buggreport-unparsed . "\nlyskom-unparsed-buffer:")
463
    (buggreport-command-keys . "Recently pressed keys:")
Linus Tolke's avatar
Linus Tolke committed
464
465
    (buggreport-backtrace . "\n*Backtrace*:\n%#1s\n")
    (buggreport-communications . "\nlyskom-debug-communications-to-buffer-buffer:")
466
    (buggreport-all-kom-variables . "\n\nOther variables:\n***** *********")
Linus Tolke's avatar
Linus Tolke committed
467
468
469
    (buggreport-instead-of-byte-comp . "byte-code(\"byte-string\"")
    (buggreport-subject . "Bugreport elisp-client version %#1s")

470

471
    (not-logged-in . "You are not logged on. ")
Linus Tolke's avatar
Linus Tolke committed
472
473
474
    (name-is-not-in-conf . "%#1s is in any conference.\n")
    (name-is-in-conf . "%#1s is in\n%#2s\n")
    (connected-during . "Connect time: %#1d seconds.\n")
475

476
    (conf-to-set-permitted-submitters-q . "For which conference do you want to set the allowed authors: ")
477
    (conf-to-set-super-conf-q . "Set superconference of which conference: ")
478
    (new-super-conf-q . "Which conferece do you want as superconference: ")
479
    (new-permitted-submitters-q . "Allow members of which conference as authors in %#1s (all): ")
480
    (super-conf-for-is . "Changing superconference of %#1s to %#2s...")
481
    (permitted-submitters-removed-for-conf . "Allowing all authors to conference %#1s...")
482
    (submitters-conf-for-is . "Changing authors admitted to conference %#1s to the members of %#2s...") 
483
   
484
485
    (conf-to-set-garb-nice-q . "Set expiration time for which conference: ")
    (new-garb-nice-q . "What do you want to set the expiration time to: ")
Linus Tolke's avatar
Linus Tolke committed
486
487
488
489
490
491
492
493
494
495
496
497
    (garb-nice-for-is . "Changing expiration for %#1s to %#2d...")

    (really-shutdown . "Are you sure you want to shut down the server? ")
    (closing-server . "Shutting down the server...")
    (administrator . "administrator")
    (no-longer-administrator . "a regular user again")
    (you-are-now . "Ok, you are now running as %#1s.\n")
    (setting-motd . "Changing login message to article %#1d.\n")
    (set-motd-success . "You have set a new login message.\n")
    (set-motd-failed . "Didn't work. Perhaps you were not an administrator.\n")
    (removing-motd . "Removing the login message.\n")
    (removed-motd . "You have removed the login message.\n")
498
    (who-to-throw-out . "Which session do you want to kill: ")
Linus Tolke's avatar
Linus Tolke committed
499
    (throwing-out . "Killing session %#1d... ")
500
    (postpone-prompt . "How much do you want to read now: ")
David Kågedal's avatar
David Kågedal committed
501
    (set-session-priority . "Set reading level:")
Linus Tolke's avatar
Linus Tolke committed
502
503
504
505

    ; From review.el:
    (latest-n . "last %#1d")
    (first-n . "first %#1d")
506
    (info-by-whom . "%#1s by whom: ")
Linus Tolke's avatar
Linus Tolke committed
507
508
509
    (info-to-conf . "%#1s to conference: ")
    (info-by-to . "%#1s by %#2s to %#3s forward.")
    (all-confs . "all conferences")
510
511
512
    (no-get-conf . "You are not allowed to access that conferene.\n")
    (no-get-pers . "You are not allowed to access that user.\n")
    (no-review-info . "You are not allowed to review %#1s\n")
Linus Tolke's avatar
Linus Tolke committed
513
514
515
516
517
518
519
520
521
    (review-info . "Review %#1s\n")
    (you-review . "You are now reviewing %#1s.\n")
    (read-text-first . "You must read a article first.\n")
    (cannot-read-last-text . "You cannot review the last read article.\n")
    (review-n-texts . "Review %#1d articles.\n")
    (review-marked . "Review %#1d marked articles.\n")
    (review-text-no . "Review article %#1d")
    (review-one-comment . "Review one comment to article %#1d.\n")
    (review-many-comments . "Review %#2d comments to article %#1d.\n")
522
    (read-normally-read . "How many articles to you want to review: ")
Linus Tolke's avatar
Linus Tolke committed
523
524

    ; From edit-text.el:
525
    (press-C-c-C-c . "Enter C-c C-c to post the article.")
Linus Tolke's avatar
Linus Tolke committed
526
527
528
529
    (recipient . "Recipient:")
    (carbon-copy . "Carbon copy:")
    (text-mass . "%#4s%#1s\n%#2s\n%#3s")
    (comment-to-by . "%#1s to article %#2d%#3s.\n")
530
    (already-sent . "You have already posted this article. Post it anyway? ")
Linus Tolke's avatar
Linus Tolke committed
531
    (subject . "Subject: ")
532
    (which-text-include . "Include which article: ")
Linus Tolke's avatar
Linus Tolke committed
533
534
535
536
    (added-recipient . "Recipient: ")
    (added-carbon-copy . "Carbon copy to conference: ")
    (conf-has-motd-no . "The conference has a note on the door. (%#1d)\n\n%#2s")
    (still-want-to-add . "Do you still want to add the conference as a recipient? ")
537
    (could-not-create-text . "\nCouldn't create the article. Error: %#2s.\n")
538
    (no-get-text . "You were not allowed to retrieve the article.")
Linus Tolke's avatar
Linus Tolke committed
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554


    ; From view-text.el:
    (line . " /1 line/ ")
    (lines ." /%#1d lines/ ")

    (marked-by-you . "Marked by you.\n")
    (marked-by-you-and-one . "Marked by dig and someone else.\n")
    (marked-by-you-and-several . "Marked by you and %#1d other users.\n")
    (marked-by-one . "Marked by 1 user.\n")
    (marked-by-several . "Marked by %#1d users.\n")

;; The format of this function should coincide with the format of the 
;; lyskom-text-start variable. DONT change one without changing the other.

; used by lyskom-print-time
555
    (time-y-m-d-h-m . "%4#1d %02#3d/%02#1d  %02#4d:%02#5d ")
556
557
558
559
    (today-time-format-string . "%#6s %02#4d:%02#5d")
    (yesterday-time-format-string . "%#6s %02#4d:%02#5d")
    (today . "today")
    (yesterday . "yesterday")
Linus Tolke's avatar
Linus Tolke committed
560
; used by lyskom-return-time
561
    (time-yyyy-mm-dd-hh-mm . "%4#1d %02#3d/%02#2d %02#4d:%02#5d")
David Byers's avatar
David Byers committed
562
    (no-such-text-no . "The article doesn't exist. (%#1d)\n")
Linus Tolke's avatar
Linus Tolke committed
563
564
565
566

    (head-Subject . "Subject: ")
    (Recipient . "Recipient")
    (Extra-recipient . "CC")
567
    (send-at . "   Posted:     %#1s\n")
David Kågedal's avatar
David Kågedal committed
568
    (sent-by . "   Posted by %#1P\n")
Linus Tolke's avatar
Linus Tolke committed
569
570
    (recieved-at . "    Received: %#1s\n")
    (written-by . "by %#1s")
David Kågedal's avatar
David Kågedal committed
571
    (comment-to-text-by . "Comment to article %#1n by %#2P\n")
572
    (footnote-to-text-by . "Footnote to article %#1d %#2P\n")
David Kågedal's avatar
David Kågedal committed
573
    (comment-in-text-by . "Comment in article %#1n by %#2P\n")
574
    (footnote-in-text-by . "Footnote in article %#1d %#2P\n")
Linus Tolke's avatar
Linus Tolke committed
575
576
577
578
579

    ; From async.el:

    (name-has-changed-to-name . "%#1s has changed name to %#2s")
    (name-has-changed-to-name-r . "%#1s has changed name to %#2s\n")
580
    (you-changed-name-to . "You have now changed your name to %#1s.\n")
Linus Tolke's avatar
Linus Tolke committed
581
    (database-sync . "Synching database.")
582

Linus Tolke's avatar
Linus Tolke committed
583
584
585
586
    (lyskom-is-full . "\
===========================================================
Message from the LysKOM-system: Somebody tried to connect,
but failed since all connections available to LysKOM are in
587
588
use. Please leave and return later if you are just waiting
for an article.
Linus Tolke's avatar
Linus Tolke committed
589
===========================================================\n")
David Kågedal's avatar
David Kågedal committed
590
591
592
    (has-entered . "%#1:P has entered LysKOM.")
    (has-entered-r . "%#1P has entered LysKOM.\n")
    (has-left . "%#1:P has left LysKOM.")
593
    (has-left-r . "%#1P has left LysKOM.\n")
Linus Tolke's avatar
Linus Tolke committed
594
595
    (unknown . "unknown")

596
597
    (message-broadcast .
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
David Kågedal's avatar
David Kågedal committed
598
Public message from %#1P (%#3s):
599

David Kågedal's avatar
David Kågedal committed
600
%#2t
601
602
603
604
----------------------------------------------------------------
")
    (message-from . 
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
David Kågedal's avatar
David Kågedal committed
605
Personal message from %#1P (%#3s):
606

David Kågedal's avatar
David Kågedal committed
607
%#2t
608
609
----------------------------------------------------------------
")
610
611
612
613
614
615
616
    (message-from-to .
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Group message to %#3s from %#2s (%#4s):

%#1s
----------------------------------------------------------------
")    (text-is-created . "Article %#1d has been created!")
Linus Tolke's avatar
Linus Tolke committed
617
618
619
620
621
622
623


    ; From completing-read.el:

    (person-or-conf-no-regexp . "\\`[ \t]*[mpMP]\\w*[ \t]+\\([0-9]+\\)\\'")

    ; From prioritize.el:
624
625
    (cannot-get-membership . "Cannot retrieve your subscription list.")
    (cannot-get-pers-stat . "Cannot retrieve your personal status.")
Linus Tolke's avatar
Linus Tolke committed
626
627
628
    (your-membship . "Your subscriptions:
  Prio Conf# Conference\n")
    (prio-row . " %5#1d%5#2d  %#3s\n")
629
    (too-high-goto-2 . "You are too high up, move down to line two.")
Linus Tolke's avatar
Linus Tolke committed
630
631
632
633
634
635
636
637
638
    (too-low-go-up . "You can't push the last line. Move up one line.")
    (all-confs-popped .  "All conferences have been popped.")
    (prio-died . "Couldn't complete the move. Sorry. Kill the buffer.")
    (new-priority . "New priority? (0 (low) - 255 (high)) ")
    (new-prio . "%6#1d")

    ; From flags.el:
    (saving-settings . "Saving options")
    (hang-on . "Wait a moment...\n")
639
    (could-not-save-options . "Couldn't save options.")
Linus Tolke's avatar
Linus Tolke committed
640
641
642
643
644
645
646
647
648
    (could-not-create-area . "Couldn't create the article.\n")
    (could-not-set-user-area . "Couldn't alter the user-area. The server says error: %#1d\n")
    (you-dont-exist . "You don't exist. Go away.\n")

    ; From elib-string.el:
    ; No entries.

    ; From lyskom-rest.el:

649
650
651
    (mode-line-unread . " Unread")
    (mode-line-letters . " letters")

Linus Tolke's avatar
Linus Tolke committed
652
653
654
655
656
657
658
659
660
661
662
    (error-code . "Error code %#2d: %#1s.\n")
    (extended-command . "LysKOM: ")
    (wait-for-server . "LysKOM is waiting for a response from the server. Wait for the prompt.\n")
    (review-text-q . "Review article: ")
    (review-text-no . "Review article %#1d.\n")

    (completely-read-conf . "You have seen all the articles in this conference.\n")
    (not-in-any-conf . "You are not in a conference now.\n")

    (all-conf-unread-r . "You have nothing unread.\n")
    (all-conf-unread-s . "You have nothing unread. ")
David Kågedal's avatar
David Kågedal committed
663
664
    (one-unread . "%#1M - one unread article\n")
    (several-unread . "%#1M - %#2d unread articles\n")
Linus Tolke's avatar
Linus Tolke committed
665

666
    (save-on-file-q . "Save which article in file: (%#1s) ")
667
    (wait-for-prompt . "Wait for the prompt.")
668
    (prompt-modifier-ansaphone . "[%s]")
Linus Tolke's avatar
Linus Tolke committed
669
670
671
672
673
674
675
676
677
678
679
680
681
    (go-to-pri-conf-prompt . "Go to next prioritized conference")
    (read-pri-text-conf . "Read next prioritized article")
    (review-next-text-prompt . "Review next article")
    (review-next-comment-prompt . "Review next comment")
    (review-next-marked-prompt . "Review next marked article")
    (read-next-letter-prompt . "Read next letter")
    (read-next-footnote-prompt . "Read next footnote")
    (read-next-comment-prompt . "Read next comment")
    (read-next-text-prompt . "Read next article")
    (go-to-conf-of-marked-prompt . "Review next marked")
    (go-to-next-conf-prompt . "Go to next conference")
    (go-to-your-mailbox-prompt . "Go to your mailbox")
    (the-command . "Command:%#1s")
David Kågedal's avatar
David Kågedal committed
682
    (error-in-login-hook . "There was an error in your kom-login-hook: %#1s\n")
Linus Tolke's avatar
Linus Tolke committed
683
684
685
686
687
688
689
690

    (give-a-number . "Enter a number: ")

    (yes-regexp . "\\`[yY][eE][sS]\\'")
    (no-regexp . "\\`[nN][oO]\\'")
    (yes-or-no-nag . "Answer yes or no.")
    (yes-or-no . "(yes or no) ")

691
    (y-or-n-instring . "yYnN")
Linus Tolke's avatar
Linus Tolke committed
692
693
    (j-or-n-nag . "Answer y or n. ")
    (j-or-n . "(y or n) ")
694
    (y-instring . "yY")
Linus Tolke's avatar
Linus Tolke committed
695

696
    (person-does-not-exist . "User %#1d (does not exist).")
David Kågedal's avatar
David Kågedal committed
697
    (conference-does-not-exist . "Conference %#1d (does not exist).")
698
    (person-is-anonymous . "Anonymous user")
Linus Tolke's avatar
Linus Tolke committed
699
700
701
702
703
704
705
706
707
708

    (process-signal . "Signal from the process.")
    (closed-connection . "
**************************************************
LysKOM session killed abnormallly
Error message: %#1s**************************************************")
    (error-not-found . "Error code %#1d. No explanation available.")

    ; Useful in more place than one:
    (illegal-command . "Illegal command.\n")
David Byers's avatar
David Byers committed
709
710
    (no-such-text . "The article doesn't exist.\n")
    (no-such-text-m . "The article doesn't exist.")
Linus Tolke's avatar
Linus Tolke committed
711
712
713
714
715
716
717
718
    (everybody . "everyone")
    (anybody . "anyone")
    (forward . "forward")
    (backward . "backward")
    (wait . "Wait a moment...\n")
    (comment . "Comment")
    (footnote . "Footnote")
    (by . " by %#1s")
719
    (text-created .  "Article %#1d has been created.\n")
720

721
    (starting-program . "Starting %#1s...")
722
723
    (super-jump . "Filtering subject \"%#1s\" in conference \"%#2s\"\n")
    (filtered . "[Filtered]")
724
725
726
727
    (filter-error-specification . "Error in the filter specification")
    (filter-error-bad-not . "Error in the filter specification after 'not'")
    (filter-error-unknown-key . "The filter key '%S' is unknown.")
    (filter-error-key-arg . "Bad filter data (%S %S)")
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
    (filter-tree . "Skipping article %d \"%s\" by %s and all its comments.\n")
    (filter-text . "Skipping article %d \"%s\" by %s.\n")
    (filter-permanent . "Permanent? ")
    (filter-action . "Filter how: ")
    (filter-in-conf . "In which conference (all): ")
    (filter-subject . "Filter which subject: ")
    (filter-text . "Filter articles containing: ")
    (filter-author . "Filter which author: ")
    (permanent . "(permanent)")
    (temporary . "(temporary)")
    (filter-edit-buffer-name . "*LysKOM Filter Edit*")
    (filter-edit-empty-list . "Empty list")
    (filter-edit-start-of-list . "Beginning of list")
    (filter-edit-end-of-list . "End of list")
    (filter-edit-filter-how . "Filter how? ")
    (filter-edit-filter-what . "What do you want to filter: ")
    (filter-edit-bad-argument . "Bad input: %s")
    (filter-edit-outside-entry . "Can't do that outside a filter")
    (filter-edit-outside-list . "Can't do that outside the list")
    (filter-edit-end-of-pattern . "End of filter")
    (filter-edit-save-p . "Save changes? ")
    (filter-edit-remove-empty . "Empty filters cause all articles to be filtered. Do you want to remove these? ")
    (filter-edit-restart-p . "You have made changes. Really revert? ")
    (filter-edit-help . "p Up, n Down, i New line, M-i New filter, d Delete line, M-d Delete filter")
    (filter-edit-header . "Edit filters on \"%s\"\n")
    (filter-edit-saving . "Saving changes...")
    (filter-edit-saving-done . "Saving changes...done")
    (filter-edit-saving-error . "Couldn't save changes!")
    (filter-edit-insert-pred . "%#1s (=,!=): ")
    (filter-edit-insert-arg . "%#1s %#2s (what): ")
    (no-filters . "No filters are defined.")
    (view-filters-header . "\nActive filters:\n\n")
    (view-filters-footer . "")
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809

    (ansaphone-new-message . "New Ansaphone message: ")
    (ansaphone-message . "Ansaphone message:
----------------------------------------------------------------------
%#1s
----------------------------------------------------------------------
")
    (ansaphone-state . "The Ansaphone is %#1s.")
    (ansaphone-state-r . "The Ansaphone is no %#1s.\n")
    (ansaphone-messages-gone . "Recorded messages have been erased.")
    (ansaphone-no-messages . "No recorded messages.\n")
    (ansaphone-message-list-start . "Recorded messages:\n\n")
    (ansaphone-message-list-end . "\n\n")
    (ansaphone-message-header . "Automatic reply (set %#1s):\n")

    (remote-erase-messages . "Remote control (%#1P %#2s): Erased recorded messages\n")
    (remote-set-message . "Remote control (%#1P %#2s): Ansaphone message:
----------------------------------------------------------------------
%#3s
----------------------------------------------------------------------
")
    (remote-set-ansaphone . "Remote control (%#1P %#2s): The ansaphone is %#3s\n")
    (remote-list-messages . "Remote control (%#1P %#2s): Listed recorded messages\n")
    (remote-quit . "Remote control (%#1P %#2s): Quit\n")

    (illegal-remote . 
"Illegal remote control attempt:
Time: %#1s
From: %#2P <%#2p>
To  : %#3P <%#3p>
Text: 
%#4t")
    (illegal-remote-reply . "Remote control rejected: %#1s") 
    (remote-not-in-list . "Unauthorised person")
    (remote-bad-command . "Unknown or malformed command")
    (remote-unknown-error . "Unknown error")

    (remote-control-who . "Remotely control which session? ")
    (remote-control-autoreply . "Ansaphone on or off? ")

    (state-on . "on")
    (state-off . "off")
    

    (text-popup-title . "Article %#1s")
    (conf-popup-title . "Conference %#1s")
    (pers-popup-title . "User %#1s")
    (url-popup-title  . "URL %#1s")
    (generic-popup-title . "%#1s")
Linus Tolke's avatar
Linus Tolke committed
810
811
812
813
814
815
816
817
818
819
820
821
    )
  "Assoc list containing pairs of atoms and strings")



;;; ================================================================
;;;              The commands and their associated functions


(defconst lyskom-commands
  '(
    (describe-mode              "Help")
822
823
    (kom-slow-mode              "Long commands")
    (kom-quick-mode             "Short commands")
Linus Tolke's avatar
Linus Tolke committed
824
    (kom-send-message           "Send message")
825
    (kom-create-conf            "Create conference")
Linus Tolke's avatar
Linus Tolke committed
826
827
    (kom-delete-conf            "Delete conference")
    (kom-delete-text            "Remove article")
828
829
830
831
832
833
    (kom-display-time           "Time")
    (kom-go-to-conf             "Go (to) conference")
    (kom-go-to-next-conf        "(Go to) next conference")
    (kom-jump                   "Skip (all) comments")
    (kom-list-conferences       "List conferences") 
    (kom-list-persons           "List users")
Linus Tolke's avatar
Linus Tolke committed
834
    (kom-list-news              "List news")
835
836
    (kom-membership             "List subscriptions")
    (kom-postpone               "Postpone reading")
David Kågedal's avatar
David Kågedal committed
837
    (kom-set-session-priority	"Set reading level")
838
839
840
841
842
    (kom-prioritize             "Prioritize conferences")
    (kom-status-person          "Status (of) user")
    (kom-status-conf            "Status (of) conference")
    (kom-add-self               "Subscribe (to) conference")
    (kom-list-summary           "List article (subjects)")
Linus Tolke's avatar
Linus Tolke committed
843
    (kom-sub-self               "Unsubscribe (to) conference")
844
845
846
847
848
849
850
    (kom-quit                   "Quit")
    (kom-recover                "Recover") 
    (kom-start-anew             "New User")
    (kom-view                   "Review article")
    (kom-find-root-review       "Review tree")
    (kom-review-comments        "Review all comments")
    (kom-review-tree            "Review all comments recursively")
Linus Tolke's avatar
Linus Tolke committed
851
    (kom-review-clear           "Review and skip")
852
853
    (kom-review-last-normally-read
     				"Review again")
854
    (kom-review-noconversion	"Review unconverted")
Linus Tolke's avatar
Linus Tolke committed
855
    (kom-review-next            "Review next")
856
    (kom-find-root              "Review original (article)")
David Byers's avatar
David Byers committed
857
    (kom-review-by-to           "Review last")
Linus Tolke's avatar
Linus Tolke committed
858
859
860
861
    (kom-view-commented-text    "Review (the) commented (article)")
    (kom-review-stack           "Review stack")
    (kom-review-presentation    "Review presentation")
    (kom-review-backward        "(Review) Backwards")
862
863
864
865
866
867
    (kom-view-next-text         "(Read) next article")
    (kom-who-is-on              "Who (is on)") 
    (kom-display-who-buffer     "Display who (list)")
    (kom-busy-wait              "Wait (for news)")
    (kom-write-comment          "(Write) comment")
    (kom-comment-previous       "(Write) comment (to) previous article")
Linus Tolke's avatar
Linus Tolke committed
868
869
    (kom-write-footnote         "(Write) footnote")
    (kom-private-answer         "(Write) personal reply (by letter)")
870
871
    (kom-private-answer-previous
     "(Write) personal (reply to) previous article (by letter)")
872
873
874
875
    (kom-set-unread     		"Only (the) last")
    (kom-write-text             "Write (an) article")
    (kom-send-letter            "Write (a) letter")
    (kom-change-name            "Change name")
Linus Tolke's avatar
Linus Tolke committed
876
    (kom-change-password        "Change password")
877
    (kom-change-supervisor  	"Change supervisor")
Linus Tolke's avatar
Linus Tolke committed
878
879
880
881
882
883
884
885
    (kom-change-presentation	"Change presentation")
    (kom-get-appreciation       "(Please) pat my head")
    (kom-get-abuse              "(Please) kick my butt")
    (kom-mark-text              "Mark (article)")
    (kom-unmark-text            "Unmark (article)")
    (kom-review-marked-texts    "Review marked (articles)")
    (kom-review-all-marked-texts "Review all marked (articles)")
    (kom-add-recipient          "Add recipient")
886
    (kom-add-copy               "Add (recipient of) carbon copy")
Linus Tolke's avatar
Linus Tolke committed
887
    (kom-sub-recipient          "Remove recipient")
888
889
890
    (kom-add-comment            "Add comment")
    (kom-sub-comment            "Remove comment")
    (kom-add-member             "Add subscriber")
Linus Tolke's avatar
Linus Tolke committed
891
    (kom-sub-member             "Remove subscriber")
892
    (kom-change-conf-motd       "(Post) note (on the) door")
Linus Tolke's avatar
Linus Tolke committed
893
    (kom-set-garb-nice          "Change expiration")
894
    (kom-set-super-conf         "Change superconference")
895
896
897
898
    (kom-set-permitted-submitters  "Change allowed authors")
    (kom-unset-conf-motd        "Remove note (from the door)")
    (kom-save-text              "Save article (in file)")
    (kom-edit-options           "Change options")
Linus Tolke's avatar
Linus Tolke committed
899
900
901
902
903
    (kom-shutdown-server        "Shut down (server)")
    (kom-enable-adm-caps        "Become administrator")
    (kom-disable-adm-caps       "Become (normal) user")
    (kom-set-motd               "Change login message")
    (kom-remove-motd            "Remove login message")
904
    (kom-force-logout           "Kill session")
905
906
907
908
909
910
911
912
913
914
    (kom-list-files             "List files")
    (kom-put-file               "Put file")
    (kom-get-file               "Get file")
    (kom-filter-author          "Filter author")
    (kom-filter-subject         "Filter subject")
    (kom-super-jump             "Super jump")
    (kom-filter-edit            "Edit filters")
    (kom-filter-text            "Filter contents")
    (kom-list-filters           "List filters")
    (kom-show-user-area         "Show user area")
David Kågedal's avatar
David Kågedal committed
915
    (kom-change-conf-type "Change conference type")
916
917
918
919
920
921
922
923
924
925
926

    (kom-change-auto-reply "Change ansaphone message")
    (kom-toggle-auto-reply "Ansaphone")
    (kom-list-messages     "List messages")
    (kom-erase-messages    "Erase messages")

    (kom-remote-autoreply  "Remote control ansaphone")
    (kom-remote-set-message "Remote control change ansaphone message")
    (kom-remote-list-messages "Remote control list messages")
    (kom-remote-erase-messages "Remote control erase messages")
    (kom-remote-quit "Remote control quit")
Linus Tolke's avatar
Linus Tolke committed
927
928
929
    )
  "A list of LysKOM-commands recognized by the extended parser.")

930
931
932
(defvar lyskom-swascii-commands nil
  "The swascii-versions of lyskom-commands.")

933
934
935
936
(defvar lyskom-onoff-table
  '(("on" . on) ("off" . off))
  "A completion table for on and off selections.")

937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
(defvar lyskom-filter-predicate-list
      '(("=" . nil) ("!=" . t))
      "A list of legal filter comparison predicates.")

(defvar lyskom-filter-what
      '((author . "Author")
        (author-no . "Author (number)")
        (author-re . "Author (regexp)")
        (subject . "Subject")
        (subject-re . "Subject (regexp)")
        (recipient . "Recipient")
        (recipient-no . "Recipient (number)")
        (recipient-re . "Recipient (regexp)")
        (text . "Contents")
        (text . "Contents (regexp)"))
      "A list of legal filter conditions and their textual representation.")

(defvar lyskom-filter-actions
      '((dontshow . "Don't show")
        (skip-text . "Skip")
        (skip-tree . "Skip comments"))
      "A list of legal filter actions an their textual representation.")
                               
(defvar lyskom-swascii-filter-actions nil
  "The swascii-versions of lyskom-filter-actions.")
(defvar lyskom-swascii-filter-what nil
  "The swascii version of lyskom-filter-what")

Linus Tolke's avatar
Linus Tolke committed
965
966
967
968
969
970
971
972
973
974
975

(defvar lyskom-text-start "
[0-9]+ 199[0-9]-[0-1][0-9]-[0-3][0-9] +[0-2][0-9]:[0-5][0-9]  /[0-9]+ line\\(s\\)?/ "
  "Regexp matching beginning of a article in LysKOM buffer.
Cf. paragraph-start.")


(if lyskom-mode-map
    nil
  (setq lyskom-mode-map (make-keymap))
  (suppress-keymap lyskom-mode-map)
976
977
978
979
  (define-prefix-command 'lyskom-review-prefix)
  (define-prefix-command 'lyskom-change-prefix)
  (define-prefix-command 'lyskom-next-prefix)
  (define-prefix-command 'lyskom-list-prefix)
980
  (define-prefix-command 'lyskom-filter-get-prefix)
981
  (define-prefix-command 'lyskom-S-prefix)
Linus Tolke's avatar
Linus Tolke committed
982
983
  (define-key lyskom-mode-map "A" 'lyskom-change-prefix)
  (define-key lyskom-mode-map "r" 'lyskom-review-prefix)
984
  (define-key lyskom-mode-map "f" 'lyskom-filter-get-prefix)
Linus Tolke's avatar
Linus Tolke committed
985
986
987
  (define-key lyskom-mode-map "n" 'lyskom-next-prefix)
  (define-key lyskom-mode-map "l" 'lyskom-list-prefix)
  (define-key lyskom-mode-map "s" 'lyskom-S-prefix)
988
989

  (define-key lyskom-mode-map [mouse-2] 'kom-mouse-2)
990
  (define-key lyskom-mode-map [down-mouse-3] 'kom-mouse-3)
991
992
993
  (define-key lyskom-mode-map "*" 'kom-key-mouse-2)
  (define-key lyskom-mode-map "\M-f" 'kom-next-link)
  (define-key lyskom-mode-map "\M-b" 'kom-previous-link)
994

Linus Tolke's avatar
Linus Tolke committed
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
  ; These should be first in order to be last in the menu of alternatives.
  (define-key lyskom-mode-map "A?" 'lyskom-help)
  (define-key lyskom-mode-map "r?" 'lyskom-help)
  (define-key lyskom-mode-map "f?" 'lyskom-help)
  (define-key lyskom-mode-map "n?" 'lyskom-help)
  (define-key lyskom-mode-map "l?" 'lyskom-help)
  (define-key lyskom-mode-map "s?" 'lyskom-help)
  

  (define-key lyskom-mode-map "o" 'kom-set-unread)
  (define-key lyskom-mode-map "x" 'kom-extended-command)
  (define-key lyskom-mode-map " " 'kom-next-command)
  (define-key lyskom-mode-map "\n" 'kom-page-next-command)
  (define-key lyskom-mode-map "\r" 'kom-line-next-command)

  (define-key lyskom-mode-map "?"  'describe-mode)
  (define-key lyskom-mode-map "m"  'kom-send-letter)
  (define-key lyskom-mode-map "g"  'kom-go-to-conf)
  (define-key lyskom-mode-map "a"  'kom-write-text)
  (define-key lyskom-mode-map "c"  'kom-write-comment)
  (define-key lyskom-mode-map "C"  'kom-comment-previous)
  (define-key lyskom-mode-map "F"  'kom-write-footnote)
  (define-key lyskom-mode-map "p"  'kom-private-answer)
1018
  (define-key lyskom-mode-map "P"  'kom-private-answer-previous)
Linus Tolke's avatar
Linus Tolke committed
1019
  (define-key lyskom-mode-map "j"  'kom-jump)
1020
  (define-key lyskom-mode-map "J"  'kom-super-jump)
Linus Tolke's avatar
Linus Tolke committed
1021
1022
1023
1024
1025
  (define-key lyskom-mode-map "lc" 'kom-list-conferences)
  (define-key lyskom-mode-map "ln" 'kom-list-news)
  (define-key lyskom-mode-map "lu" 'kom-list-persons)
  (define-key lyskom-mode-map "ls" 'kom-membership)
  (define-key lyskom-mode-map "la" 'kom-list-summary)
1026
  (define-key lyskom-mode-map "lf" 'kom-list-filters)
Linus Tolke's avatar
Linus Tolke committed
1027
1028
1029
1030
1031
  (define-key lyskom-mode-map "S"  'kom-add-self)
  (define-key lyskom-mode-map "M"  'kom-mark-text)
  (define-key lyskom-mode-map "U"  'kom-unmark-text)
  (define-key lyskom-mode-map "na" 'kom-view-next-new-text)
  (define-key lyskom-mode-map "nc" 'kom-go-to-next-conf)
1032
  (define-key lyskom-mode-map "nl" 'kom-next-kom)
Linus Tolke's avatar
Linus Tolke committed
1033
  (define-key lyskom-mode-map "q"  'kom-quit)
1034
  (define-key lyskom-mode-map "z"  'kom-bury)
Linus Tolke's avatar
Linus Tolke committed
1035
1036
1037
1038
  (define-key lyskom-mode-map "R"  'kom-recover)
  (define-key lyskom-mode-map "t"  'kom-display-time)
  (define-key lyskom-mode-map "fp" 'kom-get-appreciation)
  (define-key lyskom-mode-map "fk" 'kom-get-abuse)
1039
1040
1041
1042
  (define-key lyskom-mode-map "fs" 'kom-filter-subject)
  (define-key lyskom-mode-map "fa" 'kom-filter-author)
  (define-key lyskom-mode-map "fc" 'kom-filter-text)

Linus Tolke's avatar
Linus Tolke committed
1043
1044
1045
  (define-key lyskom-mode-map "w"  'kom-who-is-on)
  (define-key lyskom-mode-map "W"  'kom-busy-wait)
  (define-key lyskom-mode-map "Ap" 'kom-change-presentation)
1046
  (define-key lyskom-mode-map "Af" 'kom-filter-edit)
1047
  (define-key lyskom-mode-map "Am" 'kom-change-auto-reply)
Linus Tolke's avatar
Linus Tolke committed
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
  (define-key lyskom-mode-map "r " 'kom-view)
  (define-key lyskom-mode-map "r0" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r1" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r2" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r3" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r4" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r5" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r6" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r7" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r8" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "r9" 'kom-initial-digit-view)
  (define-key lyskom-mode-map "rc" 'kom-view-commented-text)
  (define-key lyskom-mode-map "ra?" 'lyskom-help)
  (define-key lyskom-mode-map "rac" 'kom-review-comments)
  (define-key lyskom-mode-map "rar" 'kom-review-tree)
  (define-key lyskom-mode-map "rj" 'kom-review-clear)
  (define-key lyskom-mode-map "rn" 'kom-review-next)
1065
  (define-key lyskom-mode-map "ru" 'kom-review-noconversion)
Linus Tolke's avatar
Linus Tolke committed
1066
1067
  (define-key lyskom-mode-map "ro" 'kom-find-root)
  (define-key lyskom-mode-map "rl" 'kom-review-by-to)
1068
  (define-key lyskom-mode-map "rg" 'kom-review-last-normally-read)
Linus Tolke's avatar
Linus Tolke committed
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
  (define-key lyskom-mode-map "B"  'kom-review-backward)
  (define-key lyskom-mode-map "rs" 'kom-review-stack)
  (define-key lyskom-mode-map "rp" 'kom-review-presentation)
  (define-key lyskom-mode-map "rr" 'kom-find-root-review)
  (define-key lyskom-mode-map "rm" 'kom-review-marked-texts)
  (define-key lyskom-mode-map "ram" 'kom-review-all-marked-texts)
  (define-key lyskom-mode-map "sc" 'kom-status-conf)
  (define-key lyskom-mode-map "su" 'kom-status-person)

  ;; Running in buffer

  (define-key lyskom-mode-map "\033p" 'backward-text)
  (define-key lyskom-mode-map "\033n" 'forward-text)
  (define-key lyskom-mode-map "sa" 'kom-save-text)

  (define-key lyskom-mode-map "\C-?" 'scroll-down)
)


1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
;;;==============================================================
;;; Keymap for filter editing
;;;

(defvar lyskom-filter-edit-map nil
  "Keymap for LysKOM filter edit")

(if lyskom-filter-edit-map ()
  (setq lyskom-filter-edit-map (make-keymap))
  (suppress-keymap lyskom-filter-edit-map)
  (define-key lyskom-filter-edit-map "p" 'lyskom-filter-edit-prev-pattern)
  (define-key lyskom-filter-edit-map "P" 'lyskom-filter-edit-prev-entry)
  (define-key lyskom-filter-edit-map "n" 'lyskom-filter-edit-next-pattern)
  (define-key lyskom-filter-edit-map "N" 'lyskom-filter-edit-next-entry)
  (define-key lyskom-filter-edit-map "\C-P" 'lyskom-filter-edit-prev-pattern)
  (define-key lyskom-filter-edit-map "\C-N" 'lyskom-filter-edit-next-pattern)
  (define-key lyskom-filter-edit-map "\C-B" 'lyskom-filter-edit-prev-pattern)
  (define-key lyskom-filter-edit-map "\C-F" 'lyskom-filter-edit-next-pattern)
  (define-key lyskom-filter-edit-map "\M-p" 'lyskom-filter-edit-prev-entry)
  (define-key lyskom-filter-edit-map "\M-n" 'lyskom-filter-edit-next-entry)
  (define-key lyskom-filter-edit-map "d" 'lyskom-filter-edit-delete-pattern)
  (define-key lyskom-filter-edit-map "\M-d" 'lyskom-filter-edit-delete-entry)
  (define-key lyskom-filter-edit-map "D" 'lyskom-filter-edit-delete-pattern)
  (define-key lyskom-filter-edit-map "\C-D" 'lyskom-filter-edit-delete-pattern)
  (define-key lyskom-filter-edit-map "i" 'lyskom-filter-edit-insert-pattern)
  (define-key lyskom-filter-edit-map "I" 'lyskom-filter-edit-insert-pattern)
  (define-key lyskom-filter-edit-map "\M-i" 'lyskom-filter-edit-insert-entry)
  (define-key lyskom-filter-edit-map "<" 'lyskom-filter-edit-beginning-of-list)
  (define-key lyskom-filter-edit-map ">" 'lyskom-filter-edit-end-of-list)
  (define-key lyskom-filter-edit-map "\M-<" 'lyskom-filter-edit-beginning-of-list)
  (define-key lyskom-filter-edit-map "\M->" 'lyskom-filter-edit-end-of-list)
  (define-key lyskom-filter-edit-map "q" 'lyskom-filter-edit-quit)
  (define-key lyskom-filter-edit-map "x" 'lyskom-filter-edit-expunge)
  (define-key lyskom-filter-edit-map "s" 'lyskom-filter-edit-save)
  (define-key lyskom-filter-edit-map "g" 'lyskom-filter-edit-revert)
  (define-key lyskom-filter-edit-map "t" 'lyskom-filter-edit-toggle-permanent)
  (define-key lyskom-filter-edit-map "a" 'lyskom-filter-edit-toggle-action)
  (define-key lyskom-filter-edit-map "?" 'lyskom-filter-edit-brief-help)
  (define-key lyskom-filter-edit-map "h" 'lyskom-filter-edit-brief-help)
  )

Linus Tolke's avatar
Linus Tolke committed
1129

1130