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.
> Does anyone know if you can ... on Emacs?
Yes.
Re:Frontmacs
by declanqian on Thursday January 04, 2018 @05:42AM
(#16069293)
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.
If you mean using emacs as your code editor then yes, that's the main purpose of emacs for most users. However there's other hidden eastereggs such as M-x pong, M-x tetris or why not try M-x doctor if you're feeling a bit down.
> M-x doctor if you're feeling a bit down.
Yeah. M-x doctor is really helpful, especially when you are depressed. For example, if you say the doctor that "I'm going to suicide", it will guide you the right way.
Re:Frontmacs
by giancarlostoro on Thursday January 04, 2018 @07:06AM
(#16069716)
Your question seems to confuse some, do you mean run elisp interactively or edit HTML/CSS/JavaScript? If so I want to say yes to both.
Does anyone know if you can actually write code on Emacs, like HTML/CSS/Javascript?