[pmwiki-users] EMACS' pmwiki-mode: summary?

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Sat Jul 15 17:20:22 CDT 2006


On Sat, 1 Jul 2006, Felix E. Klee wrote:

> Is there any reason why EMACS' pmwiki-mode does not support 
> specification of a summary?

Only that the summary wasn't there when I wrote pmwiki-mode.

It shouldn't be too difficult to add it though.

> AFAICS, the lack of this feature makes it - although otherwise great - 
> unusable to me.  Here's how I'd could imagine the user interface: When 
> one saves a page using C-c C-c, then in the minibuffer one should be 
> given the chance to specify a summary.

Please come up with a name for a setting that toggles this function as I 
suspect not everyone wants it. (I don't think I'd like it active all the 
time).

How about this for (one) default:
 	C-c C-c		Just saves the page
 	C-u C-c C-c	Saves the page but asks for a comment?

Alternatively I could simply create a separate save-function that asks for 
a comment and you can map it to a keyboard shortcut of your liking. 
Perhaps C-c C-C ?


If you come up with how you'd like to control this behaviour I'm quite 
sure I can implement it. However, as I'll go away on vacation in a few 
days an be gone for two weeks it may have to be after that.

> Furthermore, it would be nice to have a facility of quickly storing the 
> currently open page to a temporary place on disk so that changes are not 
> lost, if e.g. EMACS crashes.

If you give me a few more details on exactly what you'd like I could 
probably implement it. Where should the file be stored for instance? What 
it should it be called? Should there be a special keyboard sequence for 
invoking this storing mechanism? Shouldn't it be possible to use Emacs' 
default mechanism for storing buffers?

Anyway, let's do the first change first as that was much more important to 
you.

cheers
/Christian


-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list