Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lyskom-elisp-client
lyskom-elisp-client
Commits
9183a304
Commit
9183a304
authored
Mar 12, 1996
by
David Kågedal
Browse files
Småfixar
parent
f3547c29
Changes
9
Hide whitespace changes
Inline
Side-by-side
src/ChangeLog
View file @
9183a304
No preview for this file type
src/README
View file @
9183a304
The lyskom project is conducted at the Lysator CC at the
Link
|
ping institute of Technology.
Link
ö
ping institute of Technology.
The developers are interested in any improvements you do in the
code so please make sure they get a copy of your
...
...
src/commands2.el
View file @
9183a304
...
...
@@ -1182,7 +1182,8 @@ Use OLD-MOTD-TEXT as the default text if non-nil."
'lyskom-set-motd-2
))
(
defun
lyskom-set-motd-2
(
text-no
)
;; Should really fix lyskom-edit text instead of the ugly IGNORE
(
defun
lyskom-set-motd-2
(
text-no
ignore
)
"Set motd of LysKOM to the newly created text TEXT-NO."
(
lyskom-insert-before-prompt
(
lyskom-format
'setting-motd
text-no
))
...
...
src/completing-read.el
View file @
9183a304
...
...
@@ -447,6 +447,7 @@ If ONLY-ONE is non-nil only one session number will be returned."
(
sort
sessions
'<
))))
(
lyskom-insert
(
concat
(
make-string
(
-
(
lyskom-window-width
)
2
)
?-
)
"\n"
))
(
lyskom-insert
(
lyskom-format
'total-users
(
length
who-info
)))
(
lyskom-scroll
)
(
while
(
string=
""
(
setq
result
(
completing-read
(
lyskom-get-string
'resolve-session
)
...
...
src/edit-text.el
View file @
9183a304
...
...
@@ -361,7 +361,9 @@ Entry to this mode runs lyskom-edit-mode-hook."
(
setq
mode-name
"LysKOM sending"
)
(
save-excursion
(
set-buffer
(
process-buffer
lyskom-proc
))
(
setq
lyskom-dont-change-prompt
t
)
;; Don't change the prompt if we won't see our own text
(
if
kom-created-texts-are-read
(
setq
lyskom-dont-change-prompt
t
))
(
setq
lyskom-is-writing
nil
)
(
lyskom-tell-internat
'kom-tell-send
)
(
funcall
send-function
'sending
'lyskom-create-text-handler
...
...
src/english-strings.el
View file @
9183a304
...
...
@@ -121,6 +121,9 @@ Help: \\[describe-mode] ---")
(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
")
(lyskom-motd-was-garbed . "
\nThe
login
message
does
not
exist!
The
message
that
was
supposed
to
be
shown
after
login
has
disappeared.
Please
contact
the
system
administrator.\n
")
(presentation-encouragement .
"
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
")
...
...
@@ -185,12 +188,12 @@ Email-address:\n\nOther:\t")
(presentation-for-whom . "
Which
conference/user:
")
(somebody-deleted-that-conf . "
Somebody
just
deleted
that
conference.\n
")
(review-presentation-of . "
Review
presentation
of
%#1
s
.\n
")
(has-no-presentation . "
%#1
s
has
no
presentation.\n
")
(review-presentation-of . "
Review
presentation
of
%#1
M
.\n
")
(has-no-presentation . "
%#1
M
has
no
presentation.\n
")
(have-to-read . "
You
must
read
an
article
first.\n
")
(review-text-no . "
Review
article
%#1
d
.\n
")
(review-text-no . "
Review
article
%#1
n
.\n
")
(no-comment-to . "
There
is
no
commented
article.\n
")
(who-letter-to . "
Send
a
letter
to
whom:
")
...
...
@@ -199,7 +202,7 @@ Email-address:\n\nOther:\t")
(who-to-add . "
Whom
do
you
want
to
add:
")
(where-to-add . "
To
which
conference:
")
(where-to-add-self . "
Subscribe
to
which
conference:
")
(where-to-add-self . "
Join
which
conference:
")
(priority-q . "
Conference
priority?
(
0
(
low
)
-
255
(
high
))
")
(done . "
done.\n
")
(nope . "
didn
't
work.\n
")
...
...
@@ -210,16 +213,16 @@ Send a letter to %#2s to apply for membership.")
(conf-does-not-exist . "
\nThe
conference
doesn
't
exist.\n
")
(who-to-exclude . "
Who
m
do
you
want
to
unsubscrib
e:
")
(who-to-exclude . "
Who
do
you
want
to
remov
e:
")
(where-from-exclude . "
From
which
conference:
")
(leave-what-conf . "
Unsubscribe
to
which
conference:
")
(leave-what-conf . "
Leave
which
conference:
")
(error-fetching-person . "
Error
retreiving
user.\n
")
(error-fetching-conf . "
Error
retreiving
conference.\n
")
(name-of-conf . "
Conference
name:
")
(anyone-member . "
May
anyone
subscribe
?
")
(anyone-member . "
May
anyone
join
?
")
(secret-conf . "
Secret
conference?
")
(comments-allowed . "
Are
comments
allowed?
")
(what-comment-no . "
Comment
article
number:
")
...
...
@@ -246,7 +249,7 @@ and you have finished reading. Please come back later.
(cant-get-conf-stat . "
Cannot
get
the
status
of
that
conference.
")
(go-to-conf-p . "
Go
to
conference:
")
(want-become-member . "
Do
you
want
to
subscribe
?
")
(want-become-member . "
Do
you
want
to
join
?
")
(no-ok . "
Okiedokie,
whatever
you
say.\n
")
(who-to-remove-motd-for . "
Remove
note
from
the
door
of
who/what:
")
...
...
@@ -286,13 +289,13 @@ and you have finished reading. Please come back later.
(text-to-delete-comment-from . "
Remove
comment
from
which
article:
")
(where-on-list-q . "
Placement
in
your
list?
(
0-%#1d
)
")
(member-in-conf . "
Subscrib
ing
to
%#1M...
")
(add-member-in . "
Adding
%#1s
as
a
subscri
ber
t
o
%#2s...
")
(unsubscribe-to . "
Unsubscrib
ing
from
%#1s...
")
(member-in-conf . "
Join
ing
to
%#1M...
")
(add-member-in . "
Adding
%#1s
as
a
mem
ber
o
f
%#2s...
")
(unsubscribe-to . "
Leav
ing
from
%#1s...
")
(exclude-from . "
Unsubscrib
ing
%#1s
from
%#2s...
")
(exclude-from . "
Remov
ing
%#1s
from
%#2s...
")
(unsubscribe-failed . "
\nDidn
't
work.
Perhaps
%#1s
doe
sn
't
subscribe
to
%#2s?\n
")
(unsubscribe-failed . "
\nDidn
't
work.
Perhaps
%#1s
i
sn
't
a
member
of
%#2s?\n
")
(You . "
You
")
(could-not-create-conf . "
Couldn
't
create
the
conference
\"%#1s\".\nError:
%#2d.\n
")
...
...
@@ -303,7 +306,7 @@ and you have finished reading. Please come back later.
(not-supervisor-for . "
You
are
not
the
supervisor
of
%#1s.\n
")
(go-to-conf . "
Go
to
conference
%#1M.\n
")
(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
")
(not-member-of-conf . "
You
are
not
a
member
of
%#1s.\n
")
(about-to-change-name-from . "
%#1P\n
")
(change-name-done . "
Done.
New
name:
%#1s.\n
")
(change-name-nope . "
Didn
't
work.
Error
code
%#3d.
%#2s.\n
")
...
...
@@ -333,7 +336,7 @@ and you have finished reading. Please come back later.
; From commands2.el:
(your-memberships . "
Your
LysKOM
conference
subscription
s:\n
")
(your-memberships . "
Your
LysKOM
conference
membership
s:\n
")
(memberships-header . "
Last
access
Prio
Unread
Conference\n
")
(memberships-line . "
%16#1s
%#2d\t%#3d\t%#4M\n
")
...
...
@@ -347,7 +350,7 @@ and you have finished reading. Please come back later.
(created-by . "
%[%#3@Created
by
person
%24#1:p%]
%#4s
(
%#2P
)
\n
")
(created-at . "
Created:%34#1s\n
")
(members . "
Number
of
subscri
bers:
%19#1d\n
")
(members . "
Number
of
mem
bers:
%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
")
...
...
@@ -361,8 +364,8 @@ and you have finished reading. Please come back later.
(conf-has-motd . "
\n%#1M
has
a
note
on
the
door:\n
")
(Everybody . "
Everyone
")
(show-members-list-also-q . "
List
subscri
bers?
")
(conf-has-these-members . "
\n%#1M
has
the
following
subscri
bers:\n
")
(show-members-list-also-q . "
List
mem
bers?
")
(conf-has-these-members . "
\n%#1M
has
the
following
mem
bers:\n
")
(member-list-header . "
Last
entered
Unread
Name\n\n
")
(secret-membership . "
---
Secret
line
---\n
")
(conf-membership-line . "
%#1s%#2M\n
")
...
...
@@ -385,11 +388,11 @@ and you have finished reading. Please come back later.
(time-for-last-letter . "
Time
of
last
letter:%22#1s
(
accordning
to
your
cache
)
\n
")
(superconf . "
%[%#3@Superconference:%31#1:m%]
%#4s
(
%#2M
)
\n
")
(supervisor . "
%[%#3@Supervisor:%29#1:p%]
%#4s
(
%#2P
)
\n
")
(member-of-confs . "
Subscribed
to
(
conferences
)
:%1
4
#1d\n
")
(member-of-confs . "
Member
of
(
conferences
)
:%1
8
#1d\n
")
(presentation . "
Presentation:
%25#1d\n
")
(show-membership-list-also-q . "
List
subscription
s?
")
(not-allowed-see-confs . "
You
are
not
premitted
to
see
which
conferences
%#1s
subscribes
to
.\n
")
(is-member-of . "
\n%#1P
subscribes
to
the
following
conferences:\n
")
(show-membership-list-also-q . "
List
membership
s?
")
(not-allowed-see-confs . "
You
are
not
premitted
to
see
which
conferences
%#1s
is
a
member
of
.\n
")
(is-member-of . "
\n%#1P
is
a
member
of
the
following
conferences:\n
")
(membership-list-header . "
Last
access
Unread
Conference\n\n
")
(pers-membership-line . "
%#1s%#2s%#3M\n
")
(is-supervisor-mark . "
O
")
...
...
@@ -443,6 +446,7 @@ The message you were sending to %#1s was:
(you-have-marks-all . "
You
have
%#1s
marked
texts.\n
")
(does-not-exist . "
Unknown
command.
") ; Only people fixing bugs or recieving bug-reports should change these:
(summary-line . "
%=-7#1n%#2s%4#3d
%[%#4@%#5:P%]
%[%#6@%#7r%]\n
")
; Only people fixing bugs or recieving bugg-reports should change these:
(buggrepport-compilestart . "
Creating
bug
report...
")
...
...
@@ -632,9 +636,9 @@ Group message to %#3M from %#2P (%#4s):
(person-or-conf-no-regexp . "
\\
`
[
\t]*[mpMP]\\w*[
\t]+\\
(
[0-9]+\\
)
\\
'
")
; From prioritize.el:
(cannot-get-membership . "
Cannot
retrieve
your
subscription
list.
")
(cannot-get-membership . "
Cannot
retrieve
your
membership
list.
")
(cannot-get-pers-stat . "
Cannot
retrieve
your
personal
status.
")
(your-membship . "
Your
subscription
s:
(your-membship . "
Your
membership
s:
Prio
Conf#
Conference\n
")
(prio-row . "
%5#1d%5#2d
%#3s\n
")
(too-high-goto-2 . "
You
are
too
high
up,
move
down
to
line
two.
")
...
...
@@ -729,6 +733,8 @@ Error message: %#1s**************************************************")
(by . "
by
%#1s
")
(text-created . "
Article
%#1d
has
been
created.\n
")
(resolve-session . "
Which
session:
")
(starting-program . "
Starting
%#1s...
")
(super-jump . "
Filtering
subject
\"%#1s\"
in
conference
\"%#2s\"\n
")
(filtered . "
[Filtered]
")
...
...
@@ -843,16 +849,16 @@ Text:
(kom-list-conferences "
List
conferences
")
(kom-list-persons "
List
users
")
(kom-list-news "
List
news
")
(kom-membership "
List
subscription
s
")
(kom-list-marks "
List
marks
")
(kom-membership "
List
membership
s
")
;;
(kom-list-marks "
List
marks
")
(kom-postpone "
Postpone
reading
")
(kom-set-session-priority "
Set
reading
level
")
(kom-prioritize "
Prioritize
conferences
")
(kom-status-person "
Status
(
of
)
user
")
(kom-status-conf "
Status
(
of
)
conference
")
(kom-add-self "
Subscribe
(
to
)
conference
")
(kom-add-self "
Join
(
a
)
conference
")
(kom-list-summary "
List
article
(
subjects
)
")
(kom-sub-self "
Unsubscrib
e
(
to
)
conference
")
(kom-sub-self "
Leav
e
(
a
)
conference
")
(kom-quit "
Quit
")
(kom-recover "
Recover
")
(kom-start-anew "
New
User
")
...
...
@@ -899,8 +905,8 @@ Text:
(kom-sub-recipient "
Remove
recipient
")
(kom-add-comment "
Add
comment
")
(kom-sub-comment "
Remove
comment
")
(kom-add-member "
Add
subscri
ber
")
(kom-sub-member "
Remove
subscri
ber
")
(kom-add-member "
Add
(
a
)
mem
ber
")
(kom-sub-member "
Remove
(
a
)
mem
ber
")
(kom-change-conf-motd "
(
Post
)
note
(
on
the
)
door
")
(kom-set-garb-nice "
Change
expiration
")
(kom-set-super-conf "
Change
superconference
")
...
...
@@ -1234,7 +1240,7 @@ Users are encouraged to use their best sense of humor.")
(10 . "
Undefined
or
secret
user
")
(11 . "
No
read
or
write
permission
")
(12 . "
Illegal
operation
")
(13 . "
You
do
not
subscribe
to
that
conference
")
(13 . "
You
are
not
a
member
of
that
conference
")
(14 . "
There
is
no
article
with
that
number
")
(15 . "
You
cannot
use
global
article
number
0
")
(16 . "
There
is
no
article
with
that
local
number
")
...
...
src/review.el
View file @
9183a304
...
...
@@ -330,21 +330,18 @@ instead. In this case the text TEXT-NO is first shown."
(
lyskom-end-of-command
)))
(
def
un
kom-find-root-review
()
(
def
-kom-command
kom-find-root-review
()
"Finds the root text of the tree containing the text in lyskom-current-text and
reviews the whole tree in deep-first order."
(
interactive
)
(
lyskom-start-of-command
'kom-find-root-review
)
(
lyskom-tell-internat
'kom-tell-review
)
(
cond
(
lyskom-current-text
(
lyskom-collect
'review
)
(
initiate-get-text-stat
'review
nil
lyskom-current-text
)
(
initiate-get-text-stat
'review
nil
lyskom-current-text
)
(
lyskom-use
'review
'lyskom-find-root
'lyskom-review-tree
))
(
lyskom-review-tree
(
lyskom-find-root
(
blocking-do
'get-text-stat
lyskom-current-text
)
nil
)))
(
t
(
lyskom-insert-string
'read-text-first
)
(
lyskom-end-of-command
))))
(
lyskom-insert-string
'read-text-first
))))
(
defun
lyskom-find-root
(
text-stat
old-text-stat
)
...
...
@@ -395,8 +392,7 @@ Text is a text-no."
(
signal
'lyskom-internal-error
(
list
'lyskom-review-tree
"Called with incorrect argument."
text
))))
(
lyskom-end-of-command
))
text
)))))
;;; ================================================================
...
...
src/startup.el
View file @
9183a304
...
...
@@ -116,11 +116,13 @@ See lyskom-mode for details."
100
)
(
%
(
server-info->version
lyskom-server-info
)
100
))))
(
if
(
not
(
zerop
(
server-info->motd-of-lyskom
lyskom-server-info
)))
(
lyskom-insert
(
text->text-mass
(
blocking-do
'get-text
(
server-info->motd-of-lyskom
lyskom-server-info
)))))
(
let
((
text
(
blocking-do
'get-text
(
server-info->motd-of-lyskom
lyskom-server-info
))))
(
lyskom-insert
(
if
text
(
text->text-mass
text
)
(
lyskom-get-string
'lyskom-motd-was-garbed
)))))
;; Can't use lyskom-end-of-command here.
(
setq
lyskom-executing-command
nil
)
;; Log in
...
...
src/swedish-strings.el
View file @
9183a304
...
...
@@ -127,6 +127,9 @@ Annat se \\[describe-mode] ---")
(wrong-password . "
Fel
l\366sen.\n
")
(are-logged-in . "
Du
\344r
nu
inloggad.
V\344nta
ett
tag.\n
")
(you-have-motd . "
\nDu
har
en
lapp
p\345
d\366rren:\n\n
")
(lyskom-motd-was-garbed . "
\nLoginmeddelandet
finns
inte!
Det
meddelande
som
ska
visas
efter
inloggning
har
f\366rsvunnit.
Kontakta
systemadministratera.\n
")
(presentation-encouragement .
"
Du
har
ingen
presentation.
Det
skulle
vara
trevligt
om
du
skrev
en.
Anv\344nd
kommandot
\304p.
Om
du
inte
vill
skriva
n\345gon
presentation
tryck
fs.\n
")
...
...
@@ -206,7 +209,7 @@ Guran vill helst s\344tta en giftpil i dig.\n\n")
(no-comment-to . "
Det
finns
inget
kommenterat
inl\344gg
att
titta
p\345.\n
")
(who-letter-to . "
Vem
vill
du
skicka
brev
till?
")
(has-motd . "
%#1
M
har
en
lapp
p\345
d\366rren:\n\n
")
(has-motd . "
%#1
P
har
en
lapp
p\345
d\366rren:\n\n
")
(motd-persist-q . "
Vill
du
fortfarande
skicka
brevet?
")
(who-to-add . "
Vem
vill
du
addera?
")
...
...
@@ -878,7 +881,7 @@ Text:
(kom-list-persons "
Lista
personer
")
(kom-list-news "
Lista
nyheter
")
(kom-membership "
Lista
medlemsskap
")
(kom-list-marks "
Lista
markeringar
")
;;
(kom-list-marks "
Lista
markeringar
")
(kom-postpone "
Uppskjuta
l\344sning
")
(kom-set-session-priority "
S\344tt
l\344sniv\345
")
(kom-prioritize "
Prioritera
m\366ten
")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment