Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
emacs.d
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
Liu Miao
emacs.d
Commits
bb412928
Commit
bb412928
authored
3 years ago
by
Liu Miao
Browse files
Options
Downloads
Patches
Plain Diff
add lisp packages
parent
7fdce68c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
init.el
+1
-0
1 addition, 0 deletions
init.el
lisp/prog-lisp.el
+15
-2
15 additions, 2 deletions
lisp/prog-lisp.el
lisp/prog-python.el
+15
-4
15 additions, 4 deletions
lisp/prog-python.el
with
31 additions
and
6 deletions
init.el
+
1
−
0
View file @
bb412928
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
(
require
'prog-c-cpp
)
(
require
'prog-c-cpp
)
(
require
'prog-python
)
(
require
'prog-python
)
(
require
'prog-haskell
)
(
require
'prog-haskell
)
(
require
'prog-lisp
)
(
require
'init-org
)
(
require
'init-org
)
(
require
'apps
)
(
require
'apps
)
...
...
This diff is collapsed.
Click to expand it.
lisp/prog-lisp.el
+
15
−
2
View file @
bb412928
...
@@ -8,14 +8,27 @@
...
@@ -8,14 +8,27 @@
:ensure
t
:ensure
t
:commands
run-geiser
)
:commands
run-geiser
)
(
use-package
parinfer
(
use-package
parinfer
-rust-mode
:ensure
t
:ensure
t
:hook
(
scheme-mode
.
parinfer
-mode
)
)
:hook
emacs-lisp-mode
scheme-mode
common-lisp
-mode
)
(
use-package
lispy-mode
(
use-package
lispy-mode
:ensure
lispy
:ensure
lispy
:hook
emacs-lisp-mode
:hook
emacs-lisp-mode
:diminish
lispy-mode
)
:diminish
lispy-mode
)
(
use-package
ielm
:defer
t
)
(
use-package
debug
:defer
t
)
(
use-package
edebug
:ensure
nil
:defer
t
)
(
use-package
emr
:ensure
t
)
(
provide
'prog-lisp
)
(
provide
'prog-lisp
)
;;; prog-lisp.el ends here
;;; prog-lisp.el ends here
This diff is collapsed.
Click to expand it.
lisp/prog-python.el
+
15
−
4
View file @
bb412928
;;; Code:
;;; Code:
(
defun
python/pyenv-executable-find
(
command
)
"Find executable taking pyenv shims into account."
())
(
defun
python/execute-file
(
args
)
"Execute a python script in a shell."
(
interactive
"P"
)
(
let
((
universal-argument
t
)
(
compile-command
(
format
"%s %s"
)))))
(
use-package
importmagic
(
use-package
importmagic
:defer
t
:defer
t
:ensure
t
:ensure
t
...
@@ -14,11 +23,13 @@
...
@@ -14,11 +23,13 @@
:init
:init
(
add-hook
'python-mode-hook
#'
pyvenv-tracking-mode
))
(
add-hook
'python-mode-hook
#'
pyvenv-tracking-mode
))
(
use-package
python
(
use-package
yapfify
:ensure
t
:defer
t
:defer
t
:init
:hook
(
python-mode
.
yapf-mode
))
:config
)
(
use-package
python
:defer
t
)
(
provide
'prog-python
)
(
provide
'prog-python
)
;;; prog-python.el ends here
;;; prog-python.el ends here
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment