Commit 5d15ad0b authored by David Byers's avatar David Byers
Browse files

Fix bug 1251

Detailed changes:
> 	Fix bug 1251:
> 	* commands1.el (kom-move-text): Don't try to move footnotes and
> 	attachments that we can't read.
>
parent d7ea496a
2004-02-22 David Byers <byers@lysator.liu.se>
Fix bug 1251:
* commands1.el (kom-move-text): Don't try to move footnotes and
attachments that we can't read.
* option-edit.el: Added kom-auto-confirm-new-conferences to the
settings buffer.
......
......@@ -3746,11 +3746,13 @@ recipient to remove and target the recipient to add to text-stat."
(lyskom-traverse text (append (list (cons text-no text-stat))
(and move-footnotes footnotes)
(and move-attachments attachments))
(lyskom-format-insert 'moving-name source target (cdr text))
(if (memq (conf-stat->conf-no source) (lyskom-text-recipients (cdr text)))
(lyskom-move-recipient (car text) source target 'RECPT)
(lyskom-insert 'move-text-not-recipient))
)))))))))
(if (null (cdr text))
(lyskom-format-insert 'moving-cant-read (car text))
(lyskom-format-insert 'moving-name source target (cdr text))
(if (memq (conf-stat->conf-no source) (lyskom-text-recipients (cdr text)))
(lyskom-move-recipient (car text) source target 'RECPT)
(lyskom-insert 'move-text-not-recipient))
))))))))))
(def-kom-command kom-move-text-tree (text-no)
......
......@@ -558,6 +558,7 @@ Read all about it at http://www.lysator.liu.se/history/")
(error-not-recipient . "%#2M is not a recipient of text %#1n.\n")
(moving-tree-what-action-q . "What do you want to do? (move) ")
(moving-cant-read . "Can't move text %#1n (unable to read text).\n")
(moving-name . "Moving text %#3n from %#1M to %#2M...")
(moving-already-moved . "Text %#1n does not have %#2M as a recipient.\nSkipping this text and its comments.\n")
(text-to-add-q . "Add which text as a comment to %#1n? ")
......
......@@ -572,6 +572,7 @@ i svensk datorhistoria. L
(error-not-recipient . "%#2M r inte mottagare till inlgg %#1n.\n")
(moving-tree-what-action-q . "Vad vill du gra? (flytta) ")
(moving-cant-read . "Det gick inte att inte flytta text %#1n (kan inte lsa texten).\n")
(moving-name . "Flyttar text %#3n frn %#1M till %#2M...")
(moving-already-moved . "Inlgg %#1n har inte %#2M som mottagare.\nFlyttar inte inlgget eller dess kommentarstrd.\n")
(text-to-add-q . "Vilket inlgg vill du addera som kommentar till %#1n? ")
......
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