Disable population of `file-name-history', it causes calls to
abbreviate-file-name => file-name-case-insensitive-p => tramp-autoload-file-name-handler
taking 40% of startup time.
`ido-switch-buffer' doesn't depends on `file-name-history', nothing to lose.
Profiling data for startup:
- eval-buffer 4340 99%
- recentf-mode 1684 38%
- recentf-load-list 1684 38%
- mapcar 1684 38%
- abbreviate-file-name 1684 38%
- file-name-case-insensitive-p 1250 28%
+ tramp-autoload-file-name-handler 1172 26%
+ tramp-file-name-handler 78 1%
set mode "java-mode"
set escape_start "[["
set escape_end "]]"
context my
set comment_start "/**"
set comment_end " */"
set comment_prefix " *"
;; :file :user :time
template empty :java
"Fill out an empty file."
----
package [[FILENAME_AS_PACKAGE]];
import java.util.*;
public class [[FILENAME_AS_CLASS]] {
public [[FILENAME_AS_CLASS]]() {[[^]] }
}
----
template getset :indent
"Getter/Setter."
----
private [[?TYPE]] [[?NAME]];
/** [[^]] */
public [[TYPE]] get[[NAME:upcase-initials]]() { return [[NAME]]; }
/** */
public void set[[NAME:upcase-initials]]([[TYPE]] [[NAME]]) { this.[[NAME]] = [[NAME]]; }
----