-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Differences between rustic.el and rust-mode.el #407
Conversation
r? @brotzeit (rust-highfive has picked a reviewer for you, use r? to override) |
@tarsius can you please open another pull request that only contains the commits that moves code to other files, this way I still got the diffs(thanks for that). |
Ah you did that already, thanks :P |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I was told by several people in the past that performing a "rebase and merge"(in github) is the way to go since you don't have the merge commit and get a cleaner history ? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
If `rust-load-optional-libraries' nil and the user did not explicitly load `rust-rustfmt', then the functions `rust-before-save-hook' and `rust-after-save-hook' are undefined. Do not add them to the respective hook variables if they are undefined.
What do you want to do about the commands that
Should we do the same for I looked at the differences and they are not big, so after a bit of backward and/or forward porting I favor moving these shared commands back into |
While we don't use this new argument here, `rustic' will soon start using it.
(progn (copy-file "~/.emacs.d/lib/rustic/rustic.el" "~/.emacs.d/lib/rust-mode/rust-mode.el" t) (with-current-buffer (find-file-noselect "~/.emacs.d/lib/rust-mode/rust-mode.el") (save-excursion (goto-char (point-min)) ;; (re-search-forward "^;;; Code:$" nil t) ;; (kill-region (point-min) (match-beginning 0)) (save-excursion (replace-regexp ":group 'rustic" ":group 'rust-mode")) (save-excursion (replace-regexp "rustic-mode" "rust-mode")) (save-excursion (replace-regexp "rustic" "rust")) (save-excursion (replace-regexp "\"1.2\"" "\"0.6.0\"")) )))
This pull request helped a lot, thanks again. |
Great :) |
These commits are not intended to be merged.
This demonstrates what differences remain between
rustic.el
andrust-mode.el
after merging(All the commits from #406 are included here as well.)
See #405 for an overview.
This pull-request was created by:
Applying the above pull-requests.
Evaluating:
Manually spitting the differences across multiple commits.