Commit d7ea496a authored by David Byers's avatar David Byers
Browse files

Fixed bug 1276

Detailed changes:
> 2004-02-22  David Byers  <byers@lysator.liu.se>
>
> 	* option-edit.el: Added kom-auto-confirm-new-conferences to the
> 	settings buffer.
>
2a8,13
> 	Fix bug 1276:
> 	* startup.el (lyskom-setup-ssh-relay): Use kom-ssh-command instead
> 	of hardcoding the ssh command name.
>
> 	* vars.el.in (kom-ssh-command): New variable.
>
20c31
<
---
>
parent bb7aca6f
2004-02-22 David Byers <byers@lysator.liu.se>
* option-edit.el: Added kom-auto-confirm-new-conferences to the
settings buffer.
2004-02-21 David Byers <byers@lysator.liu.se> 2004-02-21 David Byers <byers@lysator.liu.se>
Fix bug 1276:
* startup.el (lyskom-setup-ssh-relay): Use kom-ssh-command instead
of hardcoding the ssh command name.
* vars.el.in (kom-ssh-command): New variable.
Fix bug 1250: Fix bug 1250:
* view-text.el (lyskom-text-read-at-least-once-p): Don't consider * view-text.el (lyskom-text-read-at-least-once-p): Don't consider
passive memberships. passive memberships.
...@@ -17,7 +28,7 @@ ...@@ -17,7 +28,7 @@
Make kom-list-new-conferences quittable: Make kom-list-new-conferences quittable:
* commands2.el (lyskom-list-new-conferences): Handle C-g when * commands2.el (lyskom-list-new-conferences): Handle C-g when
listing conferences or persons using the new lyskom-cancel-calls. listing conferences or persons using the new lyskom-cancel-calls.
* internal.el (lyskom-cancel-calls): It works now. * internal.el (lyskom-cancel-calls): It works now.
2004-02-11 David Byers <byers@lysator.liu.se> 2004-02-11 David Byers <byers@lysator.liu.se>
......
...@@ -4156,6 +4156,10 @@ up menus.") ...@@ -4156,6 +4156,10 @@ up menus.")
This setting controls where the client opens URLs. How well the This setting controls where the client opens URLs. How well the
settings work depends on which variant of Netscape or Mozilla you settings work depends on which variant of Netscape or Mozilla you
are using, and even on which operating system you are on.") are using, and even on which operating system you are on.")
(kom-auto-confirm-new-conferences-doc . "\
If this setting is on, the commands \"List new conferences\" and
\"List new users\" will automatically mark new conferences and
users as known.")
;; ;;
;; Tags for variables ;; Tags for variables
...@@ -4364,6 +4368,7 @@ up menus.") ...@@ -4364,6 +4368,7 @@ up menus.")
(kom-show-sync-messages-tag . "Show database-saving message:") (kom-show-sync-messages-tag . "Show database-saving message:")
(kom-highlight-conferences-tag . "Display of names::") (kom-highlight-conferences-tag . "Display of names::")
(kom-netscape-variant-tag . "Where Netscape/Mozilla opens URLs:") (kom-netscape-variant-tag . "Where Netscape/Mozilla opens URLs:")
(kom-auto-confirm-new-conferences-tag . "Always mark new conferences as known:")
) )
) )
......
...@@ -71,6 +71,8 @@ ...@@ -71,6 +71,8 @@
[kom-auto-list-faqs] [kom-auto-list-faqs]
[kom-auto-review-faqs] [kom-auto-review-faqs]
"\n" "\n"
[kom-auto-confirm-new-conferences]
"\n"
[kom-idle-hide] [kom-idle-hide]
[kom-show-where-and-what] [kom-show-where-and-what]
[kom-show-since-and-when] [kom-show-since-and-when]
...@@ -897,6 +899,7 @@ All key bindings: ...@@ -897,6 +899,7 @@ All key bindings:
(kom-netscape-variant (choice ((const (default-netscape nil)) (kom-netscape-variant (choice ((const (default-netscape nil))
(const (new-window-netscape new-window)) (const (new-window-netscape new-window))
(const (new-tab-netscape new-tab))))) (const (new-tab-netscape new-tab)))))
(kom-auto-confirm-new-conferences (toggle (yes no)))
)) ))
(defvar lyskom-widget-functions (defvar lyskom-widget-functions
......
...@@ -433,7 +433,7 @@ clients of the event. See lyskom-mode for details on lyskom." ...@@ -433,7 +433,7 @@ clients of the event. See lyskom-mode for details on lyskom."
(setq proc (start-process (setq proc (start-process
procname procname
bufname bufname
"ssh" "-n" "-x" kom-ssh-command "-n" "-x"
"-L" (format "%d:%s:%d" relay-port server port) "-L" (format "%d:%s:%d" relay-port server port)
kom-ssh-relay-host kom-ssh-relay-host
"sh -c \"while :; do echo ok; sleep 600; done\""))) "sh -c \"while :; do echo ok; sleep 600; done\"")))
......
...@@ -4279,6 +4279,10 @@ ta fram menyer.") ...@@ -4279,6 +4279,10 @@ ta fram menyer.")
bra de olika valen fungerar beror p vilken variant av Netscape eller bra de olika valen fungerar beror p vilken variant av Netscape eller
Mozilla man anvnder, och till och med vilket operativsystem man Mozilla man anvnder, och till och med vilket operativsystem man
anvnder.") anvnder.")
(kom-auto-confirm-new-conferences-doc . "\
Om den hr instllningen r pslagen s kommer kommandona \"Lista
nya mten\" och \"Lista nya personer\" automatiskt markera nya
mten och personer som knda.")
;; ;;
;; Tags for variables ;; Tags for variables
...@@ -4486,6 +4490,7 @@ ta fram menyer.") ...@@ -4486,6 +4490,7 @@ ta fram menyer.")
(kom-show-sync-messages-tag . "Visa databasen-sparar-meddelanden:") (kom-show-sync-messages-tag . "Visa databasen-sparar-meddelanden:")
(kom-highlight-conferences-tag . "Frglggning av namn:") (kom-highlight-conferences-tag . "Frglggning av namn:")
(kom-netscape-variant-tag . "Var ska Netscape/Mozilla ppna URLer:") (kom-netscape-variant-tag . "Var ska Netscape/Mozilla ppna URLer:")
(kom-auto-confirm-new-conferences-tag . "Markera alltid nya mten och personer som knda:")
) )
) )
......
...@@ -2495,8 +2495,20 @@ indicated by the value of this variable. ...@@ -2495,8 +2495,20 @@ indicated by the value of this variable.
Note that storing this variable in the LysKOM server makes no sense. Note that storing this variable in the LysKOM server makes no sense.
See `kom-ssh-command' for additional configuration options.
Values other than strings are reserved for future use.") Values other than strings are reserved for future use.")
(def-kom-var kom-ssh-command "ssh"
"**Command to start ssh.
This variable should be set to a command that runs ssh. Note that it
is not possible to specify command-line arguments using this variable.
See `kom-ssh-relay-host' for more information.
Non-string values are reserved for future use.")
(def-kom-var lyskom-ssh-proxy nil (def-kom-var lyskom-ssh-proxy nil
"When non-nil, the ssh proxy used for this buffer." "When non-nil, the ssh proxy used for this buffer."
local local
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment