The Auto Complete Mode rocks: Thus it is enabled wherever it is possible.
(when (locate-library "auto-complete")
(require 'auto-complete)
(global-auto-complete-mode))| ;;; python-pep8.el --- minor mode for running `pep8' | |
| ;; Copyright (c) 2009, 2010 Ian Eure <[email protected]> | |
| ;; Copyright (c) 2013 Matthias Meulien <[email protected]> | |
| ;; Author: Ian Eure <[email protected]> | |
| ;; Keywords: languages python | |
| ;; Last edit: 2013-03-06 | |
| ;; Version: 1.02 |
| ; Remove generic mode for JavaScript | |
| (setq generic-extras-enable-list | |
| (append (remove 'javascript-generic-mode generic-default-modes) | |
| generic-mswindows-modes | |
| generic-unix-modes)) |
| (setq lexical-binding t) | |
| (defun temporary-display-pop-up-frame () | |
| (interactive) | |
| (let* ((prepfunsym (make-symbol "prepare-temporary-display-pop-up-frame")) | |
| (prepfun | |
| (lambda () | |
| (when (commandp this-command) | |
| (if (eq this-command 'execute-extended-command) | |
| (progn |
| #include <iostream> | |
| const int LENGTH = 8; | |
| template<typename T> | |
| void | |
| output_array(T *p) | |
| { | |
| for (int i = 0; i < LENGTH; ++i) | |
| { |
The Auto Complete Mode rocks: Thus it is enabled wherever it is possible.
(when (locate-library "auto-complete")
(require 'auto-complete)
(global-auto-complete-mode))| #include <iostream> | |
| int main() | |
| { | |
| const bool true_val(); | |
| const bool val; | |
| bool *const ptr(); | |
| bool *const other_ptr; | |
| int | |
| with_signed (int arg) | |
| { | |
| return arg/64; | |
| } | |
| unsigned | |
| with_unsigned (unsigned arg) | |
| { |
| #include <iostream> | |
| bool false_val; | |
| bool other_false_val = bool(); | |
| int main() | |
| { | |
| bool true_val(); | |
| bool val; |
| #include <iostream> | |
| bool false_val; | |
| bool other_false_val(); // Function declaration, its value will translated to false... | |
| bool other_other_false_val = bool(); | |
| int main() | |
| { | |
| bool true_val(); | |
| bool val; |
| #include <iostream> | |
| #include <cstring> | |
| const int ARRAY_SIZE = 2000; | |
| int main() | |
| { | |
| float *const a = new float[ARRAY_SIZE]; | |
| std::memset(a, 0, ARRAY_SIZE * sizeof(float)); |