emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 29 Dec 2009 16:22:32 -0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin)

>> (condition-case nil
>> (save-excursion
>> (forward-line 0) (forward-char 3)

Hardcoding 3 is ugly (I know it's done elsewhere, but it's still ugly,
elsewhere a well).

>> (get-text-property (point) 'bookmarkp-bookmark-name))
>> (error nil)))

> Will take into account.

Better would be to place the text property at BOL so there's no need for
any forward-char business.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]