Commit graph

174 commits

Author SHA1 Message Date
JP-Ellis a4b5a22fb3 Fix a couple of typos.
Also, I think it best to not automatically enable electric sup- and
sub-scripts as they can be quite annoying to some people (but amazingly
useful to some others).  Perhaps it is best to leave these two with the
AucTeX default and let users enable them in their config?

Signed-off-by: JP-Ellis <coujellis@gmail.com>
2015-06-07 23:17:30 -04:00
Jenan Wise 0bc9dd45c9 Add "mga" shortcut to go mode for switching between test and non-test file.
The same shortcut was chosen as that in the c/c++ package.
2015-06-07 23:01:15 -04:00
syl20bnr 60a50e6733 Rename auctex layer to latex and move it to !lang 2015-06-06 00:46:47 -04:00
syl20bnr 0a0b529c9b erlang-elixir layer: add elixir key bindings to README 2015-06-03 21:36:05 -04:00
syl20bnr fb3c4dd608 rust layer: fix flycheck setup 2015-06-02 23:18:31 -04:00
Swaroop C H e4725070c0 rust layer: Add flycheck-rust package 2015-06-02 23:00:27 -04:00
Tu Do da85d514fc Enable GDB many windows
gdb-many-windows enables an IDE like debugger frontend for Emacs.
2015-06-02 22:59:45 -04:00
ralesi 97985c6cb9 fix autothotkey mode bindings 2015-06-02 22:55:13 -04:00
Kirill Kulikov a1c6fc91f0 Configures the classpath directory for the ensime server
Configures the directory to store the calculated classpaths for the
ensime server. By default it creates `ensime` folder in `.emacs.d/`.

https://github.com/ensime/ensime-emacs/pull/135
2015-06-02 22:53:43 -04:00
Tu Do 7299cc59b6 [Fix #1813] Insert tab in Python REPL
Currently, when tab is pressed, spaces are inserted. It makes Python
REPL unable to recognize code indentation. We must use tab to indent.
Setting indent-tabs-mode is buffer local, so it does not affect its
value in other buffers.
2015-06-02 22:43:25 -04:00
syl20bnr 012375839f c-c++ layer: rename default mode for header variable
New name is `c-c++-default-mode-for-headers`, possible values are
`c-mode` or `c++-mode`.
2015-05-31 23:09:27 -04:00
Craig Eales a78c59cf2d Add option to open .h files with c++-mode
Remove default auto-mode-alist mapping from *.h to c++-mode.
Introduce a variable and use that in the init: section of cc-mode to
conditionally update the auto-mode-alist.
Updated the documentation.

Conflicts:
	contrib/!lang/c-c++/README.md
2015-05-31 23:03:00 -04:00
Török Edwin e57c8aa095 ocaml: comment out auto-complete initialization code
to make sure only one completion engine is active
2015-05-31 22:52:05 -04:00
Török Edwin f23aa2b0da ocaml layer: Add key bindings
- enable ocamldoc in company completion
- enable merlin-document binding
- add binding for ML <-> MLI switch
- bind most merlin commands

user visible change:
  printing type at point was moved to SPC mht, and SPC mhT asks for an expression
  SPC mgg/mgG is now consistent with CONVENTIONS.md, and
  SPC mgb can be used to go back(in addition to default C-c &)
2015-05-31 22:51:27 -04:00
Török Edwin ab1a1eae60 ocaml: fix flycheck
but keep it disabled (need to test interaction with auto-complete and company)
2015-05-31 22:48:46 -04:00
Török Edwin 264a3c2019 ocaml: support both auto-complete and company 2015-05-31 22:34:16 -04:00
mike-work 872b26e0ed Add company-mode hook for lua 2015-05-31 17:47:35 -04:00
Tu Do 7f90d99a48 Fix Python and Semantic integration
When no Python executable is detected, Semantic causes an error that it cannot
retrieve include paths from the executable, causing an error that prevents
Python buffer to be switched and error is repeatedly reported whenever a Python
buffer is opened. This commit ignores the error from
semantic-python-get-system-include-path that is called when Semantic setup
itself for a Python buffer.
2015-05-27 23:50:58 -04:00
syl20bnr a514f6f569 Add TODO for python inferior process key bindings 2015-05-27 23:49:19 -04:00
Tu Do ae48bd866b [Fix #1668] Don't enable Vim key bindings if holy-mode 2015-05-27 23:45:13 -04:00
Bjarke Vad 78b39f1f72 ghci-ng for haskell-process-do-type-on-prev-line` 2015-05-27 23:29:08 -04:00
Tu Do fafb9c4b3e Enable company in Python REPL for code completion
- Company should be enabled in Python REPL for displaying completion
candidates. Note that in Python REPL, we must use company-capf to
display the candidates from Python REPL, since in the REPL it uses
completion-at-point to display candidates from the REPL. Also, we
locally set company-minimum-prefix-length to 0, so that completion
starts immediately after the first character. We also need to set the
idle delay a bit higher (0.5) compared with Spacemacs default (0.2),
since setting it too low may cause company unable to retrieve completion
candidates.

- Anaconda should NOT be enabled in Python REPL for retrieving proper
completion candidates. This can be tested in Python REPL: when
anaconda-mode is enabled and without any prefix string before point, run
the command completion-at-point (bound to C-M-i by default), completion
candidates from Anaconda are displayed but NOT the ones from the real
REPL. So, when you import a module i.e. os and try to access the
functions in the module with "os." prefix, nothing inside the module is
displayed because Anaconda does not work in Python REPL. When
anaconda-mode is disabled, candidates in "os." are displayed properly
with company-capf. company-anaconda backend cannot be used in Python
REPL since it is buggy: it cannot retrieve any prefix before point and
narrow properly.
2015-05-25 23:39:05 -04:00
jupl 5d7199a905 Turn on rainbow-delimiters for LESS and SCSS 2015-05-25 23:34:46 -04:00
Tristan Hume eecb250a55 Prefix categories with ! 2015-05-25 00:50:38 -04:00