Git Product home page Git Product logo

Comments (5)

jrblevin avatar jrblevin commented on July 21, 2024

Markdown Mode does not insert paired delimiters, so I cannot replicate what you are seeing. This must be a result of something else in your local configuration. If it is an adverse interaction with another package that could be fixed by changing Markdown Mode somehow, then I am open to that, but you'll need to provide more information to help identify the source of the problem (at least Markdown Mode version and the name of other library and/or description of the configuration that causes the problem).

from markdown-mode.

jrblevin avatar jrblevin commented on July 21, 2024

To follow up, I tried using electric-pair-mode and when doing so brackets of all kinds typed in markdown-mode were inserted in the correct order. You mentioned autopair, not electric-pair-mode, but I didn't try installing that since you said that you had disabled it, and if so it shouldn't be the issue.

from markdown-mode.

kyrylo avatar kyrylo commented on July 21, 2024

Hi, @jrblevin! Thanks for the reply. Here's my configuration: https://github.com/kyrylo/dot/tree/master/cfg/emacs.d

I use Cask and ELPA. Do you have any clues what might cause this (I'm not an ELisp pro)? This issue happens only with markdown-mode.

output

EDIT: basically, it sets my cursor position to the beginning of the line whenever I type a bracket (including ]).

from markdown-mode.

jrblevin avatar jrblevin commented on July 21, 2024

I suspect this has something to do with autopair and if so you may want to file a bug report with that package. Curly braces, for example, are not special in Markdown and Markdown Mode does not treat them as special, so there is no reason typing a curly brace should make the point move.

From your configuration it seems that autopair is enabled globally. Please try loading markdown-mode without your local other configuration (or at the very least comment out the autopair stuff). In other words, don't let autopair load first and then disable it, but load markdown-mode without it.

from markdown-mode.

kyrylo avatar kyrylo commented on July 21, 2024

Thanks for the information!

It turns out the culprit was funda-haxe-mode. When I deleted it, markdown-mode started working fine.

Thanks!

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.