Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Calendar & proportional fonts
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hairryharry  
View profile  
 More options Sep 30 2012, 8:35 am
Newsgroups: gnu.emacs.help
From: hairryharry <hairryha...@tesco.net>
Date: Sun, 30 Sep 2012 13:35:24 +0100
Local: Sun, Sep 30 2012 8:35 am
Subject: Calendar & proportional fonts
Hi,

When I use proportional fonts in emacs 23 & 24 I find the calendar dates
do not line up. OK with fixed fonts.

Fairly new to emacs but have tried fiddling with calendar spacing
variables but not able to fix.

Any ideas or pointers would be gratefully received.

Thanks,

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
B. T. Raven  
View profile  
 More options Sep 30 2012, 3:10 pm
Newsgroups: gnu.emacs.help
From: "B. T. Raven" <btra...@nihilo.net>
Date: Sun, 30 Sep 2012 14:10:12 -0500
Local: Sun, Sep 30 2012 3:10 pm
Subject: Re: Calendar & proportional fonts
Die Sun Sep 30 2012 07:35:24 GMT-0500 (Central Daylight Time)
hairryharry <hairryha...@tesco.net> scripsit:

> Hi,

> When I use proportional fonts in emacs 23 & 24 I find the calendar dates
> do not line up. OK with fixed fonts.

> Fairly new to emacs but have tried fiddling with calendar spacing
> variables but not able to fix.

> Any ideas or pointers would be gratefully received.

> Thanks,

> Mike

I set up two frames in .emacs, one with a default proportional font, and
the other with a fixed font. Then I can look at Calendar correctly in
the fixed font frame.

Ed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Dyballa  
View profile  
 More options Sep 30 2012, 4:00 pm
Newsgroups: gnu.emacs.help
From: Peter Dyballa <Peter_Dyba...@Web.DE>
Date: Sun, 30 Sep 2012 22:00:13 +0200
Local: Sun, Sep 30 2012 4:00 pm
Subject: Re: Calendar & proportional fonts

Am 30.09.2012 um 14:35 schrieb hairryharry:

> Any ideas or pointers would be gratefully received.

Maybe the Emacs Lisp Manual offers some pointers how to position characters by a fraction of character width.

Does it help to assume that GNU Emacs is not a graphical editor but works character oriented?

Leave it fixed width fonts! Then it's easier to understand why GNU Emacs offers functions to operate on columns of text.

In last millennium there was a time when you could find in the category "state-of-the-art" alpha-numerical text terminals which offered on 25 different lines space for exactly 80 characters. No-one more, no-one less. And each character the same size. That's the time when the GNU Emacs his or her story started. And that's the time when you could buy mechanical typewriters. See: http://en.wikipedia.org/wiki/Typewriter

--
Greetings

  Pete

Almost anything is easier to get into than out of.
                                – Allen's Law


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hairryharry  
View profile  
 More options Sep 30 2012, 4:23 pm
Newsgroups: gnu.emacs.help
From: hairryharry <hairryha...@tesco.net>
Date: Sun, 30 Sep 2012 21:23:32 +0100
Local: Sun, Sep 30 2012 4:23 pm
Subject: Re: Calendar & proportional fonts
On 30/09/12 20:10, B. T. Raven wrote:

Thanks Ed,

Had sort of heard about doing that but not sure how to. Could you give
me a pointer to how you set the frames up in your .emacs.
Thanks,

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
B. T. Raven  
View profile  
 More options Sep 30 2012, 6:42 pm
Newsgroups: gnu.emacs.help
From: "B. T. Raven" <btra...@nihilo.net>
Date: Sun, 30 Sep 2012 17:41:39 -0500
Local: Sun, Sep 30 2012 6:41 pm
Subject: Re: Calendar & proportional fonts

My .emacs intializes the w32 build, so you will need to use different
font names, etc. but the lisp functionality should be the same:

Near end of my .emacs is this
Arial

(setq initial-frame-alist '((name . "arial") (top . 370) (left . 1)
(width . 205) (height . 18)))

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:stipple nil :background "ghostwhite" :foreground
"black" :inverse-video nil :box nil :strike-through nil :overline nil
:underline nil :slant normal :weight normal :height 108 :width normal
:family "outline-arial unicode ms"))))
 '(scroll-bar ((t (:background "#ffffff" :foreground "#000000")))))

and then for the fixed Courier font:

(make-frame '((name . "courier")
           (top . 1) (left . 1) (width . 123) (height . 18)
           (visibility . icon) ; nil or icon
     ))

(select-frame-by-name "courier")
(set-frame-font "-outline-Courier
New-normal-r-normal-normal-*-*-96-96-c-*-iso10646-1")

the frame coords are from long ago when they made approx. equal frames
at top and bottom of some monitor screen. It would be nice if they could
be parameterized somehow so that they would fit automatically on any
screen size. Lines would wrap at different points because a certain
screen width in pixels would accommodate only so many characters.

Ed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hairryharry  
View profile  
 More options Oct 3 2012, 10:52 am
Newsgroups: gnu.emacs.help
From: hairryharry <hairryha...@tesco.net>
Date: Wed, 03 Oct 2012 15:52:14 +0100
Local: Wed, Oct 3 2012 10:52 am
Subject: Re: Calendar & proportional fonts
Just a follow-up thanks to B.T.Raven.

Now set-up as I wanted - thanks for your .emacs and with reference to
the section on emacswiki got it sorted out.

Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »