Giter Site home page Giter Site logo

Comments (12)

iqbalansari avatar iqbalansari commented on May 25, 2024

Thanks for reporting the bug. The warning is because of this line. I plan to fix it soon, you can safely ignore it for now. I am leaving this issue open as a reminder.

from emacs-emojify.

manuel-uberti avatar manuel-uberti commented on May 25, 2024

I just grabbed your latest commit from MELPA, and I still have that warning at startup.

from emacs-emojify.

iqbalansari avatar iqbalansari commented on May 25, 2024

This is strange, I cannot reproduce that warning. Can you try manually byte compiling the file (using the command byte-compile-file) and report the exact warning?

from emacs-emojify.

manuel-uberti avatar manuel-uberti commented on May 25, 2024

What file are you referring to? My init.el?

from emacs-emojify.

iqbalansari avatar iqbalansari commented on May 25, 2024

Oh sorry for being unclear, I meant the emojify.el file in your elpa directory.

from emacs-emojify.

manuel-uberti avatar manuel-uberti commented on May 25, 2024

Ok, done and restarted Emacs. This is the message from the *Compile-Log* buffer:

Warning (bytecomp): reference to free variable ‘emojify-mode’

from emacs-emojify.

iqbalansari avatar iqbalansari commented on May 25, 2024

Do have an old copy of the library by any chance (try doing find-library)? Also did the byte-compile-file report any warnings?

from emacs-emojify.

manuel-uberti avatar manuel-uberti commented on May 25, 2024
  • I only have the latest file from MELPA (only emojify-20151115.1942/ in my elpa directory)
  • byte-compile-file reported this:
Leaving directory ‘~/.emacs.d/elpa/emojify-20151115.1942/’
Compiling file /home/manuel/.emacs.d/elpa/emojify-20151115.1942/emojify.el at Mon Nov 16 17:22:52 2015
Entering directory ‘/home/manuel/.emacs.d/elpa/emojify-20151115.1942/’
Compiling no file at Mon Nov 16 17:22:54 2015

from emacs-emojify.

iqbalansari avatar iqbalansari commented on May 25, 2024

I think I got the issue, it seems upstream Emacs has got smarter about byte compilation (the warning is not issues on Emacs v24.5), I have pushed a fix on master. Please do test (when MELPA updates) and report back if it works (or does not work). Thanks for your patience

from emacs-emojify.

manuel-uberti avatar manuel-uberti commented on May 25, 2024

Thank you, I forgot to mention I'm on Emacs trunk (built yesterday). I'll report back as soon as it is on MELPA.

from emacs-emojify.

iqbalansari avatar iqbalansari commented on May 25, 2024

No problem, I too should have remembered to ask for the Emacs version 😄

from emacs-emojify.

manuel-uberti avatar manuel-uberti commented on May 25, 2024

Great, you nailed it! 👍
Thank you

from emacs-emojify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.