Re: [O] bug#18617: 24.3; loading simple-wiki-mode breaks org-mode
A quick look at the code shows that it pollutes the namespace with undeclared and un-let-bound variables like "tag" (and there could be more like that). If we investigate further, we might find a culprit like that that's causing this problem. (defun simple-wiki-get-tag () (let (prompt) (if (and simple-wiki-tag-history (car simple-wiki-tag-history)) (setq prompt (concat "Tag (" (car simple-wiki-tag-history) "): ")) (setq prompt "Tag: ")) (setq tag (completing-read prompt simple-wiki-tag-list nil nil "" 'simple-wiki-tag-history (car simple-wiki-tag-history (unless (assoc tag simple-wiki-tag-list) (add-to-list 'simple-wiki-tag-list (cons tag nil))) tag)
Re: [O] bug#18617: 24.3; loading simple-wiki-mode breaks org-mode
I can recreate that bug. The "first" alias is defined in the cl library. So you would need to (require 'cl) before requiring simple-wiki. I eval'd simple-wiki from here: http://cvs.savannah.gnu.org/viewvc/*checkout*/http-emacs/http-emacs/simple-wiki.el I haven't yet looked into the internals of simple-wiki.el to investigate what's breaking the visibility cycling. Basically TAB or S-TAB stop cycling the visibility; they seem to do nothing.
[O] bug#18617: 24.3; loading simple-wiki-mode breaks org-mode
On 2014-10-02, at 20:27, v...@riseup.net wrote: > To re-trigger: > - Install simple-wiki-mode > - run emacs > - switch to *scratch* > - load org-mode > - make two todos one with subtree: > * TODO test 1 > - test 2 > * TODO test 3 > - check pressing tab on First todo hide and show the subtree > - open a new file: test.txt > - M-x simple-wiki-mode (on test.txt) > - switch back to *scratch* (which is still in org-mode) > - Observe that subtree function is broken. > - Press tab on TODO test 1 will hide * TODO test 3 and never shows it > again. Hello, I know it was quite a long time ago, but could you confirm that this is still an issue in current Emacs? Also, I tried to reproduce it on GNU Emacs 25.1.50.3, but could not - M-x simple-wiki-mode (after downloading simple-wiki.el from savannah) resulted in a "setq: Symbol’s function definition is void: first" error. (simple-wiki is not an Elpa package, so I could not install it via the package manager.) If the problem is still present, please describe exactly how you installed simple-wiki-mode so that I could see for myself what's happening. > Thanks, > humble emacs user Best, -- Marcin Borkowski