GNU bug report logs - #18617
24.3; loading simple-wiki-mode breaks org-mode

Previous Next

Packages: org-mode, emacs;

Reported by: vmon <at> riseup.net

Date: Thu, 2 Oct 2014 23:40:01 UTC

Severity: normal

Tags: notabug

Found in version 24.3

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 18617 <at> debbugs.gnu.org (full text, mbox):

From: Kaushal Modi <kaushal.modi <at> gmail.com>
To: Marcin Borkowski <mbork <at> amu.edu.pl>
Cc: vmon <at> riseup.net, emacs-org list <emacs-orgmode <at> gnu.org>, alex <at> gnu.org,
 18617 <at> debbugs.gnu.org, david.hansen <at> physik.fu-berlin.de
Subject: Re: [O] bug#18617: 24.3; loading simple-wiki-mode breaks org-mode
Date: Sun, 21 Feb 2016 09:26:58 -0500
[Message part 1 (text/plain, inline)]
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)
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.