emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ruler-mode is broken


From: Lute Kamstra
Subject: Re: ruler-mode is broken
Date: Wed, 08 Oct 2003 11:49:33 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

David Ponce <address@hidden> writes:

>> Ai, the ruler string is only 83 characters long.  The
>> ruler-mode-fringes-face gave me an idea: when I set fringe-mode to
>> half, I can reproduce the bug.  Ruler mode probably did not
>> incorporate this possibility.
>
> Could you tell me more about the environment where you run Emacs?
> I can't reproduce the bug on my Windows NT box running
>
> "GNU Emacs 21.3.50.1 (i386-mingw-nt4.0.1381) of 2003-10-07".

(emacs-version) => "GNU Emacs 21.3.50.4 (i686-pc-linux-gnu, GTK+
 Version 2.0.6) of 2003-10-07 on occarina.pna.cwi.nl"

Do you have this platform available?

I'm not sure if I'm seeing the same as Jesper.  When I do this:

(ruler-mode 1)
(let ((none 0)              
      (default nil)         
      (left-only '(nil . 0)) 
      (right-only '(0 . nil))
      (minimal '(1 . 1))
      (half '(5 . 5)))
  (dolist (mode '(none default left-only right-only minimal half))
    (set-fringe-mode (symbol-value mode))
    (message (symbol-name mode))
    (sit-for 2)))

everything goes well except for minimal and half.

I get the impression that things go wrong for (set-fringe-mode (cons l r)) 
when either l or r is 5 or smaller.

I think there's a bug in set-fringe-mode as well (unrelated to the bug
in ruler-mode).  The argument (5 .  5) gives me fringes on the left
and right that are smaller than the default (nil . nil).  However, the
arguments (5 . 0) and (0 . 5) have exactly the same result as (nil . 0) 
and (0 . nil), respectively: they give a single fringe of the default
width on the left and right, respectively.

  Lute.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]