Page 1 of 7 123 ... LastLast
Results 1 to 10 of 103

Thread: HOWTO: Install GNU Emacs with antialiasing

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Isle of Wight, England
    Beans
    63
    Distro
    Ubuntu 6.06

    Talking HOWTO: Install GNU Emacs with antialiasing

    Emacs is an amazing piece of software, but it's also hellishly ugly by default.

    Here, I'll show you how to get it from CVS with antialiasing and GTK support, like this;



    My apologies in advance; I'm not sure of the dependencies, other than CVS and TLA. Hopefully any error messages should be verbose enough for you to figure it out.

    I've read I guide similar to this before, but I've lost the URL. Kudos to whoever wrote that one.

    engla recommends using checkinstall as "It makes me feel much better about my system, knowing that it's easy to just throw something you compile-installed out again if you screwed up."

    • First, we want to get it from CVS. To do so, run;

      Code:
      cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/emacs co emacs
    • Now, cd into emacs, and get the Xft branch of Emacs by running

      Code:
      cd emacs
      cvs up -Pd -r XFT_JHD_BRANCH
    • Next get the following emacs-snapshot-debian directory

      Code:
      tla register-archive jerome@debian.org--2005 http://people.debian.org/~jerome/arch/jerome@debian.org--2005/
      
      tla get -A jerome@debian.org--2005 emacs-snapshot-debian--main
    • And then rename the directory "debian" and put it in emacs/src. You then have to edit out the build instructions for the -nox variant of Emacs in emacs/src/debian/rules. You can find the edited file here.
    • And now you're good to go! From the emacs directory, run the following commands (make bootstrap takes a while, so go grab some lunch).

      Code:
      ./configure --with-x-toolkit=gtk --with-xft=yes
      make bootstrap
      make
      sudo make install
    • There we are, that wasn't too bad! To set your font, add something like the following to ~/.Xresources (you may need to restart X before it takes effect).

      Code:
      Emacs*font: Monospace-7


    And finally, you might want to create a menu item for it. Happy hacking!
    Last edited by trevorv; February 6th, 2006 at 01:00 AM.

  2. #2
    Join Date
    Nov 2005
    Beans
    Hidden!
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install GNU Emacs with antialiasing

    I get the following error:
    Code:
    walla@ubuntu:~/emacs$ tla get -A jerome@debian.org--2005 emacs-snapshot-debian--main
    archive not registered: jerome@debian.org--2005
      (see register-archive)
    walla@ubuntu:~/emacs$
    ....I'm a noob at this stuff
    / Intel Pentium 4 3.4 ghz 1024 mb RAM
    \ 6600 GT
    Running Ubuntu Edgy

  3. #3
    Join Date
    Nov 2005
    Location
    Isle of Wight, England
    Beans
    63
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install GNU Emacs with antialiasing

    Quote Originally Posted by Wallakoala
    I get the following error:
    Code:
    walla@ubuntu:~/emacs$ tla get -A jerome@debian.org--2005 emacs-snapshot-debian--main
    archive not registered: jerome@debian.org--2005
      (see register-archive)
    walla@ubuntu:~/emacs$
    Argh, sorry, I put the wrong line in

    I'll change that now.

  4. #4
    Join Date
    Nov 2005
    Beans
    Hidden!
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install GNU Emacs with antialiasing

    Quote Originally Posted by trevorv
    Argh, sorry, I put the wrong line in

    I'll change that now.
    Ok, it works now. I'm still waiting for make bootstrap to finish....
    / Intel Pentium 4 3.4 ghz 1024 mb RAM
    \ 6600 GT
    Running Ubuntu Edgy

  5. #5
    Join Date
    Apr 2005
    Beans
    33

    Re: HOWTO: Install GNU Emacs with antialiasing

    Quote Originally Posted by trevorv
    Argh, sorry, I put the wrong line in

    I'll change that now.
    $tla get -A jerome@debian.org--2005 emacs-snapshot-debian--main

    No such version (0)
    name: jerome@debian.org--2005
    location: http://people.debian.org/~jerome/arc...ian.org--2005/
    package-version: emacs-snapshot-debian--main--0


    any problem?

  6. #6
    Join Date
    Nov 2005
    Location
    Isle of Wight, England
    Beans
    63
    Distro
    Ubuntu 6.06

    Re: HOWTO: Install GNU Emacs with antialiasing

    Quote Originally Posted by forbmj
    any problem?
    Sorry, I'm not sure why you're getting that error. Are you sure you ran the first tla command?

    If you still get the error, maybe someone else can help.

  7. #7
    Join Date
    Dec 2005
    Beans
    16

    Re: HOWTO: Install GNU Emacs with antialiasing

    So, I followed the tutorial to the letter, but I only get console emacs. How do I run it with the fancy GTK stuff? I can't find an "xemacs" binary anywhere.

  8. #8
    Join Date
    Jan 2006
    Location
    Lynchburg, VA (US)
    Beans
    278
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOWTO: Install GNU Emacs with antialiasing

    i'm an ultra noob at linux. i removed windows and installed ubuntu about a week ago, w/ no prior experience. i've followed this guide sucessfully (as far as i can tell) till the last step, where i need to locate "~/.Xresources". where is this supposed to be? is it a file or a folder? sorry if i've messed something up, or missed something simple. thanks though for the guide.

  9. #9
    Join Date
    Sep 2005
    Beans
    146
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Install GNU Emacs with antialiasing

    add something like the following to ~/.Xresources
    where i need to locate "~/.Xresources"?
    No offense, VCSkier, but I would highly recommend reading up on how Linux directory and file schemes work.

    ~ = your home directory. ('cd ~' will take you to it)
    .Xresources = the file that needs edited. the period (.) in front means it will normally be hidden from ls, though ls -a will make it show up.

  10. #10
    Join Date
    Jan 2006
    Location
    Lynchburg, VA (US)
    Beans
    278
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: HOWTO: Install GNU Emacs with antialiasing

    [embarrassed]i was wondering why that period was there... lol. thanks. [/embarrassed]

Page 1 of 7 123 ... LastLast

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
  •