Pierre Neidhardt
114998984a
Emacs: Replace scratch message with a fortune
2017-09-18 15:06:13 +01:00
Pierre Neidhardt
3ac3b0b946
Emacs: Replace get-closest-pathname by built-in locate-dominating-file
2017-09-14 16:48:41 +01:00
Pierre Neidhardt
f9f3375ec5
Emacs: Also bind flyspell-prog-mode to <f9>
2017-08-30 16:43:59 +01:00
Pierre Neidhardt
0222a304f1
Emacs: Move most important TODO entries from todo.org to the init files
2017-08-01 19:55:50 +01:00
Pierre Neidhardt
7ba8097619
EXWM: Move switch-to-last-buffer and toggle-single-window to functions.el
2017-07-27 17:48:34 +01:00
Pierre Neidhardt
178977c88a
Emacs: Use auto-mode-alist instead of find-file-hook when it makes sense
2017-06-27 09:50:24 +01:00
Pierre Neidhardt
a9efecbe97
Emacs: Use column-number-mode in prog-mode / text-mode only
2017-06-24 14:11:18 +01:00
Pierre Neidhardt
2ac066840b
Emacs: Set tab-width to 4 in XML
2017-06-23 15:24:55 +01:00
Pierre Neidhardt
9f9370d196
Emacs: Turn on `delete-trailing-whitespace' locally
2017-06-22 18:14:27 +01:00
Pierre Neidhardt
75022b580a
Emacs: Use global keys instead of mickey minor mode
...
It's simpler.
Mickey can create un-intended shadowing of some modes.
If a global key is shadowed, it calls for configuring the mode, which is
logical. We should not modify the global config for the sake of one mode.
2017-06-20 19:40:13 +01:00
Pierre Neidhardt
848f68ab9e
Emacs: Set tab-width to 8 in Lisp modes
2017-06-18 21:25:34 +01:00
Pierre Neidhardt
36e153f979
Emacs: Eshell: Fix display of nbsp, e.g. with 'tree'
2017-06-18 16:53:55 +01:00
Pierre Neidhardt
2d9f77c920
Emacs: Define and use define-keys and local-set-keys
2017-06-18 16:53:55 +01:00
Pierre Neidhardt
66009abe6c
Emacs: Use with-eval-after-load instead of hooks for deferred loading
2017-06-18 16:53:54 +01:00
Pierre Neidhardt
0f7ad9bdbd
Emacs: Remove load-external and rely on require+autoload instead
2017-06-04 12:53:01 +01:00
Pierre Neidhardt
27dd481dac
Emacs: Fix non-interactive beginning-of-next-defun
2017-06-03 16:39:04 +01:00
Pierre Neidhardt
936068fb0a
Emacs: Move page-number-mode and related fucntions to a separate file
...
Move tweak from mode-line-format to mode-line-position.
2017-06-02 18:15:17 +01:00
Pierre Neidhardt
1af113aaa7
Emacs: Name functions instead of lambdas in hooks (init.el)
2017-05-28 15:50:39 +02:00
Pierre Neidhardt
38da1249c5
Emacs: Fix some indentation and comment style
2017-05-28 15:16:08 +02:00
Pierre Neidhardt
fd80913a5e
Emacs: Rename sanitize->fmt and add to lisp hook
2017-05-28 12:12:53 +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
a372221cd8
Emacs: Fix 'sanitize'
2017-05-27 16:47:32 +02:00
Pierre Neidhardt
3ff30b971c
Emacs: Fix spawn-terminal when default-directory starts with "~"
2017-05-27 16:18:06 +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
de36a4b943
Emacs: Unbind lesser used commands such as dictionary settings
...
Instead we save the buffer local dictionaries across desktop sessions.
2017-05-25 18:20:23 +02:00
Pierre Neidhardt
d8904ce70b
Emacs: Move lambda to 'spawn-terminal' and add evil binding
2017-05-25 18:20:23 +02:00
Pierre Neidhardt
9c3ed5b3a1
Emacs: Use mapc when mapcar is not necessary
2017-05-15 11:16:59 +05:30
Pierre Neidhardt
b257ecf262
Emacs: Set region boundaries cleanly in functions
2017-05-14 12:00:34 +05:30
Pierre Neidhardt
f98bed138a
Emacs: Simplify get-closet-pathname
2017-05-11 23:04:27 +05:30
Pierre Neidhardt
93bb055dba
Emacs: Comment on 'rename-buffer-and-file'
2017-05-09 15:01:09 +05:30
Pierre Neidhardt
013111d11d
Emacs: Comment on usefulness of 'escape-region'
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
6de23b155e
Emacs: Remove useless functions
2017-05-08 00:44:13 +05:30
Pierre Neidhardt
3d41480297
Emacs: find-symbol-at-point in current buffer
2017-05-06 00:23:05 +05:30
Pierre Neidhardt
b3aba6625b
Emacs: Bind 'compile to f10 and simplify Go compilation settings
2016-12-11 10:47:07 +05:30
Pierre Neidhardt
90eb990855
Emacs: Remove futile hlines
2016-10-14 17:33:30 +05:30
Pierre Neidhardt
bc5ffa4361
Emacs: Update configuration to 25.1
2016-10-05 10:26:16 +05:30
Pierre Neidhardt
a58b6dd186
Emacs: Use 'M-.' to jump to symbol definition
2016-06-09 18:25:18 +02:00
Pierre Neidhardt
867616c7ba
Emacs: Rename 'my-keys' to 'mickey'
...
The dash in 'my-keys' implied that 'my' is a suffix for other symbols,
which is not the case at the moment.
2016-06-09 14:18:03 +02:00
Pierre Neidhardt
8aa1f621f5
Emacs: Unbind little used commands, rebind swap-windows and toggle-window-split
2016-06-08 14:47:57 +02:00
Pierre Neidhardt
156bf1dccd
Emacs: Fix typos in function documentation
2016-06-08 14:05:10 +02:00
Pierre Neidhardt
de30f31d40
Emacs: Close some TODOs (page-count, forward-page)
2016-06-08 12:16:57 +02:00
Pierre Neidhardt
ee40c77a32
Emacs: Add argument for case-folding in sort-lines-unique
2015-09-12 12:02:53 +02:00
Pierre Neidhardt
877f9f1318
Emacs: Fix regexp-kill-ring not being updated
2015-05-15 08:21:09 +02:00
Pierre Neidhardt
c256ebce60
Emacs: Dired omit files, mouse avoidance, mark symbol for regexp-search
2015-05-09 13:16:10 +02:00
Pierre Neidhardt
62b87085ad
Emacs: Syntax and comments
2015-04-26 17:17:08 +02:00
Pierre Neidhardt
5c4e3325b4
Emacs: Override desktop lock when no Emacsen is owning it
2015-04-25 13:47:00 +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