Skip to content

Latest commit

 

History

History
111 lines (96 loc) · 2.52 KB

emacs_bof__jeff_trull__cppcon_2018.org

File metadata and controls

111 lines (96 loc) · 2.52 KB

Emacs BoF

Welcome

About Me (Jeff Trull)

  • Organizer of the SF Emacs Meetup
  • C++ coder for 10+ years

Goals

  • Share Flow and Tips
  • Answer Questions

Rough Organization

  • Individual Presentations
    • Not necessarily formal or with slides, can just be a demo
    • Let me know if you have one
    • Arguments about approaches encouraged
  • Questions for the Group
    • Problems you’re experiencing
    • Things you want to automate
    • These will be interleaved with presentations
  • Just hanging out and sharing ideas
    • This is a casual event (my slides notwithstanding)

Presentations

Ben Deane

http://github.com/elbeno/dotemacs

Whitespace butler

https://github.com/lewang/ws-butler

(setq require-final-newline t)
(use-package ws-butler
  :ensure t
  :config
  (ws-butler-global-mode)
  :diminish
  ws-butler-mode)

Google-this

Google (with optional site-specificity) thing-at-point

(use-package google-this
  :ensure t
  :bind
  (("C-c <f1>" . google-this-cpp-reference)))

Git interactions

We all know magit?

Also:

  • gitconfig-mode
  • gitignore-mode
  • git-commit
  • git-timemachine
  • git-messenger
  • diff-hl

Other nice packages

  • comment-dwim-2
  • fill-column-indicator
  • undo-tree
  • modern-cpp-font-lock

Jennifer Wilcox

CQuery language server

  • xref demo
  • appears to be LSP based competitor to clangd
  • someone spoke up for rtags

For more information

https://github.com/cquery-project/cquery/wiki/Emacs

Jeff Trull

General Emacs usage

  • Org for work logging and slides (like these!)

C++ Usage

  • Projectile
  • Clang via LSP
  • gud-gdb, sometimes

Why LSP (IMO)

  • We should use a real compiler
  • We should use a standard protocol
  • Presentation from our meetup https://www.gjp.cc/lsp

What I have working

  • flycheck… most of the time
  • jump to definition
  • completion (helm-company)

What I do not have working

  • header name completion
  • anything not associated with a translation unit
  • xref?
  • ??? you tell me

One Final Presentation

  • didn’t catch the name
  • using Emacs with MSVC on Windows?

General Discussion

Window (in the Emacs sense) handling

Export Configuration