ReleaseTesting2007-03-24

<< | Pages | >>


Notes from testing CVS version of pmwiki-mode from 2007-03-24.

Notes on testing procedure

Various steps of the testing

Opening and editing pmwiki.org/wiki/Main/WikiSandbox

Test that it is possible to open, edit, save and reload changes to

	http://pmwiki.org/wiki/Main/WikiSandbox

Test code, partial:

	(pmwiki-open "http://pmwiki.org/wiki/Main/WikiSandbox")
	(end-of-buffer)
	;; Hmm... need code to insert some text here
	(pmwiki-save)
	(pmwiki-reload)		; Visually verify that changed was saved
Status: ok

Test saving with and without having to give a comment.

The default when saving a page is that you give a comment. This happens when you execute the command (pmwiki-save), or simply press C-c C-c. To avoid giving a comment, you can preceeded the command with an argument by pressing C-u C-c C-c. Then the changes are just saved.

Test procedure:

  • Set the variable controlling this behaviour to nil by executing:
	(set-variable 'pmwiki-no-summary nil)
  • Open some page and edit the page.
  • Use C-c C-c to save page.
You should be asked for a comment.
  • Do some more changes
  • Use C-u C-c C-c to save the page.
You should not be asked for a comment
Status: ok

Test reversing summary setting for giving a comment while saving

Test procedure:

  • Set the variable controlling this behaviour to nil by executing:
	(set-variable 'pmwiki-no-summary t)
  • Open some page and edit the page.
  • Use C-c C-c to save page.
You should not be asked for a comment
  • Do some more changes
  • Use C-u C-c C-c to save the page.
You should be asked for a comment.
Status: ok

General comments

Things to test

Edit conflict 1

Test procedure:

  • Open a new wiki page from Emacs
	(pmwiki-open "http://pmwiki.org/wiki/EmacsModes/TestEditConflict")
  • Create the same new same wiki page from browser, e.g. giving it the text "Edited from browser".
  • In Emacs, modify the page to read e.g. "Edited from Emacs" and try to save the wiki page from Emacs
error in process sentinel: progn: Page EmacsModes/TestEditConflict couldn't be saved, server said: nilEditing conflict. Resolve by calling <M-x pmwiki-merge-current>
error in process sentinel: Page EmacsModes/TestEditConflict couldn't be saved, server said: nilEditing conflict. Resolve by calling <M-x pmwiki-merge-current>
Status: fail

Specific issues

Issue 1 - undesired splitting into menu sublevels based on wiki words

When using e.g. the menu PmWiki->OpenedPages there is a splitting of wiki words that I think is probably undesirable, i.e. I haven't seen any advantage to it yet. For instance, after having opened Main.WikiSandbox, the menu for opened pages let's me navigate to it through this sequence:

	www.pmwiki.org/ -> Main -> Wiki -> Sandbox

rather than what I would have expected, i.e.

 	www.pmwiki.org/ -> Main -> WikiSandbox

or

 	www.pmwiki.org/ -> Main -> Wiki Sandbox

Issue 2 - Deleting a page does not delete the buffer

Test procedure:

  • Open a page
  • Invoke 'pmwiki-delete'
The page is deleted from the wiki, but the buffer is still open in Emacs (making you think the page was never deleted)
Status: Reported to LukaszS

Issue 3 - Unable to open wiki page from sourceforge shell server

I logged in to a shell server at sourceforge. Then installed pmwiki mode by checking out latest CVS. Finally I started Emacs there and executed

        (add-to-list 'load-path "~/.emacs.d/pmwiki-mode")
        (require 'pmwiki-mode)

        (pmwiki-open "Main/WikiSandbox")

This results in the error message:

        setq: connection failed: connection refused, www.pmwiki.org,
        HTTP GET [(approve links)
  edit
  diff]\w.pmwiki.org/wiki/Main/WikiSandbox?author=&action=ed$

What's going on?