unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: intangible characters bugs  [was Re: buff-menu.el changes]
Date: Tue, 17 Dec 2002 17:00:52 +0000 (UTC)	[thread overview]
Message-ID: <m18OL5Q-000IeGC@localhost> (raw)
In-Reply-To: <20021217000015.50ec6208.occitan@esperanto.org> (message from Daniel Pfeiffer on Tue, 17 Dec 2002 00:00:15 +0100)

Today's CVS snapshot of Tue, 2002 Dec 17 16:51 UTC
GNU Emacs 21.3.50.27 (i686-pc-linux-gnu, X toolkit)
(but with Miles' patch to src/xfaces.c applied to that file)
started with

     /usr/local/bin/emacs -q --no-site-file --eval '(blink-cursor-mode 0)'


   next-line (C-n) works for me, even with 21.2 -q.  It simply skips
   the intangible line.

This is a bug in 21.3.  Miles Bader <miles@lsi.nec.co.jp> sent a
test-case.  I can confirm that the current CVS snapshot has the same
problems as he describes.  I cannot fix this.


    ... here's a simple test-case that illustrates the
    problem:

       (with-current-buffer (get-buffer-create "*test*")
         (insert "1: hello\n")
         (insert (propertize "2: cruel\n" 'invisible t 'intangible t))
         (insert "3: world\n")
         (insert "4:\n"))

    After evaluating that, go to the *test* buffer, and move around
    using C-n & C-p.  I can see the following bugs:

      (1) If the cursor is in the first column, you can't move from
          line "3:" to line "4:" using C-n (but C-p works all the way
          from the end of the buffer to the beginning).

      (2) If the cursor is in a different column, C-n seems to work
          correctly on all lines, but C-p won't move from line "3:" to
          line "1:" (it seems to work on all other line though).

-- 
    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             bob@rattlesnake.com

  parent reply	other threads:[~2002-12-17 17:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16 20:04 buff-menu.el changes Robert J. Chassell
2002-12-16 21:05 ` Juanma Barranquero
2002-12-16 23:00 ` Daniel Pfeiffer
2002-12-17  1:30   ` Miles Bader
2002-12-17 17:00   ` Robert J. Chassell [this message]
2002-12-18 20:40 ` Robert J. Chassell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m18OL5Q-000IeGC@localhost \
    --to=bob@rattlesnake.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).