Commit Graph

553 Commits (9846e7f47afc9660a5eb3af7af618a138d907058)

Author SHA1 Message Date
Pierre Neidhardt 71a1441a0f Emacs: Sanitize tabs 2014-10-31 13:06:03 +01:00
Pierre Neidhardt bed82d0352 Emacs: Indent Lisp with spaces 2014-10-30 20:51:42 +01:00
Pierre Neidhardt cac70e8260 Emacs: Set sh-mode indent offset to tab-width 2014-10-30 18:18:08 +01:00
Pierre Neidhardt 9053985f71 Emacs: Turn on indent-tab-mods for tex-mode 2014-10-30 18:17:49 +01:00
Pierre Neidhardt e5bd09dc2a Emacs: Turn off indent-tabs-mode in org-mode 2014-10-30 18:15:31 +01:00
Pierre Neidhardt 35efc11fe9 Emacs: Set solid indentation rules for C 2014-10-26 18:04:11 +01:00
Pierre Neidhardt b47ab3d15b Emacs: Sort out the region/mark dilemma in functions. 2014-10-24 16:10:59 +02:00
Pierre Neidhardt 06f754698d Emacs: 'sanitize' tabifies if 'indent-tabs-mode' is set. 2014-10-24 15:10:21 +02:00
Pierre Neidhardt 5965b1c915 Emacs: Set indentation to tab-width 2014-10-24 14:58:38 +02:00
Pierre Neidhardt c32242fab8 Emacs: Define 'tabify-leading' function 2014-10-24 14:08:37 +02:00
Pierre Neidhardt 9741aca6c4 Emacs: Do not parse semantic, use sgml-xml-mode, use tabs instead of spaces 2014-10-23 16:44:49 +02:00
Pierre Neidhardt a053a8e7b9 Emacs: Go mode skeletons, compiler, formatter 2014-10-23 16:44:23 +02:00
Pierre Neidhardt 6346e2fb02 Emacs: Remove "-s" from 'pdf-viewer-args' for compatibility with Zathura >=0.30 2014-10-22 17:53:45 +02:00
Pierre Neidhardt f93ed9f622 Emacs: Write 'sort-lines-unique' in pure elisp 2014-10-22 11:37:53 +02:00
Pierre Neidhardt 7d3708f63b Emacs: Fix locale to C when sorting in sort-lines-unique 2014-10-22 00:23:41 +02:00
Pierre Neidhardt 387ec65425 Emacs: Add some skeletons to nroff-mode 2014-10-08 11:18:26 +02:00
Pierre Neidhardt 53aba0224b Emacs: Theme for Man-mode 2014-10-08 11:05:31 +02:00
Pierre Neidhardt 23d69bfc89 Emacs: disable hippie-expand 2014-10-01 10:31:19 +02:00
Pierre Neidhardt b616216126 Emacs: Remove obsolete workaround for guess-style 2014-09-28 15:21:48 +02:00
Pierre Neidhardt dcc4364e3e Emacs: proper workaroud for python and guess-style conflict 2014-09-24 11:29:38 +02:00
Pierre Neidhardt 7848b19d2c Emacs: Support for multiple Org agendas 2014-09-23 09:36:39 +02:00
Pierre Neidhardt bfa95a5820 Emacs: org settings 2014-09-22 17:03:29 +02:00
Pierre Neidhardt 213620183f Emacs: Additional flags for Makefiles 2014-09-19 09:59:15 +02:00
Pierre Neidhardt 55b984e5cd Emacs: Workaround for python/guess-style conflict 2014-09-16 09:02:33 +02:00
Pierre Neidhardt bc4dc1c65f Emacs: Comment on Python / guess-style conflict 2014-09-14 22:15:24 +02:00
Pierre Neidhardt a1533d3fea Emacs: BBcode mode init 2014-09-11 22:33:39 +02:00
Pierre Neidhardt e623eb2f57 Emacs: mode-tex comment 2014-09-01 10:14:38 +02:00
Pierre Neidhardt 903488f2e3 Emacs: makefile skels 2014-08-28 13:24:08 +02:00
Pierre Neidhardt dac5fb80f5 Emacs: Fix AWK mode bindings 2014-08-22 10:23:24 +02:00
Pierre Neidhardt ee6e93b50b Emacs: Disable whitespace-mode by default 2014-08-14 18:11:49 +02:00
Pierre Neidhardt 130e73513a Emacs: Workaround for font-lock reset with sh-mode 2014-07-15 11:45:49 +02:00
Pierre Neidhardt d69f279293 Emacs: added some LaTeX extensions to tex-clean 2014-06-05 12:17:05 +02:00
Pierre Neidhardt 3fd8db0175 Emacs: Remove 'compilation-after-hook'
The 'compilation-time-before-hide-window' condition is now part of
'compile-custom'.
2014-05-29 11:52:25 +02:00
Pierre Neidhardt df2c3dd6aa Emacs: changed binding for latex-insert-orgtbl to remove conflict 2014-05-27 17:50:25 +02:00
Pierre Neidhardt c17c24cf24 Emacs: LaTeX preamble fixes 2014-05-06 15:15:06 +02:00
Pierre Neidhardt b8350d735a Emacs: Make tex compile command simpler 2014-04-02 15:40:08 +02:00
Pierre Neidhardt 110dced0f3 Emacs: bibtex support for tex-mode 2014-04-02 11:31:22 +02:00
Pierre Neidhardt f3bc1fcf19 Emacs: some bibtex options 2014-03-31 11:44:14 +02:00
Pierre Neidhardt f011538a1e Emacs: lua-mode hook 2014-03-25 09:23:12 +01:00
Pierre Neidhardt 64daaead49 Emacs: Add argument to cc-set-compiler to ignore makefiles 2014-03-24 19:33:33 +01:00
Pierre Neidhardt 66b96aa3ce Emacs: compile-custom needs universal argument to run the hooks 2014-03-23 19:47:45 +01:00
Pierre Neidhardt ff2fa3b5b5 README update and some Emacs comments 2014-03-22 12:16:20 +01:00
Pierre Neidhardt ab5b729ea9 Emacs: minor fixes for cc and sh 2014-03-21 16:27:22 +01:00
Pierre Neidhardt 3987186573 Emacs: makeindex support for TeX-modes 2014-03-20 22:04:23 +01:00
Pierre Neidhardt 07870cbf6d Emacs: Fix cc-getopt 2014-03-20 14:01:20 +01:00
Pierre Neidhardt 61432ca982 Emacs: makefile-mode skel 2014-03-20 13:53:57 +01:00
Pierre Neidhardt 389637f75d Emacs: Add getopt and usage-version skels + various fixes 2014-03-20 13:09:50 +01:00
Pierre Neidhardt 060c8f33c1 Emacs: Use primary selection for X interfacing 2014-03-20 09:03:53 +01:00
Pierre Neidhardt 258d473cbe Emacs: Remove useless xclip 2014-03-19 08:20:40 +01:00
Pierre Neidhardt 22860057d1 Emacs: init comments and fixes
xclip seems to cause troubles on some OS. Is it needed at all?
guess-style may not be present, we need to ignore errors.
Comments on how to backport prog-mode-hook feature on old Emacs.
2014-03-18 16:24:05 +01:00
Pierre Neidhardt 49a07f126e Emacs: minor tex fixes 2014-03-17 09:56:46 +01:00
Pierre Neidhardt 1e5903fe4a Emacs: compilation fixes with cc modes 2014-03-16 09:58:41 +01:00
Pierre Neidhardt bd3db829c0 Emacs: Fix xclip using clipboard and local compile-commands 2014-03-15 15:08:44 +01:00
Pierre Neidhardt b11982a738 sessionclean: Proper killing of ssh-agent 2014-03-13 16:25:56 +01:00
Pierre Neidhardt 74d7fc70c1 Emacs: Fixed latex-orgtbl 2014-03-13 16:13:21 +01:00
Pierre Neidhardt ff236ed644 Emacs: latex-insert-table 2014-03-13 15:48:34 +01:00
Pierre Neidhardt f28a3d8b3a Emacs: latex-insert-section 2014-03-13 14:56:05 +01:00
Pierre Neidhardt a4e74b58ea Emacs: unindented verbatim/listing blocks 2014-03-13 14:26:27 +01:00
Pierre Neidhardt a3e3cd1d2f Emacs: compile--hook and dynamic compile-command for every mode 2014-03-13 13:50:56 +01:00
Pierre Neidhardt 36af4a2e10 Emacs: Set sh-mode interpreter properly on first start 2014-03-13 11:21:28 +01:00
Pierre Neidhardt 17324fe2e6 Emacs: dired using pdf-viewer 2014-03-12 22:01:48 +01:00
Pierre Neidhardt 8bc95d8a97 Emacs: xclip falls back to xsel 2014-03-12 10:51:24 +01:00
Pierre Neidhardt 70cdd3c44c Emacs: Add hook support 2014-03-12 10:36:37 +01:00
Pierre Neidhardt c7f7624b16 Emacs: Fix latex positions in skels + insertion "&" for tables/matrices 2014-03-11 16:59:57 +01:00
Pierre Neidhardt 88f8d8884b Emacs: further latex skels 2014-03-10 19:55:34 +01:00
Pierre Neidhardt b2a077508e Emacs: workaround for unicode/escape char in skel 2014-03-10 16:21:35 +01:00
Pierre Neidhardt 7c1f246409 Emacs: LaTeX dynamic preamble skel 2014-03-10 15:19:02 +01:00
Pierre Neidhardt 4267c46337 Emacs: latex skels 2014-03-10 13:24:04 +01:00
Pierre Neidhardt 3642ae514e Emacs: TeX skels 2014-03-10 12:59:51 +01:00
Pierre Neidhardt 49754cb591 Emacs: proper setting for sh-shell and sh-shell-file 2014-03-10 12:28:25 +01:00
Pierre Neidhardt 1316e67783 Emacs: org-mode pdf reader from tool-pdf 2014-03-10 11:26:28 +01:00
Pierre Neidhardt fd5c7caac7 Emacs: url-cookie path to cache 2014-03-10 11:26:12 +01:00
Pierre Neidhardt 6243f35944 Emacs: updated init of xclip and graphviz-mode 2014-03-10 11:03:48 +01:00
Pierre Neidhardt 3224563ec3 Emacs: mediawiki skels 2014-03-10 10:37:43 +01:00
Pierre Neidhardt fe037a43c9 Emacs: awk skels 2014-03-10 10:09:42 +01:00
Pierre Neidhardt cfa0fb9bee Emacs: removed yasnippet support 2014-03-10 00:21:44 +01:00
Pierre Neidhardt 37bea97af7 Emacs: sh skels 2014-03-10 00:20:13 +01:00
Pierre Neidhardt 4c6bd29d8d Emacs: finished cc skels 2014-03-10 00:11:55 +01:00
Pierre Neidhardt 470ab1a554 Emacs: escape-region function 2014-03-10 00:11:46 +01:00
Pierre Neidhardt ff79338b6c Emacs: fixed indentation in skels 2014-03-09 20:38:50 +01:00
Pierre Neidhardt a4202b35c3 Emacs: fixed skeleton-next-position 2014-03-09 20:13:42 +01:00
Pierre Neidhardt 86633e6fbd Emacs: using sh-shell for compilation 2014-03-09 15:03:38 +01:00
Pierre Neidhardt 08998aecb3 Emacs: no more overloading mark-word 2014-03-09 12:42:27 +01:00
Pierre Neidhardt dad9ab299b Emacs: using lua-mode-hook with prog-mode-hook 2014-03-09 12:24:26 +01:00
Pierre Neidhardt 34d951ef83 Emacs: fixed tex-clean 2014-03-08 17:45:29 +01:00
Pierre Neidhardt ac4abd5e7f Emacs: cleaned cc-set-compiler and set cc-ld* variables as local 2014-03-08 16:31:41 +01:00
Pierre Neidhardt d7894f697e Emacs: load-external function 2014-03-08 15:58:29 +01:00
Pierre Neidhardt f6cba0292c Emacs: package support 2014-03-08 11:48:35 +01:00
Pierre Neidhardt 21b333bb2c Emacs: insert-file-name function 2014-03-08 11:01:29 +01:00
Pierre Neidhardt 0aa655600a Emacs: loading function prototype 2014-03-06 19:45:48 +01:00
Pierre Neidhardt b65f2564cc Emacs: comments on whitespace 2014-03-05 11:24:38 +01:00
Pierre Neidhardt 2a37429656 Emacs: proper ranger call 2014-03-05 11:14:16 +01:00
Pierre Neidhardt 44a65b0130 Emacs: using guess-style for all prog modes 2014-03-05 10:58:42 +01:00
Pierre Neidhardt 22b59c20d1 Emacs: save-place hook for daemon 2014-03-03 21:05:09 +01:00
Pierre Neidhardt 7794c3f964 Emacs: mc/list-file works again 2014-03-03 20:56:13 +01:00
Pierre Neidhardt 7847338292 Emacs: using vanilla variables and make them local in TeX-based modes 2014-02-27 10:27:47 +01:00
Pierre Neidhardt 7751ff20ac Emacs: fixed syntec support in pdf-viewer-args 2014-02-27 10:27:29 +01:00
Pierre Neidhardt f0a43a9c19 Emacs: fixed python loading. 2014-02-26 18:22:47 +01:00
Pierre Neidhardt f4dbbea943 Emacs: fixed loading of tex, latex, cc and sh
Added some LaTeX skeletons.
2014-02-26 18:04:00 +01:00
Pierre Neidhardt 495561982d Emacs: fixed mode-sh loading 2014-02-26 17:22:42 +01:00
Pierre Neidhardt 5a033e820f Emacs: slight optimization of page-number-mode 2014-02-24 20:07:25 +01:00
Pierre Neidhardt 51ebf75bd5 Emacs: more reasonable defaults for page-number-mode
Was laggy on info files
2014-02-24 19:55:25 +01:00
Pierre Neidhardt 29dfae1d77 Emacs: page-number-mode 2014-02-24 19:45:21 +01:00
Pierre Neidhardt bab8b06816 Emacs: page functions 2014-02-24 19:12:29 +01:00
Pierre Neidhardt 0ca94724c3 Emacs: proper argument parsing in tool-pdf 2014-02-24 14:53:48 +01:00
Pierre Neidhardt 511b16dc2c Emacs: add itranslate-region 2014-02-24 14:28:05 +01:00
Pierre Neidhardt 7858f72185 Emacs: fixed itranslate-lines 2014-02-24 12:47:08 +01:00
Pierre Neidhardt 0d4d8723bf Emacs: tool-itranslate back on track 2014-02-24 12:22:22 +01:00
Pierre Neidhardt 776173b32b Emacs: proper process call in sort-lines-unique 2014-02-23 20:38:10 +01:00
Pierre Neidhardt 67485fe7ad Emacs: translate -> itranslate + call process properly 2014-02-23 20:35:36 +01:00
Pierre Neidhardt ec01bcb340 Emacs: tool-pdf proper process execution 2014-02-23 19:48:24 +01:00
Pierre Neidhardt e60118f890 Emacs: support for guess-style 2014-02-23 18:07:42 +01:00
Pierre Neidhardt 2c7fd5201d Emacs: proper style setting for C 2014-02-23 18:02:40 +01:00
Pierre Neidhardt a0dfad1541 Emacs: using dired-x to toggle hidden files display 2014-02-23 17:22:21 +01:00
Pierre Neidhardt 076052e264 Emacs: icomplete enabled 2014-02-23 14:38:38 +01:00
Pierre Neidhardt 02195d39d1 Emacs: fixed sh-mode loading and getopts skel 2014-02-23 14:00:16 +01:00
Pierre Neidhardt b0a6ca8bf8 Emacs: forward-page bindings and fix 2014-02-23 13:54:39 +01:00
Pierre Neidhardt 263a42144a Emacs: check if translate executable is found 2014-02-23 10:58:26 +01:00
Pierre Neidhardt a107b164dd Emacs: autoloading all third-party modes 2014-02-23 10:50:56 +01:00
Pierre Neidhardt b0bc13bec3 Emacs: PDF tools autoloaded 2014-02-22 19:18:13 +01:00
Pierre Neidhardt 6f867bd42d Emacs: translate is autoloaded 2014-02-22 19:13:39 +01:00
Pierre Neidhardt 63edd40fb5 Emacs: c-offset is only set in C mode 2014-02-22 19:13:19 +01:00
Pierre Neidhardt ecd9d17ecc Emacs: focus on grep/help/occur windows 2014-02-21 20:43:40 +01:00
Pierre Neidhardt a60dee36b7 Emacs: hippie expand + removed some old code 2014-02-21 20:41:11 +01:00
Pierre Neidhardt d5170b14ac Emacs: moved some 'require' inside functions 2014-02-21 20:22:20 +01:00
Pierre Neidhardt fb378d16d2 Emacs: enabled uniquify by default 2014-02-21 20:14:50 +01:00
Pierre Neidhardt dfbd93e053 Emacs: Improved docstrings 2014-02-21 20:08:20 +01:00
Pierre Neidhardt ad8f043b52 Emacs: sorted functions alphabetically 2014-02-21 19:38:49 +01:00
Pierre Neidhardt 613ec98ede Emacs: removed benchmark function since Emacs has emacs-init-time already 2014-02-21 19:23:08 +01:00
Pierre Neidhardt bf3f4b5648 Emacs: print startup time 2014-02-21 15:57:54 +01:00
Pierre Neidhardt 963eaca039 Emacs: separate tex-mode, latex-mode and texinfo-mode 2014-02-21 15:23:25 +01:00
Pierre Neidhardt 011af5350e Emacs: workaround for the tex-hook issue 2014-02-20 14:35:19 +01:00
Pierre Neidhardt 63509e6fde Emacs: change global custom bindings prefix from C-c to C-x 2014-02-20 14:06:47 +01:00
Pierre Neidhardt bdf337676c Emacs: pdf-compress function 2014-02-18 12:13:18 +01:00
Pierre Neidhardt 7cf128a5d5 Updated comments and docs 2014-02-14 01:49:50 +01:00
Pierre Neidhardt a047cda145 Emacs: improved sh-while-getopts 2014-02-13 18:55:06 +01:00
Pierre Neidhardt e3dee12875 Emacs: finished sh skels 2014-02-13 18:40:02 +01:00
Pierre Neidhardt 60e8c60425 Emacs: some sh skels 2014-02-13 18:08:25 +01:00
Pierre Neidhardt b38fbdf0a0 Emacs: bug fixes 2014-02-13 17:42:13 +01:00
Pierre Neidhardt 547f67c8bb Emacs: updated obsolete code 2014-02-13 17:30:36 +01:00
Pierre Neidhardt 26d0e192d8 Emacs: skeleton navigation 2014-02-13 17:22:52 +01:00
Pierre Neidhardt 32719436c2 Emacs: a lot of bugfixes for the new config organization 2014-02-13 16:30:05 +01:00
Pierre Neidhardt 9f76a23790 Emacs: some cc abbrevs 2014-02-13 15:56:13 +01:00
Pierre Neidhardt f14abcbdf8 Emacs: removed useless line 2014-02-12 19:18:44 +01:00
Pierre Neidhardt 6f71e6662a Emacs: various fixes and refactoring
Fixed octave comment char
2014-02-12 18:49:41 +01:00
Pierre Neidhardt b1985f0261 Emacs: moved mode specific data to independent file
Since those files are loaded just-in-time, it speeds up starting time.
2014-02-12 18:31:00 +01:00
Pierre Neidhardt 86e16a2a38 Emacs: JIT mode loading 2014-02-12 17:48:29 +01:00
Pierre Neidhardt 17bd9feade Emacs: changed (autoload) to (require) 2014-02-12 17:37:43 +01:00
Pierre Neidhardt 2f08282b8a Emacs: fixed sh and python interpreter when first line is empty 2014-02-12 16:15:13 +01:00
Pierre Neidhardt 15654e3e2f Emacs: further improvements in printf skeleton 2014-02-11 02:01:22 +01:00