Live data from Hacker News

GNU Emacs 24.1 released

lists.gnu.org

71–79 of 79 posts

Re: GNU Emacs 24.1 released

#72

Precompiled binaries for Emacs 24.1 are already available for OS X at http://emacsformacosx.com/ .

It's really easy to compile your own binary (if you have Xcode or the new separate compiler from Apple). Grab the source, "./configure --with-ns && make install", and Emacs.app appears in the nextstep/ subdirectory of the source tree.

Re: GNU Emacs 24.1 released

#73

Earlier quoted context omitted.

Glad you like it. I think rather than further development on the Starter Kit, effort would be better spent towards coming up with a good overview of the ecosystem, documenting available packages and how they work together.

And pushing improvements (like saner defaults, and documentation for some of the under-documented built-in packages) upstream to Emacs itself. For those reasonably comfortable with Emacs, I think you should build it from source, and get into the habit of fixing tiny documentation problems as soon as you come across them. Mind you, I have submitted a couple such patches to the ido built-in help and they have languishe…

Pushing upstream is absolutely the best way to get things more widely used, but unfortunately changes to the defaults often get strong pushback from long-time users. It's a very politicized process; if improving Emacs itself were easier the Starter Kit never would have existed.

Re: GNU Emacs 24.1 released

#74
post #43

There's a slightly annoying regression (to Emacs 22, behavior, I believe) in the Mac version. Some Unicode characters (like —, “, and ”) cause the line to expand in height slightly. Does anyone know of a fix?

If you modify the default font, you also have to change the default "fontset", because merely changing the default font doesn't install it as the font for unicode characters. I use: (set-face-attribute 'default nil :family "Menlo" :height 120) (set-fontset-font "fontset-default" 'unicode "Menlo")

Perfect. Thank you so much. Guess I don't know as much about Emacs as I thought. :)

Re: GNU Emacs 24.1 released

#76
post #62

Earlier quoted context omitted.

You caught that quick! It only finished compiling a few minutes ago... (I generally kick off the release builds manually)

I'm getting a connection refused for http://emacsformacosx.com/

Yeah, sorry about that. It's back up now.

Re: GNU Emacs 24.1 released

#77

Earlier quoted context omitted.

It's opt-in, otherwise most packages would break. To enable it per-file use a file-local variable: ;;; -*- lexical-binding: t -*-

How ironic. Wouldn't it make much sense to enable it per lexical scope? Or as Perl did it (18 years ago) with a new keyword, so that you can use both dynamic and lexical variables in the same file? Best of both worlds.

It has to be this way to remain backward-compatible. Similar to the issues Perl is going through with things like enabling strict by default (you have to request at least a certain version, I think 5.12), and distinguishing a Perl 6 file from Perl 5 one.

Re: GNU Emacs 24.1 released

#78
post #70

Precompiled binaries for Emacs 24.1 are already available for OS X at http://emacsformacosx.com/ .

I had trouble with that release. I haven't tried any others yet (or tried compiling from source). The problem: after loading my init files ( https://github.com/jimm/elisp ) and loading a file there is something seriously wrong: the file isn't displayed properly (I'm not seeing the top of the file) and the mouse and keyboard don't let me navigate around the file. It so broken I had to re-install 23.4. Maybe it's somet…

I've traced it down to font selection. When I change the font to a larger size (Monaco or Menlo) then the top of the contents of the frame is off the screen, "above" the Mac menu bar. Strangely, Courier New works correctly with larger font sizes.

I tried the suggestion elsewhere on this page about setting font and fontset together, but that didn't fix the problem.

Re: GNU Emacs 24.1 released

#79
post #61

Earlier quoted context omitted.

You caught that quick! It only finished compiling a few minutes ago... (I generally kick off the release builds manually)

Last I checked your builds didn't had `ns-toggle-fullscreen`. Is that still the case? EDIT: Looks like emacsforosx does not compile Emacs with support for above command. Will you consider it? I totally understand distributing plain vanilla version though!

No, I don't want to support a bunch of little patches on top of emacs.

But it's frustrating for me, too, because I want the feature as much as anyone else. I've been making do with "(setq ns-auto-hide-menu-bar t)" which is close to the desired behavior, especially when combined with maxframe [1]. It still has the window's title bar, so it's not exactly there.

[1] https://github.com/rmm5t/maxframe.el I use it like this (where super is the command key):

  (defun toggle-frame-maximization ()
    (interactive)
    (if (frame-parameter nil 'mf-maximized) (restore-frame) (maximize-frame)))
  (define-key global-map [(super return)] 'toggle-frame-maximization)
Post reply on HN