summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2017-05-09 05:09:15 +0000
committerpho <pho@pkgsrc.org>2017-05-09 05:09:15 +0000
commitce05bb0b8194157dac37e7c26c7524364e1e0578 (patch)
treeaee0d3071d0d4f97456aa82b3e4dc7f6313a62c3 /textproc
parentebb1f4b8bdcfbcf570bc795a4af67be7f267d37c (diff)
downloadpkgsrc-ce05bb0b8194157dac37e7c26c7524364e1e0578.tar.gz
Update textproc/markdown-mode to 2.1
New Features General - Add automatically updating live preview functionality (C-c C-c l) via the native eww browser. - Use autoload to enable markdown-mode in auto-mode-alist for files with .text, .markdown, and .md extensions. - Use Travis CI for automated build testing. Element Insertion and Editing - ATX heading subtree promotion and demotion via M-S-LEFT, and M-S-RIGHT. - ATX heading subtree moving up and down via M-S-UP and M-S-DOWN. - Convert inline links to reference links when markdown-insert-reference-link-dwim is used when the point is at an inline link. Customizable Features - Allow linking to multiple stylesheets in markdown-css-paths list. Use stylesheets for both preview and export. Previous markdown-css-path (singular) is now deprecated. - Customizable default unordered list marker via markdown-unordered-list-item-prefix. - Add asymmetric ATX heading adornment option markdown-asymmetric-header. Font Lock - Separate highlighting for Markdown markup characters (asterisks, underscores, backquotes, etc.) to aid in readability. - General font lock improvements for comments, code blocks, blockquotes, headings, horizontal rules, bold, italics - Font lock for bold, italics, and LaTeX math work inside block elements such as headings and blockquotes. - Font lock for <kbd> tags. GFM - Support GFM-style code blocks in markdown-mode (as well as gfm-mode). - New function markdown-electric-backquote will prompt for a language name for GFM code blocks. This can be disabled by customizing the variable markdown-gfm-use-electric-backquote. - Completion of programming language names for GFM code blocks. A list of pre-defined languages is included, but this can be augmented by setting markdown-gfm-additional-languages. - Strikethrough support in gfm-mode. - Support for GFM toggling checkboxes mouse-1 or RET. This is controlled by a new custom variable, markdown-make-gfm-checkboxes-buttons. Other Extensions - Font lock and filling for Pandoc "fancy list", which use # as the list marker. - Basic support for filling of definition lists. - Support Ikiwiki-style search for wiki links that allows links relative to parent directories. Enable this by setting markdown-wiki-link-search-parent-directories. Bug Fixes - Fix bug in markdown-complete-region/buffer where level-two Setext headings could be confused with horizontal rules. Includes a unit test. Thanks to Gunnar Franke for the report. - Fix filling when a decimal number appears at column zero, which could be confused with an ordered list item. - Fix buffer-wide markup completion. - Fix font-lock for GFM code blocks without language keywords. - Improved Setext header insertion to support wide characters. - Fix expensive paragraph-separate regular expression. - Make comment-auto-fill-only-comments a buffer-local variable, which allows for better default filling behavior in cases where the global variable is non-nil. - Fix Emacs 23 compatibility by checking for font-lock-refresh-defaults before calling it. - Handle reference definitions when filling paragraphs. - Improve filling of list items with indentation. - Properly handle footnotes when filling. - Fix issues with markdown-footnote-kill and related functions. - Improve font lock for fenced code blocks. - Avoid avoid overwriting source file when exporting if source file has .html extension. - Fix and improve ordered list behavior to preserve digit spacing and avoid an infinite loop in certain cases. Adjust ordered list whitespace when marker digit count increases. - Improve reference definition regular expression to avoid matching multiple reference links in one line. - Allow spaces in fenced code language identifiers. - Improve font lock for preformatted blocks and fenced code blocks. - Fix out-of-order HTML output. - Add console-friendly backspace and tab bindings. - Better treatment of files without extensions for wiki links. When files have no extensions, don't append a lone period. - Call looking-back with two arguments for compatibility with Emacs 25.1. - Make (beginning-of-defun -1) go to next title when point is at beginning of defun. - Ignore headings in code blocks for font lock. - Don't highlight wiki links in code blocks. - Don't move to links in code blocks with C-c C-p and C-c C-n. - Fix hanging indentation for list items and single-line preformatted blocks. - Better rejection of false positives for italics with respect to other inline elements (inline code and bold). - Predicate functions should not modify match data. - Use correct list marker from previous list level when using C-u M-RET to insert a dedented list item. Prevent an infinite loop in some cases. - Reduce lag when scrolling or inserting text into large files. - Avoid confusing tramp errors with malformed wiki links.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/markdown-mode/Makefile6
-rw-r--r--textproc/markdown-mode/distinfo10
2 files changed, 8 insertions, 8 deletions
diff --git a/textproc/markdown-mode/Makefile b/textproc/markdown-mode/Makefile
index 59be57bd52c..d322bbefa00 100644
--- a/textproc/markdown-mode/Makefile
+++ b/textproc/markdown-mode/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.7 2013/07/30 19:15:15 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2017/05/09 05:09:15 pho Exp $
DISTNAME= markdown-mode
-PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}-2.0
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}-2.1
CATEGORIES= textproc
MASTER_SITES= http://jblevins.org/projects/markdown-mode/
-DIST_SUBDIR= ${DISTNAME}-2.0
+DIST_SUBDIR= ${DISTNAME}-2.1
EXTRACT_SUFX= .el
MAINTAINER= minskim@NetBSD.org
diff --git a/textproc/markdown-mode/distinfo b/textproc/markdown-mode/distinfo
index 4a5fe3fc59c..fb3e02911db 100644
--- a/textproc/markdown-mode/distinfo
+++ b/textproc/markdown-mode/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/04 01:59:40 agc Exp $
+$NetBSD: distinfo,v 1.6 2017/05/09 05:09:15 pho Exp $
-SHA1 (markdown-mode-2.0/markdown-mode.el) = 92a01ab731e3fb8baca4c66fae0727936d44d3f3
-RMD160 (markdown-mode-2.0/markdown-mode.el) = 353609f429f44b4272cc44ad792cde8d4815a9f9
-SHA512 (markdown-mode-2.0/markdown-mode.el) = c2a85b89c5745814cd36d9087a55fe6252fe853e62d7c169d0e0730573d616e545c41f1a6c252f590f6dd9ceaf9f4d690d9ce4eb714e78d82cf65037180116b3
-Size (markdown-mode-2.0/markdown-mode.el) = 194511 bytes
+SHA1 (markdown-mode-2.1/markdown-mode.el) = f6bd0b37a26fa6861c0da8fc008ecb9870eb7f0d
+RMD160 (markdown-mode-2.1/markdown-mode.el) = 09fdbb72bd5550a552df914fb8212806f3f35cf2
+SHA512 (markdown-mode-2.1/markdown-mode.el) = 572ec81d5abee5d0b2e4e8fb51a33627894e6ed5f423e977acbfacd14a8ccba58fd611bb0a4d05980f6c991daf2fdae304be3e2fcf2ac78499c034f0a2bd4645
+Size (markdown-mode-2.1/markdown-mode.el) = 255517 bytes