Live data from Hacker News

Frontmacs

github.com

11–20 of 100 posts

Re: Frontmacs

#11
post #2

Some screenshots could be nice, probably most people are not tend to try it out until they see a screenshot. Anyway, I am a simple man. I see people using Emacs and I become happy.

Agree! I am not a developer or an overly technical person and I recently started using Emacs because of an article here (using ido and org mode). I like it but I'm not fluent enough, or know enough of what it does to switch to it for everyday tasks - but there's a beauty in navigating file systems, creating files, switching windows all with your keyboard. Does anyone know if you can actually write code on Emacs, like…

Actually this link is all about write front code in Emacs, that's why it's named `frontmacs` I guess. Yeah, currently I am write frontend code inside emacs. Nothing special. I just used few major modes. js2-mode/web-mode/css(sass)-mode, there is typescript mode. Only for syntax highlighting. I don't use auto-complete thing.

Re: Frontmacs

#12
(edit: reposted this comment in their bug tracker)

You might want to warn people that this enables auto-saving buffers on many buffer/frame events that are usually considered safe.

https://github.com/thefrontside/frontmacs/blob/master/frontm...

    (defadvice switch-to-buffer (before save-buffer-now activate)
      (when buffer-file-name (save-buffer)))

    ; the same defadvice is applied to:
    ;    other-window
    ;    windmove-{up,down,left,right}
This absolutely needs a warning.

    (add-hook 'focus-out-hook
              (lambda () (when buffer-file-name
                           (save-buffer))))
Also, maybe this should only happen to buffers that are already backed up in the VCS? Saving unknown changes back to the original file whenever the frame looses focus - which can happen due to external, unpredictable events - seems like an accident waiting to happen.

Re: Frontmacs

#13
post #4

It claims to be "Awesome by default", but does not tell much about what that actually means.

I think what they mean is it's fully set up, so that if you've never used Emacs and you start using it, you won't encounter the situation where something stinks and your friend who's an experienced Emacs user says "oh, you need to customize such and such." So, "awesome by default" rather than "awesome after many hours of learning about and applying configuration changes." (I have no idea whether what they've done would meet that criterion for a large number of potential users.)

Re: Frontmacs

#14
post #2

Some screenshots could be nice, probably most people are not tend to try it out until they see a screenshot. Anyway, I am a simple man. I see people using Emacs and I become happy.

Agree! I am not a developer or an overly technical person and I recently started using Emacs because of an article here (using ido and org mode). I like it but I'm not fluent enough, or know enough of what it does to switch to it for everyday tasks - but there's a beauty in navigating file systems, creating files, switching windows all with your keyboard. Does anyone know if you can actually write code on Emacs, like…

Does anyone know if you can actually write code on Emacs, like HTML/CSS/Javascript?

Do you mean modifying Emacs while it is running?

If you switch to the "* scratch * "[1] buffer and type one of these and after each of these either press «Ctrl-J» or «Alt-x eval-print-last-sexp»:

  (message "Hello, World!")

  (setq cursor-type 'hbar)

  (setq cursor-type 'box)

  (setq indicate-empty-lines t)

  (setq show-trailing-whitespace t)
Is this what you meant?

[1] I have no idea how to get a normal asterisk on HN.

Re: Frontmacs

#15
post #2

Some screenshots could be nice, probably most people are not tend to try it out until they see a screenshot. Anyway, I am a simple man. I see people using Emacs and I become happy.

I will (almost certainly) never switch from my current configuration to use any of these all-in-one package bundles, but I do like looking through them for ideas.

Re: Frontmacs

#16
post #4

It claims to be "Awesome by default", but does not tell much about what that actually means.

I think what they mean is it's fully set up, so that if you've never used Emacs and you start using it, you won't encounter the situation where something stinks and your friend who's an experienced Emacs user says "oh, you need to customize such and such." So, "awesome by default" rather than "awesome after many hours of learning about and applying configuration changes." (I have no idea whether what they've done wou…

I think (and I say this with love) that any sane person who starts using emacs will find it infuriating- its part of the appeal.

Re: Frontmacs

#17
My prefered way to quickly test these things without having to mess with your own setup, elpa directories etc:

  mkdir /tmp/.emacs.d  
  wget -P /tmp/.emacs.d https://raw.githubusercontent.com/thefrontside/frontmacs/master/scripts/init-frontmacs.el
  echo '(load (expand-file-name "init-frontmacs.el" user-emacs-directory))' > /tmp/.emacs.d/init.el
  env HOME=/tmp emacs

Re: Frontmacs

#20
post #2

Some screenshots could be nice, probably most people are not tend to try it out until they see a screenshot. Anyway, I am a simple man. I see people using Emacs and I become happy.

I will (almost certainly) never switch from my current configuration to use any of these all-in-one package bundles, but I do like looking through them for ideas.

Same here. My Emacs is always on configs of my own, but I do mine other peoples' configs for ideas like crazy.
Post reply on HN