all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: 1255@emacsbugs.donarmstrong.com
Subject: bug#1255: 23.0.60; linum-mode: no update after text-scale-adjust
Date: Mon, 27 Oct 2008 11:08:15 +0100	[thread overview]
Message-ID: <f7ccd24b0810270308v6212c874ob9c0e70a7c01fc08@mail.gmail.com> (raw)
In-Reply-To: <jwvvdvebv68.fsf-monnier+emacsbugreports@gnu.org>

On Mon, Oct 27, 2008 at 03:59, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> FWIW, the problem I pointed out is not linum's, but either a
>> limitation of the way text-scale-adjust is implemented, or a redisplay
>> bug. Linum just happens to be a good way to show it off.
>
> What makes you think so?

ELISP> (let ((ov (make-overlay (point) (point)))
             (str "01234"))
         (set-window-margins (selected-window) (length str))
         (overlay-put ov 'before-string (propertize " " 'display
`((margin left-margin) ,str)))
         nil)
nil
ELISP> (text-scale-increase 3)
t

And the "01234" text in the window margin is no longer entirely
visible. I.e., `set-window-margins' sets the margin width in
"character cells", and its pixel width does not vary when the
character size is increased by `text-scale-increaase' and friends.
This is unrelated to linum.el, AFAICS.

  Juanma






  reply	other threads:[~2008-10-27 10:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-25 21:44 bug#1255: 23.0.60; linum-mode: no update after text-scale-adjust Stephen Berman
2008-10-25 22:17 ` Stephen Berman
2008-10-26 17:50   ` Juanma Barranquero
2008-10-27  2:59     ` Stefan Monnier
2008-10-27 10:08       ` Juanma Barranquero [this message]
2008-10-27 19:22         ` Stefan Monnier
2008-10-27 22:18           ` Juanma Barranquero
2016-01-09 21:55 ` Alan J Third
2016-01-10 15:40   ` Eli Zaretskii

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=f7ccd24b0810270308v6212c874ob9c0e70a7c01fc08@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=1255@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.