From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bookmark.el bug report Date: Wed, 30 Dec 2009 13:28:24 -0200 Message-ID: References: <5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com> <87aax361bd.fsf@red-bean.com> <87my13lf3v.fsf@tux.homenetwork> <72EB214F963A4550B9F1B0EBBCFB48F4@us.oracle.com> <87eimehkg1.fsf@red-bean.com> <87y6kkd1lu.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262186956 26738 80.91.229.12 (30 Dec 2009 15:29:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2009 15:29:16 +0000 (UTC) Cc: emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 30 16:29:09 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NQ0U1-0004dl-7Y for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2009 16:29:09 +0100 Original-Received: from localhost ([127.0.0.1]:50763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ0U1-0008PE-LN for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2009 10:29:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ0TV-0008B6-Fb for emacs-devel@gnu.org; Wed, 30 Dec 2009 10:28:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ0TR-00089W-Lc for emacs-devel@gnu.org; Wed, 30 Dec 2009 10:28:37 -0500 Original-Received: from [199.232.76.173] (port=38567 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ0TR-00089D-01 for emacs-devel@gnu.org; Wed, 30 Dec 2009 10:28:33 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49328) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQ0TQ-0002pa-Mq for emacs-devel@gnu.org; Wed, 30 Dec 2009 10:28:32 -0500 Original-Received: from vpn-132-204-232-126.acd.umontreal.ca (vpn-132-204-232-126.acd.umontreal.ca [132.204.232.126]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id nBUFSP2S030338; Wed, 30 Dec 2009 10:28:26 -0500 Original-Received: by arepa.local (Postfix, from userid 501) id F042E45584B; Wed, 30 Dec 2009 13:28:24 -0200 (ARST) In-Reply-To: <87y6kkd1lu.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Wed, 30 Dec 2009 14:37:33 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3437=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119048 Archived-At: >> 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. Stefan