unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 10960@debbugs.gnu.org, l26wang@gmail.com
Subject: bug#10960: linum-mode does not work properly when changing font size
Date: Sun, 11 Mar 2012 17:01:02 +0100	[thread overview]
Message-ID: <CAAeL0SS0okG4WMLOObgf2r-xgtzru1D911oL4pwbNodPxG+4qg@mail.gmail.com> (raw)
In-Reply-To: <jwvpqckz51l.fsf-monnier+emacs@gnu.org>

On Sat, Mar 10, 2012 at 19:28, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> We need some more general way to
> adjust the size of the margin to the size of the images&text displayed
> there, so as to handle non-default faces, proportional text, ...

OK, but that's a long way from your earlier answer in bug#1255: "So,
yes, the problem lies somewhat in linum-mode which should resize the
margin accordingly, tho it's far from easy for it to do so (and it can
only do it in increments of the base default font size)." We need a
way to adjust the size of the margin, but linum-mode et al. should do
nothing more** that set a margin width (in character cells); any
subsequent width change should be transparent for it/them.

**In fact, I don't see a way for two packages to coordinate uses of
the margin (let's suppose I write a package which uses the margin to
mark bookmarked places and I also want to use linum in the same
buffer); but that's unrelated to margin auto-resizing.

    Juanma





      parent reply	other threads:[~2012-03-11 16:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 16:27 bug#10960: linum-mode does not work properly when changing font size Le Wang
2012-03-06 17:07 ` Glenn Morris
2012-03-06 18:11   ` Eli Zaretskii
2012-03-06 21:05     ` Juanma Barranquero
2012-03-10  9:59     ` Eli Zaretskii
2012-03-10 14:38       ` Stefan Monnier
2012-03-10 15:06         ` Eli Zaretskii
2012-03-10 15:38           ` Juanma Barranquero
2012-03-10 17:18             ` Eli Zaretskii
2012-03-10 18:28             ` Stefan Monnier
2012-03-10 21:50               ` Eli Zaretskii
2012-03-11  1:36                 ` Stefan Monnier
2012-03-11  3:57                   ` Eli Zaretskii
2012-03-11 14:37                     ` Stefan Monnier
2012-03-11 17:14                       ` Eli Zaretskii
2012-03-12  1:54                         ` Stefan Monnier
2012-03-13 19:35                           ` Eli Zaretskii
2012-03-11 16:01               ` Juanma Barranquero [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=CAAeL0SS0okG4WMLOObgf2r-xgtzru1D911oL4pwbNodPxG+4qg@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=10960@debbugs.gnu.org \
    --cc=l26wang@gmail.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 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).