HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Sarcasm
irony-mode
Emacs Lisp2014–2017
Sarcasm / irony-mode

irony-mode

A C/C++ minor mode for Emacs powered by libclang

6Distinct people
7Mentions
0Explicit recommenders
907GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A C/C++ minor mode for Emacs powered by libclang

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year7 dated mentions

Observed mentions: 2014-08-04 17:53:05 UTC to 2017-05-12 09:46:13 UTC.

01232014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2017

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC101
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC202
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC303
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC101

What Hacker News says

7 sources
I'm writing less C++ than I used to recently, but here's the basic setup I use: 1) Emacs prelude w/ helm enabled everywhere -https://github.com/bbatsov/prelude 2) Irony-mode for auto completion. Since you're using Cmake, you can just add CMAKE_EXPORT_COMPILE_COMMANDS to your invocation to output the needed metadata for completion to work. - https://github.com/Sarcasm/irony-mode 3) helm-flycheck for syntax checking https://github.com/yasuyk/helm-flycheck 4) For jump to definition I generally just use helm-ag (grep) , I never actually got this working to my satisfaction despite trying a few things like rtags (slow, unstable) and clang-ctags (promising but annoying to set up at the time). 5) For formatting I usually just enable clang-format on save w/ something like this (requires clang-format mode installed): (add-hook 'c++-mode-hook
Read the rest
(lambda () (add-hook 'before-save-hook #'clang-format-buffer nil t)))
In CPU Utilization is Wrong
I work on a large C++ codebase in emacs. I find emacs keybindings and extensibility (via elisp) far superior to any IDE - and I have tried Eclipse, CLion (IDEA for C++), Code/Blocks and Netbeans. For C/C++ specifically, the state of code analysis in emacs has greatly improved due to clang. For example, I get full auto-complete (including for variables declared 'auto') in emacs with irony-mode [0] for code completion, flycheck-irony [1] for on-the-fly syntax checking, and I get jump to definition/find references/etc via clang-ctags [2]. I assume vim has similar extensions. [0] - https://github.com/Sarcasm/irony-mode [1] - https://github.com/Sarcasm/flycheck-irony [2] - https://github.com/drothlis/clang-ctags
In Why did Borland fail?
As an emacs C++ user YouCompleteMe is the only VIM plugin that makes me jealous. I want the code navigation and completion you get with VS or XCode but within emacs. I know there are other plugins that try to do this, but as the author mentioned, all the repeated works leads to an overall mediocre results in most cases. Maybe the front end of something like irony-mode [0] can be adapted to use the YouCompleteMe backend. [0] - https://github.com/Sarcasm/irony-mode
In YouCompleteMe as a Server

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.