all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
To: monnier@iro.umontreal.ca
Cc: 3400@emacsbugs.donarmstrong.com
Subject: bug#3400: bug in add-text-properties
Date: Fri, 29 May 2009 09:00:50 +0200 (CEST)	[thread overview]
Message-ID: <20090529.090050.266105248.wl@gnu.org> (raw)
In-Reply-To: <jwvprdsmzyr.fsf-monnier+emacsbugreports@gnu.org>


> Point is at position 1 (i.e. just before the char "1" rather than
> before the char "A"), so it makes sense for C-h = to return data
> about that position rather than about some other position one line
> down.

I disagree.  Whereever point is, it should report the character after
point which is accessible (this is, visible).  Perhaps it makes sense
to add a red warning message in the output of `C-x =' that point is
not located right before the displayed character.

If we had a small line instead of a blinking, block-like cursor (as it
is used with, say, OpenOffice), I could accept your argumentation.
But the visual effect is overwhelming, and it is extremely confusing
if the optical appearance differs so much from the `theoretical'
result.

>> Actually, there is no way to retrieve information from `A' at all.
> 
> Your `intangible' span basically requests "12345\nA" to be treated
> as one indivisible entity, so it's indeed difficult to get info
> about most of those individual chars.

Hmm.  IMHO, the same argumentation as above holds.

> if you're not 200% sure you absolutely need `intangible', then don't
> use it.  It's a nasty beast.

Indeed.  But for my particular needs -- filtering out some lines, then
searching and editing the visible ones only without accidentally
editing invisible stuff, it seems that `intangible' is still
necessary, and probably will stay so.


    Werner





  reply	other threads:[~2009-05-29  7:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27  5:26 bug#3400: bug in add-text-properties Werner LEMBERG
2009-05-28 15:15 ` martin rudalics
2009-05-28 16:26   ` Werner LEMBERG
2009-05-28 17:12     ` martin rudalics
2009-05-28 18:28     ` Stefan Monnier
2009-05-28 21:48       ` Werner LEMBERG
2009-05-29  2:05         ` Stefan Monnier
2009-05-29  7:00           ` Werner LEMBERG [this message]
2009-05-29 13:24             ` Lennart Borgman
2009-05-29 14:51               ` Drew Adams
2009-05-29 15:01             ` Stefan Monnier
2009-05-29 15:20               ` Werner LEMBERG
2009-05-29 16:08                 ` Stefan Monnier
2009-05-29 16:47                   ` martin rudalics
2009-05-30  5:51                     ` Werner LEMBERG
2009-05-30 10:12                       ` martin rudalics
2009-05-30  7:01                   ` Werner LEMBERG
2009-05-30 10:01                     ` Stephen Berman
2016-07-27 22:07                       ` Nicolas Petton
2016-07-29  2:26                         ` npostavs
2022-04-22 12:59                           ` bug#3400: Let C-x = show info about visible and invisible text near point Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=20090529.090050.266105248.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=3400@emacsbugs.donarmstrong.com \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.