From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael =?utf-8?Q?Laboissi=C3=A8re?= Subject: Re: [PATCH] test-org/fuzzy-links Date: Sat, 15 Apr 2017 17:07:05 +0200 Message-ID: <20170415150705.ecfdruji4yv4hbqr@laboissiere.net> References: <20170412203354.gnfpxtvqq5ykdsog@laboissiere.net> <87r30thgcp.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czPI7-00086f-Es for emacs-orgmode@gnu.org; Sat, 15 Apr 2017 11:07:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czPI4-0001Vx-9e for emacs-orgmode@gnu.org; Sat, 15 Apr 2017 11:07:11 -0400 Received: from laboissiere.net ([46.101.243.132]:45338) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1czPI4-0001Uk-16 for emacs-orgmode@gnu.org; Sat, 15 Apr 2017 11:07:08 -0400 Content-Disposition: inline In-Reply-To: <87r30thgcp.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org Mode * Nicolas Goaziou [2017-04-15 16:53]: > Rafael Laboissière writes: > >> Function org-backward-heading-same-level fails in a specific case. >> Suppose the following org-mode file: >> >> ================== >> * first >> * second >> * third >> ================== >> >> where '* first' is right at the beginning of the file. >> >> When the cursor is at line '* third' and >> org-backward-heading-same-level is called, we go to the previous line >> correctly. However when the cursor is at '* second', >> org-backward-heading-same-level does bring us to the first line but >> emits an error "Beginning of buffer". It seems that the patch >> attached to this message fixes the problem. > > Thank you. I eventually applied a slightly different patch, and added > some tests. Thanks. Best, Rafael