[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bookmark.el bug report
From: |
Sun Yijiang |
Subject: |
bookmark.el bug report |
Date: |
Mon, 28 Dec 2009 14:19:16 +0800 |
`bookmark-bmenu-execute-deletions' is broken for quite some time. I
think I've found the problem. When it calls
`bookmark-bmenu-bookmark', the callee gets text property at
`(line-begging-position)', which is incorrect in this context. Below
is the patched code of `bookmark-bmenu-bookmark' that works for me:
(defun bookmark-bmenu-bookmark ()
"Return the bookmark for this line in an interactive bookmark list buffer."
(when (bookmark-bmenu-check-position)
(let ((pos (line-beginning-position)))
(when (looking-back "^[^ ]")
(setq pos (+ 1 pos)))
(get-text-property pos 'bookmark-name-prop))))
Sincerely,
Steve
- bookmark.el bug report,
Sun Yijiang <=
- Re: bookmark.el bug report, Karl Fogel, 2009/12/28
- Re: bookmark.el bug report, Thierry Volpiatto, 2009/12/28
- RE: bookmark.el bug report, Drew Adams, 2009/12/28
- Re: bookmark.el bug report, Karl Fogel, 2009/12/28
- Re: bookmark.el bug report, Stefan Monnier, 2009/12/30
- Re: bookmark.el bug report, Thierry Volpiatto, 2009/12/30
- Re: bookmark.el bug report, Stefan Monnier, 2009/12/30
- RE: bookmark.el bug report, Drew Adams, 2009/12/30
- RE: bookmark.el bug report, Drew Adams, 2009/12/30
- Re: bookmark.el bug report, Thierry Volpiatto, 2009/12/30