Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: HOWTO: Beautiful Emacs

  1. #11
    Join Date
    Feb 2007
    Beans
    6
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Beautiful Emacs

    Thank you so much. I have been fighting with gnuemacs for a while now to get it to look nice. This solved all of my problems!

  2. #12
    Join Date
    Mar 2005
    Beans
    11

    Re: HOWTO: Beautiful Emacs

    Quote Originally Posted by stairwayoflight View Post
    For a cleaner look, you can add
    Code:
    (scroll-bar-mode -1)
    (menu-bar-mode -1)
    which will disable the scroll bar and menu bar respectively. You can always turn them back on if you need them, but I found leaving them on I was always tempted to use the gui instead of the key commands, which is where emacs' strength really lies.
    For a faster load time you can disable those in ~/.Xdefaults (or ~/.Xresources) instead of in ~/.emacs, with the lines:
    Code:
    emacs.menuBar: off
    emacs.toolBar: off
    and to get rid of the scroll bar add
    Code:
     
    emacs.verticalScrollBars: off

  3. #13
    Join Date
    Nov 2007
    Beans
    15

    Re: HOWTO: Beautiful Emacs

    My anti-aliased fonts disappeared in Emacs on the upgrade to Intrepid. Does anyone know any techniques to get back antialiasing on intrepid?

  4. #14
    Join Date
    Mar 2009
    Beans
    3
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Question Re: HOWTO: Beautiful Emacs

    Many thanks!

    I installed Ubuntu 8.10 Intrepid last week and had much trouble getting somewat readable emacs fonts. Your recipe to transit to emacs-snapshot-gtk with Monospace-10 is a godsent.

    There was a secondary recipe to put
    Emacs.menuBar: off
    etc choices in .Xdefaults rather than specify them in .emacs: that works, but Emacs needs to be spelled with a capital.

    A big remaining problem I have is that emacs interferes devastatingly with the Gnome workspace shifter: use of any key combination (defined by key shortcuts) to switch to te workspace on the left or the right of the current one in an emacs window freezes my laptop (Tosphiba Portege R600). I guess I should put this bug in another thread but my lore in this is yet small.

  5. #15
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: HOWTO: Beautiful Emacs

    Quote Originally Posted by frecon View Post
    Still no luck. It still look the same as the last screenshot.
    How about changing the font size?
    Code:
    Emacs*Font: Monospace-10:antialias=True:pixelsize=8
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  6. #16
    Join Date
    Dec 2009
    Beans
    7

    Re: HOWTO: Beautiful Emacs

    Thanks a ton for this tutorial!

  7. #17
    Join Date
    Apr 2010
    Location
    Cape Breton, Nova Scotia
    Beans
    129
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: HOWTO: Beautiful Emacs

    These days there seems to have been a slight change to all this.

    If you just

    Code:
    apt-get install emacs-emacs-goodies-el
    then in emacs

    Code:
    M-x load-library RET
    color-theme
    then

    Code:
    M-x color-theme-select
    and pick one (by the way, it took me a while to figure out how to select a colour. I tried clicking and double clicking in the color-theme-select screen. Finally I figured out that you need to put the cursor on a color theme name and hit enter to select it).

    Finally if you add

    Code:
    (require 'color-theme)
    (color-theme-<theme-name>)
    to your .emacs file the next time you start emacs you'll get the error

    Code:
    Symbol's function definition is void: color-theme-<theme-name>
    This is easy to fix. You now need the command

    Code:
    (color-theme-initialize)
    after the require 'color-theme command in your .emacs file.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •