[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bookmark+ stopped working
From: |
Marcin Borkowski |
Subject: |
Bookmark+ stopped working |
Date: |
Thu, 02 Apr 2015 22:18:42 +0200 |
Hi all,
I upgraded Bookmark+ from the git repo
(git@github.com:emacsmirror/bookmark-plus.git - IIUC, this is a mirror
of the EmacsWiki code, right?) Now evaluating (require 'bookmark+)
yields this
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function bmkp-replace-regexp-in-string)
(bmkp-replace-regexp-in-string "\\s-+" "-" type)
(let* ((type-- (bmkp-replace-regexp-in-string "\\s-+" "-" type)) (command
(intern (format "bmkp-bmenu-show-only-%s-bookmarks" type--)))) (list (quote
progn) (list (quote defun) command nil doc-string (quote (interactive)) (quote
(bmkp-bmenu-barf-if-not-in-menu-list)) (list (quote let) (quote
((orig-filter-fn bmkp-bmenu-filter-function) (orig-title bmkp-bmenu-title)
(orig-latest-alist bmkp-latest-bookmark-alist))) (cons (quote condition-case)
(cons (quote err) (cons (list ... ... ... ...) (quote ...))))))))
(lambda (type doc-string filter-function) "Define a command to show only
bookmarks of TYPE in *Bookmark List*.\nTYPE is a short string or symbol
describing the type of bookmarks.\n\nThe new command is named
`bmkp-bmenu-show-only-TYPED-bookmarks', where\nTYPED is TYPE, but with any
spaces replaced by hyphens (`-').\nExample:
`bmkp-bmenu-show-only-tagged-bookmarks', for TYPE `tagged'.\n\nDOC-STRING is
the doc string of the new command.\n\nThe command shows only the bookmarks
allowed by FILTER-FUNCTION.\n\nIn case of error, variables
`bmkp-bmenu-filter-function',\n`bmkp-bmenu-title', and
`bmkp-latest-bookmark-alist' are reset to\ntheir values before the command was
invoked." (if (stringp type) nil (setq type (symbol-name type))) (let* ((type--
(bmkp-replace-regexp-in-string "\\s-+" "-" type)) (command (intern (format
"bmkp-bmenu-show-only-%s-bookmarks" type--)))) (list (quote progn) (list (quote
defun) command nil doc-string (quote (interactive)) (quote
(bmkp-bmenu-barf-if-not-in-menu-list)) (list (quote let) (quote
((orig-filter-fn bmkp-bmenu-filter-function) (orig-title bmkp-bmenu-title)
(orig-latest-alist bmkp-latest-bookmark-alist))) (cons (quote condition-case)
(cons (quote err) (cons ... ...))))))))(lighted "Display (only) the highlighted
bookmarks." bmkp-lighted-alist-only)
(bmkp-define-show-only-command lighted "Display (only) the highlighted
bookmarks." bmkp-lighted-alist-only)
eval-buffer(#<buffer *load*-39046> nil
"/home/marcin/ludzie-works/emacs/bookmark-plus/bookmark+-lit.el" nil t) ;
Reading at buffer position 17856
load-with-code-conversion("/home/marcin/ludzie-works/emacs/bookmark-plus/bookmark+-lit.el"
"/home/marcin/ludzie-works/emacs/bookmark-plus/bookmark+-lit.el" t t)
require(bookmark+-lit nil t)
eval-buffer(#<buffer *load*> nil
"/home/marcin/ludzie-works/emacs/bookmark-plus/bookmark+.el" nil t) ; Reading
at buffer position 7207
load-with-code-conversion("/home/marcin/ludzie-works/emacs/bookmark-plus/bookmark+.el"
"/home/marcin/ludzie-works/emacs/bookmark-plus/bookmark+.el" nil t)
require(bookmark+)
eval((require (quote bookmark+)) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
--8<---------------cut here---------------end--------------->8---
I'm on GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.10.8).
What's wrong?
Best,
--
Marcin Borkowski This email was proudly sent
http://mbork.pl from my Emacs.
- Bookmark+ stopped working,
Marcin Borkowski <=