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: Tue, 29 Dec 2009 16:22:32 -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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262178259 32704 80.91.229.12 (30 Dec 2009 13:04:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2009 13:04:19 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 30 14:04:11 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 1NPyDj-0007ee-9Y for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2009 14:04:11 +0100 Original-Received: from localhost ([127.0.0.1]:49506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPyDj-00018b-LJ for ged-emacs-devel@m.gmane.org; Wed, 30 Dec 2009 08:04:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPyC8-0000Pq-Sj for emacs-devel@gnu.org; Wed, 30 Dec 2009 08:02:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPyC4-0000Lu-13 for emacs-devel@gnu.org; Wed, 30 Dec 2009 08:02:32 -0500 Original-Received: from [199.232.76.173] (port=59327 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPyC3-0000Lp-S5 for emacs-devel@gnu.org; Wed, 30 Dec 2009 08:02:27 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:42918) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NPyC2-0002YK-Tv for emacs-devel@gnu.org; Wed, 30 Dec 2009 08:02:27 -0500 Original-Received: from vpn-132-204-232-59.acd.umontreal.ca (vpn-132-204-232-59.acd.umontreal.ca [132.204.232.59]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id nBUD2NCw027688; Wed, 30 Dec 2009 08:02:24 -0500 Original-Received: by vpn-132-204-232-59.acd.umontreal.ca (Postfix, from userid 501) id DA1CD3D9FB4; Tue, 29 Dec 2009 16:22:32 -0200 (ARST) In-Reply-To: <87eimehkg1.fsf@red-bean.com> (Karl Fogel's message of "Mon, 28 Dec 2009 16:12:30 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) X-NAI-Spam-Score: 0.5 X-NAI-Spam-Rules: 2 Rules triggered DATE_IN_PAST_12_24=0.5, RV3437=0 X-NAI-Spam-Level: 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:119033 Archived-At: >> (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