Git Product home page Git Product logo

highlight-escape-sequences's Introduction

Highlight Escape Sequences

screenie

Look inside for instructions.

The theme on the screenshot is espresso, with the following addition:

(put 'hes-escape-backslash-face 'face-alias 'font-lock-builtin-face)
(put 'hes-escape-sequence-face 'face-alias 'font-lock-builtin-face)

highlight-escape-sequences's People

Contributors

dev-plvlml avatar dgutov avatar jcs090218 avatar plexus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

highlight-escape-sequences's Issues

go-mode support

Nothing is highlighted in *.go files.
Could you please add support for go mode?

Add version tag for MELPA stable

Hi!

MELPA Stable is the new younger sibling of MELPA for users who'd rather run only stable versions of packages (MELPA can be a bit rocky since every commit comprises a new release), and it would be useful if highlight-escape-sequences could be installed via Stable.

Fortunately it's also really easy to support—all you have to do is define a tag in the v... format and you're done. I'd submit a PR if I could, but since tags are global to a project, that's not something possible via PR.

If you're cool with this idea, this should be all you have to do to make it happen:

$ git tag v0.4.0 08d846a7aa748209d65fecead2b6a766c3e5cb41
$ git push origin v0.4.0

(Of course, confirm that 08d846a is the appropriate commit for the release, but it's the one where the version number was bumped to 0.4.0 so I suspect it is.)

Thanks for your time and consideration!

Broken with certain Emacs versions

In Emacs 23.3, at least, the latest code is incompatible with rx:

In toplevel form:

highlight-escape-sequences.el:100:1:Error: rx `any' needs argument(s)

Perhaps there's a workaround, otherwise a Package-Requires: dependency on the appropriate Emacs version would be advisable. (I found this via the smoke test build I run for my emacs config on various emacsen.)

font-lock-add-keywords make this package not work.

Following will result in highlight not make effect.

 (font-lock-add-keywords
              nil '(("\\<\\(FIX\\|TODO\\|FIXME\\|HACK\\|REFACTOR\\):"
                     1 font-lock-warning-face t)))

What is the correct usage to add a new keyboards face?

Thanks.

turn-on-hes-mode or turn-off-hes-mode doesn't apply to the current buffer

Hello,

Thank you for this Emacs package!

I found some issues:

  • (turn-on-hes-mode) doesn't apply to the current buffer. To turn on hes-mode you need to M-x revert-buffer.
  • Same with (turn-off-hes-mode).

  • (turn-on-hes-mode) and (turn-off-hes-mode) works only globally, not locally for buffer.

  • Changing faces hes-escape-backslash-face and hes-escape-sequence-face via customize M-x customize-face doesn't work.

GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21) of 2017-11-13

Oleg.

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.