Live data from Hacker News

Emacs, naked

bzg.fr

91–100 of 201 posts

Re: Emacs, naked

#91
post #57

Coming from Vim, when I switched to Emacs, I found the starting aesthetic experience more than lacking (or, ugly). It took me some time (and a helpful HN discussion) until I found good themes and good plugins to make it look aesthetically pleasing (to my eyes, at least, after all people's tastes differ). If somebody is looking for a nice Emacs theme and feels that the OP is a bit too minimal, have a look at my Emacs…

Very interesting thing you've got going there, and I love the visual aesthetic. Two quick tips that you probably already know, but just in case it's useful to you or someone else: * Emacs can wrap lines at word boundaries, while intelligently preserving/extending indentation (something like this: https://gist.github.com/anonymous/8581161 ) * If you're using emacs on the mac, it's worth taking a look at the railwaycat…

Also, note that Emacs 24.4 (currently unreleased) will have improved full screen support and better color support (same effect as "brew install emacs --srgb"). I've been using the Emacs head (from a month ago) and it's been very stable for me.

For sane trackpad scrolling in vanilla Emacs I use this:

    '(mouse-wheel-scroll-amount (quote (0.01)))

Re: Emacs, naked

#92
post #57

Coming from Vim, when I switched to Emacs, I found the starting aesthetic experience more than lacking (or, ugly). It took me some time (and a helpful HN discussion) until I found good themes and good plugins to make it look aesthetically pleasing (to my eyes, at least, after all people's tastes differ). If somebody is looking for a nice Emacs theme and feels that the OP is a bit too minimal, have a look at my Emacs…

Very interesting thing you've got going there, and I love the visual aesthetic. Two quick tips that you probably already know, but just in case it's useful to you or someone else: * Emacs can wrap lines at word boundaries, while intelligently preserving/extending indentation (something like this: https://gist.github.com/anonymous/8581161 ) * If you're using emacs on the mac, it's worth taking a look at the railwaycat…

Seconding the recommendation for the Railwaycat fork, which is excellent. I just wonder about how quickly it'll be integrated into the 24.4 codebase, once that version drops; I'm really looking forward to file change notification support, for example so that Emacs can autorevert my Dropbox-synchronized Org files when it sees that they've been synced.

Re: Emacs, naked

#93
post #42
post #21

Earlier quoted context omitted.

Emacs loves diversity. As a dinner.

this, but without the contentious overtones. wait, let me back up for a moment wrt the original article. that screenshot in the article is not emacs. i can't give you a screenshot of emacs, because emacs doesn't even depend on a windowing system for near-maximum awesomeness. it is my go-to text editor, and i very likely will (progn several of these snippets into my .el files. that said, we do have have windowing syst…

It's probably worth looking into the scope and design of LT plugins, they do (ostensibly) strive for full scriptability. Seeing some of the stuff people are doing integrating dev tools, tutorials (possibly one of the killer features in the future), etc. gives me some hope as an ardent emacs user that they may be onto something with LT.

Re: Emacs, naked

#94
post #31

Earlier quoted context omitted.

Why do you want line numbers next to your code at all? Aren't they just visual clutter? The current line number is shown in the mode-line anyway.

At least in Vim, line numbers help to move around and operate on text really quickly. Move cursor to ninth line above: 9k Delete from here to seventh line below: 7dd Copy thirteenth line above after second line below: :-13t+2 Having line numbers always visible (either relative or absolute) helps for doing this operations quickly.

Emacs offers goto-line on M-g g or M-g M-g, which admittedly is not the handiest of key sequences; I've been thinking about rebinding that to be more useful, but I don't use it often enough to really need to.

Line numbers are also useful, for example, when doing web development, and hunting down the line that's mentioned in a stack trace. Absent integration between the browser's debugger and Emacs, which is something I've fiddled around with (based on mozrepl) but never got working, that's a good second best.

Re: Emacs, naked

#95

Coming from Vim, when I switched to Emacs, I found the starting aesthetic experience more than lacking (or, ugly). It took me some time (and a helpful HN discussion) until I found good themes and good plugins to make it look aesthetically pleasing (to my eyes, at least, after all people's tastes differ). If somebody is looking for a nice Emacs theme and feels that the OP is a bit too minimal, have a look at my Emacs…

I try out emacs every few years. Every time, I get discouraged whenever I attempt to do something simple (change the theme, etc) by the amount of configuration necessary. I may try your repo, since it seems to have a lot of stuff already configured. The other thing is that Emacs is really slow to start as soon as you have a few plugins, compared to vim.

I switch between Vim and Emacs depending on mood. It's a very hard deal: Emacs is a plateform that can do a lot of things besides editing, but it requires a lot of configuration fiddling, and is a bit too slow on the old machine on which I'm using it (must be a single core Pentium with Mandriva 9). Vim has a lot of things right off the box and is fast, but you have to use other programs to have a comfortable environment (mc, screen, ...).

Anyway. The trick with Emacs is to customize incrementally. Also, use customize-option as much as possible instead of editing your .emacs; too often people make you insert lines in your .emacs when already customization exists. Also, use the package manager (list-packages) that Emacs acquired recently instead of fetching from emacswiki or a github repo. It compiles automatically stuff, so it might help with startup times.

Re: Emacs, naked

#96

Here is a screenshot of my emacs. http://farm8.staticflickr.com/7346/12104669276_154ae3d98f_o.... Scroll bars and menu turned off. Theme solarized and transparent background. I feel good when I am programming :)

A transparent background adds too much visual noise in my opinion. The same is true for line numbers.

Re: Emacs, naked

#97
post #69

[deleted]

Why do you this?

  ;; these patterns allow a new frame to open for their matches
  (remove-hook 'same-window-regexps "\\*info\\*\\(\\|\\)") 
  (remove-hook 'same-window-regexps "\\`\\*Customiz.*\\*\\'")
It appears the default value for same-window-regexps is nil... Do you have a package installed that is adding those or something?

Re: Emacs, naked

#100
post #41
post #36

Earlier quoted context omitted.

I'd like to see graphics inline, for example. Another one: in Emacs, to display inline docs, you either use the modeline, or a buffer, or a tooltip. It could be nicer... The amount of hackyness needed for adding something like a Markdown preview bothers me.. To me, LT could be Emacs with better rendering. I really enjoyed learning Emacs, its a great design, like an open-world game. I want more apps to capture that.

Emacs supports inline graphics; you don't see the capability used all that often, but it certainly exists, and has done for quite some time. Inline documentation doesn't seem all that desirable in the first place; from the screenshots I've seen, it looks like it would get in the way, which documentation in a separate buffer doesn't do. (I'm half tempted to implement inline documentation for Emacs Lisp mode as a proof…

> Emacs supports inline graphics; you don't see the capability used all that often…

Well, except for every time you start Emacs :-)

(Yes, assuming you haven't disabled the splash screen)

Post reply on HN