unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Mauger <mmaug@yahoo.com>
Subject: Re: current-column and display (space :align-to) properties
Date: Wed, 11 Jan 2006 16:57:38 +0000 (UTC)	[thread overview]
Message-ID: <loom.20060111T174606-656@post.gmane.org> (raw)
In-Reply-To: E1EwUBD-0004pt-C8@fencepost.gnu.org

Richard M. Stallman writes:

> 
>     Along the lines of a question that arose a couple of weeks ago re: 
counting 
>     before and after properties when calculating current-column, should the 
>     space :align-to and :width properties be reflected in current-column?
> 
> I think this is part of the to-do item to write a version
> of current-column that takes account of pixel widths.
> 

Actually, on Dec 22nd, during a discussion with Drew titled "current-column and 
invisible text", you said:

> I think that is a bug.  I see two possible meaningful ways to handle
> an overlay before-string: either ignore it, or count its contents.
> The latter seems more correct.
>
> Would someone like to look at this bug, and ack?

I think a basic solution to this (report integer column number with no 
accounting for font widths) is needed now (before the release) since many of 
the display properties are new and cause inconsistent behavior in some basic 
functions.  

I've looked at the code, and understand where the changes are needed, but am 
not very comfortable with Emacs internals.  I'll take a look and see if I can 
puzzle my way thru but my time for it is limited.

-- Michael

  reply	other threads:[~2006-01-11 16:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10  1:24 current-column and display (space :align-to) properties Michael Mauger
2006-01-10 15:33 ` Stefan Monnier
2006-01-11  0:49 ` Richard M. Stallman
2006-01-11 16:57   ` Michael Mauger [this message]
2006-01-12  8:41     ` Kim F. Storm
2006-01-12 15:10     ` Richard M. Stallman

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=loom.20060111T174606-656@post.gmane.org \
    --to=mmaug@yahoo.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).