Comments (8)
Which emacs version do you use ?
from markdown-mode.
On Windows:
GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-09-02 on WARLOCK
On Linux:
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.6) of 2016-01-11 on utensil
from markdown-mode.
I cannot reproduce this issue as below on Ubuntu 15.10 with Emacs 24.5.
Can you reproduce this issue by emacs -Q -l markdown-mode.el
?
from markdown-mode.
Funny thing. It's there, then it isn't.
Since I'm currently @work I'm under Windows. Setup is:
working directory: ~\AppData\Roaming.emacs.d\elpa\markdown-mode-20160223.537
$ md5sum.exe markdown-mode.el markdown-mode-2_1.el
483fb4f4f18b4856247d823068bb8c70 *markdown-mode.el
9a5b233ff6cc83cc9ab68c059c534620 *markdown-mode-2_1.el
emacs -Q -l ./markdown-mode.el test.md
query-replace /salsa/ with /sals/ -> error args out of range
emacs -Q -l ./markdown-mode-2_1.el test.md
query-replay /salsa/ with /sals/ -> no problem.
I've attached a ZIP with the test.md file. I'm really curious, if you're now going to see the same problem.
from markdown-mode.
Thanks for this report. Indeed, markdown-mode can cause problems with query-replace and it has happened before, back in 2011. The fix (eacccad) required placing save-match-data
around a function used in after-change-functions
. Therefore, if it is due to markdown-mode in this case it is probably related to my changes yesterday in da1cf8d, which removed save-match-data
in two places to speed up fontification. I will look into it.
from markdown-mode.
Thanks a lot. That I see the "args out of range" error is basically fresh. I believe I'm seeing this with my update of markdown-mode to 20160223.537. Before that, I only saw the effect, that only the first item was replaced during a query-replace. I would say, that I noticed it about a week ago, that query-replace behaved not quite kosher in markdown buffers.
from markdown-mode.
Hi, I just noticed the commit to #105, download markdown-mode.el from a2a1b5f, byte-compiled it and restarted Emacs.
I'm more than happy to confirm, that my query-replace problem really is gone now.
Great work, Thank you so much.
from markdown-mode.
Great, thanks for reporting this and for confirming that it is fixed!
from markdown-mode.
Related Issues (20)
- Add support for LaTeX enviroments HOT 1
- Markdown mode leads to heavy input lag HOT 8
- [filelink](does not support spaces in filename) HOT 3
- Caret signs inside math are fontified as Markdown markup
- register yank-media-handler so we can paste images HOT 7
- Should filename links be URI-decoded? HOT 1
- Update MacPorts links in README
- tab in lists items results in invalid list indent itemization
- [Feature Suggestion] markdown-beginning/end-of-line functions
- `move-beginning-of-line` move to wrong position on heading when markdown-hide-markup is enabled HOT 1
- preserve indent-tabs-mode in markdown-edit-code-block HOT 5
- Incorrect table alignment with code block HOT 1
- Markdown hiding for links broken when text surrounded by square brackets
- resurrect emacs-26 support? HOT 2
- Bug: Angle-bracketed URLs in inline code are fontified as links
- "_" character in a variable name turns on underline HOT 1
- Wrong gfm-view-mode syntax highlight if only using *-ts-mode (tree-sitter modes) HOT 1
- v2.6 ERT test failures on wiki-link-rules and wiki-link-search-under-project with Emacs 29.1 HOT 4
- R language isn't included in markdown-gfm-recognized-languages HOT 3
- Wrong table width calculation for Unicode Combining Diacritical Marks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown-mode.