Commit Graph

22 Commits (38da1249c50d72d29de18ec36eb6a1dbce4ac64f)

Author SHA1 Message Date
Pierre Neidhardt 38da1249c5 Emacs: Fix some indentation and comment style 2017-05-28 15:16:08 +02:00
Pierre Neidhardt 9ebd726a4a Emacs: Name functions instead of using lambdas in hooks
This is good practice as it allows for using `remove-hook'.
2017-05-28 12:03:28 +02:00
Pierre Neidhardt 3f0afafd5a Emacs: Use 'use-region-p' and 'set-marker' instead of altering the mark
latex-itemize should be more reliable and will indent the result.
2017-05-25 18:20:23 +02:00
Pierre Neidhardt 7e44e34761 Emacs: Lint most of the config 2017-05-25 18:20:23 +02:00
Pierre Neidhardt 677a6cb2f6 Emacs: Replace most mapc/mapcar by dolist 2017-05-25 16:59:19 +02:00
Pierre Neidhardt 9c3ed5b3a1 Emacs: Use mapc when mapcar is not necessary 2017-05-15 11:16:59 +05:30
Pierre Neidhardt 4266865c4d Emacs: Move local-set-key out of mode hooks 2017-05-15 11:16:20 +05:30
Pierre Neidhardt b257ecf262 Emacs: Set region boundaries cleanly in functions 2017-05-14 12:00:34 +05:30
Pierre Neidhardt 801ed23820 Emacs: Make 'compile-command' buffer local globally 2017-05-12 12:12:24 +05:30
Pierre Neidhardt 6070a80ecf Emacs: Sort out defvar-local and defcustom 2017-05-11 23:08:01 +05:30
Pierre Neidhardt 855bc7eef2 Emacs: CC: Improve DEBUG_PRINT and fix CPPFLAGS->CXXFLAGS 2017-05-08 17:10:20 +05:30
Pierre Neidhardt 644d13ff92 Emacs: Use 'recompile' instead of 'compile-here' 2017-05-08 17:10:20 +05:30
Pierre Neidhardt 50e3815b2d Emacs: Fix cc-fmt (workaround)
Uncrustify is supposed to load ~/.uncrustify.cfg by default.
Since 0.64 at least it does not seem to work, so we specify it manually.
2017-02-15 13:41:15 +01:00
Pierre Neidhardt 96d1ed7c8b Emacs: Remove useless parts of C config 2016-10-14 18:02:46 +05:30
Pierre Neidhardt 90eb990855 Emacs: Remove futile hlines 2016-10-14 17:33:30 +05:30
Pierre Neidhardt 74ed2c365c Emacs: Use company + helm-company for C and Go 2016-10-08 19:40:20 +05:30
Pierre Neidhardt 69e70b1ebf Emacs: Move semantic settings to mode-cc and set uniform C bindings 2016-06-12 22:48:36 +02:00
Pierre Neidhardt 333cc29126 Emacs: Move source/header switch binding to mode-cc 2016-06-08 14:14:29 +02:00
Pierre Neidhardt e62ac12618 Emacs: Make cc-fmt work on region 2015-10-17 09:27:58 +02:00
Pierre Neidhardt 7e147ae9a7 Change user name to "ambrevar" in static settings 2015-07-11 12:34:33 +02:00
Pierre Neidhardt 6101531bcb Emacs: Fix compilation escaping and default folder 2015-04-19 13:25:29 +02:00
Pierre Neidhardt 54aa107b95 Emacs: Use lisp subfolder 2014-11-25 08:44:22 +01:00