From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#14346: 24.3; beginning-of-visual-line jumps to previous line in org-mode Date: Sat, 4 May 2013 14:27:31 +0100 Message-ID: References: <8338u3m2ke.fsf@gnu.org> <831u9nm2dm.fsf@gnu.org> <83y5bvkki7.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3074d2d8ff547c04dbe46d33 X-Trace: ger.gmane.org 1367674112 15072 80.91.229.3 (4 May 2013 13:28:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 13:28:32 +0000 (UTC) Cc: 14346@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 04 15:28:31 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYcVn-0005wK-54 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 15:28:27 +0200 Original-Received: from localhost ([::1]:58922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYcVm-0002iP-P9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 09:28:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYcVh-0002i6-MM for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 09:28:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYcVe-00010x-Hv for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 09:28:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYcVe-00010r-Eq for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 09:28:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UYcWN-00074c-Jr for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 09:29:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2013 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14346 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14346-submit@debbugs.gnu.org id=B14346.136767410627022 (code B ref 14346); Sat, 04 May 2013 13:29:02 +0000 Original-Received: (at 14346) by debbugs.gnu.org; 4 May 2013 13:28:26 +0000 Original-Received: from localhost ([127.0.0.1]:57707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYcVi-00071T-KO for submit@debbugs.gnu.org; Sat, 04 May 2013 09:28:25 -0400 Original-Received: from mail-qe0-f47.google.com ([209.85.128.47]:47407) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYcVd-00070v-Ej for 14346@debbugs.gnu.org; Sat, 04 May 2013 09:28:20 -0400 Original-Received: by mail-qe0-f47.google.com with SMTP id w7so1342648qeb.20 for <14346@debbugs.gnu.org>; Sat, 04 May 2013 06:27:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NOgYyRtQ3vZ792tSDqc5GBPfgF5V24EBLyv1+/qDWts=; b=y3sZpGH1z3AnE9QE7DIVQ6LDmNnf5bQLnQ4Qex+8uIpoOSLDGTB72hP3EcH0l8jEye M82/Eb2JEHkGKBDzwrG+tClUH8xaLGWTeb/sYdNQ4qWSkf5uIxlgbUyRpyDMvndcfziQ vYcxWyHwx/qNCbuhPa2X/8aqJ3tbyumkDBCJOWU74NDOu2oMJLNFhvL9ShcJMW9byeVW xetexPT7vC/eiYWgco55FvZGMp7g5VQC4vp0tGZTCJ8DqVyAz85vgmGm7APApPpnpTzR RvzV12m9qroIP8Fdotf7LvTI1sIoSp/onifthx+4uZ/MoAk0l6sMLgdROPeEcRLVPLvV /gUQ== X-Received: by 10.224.33.148 with SMTP id h20mr16838134qad.45.1367674051229; Sat, 04 May 2013 06:27:31 -0700 (PDT) Original-Received: by 10.49.2.164 with HTTP; Sat, 4 May 2013 06:27:31 -0700 (PDT) In-Reply-To: <83y5bvkki7.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73950 Archived-At: --20cf3074d2d8ff547c04dbe46d33 Content-Type: text/plain; charset=ISO-8859-1 Wouldn't it be better if forward/backward-char kept the old behavior, and the rest of the commands did something similar to this in the end: (setq disable-point-adjustment (preceding-or-following-character-visible-p)) I'm not entirely sure whether it would be better, but at the moment, I can't think of a case where it wouldn't. Evgeni On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii wrote: > > Date: Sat, 4 May 2013 12:17:35 +0100 > > From: E Sabof > > Cc: 14346@debbugs.gnu.org > > > > I see what you mean. But it still looks like a bug - whether I follow the > > above recipe, or press C-e C-a, the point will (should?) go to the same > > position, but the behavior is different. > > The behavior depends on the direction point was moving before ending > up in the invisible text. It's a heuristic, and as every heuristic, > it sometimes fails. > --20cf3074d2d8ff547c04dbe46d33 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Wouldn't it be better if forward/backward-char kept th= e old behavior, and the rest of the commands did something similar to this = in the end:

(setq disable-point-adjustment
=A0 =A0 =A0 (preceding-or-following-character-visible-p))
<= br>
I'm not entirely sure whether it would be better, b= ut at the moment, I can't think of a case where it wouldn't.
<= div style>
Evgeni


<= div class=3D"gmail_quote">On Sat, May 4, 2013 at 1:16 PM, Eli Zaretskii <eliz@g= nu.org> wrote:
> Date: Sat, 4 May 2013 12:17:35 +0100 > From: E Sabof <esabof@gmail.com= >
> Cc: 14346@debbugs.gnu.org=
>
> I see what you mean. But it still looks like a bug - whether I follow = the
> above recipe, or press C-e C-a, the point will (should?) go to the sam= e
> position, but the behavior is different.

The behavior depends on the direction point was moving before ending<= br> up in the invisible text. =A0It's a heuristic, and as every heuristic,<= br> it sometimes fails.

--20cf3074d2d8ff547c04dbe46d33--