From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Walking zigzag in a Custom buffer
Date: Thu, 18 Aug 2005 00:46:35 +0200 [thread overview]
Message-ID: <4303BE4B.8070007@student.lu.se> (raw)
In-Reply-To: <ur7cs1ahw.fsf@jasonrumney.net>
Jason Rumney wrote:
>Lennart Borgman <lennart.borgman.073@student.lu.se> writes:
>
>
>
>>If one looks at "Property:" and "Value:" they seem to be aligned
>>horizontally ok. However placing point at one of those words and
>>moving up and down between them shows that something else in Emacs
>>seems to make a different computation of the button width than was
>>used when displaying the buffer.
>>
>>This makes me think there is a potential bug.
>>
>>
>
>This is due to the fact that Emacs uses characters, not pixels as its
>unit of horizontal position. The decoration on the buttons causes them
>to be wider than the equivalent fixed-width text without such
>decoration. You can see this by going to the beginning of the line
>containing "Value", and moving foward 3 characters. I think the
>alignment of the colons is more by careful hand placement than a
>difference in computation of button width.
>
>
Thanks, I guess you are right. I did not think about that possibility.
Looks to me like one button decoration is a half character wide there.
Seems to be the easiest way to solve it.
prev parent reply other threads:[~2005-08-17 22:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-17 20:57 Walking zigzag in a Custom buffer Lennart Borgman
2005-08-17 22:09 ` Jason Rumney
2005-08-17 22:46 ` Lennart Borgman [this message]
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=4303BE4B.8070007@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=emacs-devel@gnu.org \
/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).