News for hackers. Stuff that matters.
Re:Emacs 26.2 Released by cmehdy on Friday April 12, 2019 @06:06PM (#19649479)
Any suggestions to pick it up without wanting to give up due to convoluted shortcuts?
Re:Emacs 26.2 Released by Symbiote on Friday April 12, 2019 @06:50PM (#19649742)
1. Swap your control and caps lock keys, or if you never use caps lock set it to an additional control key. I think this is useful regardless of whether you use Emacs or not.

It's also a good idea to use opposing hands when using modifier keys. To press control-H, you would use the left control with your left hand, and the H with your right hand. Again, this is true regardless of using Emacs (it applies just the same to typing capital letters with the shift keys).

2. Load Emacs.

3. Press Control-H, then press T. This loads the Emacs tutorial. It should take about 10-15 minutes to run though.

If you use Bash/Zsh or Mac OS, the basic cursor movement in the very first section of the tutorial can also be used in the Bash/Zsh shell, and in many Mac OS textboxes as alternatives to the Home/End/PgUp keys etc.

4. Read the manual section on macros [1]. I don't know so many emacs-level-10-wizard level commands, but making a macro saves me a lot of time and thought at least once a week.

[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Ke...

Re:Emacs 26.2 Released by blackorzar on Saturday April 13, 2019 @03:01PM (#19655052)
Thank you for the macro suggestion, I just gave it a try and I was surprised that it was so simple and practical as define: F3 keys/text F4 then run: F4
Re:Emacs 26.2 Released by nsilvestri on Friday April 12, 2019 @06:17PM (#19649550)
If you're already familiar with vim, I've heard good things about Spacemacs: http://spacemacs.org/
Re:Emacs 26.2 Released by vector_spaces on Friday April 12, 2019 @07:39PM (#19650011)
I'm not really crazy about Spacemacs because there's so much happening and I like to slowly build my config over time so I know what each piece does, so I can quickly make changes if there's something causing friction.

A nice happy medium is Prelude -- https://github.com/bbatsov/prelude

It's big, but probably not too big to understand and jump in and tweak.

I still prefer my own hand-rolled config though.

Re:Emacs 26.2 Released by danieldk on Saturday April 13, 2019 @07:51AM (#19652433)
I have used Spacemacs for a while (ex vi/vim user). It is a good gateway drug, but it is also buggy and slow.

After a few months, I started to build up my configuration bit by bit with use-package, evil, and general.el. I largely use the same keybindings as Spacemacs, but it's much leaner and faster.

Re:Emacs 26.2 Released by thomasfortes on Saturday April 13, 2019 @09:14AM (#19652826)
Had the same experience, spacemacs has nice defaults and it's gorgeous, but the lag bothered me so much that I was using vim a lot of time to get things to work.

Changed to a clean configuration and built it slowly, everytime I hit an annoyance I fixed and learned something new, now it works better than spacemacs for my workflow and still is way snappier.

Re:Emacs 26.2 Released by _emacsomancer_ on Friday April 12, 2019 @08:52PM (#19650346)
Or just install Evil in plain Emacs.
Re:Emacs 26.2 Released by ElCapitanMarkla on Friday April 12, 2019 @07:08PM (#19649841)
I installed spacemacs a couple of weeks ago. I’m enjoying it but I have to keep switching back to sublime to get things done quickly then switching back when I can afford to take time doing things.
Re:Emacs 26.2 Released by anotheryou on Saturday April 13, 2019 @04:02AM (#19651683)
same here. I'm totally fluid in org, but navigating files, a simple search and replace, finding the spell check suggestions: all still hard
Re:Emacs 26.2 Released by michaelmrose on Saturday April 13, 2019 @01:50PM (#19654555)
Basically just start flyspell mode in the modes you prefer including only for comments with flyspell-prog-mode and configure as desired.

    (use-package flyspell
        :config
        (setq ispell-program-name "/usr/sbin/aspell")
        (setq flyspell-consider-dash-as-word-delimiter-flag t)
        (define-key flyspell-mode-map (kbd "C-:") 'flyspell-correct-wrapper)
    )
    (use-package flyspell-correct)
    (use-package flyspell-correct-ivy)
you may want a binding to add the word at point to your dictionary I swiped this function for somewhere

    (defun my-save-word ()
    (interactive)
    (let ((current-location (point))
            (word (flyspell-get-word)))
        (when (consp word)    
        (flyspell-do-correct 'save nil (car word) current-location (cadr word) (caddr word) current-location))))