8000 Fix all byte-compiler warnings in gambit.el. Fix a docstring. by pierre-rouleau · Pull Request #710 · gambit/gambit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix all byte-compiler warnings in gambit.el. Fix a docstring. #710

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pierre-rouleau
Copy link
  • Moved defvar before their use.
  • Add forward declaration defvar.
  • Replace deprecated or interactive functions/macros by appropriate ones.
  • Declare XEmacs functions when in XEmacs but prevents warnings in Emacs.
  • No change in behaviour.

- Moved defvar before their use.
- Add forward declaration defvar.
- Replace deprecated or interactive functions/macros by appropriate ones.
- Declare XEmacs functions when in XEmacs but prevents warnings in Emacs.
- No change in behaviour.
@lassik
Copy link
Contributor
lassik commented Jun 26, 2021

I'm happy to help submit this into MELPA.

Have you looked at geiser-gambit, and does gambit.el have features that are missing from it?

@pierre-rouleau
Copy link
Author
pierre-rouleau commented Jun 26, 2021

@lassik Hi! I'm quite new to Gambit so I can't answer your question. I was going to look into geiser-gambit but I have not done it yet. What I'm doing is integrating support for several languages into my system PEL and I was also going to start looking for adding iMenu support for Gambit as well as some others like Gerbil. I can't object to support to MELPA (and would be glad if someone did it), but I personally do not need it (for files not turned into elpa package my system copies them in a directory that is in my load-path).

@pierre-rouleau
Copy link
Author

Also I should have mentioned that I did not provide backward compatibility to old versions of Emacs that do not support:

  • with-current-buffer : introduced in Emacs 20.1
  • set-face-underline : introduced on 1999-07-21, replaced set-face-underline-p which was made obsolete in Emacs 24.4

I assumed these are old enough so changing the code would not cause problems.

@pierre-rouleau
Copy link
Author

I am also planning to replace the user definable defvar by customizable defcustom in a gambit defgroup.
Is there any objection?

- Replaced user overridable defvar by defcustom forms.
- The defgroup is 'gambit, a child of 'scheme group.
- Have not replaced gambit-highlight-color defvar by a defface
  because I'm not familiar enough with overlays at the moment.
  - I left a TODO note; using defface would be much more flexible
    allowing users select other face properties and select colors
    through a color menu.
@lassik
Copy link
Contributor
lassik commented Jul 18, 2021

I am also planning to replace the user definable defvar by customizable defcustom in a gambit defgroup.
Is there any objection?

No objection from me.

@feeley
Copy link
Member
feeley commented Jul 18, 2021

I'm not an elisp expert, so I don't know what that means... but if it works with "old" (~5 years ago) releases of emacs I'm ok with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0