-
Notifications
You must be signed in to change notification settings - Fork 308
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
Some functions moved to Rust #191
Conversation
Hi! thanks for the contribution 👍, currently i don't have time to review your PR but i'll do it soon. Also it would be nice if you do a rebase and have a single commit 😄. |
Sure, single commit coming up :) I'll also fix the travis run. |
* eql * equal * equal-including-properties * delq * car-safe * cdr-safe * memq * memql * member * nthcdr * nth * assq * assoc * rassq * rassoc * plist-get * plist-put * lax-plist-put * lax-plist-get * plist-member * string-equal * markerp Other changes: * Create comparison methods for LispObject for each of the three ELisp ways (eq, eql, equal). * Use the provided way to construct bools and t. * Create a Rusty API for working with cons cells (as_cons() returns a newtype that has car() and cdr() methods). * Introduce a list tails iterator to replace the FOR_EACH_TAIL and FOR_EACH_TAIL_SAFE macro. * Add missing Cargo.lock for remacs-sys. * Migrate XXXP() functions to LispObject::is_xxx() and remove unused ones. * Avoid allocating a vector for each call to a MANY function. * Fixup makefile targets to avoid "override" warnings.
Can't debug the OSX failure, sorry. |
Awesome! This looks great but I'll give you a proper review shortly. I particularly like your Rust iterator that does the classic lispy hare and tortoise movement through lists. I don't feel strongly about commit granularity, but I'd prefer that styling and functionality changes were separate at least. No worries about changing this PR though. I'll have a look at the failing OS X build too. |
OK, I've read through the code, and it all looks lovely. 👍 The failure on OS X is just tramp. I'm happy for us to skip the tramp tests on OS X (upstream GNU Emacs doesn't have any CI on OS X to my knowledge). @birkenfeld how do you want to proceed? I notice that #192 includes these commits. |
Looking at the failure in the logs:
This suggests that Remacs is producing SIGABRT on OS X during (defun tramp--test-enabled ()
"Whether remote file access is enabled."
(unless (consp tramp--test-enabled-checked)
(setq
tramp--test-enabled-checked
(cons
t (ignore-errors
(and
(not (eq system-type 'darwin))
(file-remote-p tramp-test-temporary-file-directory)
(file-directory-p tramp-test-temporary-file-directory)
(file-writable-p tramp-test-temporary-file-directory))))))
(when (cdr tramp--test-enabled-checked)
;; Cleanup connection.
(ignore-errors
(tramp-cleanup-connection
(tramp-dissect-file-name tramp-test-temporary-file-directory)
nil 'keep-password)))
;; Return result.
(cdr tramp--test-enabled-checked)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems to be correct as Wilfred suggests 👍
Since as you say this is included in #192, I'll just close this one. I really miss (from Gerrit style reviews) the ability to submit dependent commits and have them reviewed individually. |
This is my first venture into remacs, please review carefully. Thanks :)