Giter Site home page Giter Site logo

Comments (6)

jrblevin avatar jrblevin commented on May 18, 2024

Thanks for your report. Interestingly, I've been running GNU Emacs 25.1.50.1 from 2015-12-09 with no issue. When I get a build of 25.1.50.2, I will try to reproduce this. In the meantime, can you provide some additional details?

  • Can you confirm the issue is still present with emacs -Q?
  • When you say it quits, does it quit gracefully or crash? I presume the latter.
  • Can you try `M-x toggle-debug-on-error' before saving?

from markdown-mode.

novakboskov avatar novakboskov commented on May 18, 2024

I have upgraded Emacs earlier today, before upgrade it was worked for me too.

  • Whith emacs -Q there is no markdown-mode and .md files are in Fundamental mode so it works well, no exit.
  • I think it crashes since it doesn't show "Are you sure ..." message, but OS (Ubuntu 14.04) doesn't show any crash report, which usually does.
  • M-x toggle-debug-on-error have no effect, everything is same, it just exits and do not enter in any error message or stacktrace.

Now I noticed that it crashes only with files which contain html code, e.g. it crashes with:

<div class="bs-callout bs-callout-danger">

### Database Configuration is Required

If you haven't already, then please follow the steps below to configure your database connection and run the necessary migrations.

* Run `lein run migrate` in the root of the project to create the tables.
* Restart the application.

</div>


### Managing Your Middleware

Request middleware functions are located under the `guestbook.middleware` namespace.

This namespace is reserved for any custom middleware for the application. Some default middleware is
already defined here. The middleware is assembled in the `wrap-base` function.

Middleware used for development is placed in the `guestbook.dev-middleware` namespace found in
the `env/dev/clj/` source path.

### Here are some links to get started

1. [HTML templating](http://www.luminusweb.net/docs/html_templating.md)
2. [Accessing the database](http://www.luminusweb.net/docs/database.md)
3. [Setting response types](http://www.luminusweb.net/docs/responses.md)
4. [Defining routes](http://www.luminusweb.net/docs/routes.md)
5. [Adding middleware](http://www.luminusweb.net/docs/middleware.md)
6. [Sessions and cookies](http://www.luminusweb.net/docs/sessions_cookies.md)
7. [Security](http://www.luminusweb.net/docs/security.md)
8. [Deploying the application](http://www.luminusweb.net/docs/deployment.md)

and it works when I delete html code.

from markdown-mode.

jrblevin avatar jrblevin commented on May 18, 2024

Thanks for these details and the test case. That will be helpful. With emacs -Q, I meant to then also load markdown-mode.el manually with load-file and M-x markdown-mode. This will isolate the issue from any other local configuration.

from markdown-mode.

novakboskov avatar novakboskov commented on May 18, 2024

Oh... it looks like everything is fine when I enter emacs with emacs -Q, load file and then activate markdown-mode. Seems like bug lays somewhere in Prelude, I'll investigate it in a few days.
Sorry for the noise.
Thank you for your work and happy holidays! :)

from markdown-mode.

jrblevin avatar jrblevin commented on May 18, 2024

No problem. Thanks again for the report.

from markdown-mode.

jmarca avatar jmarca commented on May 18, 2024

Hitting a similar bug here today.

converted HTML to markdown using pandoc, then I was going through and stripping html bits (divs, etc) that survived the pandoc step, and it keeps crashing.

Like the original poster, I'm not running markdown-mode all by itself, so it could be an interaction issue.

It seems to happen when I end up with unbalanced angle brackets >, for example, when global search and replace <div id=" with something else. If I can get a clean test case I'll post it, but until I can be certain the culprit is markdown I'm not going to open a new issue.

from markdown-mode.

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.