Patchwork [evolve-ext,topic-fix] emacs: switch to Monaco at a slightly smaller font size

login
register
mail settings
Submitter Augie Fackler
Date Sept. 30, 2015, 10:16 p.m.
Message ID <d022abe7ff6b662b7b34.1443651404@augie-macbookair2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/10711/
State Rejected
Headers show

Comments

Augie Fackler - Sept. 30, 2015, 10:16 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1441979839 14400
#      Fri Sep 11 09:57:19 2015 -0400
# Node ID d022abe7ff6b662b7b3496f2cbf1be8e9ef608d0
# Parent  7e9b944f145763e02d4415a227b983965f42bab6
emacs: switch to Monaco at a slightly smaller font size

This seems right on my work laptop, not sure about on the personal one.
Matt Mackall - Sept. 30, 2015, 10:31 p.m.
On Wed, 2015-09-30 at 18:16 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf@durin42.com>
> # Date 1441979839 14400
> #      Fri Sep 11 09:57:19 2015 -0400
> # Node ID d022abe7ff6b662b7b3496f2cbf1be8e9ef608d0
> # Parent  7e9b944f145763e02d4415a227b983965f42bab6
> emacs: switch to Monaco at a slightly smaller font size
> 
> This seems right on my work laptop, not sure about on the personal one.

Wrong working directory?

> diff --git a/.elisp/settings/50.preferences.el b/.elisp/settings/50.preferences.el
> --- a/.elisp/settings/50.preferences.el
> +++ b/.elisp/settings/50.preferences.el
> @@ -57,7 +57,9 @@
>  
>    (cond
>     ((eq window-system 'ns) ;; OS X
> -    (set-face-attribute 'default nil :height 120))
> +    (set-face-attribute 'default nil :height 100)
> +    (set-face-attribute 'default nil :family "Monaco")
> +    )
>     (t ;; everywhere else
>      (set-face-attribute 'default nil :height 105)))
>  )
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel
Augie Fackler - Sept. 30, 2015, 10:32 p.m.
Yup. Sigh. Will send correct one soon. :(
On Sep 30, 2015 18:31, "Matt Mackall" <mpm@selenic.com> wrote:

> On Wed, 2015-09-30 at 18:16 -0400, Augie Fackler wrote:
> > # HG changeset patch
> > # User Augie Fackler <raf@durin42.com>
> > # Date 1441979839 14400
> > #      Fri Sep 11 09:57:19 2015 -0400
> > # Node ID d022abe7ff6b662b7b3496f2cbf1be8e9ef608d0
> > # Parent  7e9b944f145763e02d4415a227b983965f42bab6
> > emacs: switch to Monaco at a slightly smaller font size
> >
> > This seems right on my work laptop, not sure about on the personal one.
>
> Wrong working directory?
>
> > diff --git a/.elisp/settings/50.preferences.el
> b/.elisp/settings/50.preferences.el
> > --- a/.elisp/settings/50.preferences.el
> > +++ b/.elisp/settings/50.preferences.el
> > @@ -57,7 +57,9 @@
> >
> >    (cond
> >     ((eq window-system 'ns) ;; OS X
> > -    (set-face-attribute 'default nil :height 120))
> > +    (set-face-attribute 'default nil :height 100)
> > +    (set-face-attribute 'default nil :family "Monaco")
> > +    )
> >     (t ;; everywhere else
> >      (set-face-attribute 'default nil :height 105)))
> >  )
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel@selenic.com
> > https://selenic.com/mailman/listinfo/mercurial-devel
>
> --
> Mathematics is the supreme nostalgia of our time.
>
>

Patch

diff --git a/.elisp/settings/50.preferences.el b/.elisp/settings/50.preferences.el
--- a/.elisp/settings/50.preferences.el
+++ b/.elisp/settings/50.preferences.el
@@ -57,7 +57,9 @@ 
 
   (cond
    ((eq window-system 'ns) ;; OS X
-    (set-face-attribute 'default nil :height 120))
+    (set-face-attribute 'default nil :height 100)
+    (set-face-attribute 'default nil :family "Monaco")
+    )
    (t ;; everywhere else
     (set-face-attribute 'default nil :height 105)))
 )