[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bookmark.el bug report
From: |
Stefan Monnier |
Subject: |
Re: bookmark.el bug report |
Date: |
Wed, 30 Dec 2009 13:32:45 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
>>>> Better would be to place the text property at BOL so there's no need for
>>>> any forward-char business.
>>> Yes, but remember you have to set properties on the bookmark name
>>> without "*"(annotation), ">"(mark), "D"(mark for deletion).
>>> That occur on third char and not before.
>> Ah, that makes sense.
>> So maybe hardcoding 2 is not such a bad idea, but the important thing
>> is then that the same "hardcoding" be used both where the property is used
>> and where it's set.
> Yes, it's why start was set to (point + 2) in *-bmenu-list in my original
> patch.(It is like that in bookmark-extensions.el).
Yes, that's what I figured in the mean time.
So we should probably revert to the "+2" (tho it also has its
downside). But please use a defconst to hold the "2".
Stefan
- Re: bookmark.el bug report, (continued)
- 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
- Re: bookmark.el bug report,
Stefan Monnier <=