...
 
Commits (108)
......@@ -22,40 +22,34 @@ though they might be available from one or the other package source.
The packages and their sources:
use-package: https://github.com/jwiegley/use-package.git
evil: https://gitorious.org/evil/evil.git
paredit: http://mumble.net/~campbell/git/paredit.git
ido-hacks: https://github.com/scottjad/ido-hacks.git
rscope: https://github.com/rjarzmik/rscope.git
highlight-parentheses: https://github.com/tsdh/highlight-parentheses.el.git
htmlize: https://github.com/emacsmirror/htmlize.git
wide-n: https://github.com/emacsmirror/wide-n.git
markdown-mode: git://jblevins.org/git/markdown-mode.git
textile-mode: https://github.com/juba/textile-mode.git
ox-textile: https://github.com/yashi/org-textile.git
|------------------------------+------------------------------------------------------|
| Directory | Repository URL |
|------------------------------+------------------------------------------------------|
| vendor/evil | https://github.com/emacs-evil/evil |
| vendor/highlight-parentheses | https://github.com/tsdh/highlight-parentheses.el.git |
| vendor/htmlize | https://github.com/emacsmirror/htmlize.git |
| vendor/markdown-mode | https://github.com/jrblevin/markdown-mode.git |
| vendor/ox-textile | https://github.com/yashi/org-textile.git |
| vendor/paredit | http://mumble.net/~campbell/git/paredit.git |
| vendor/rscope | https://github.com/rjarzmik/rscope.git |
| vendor/textile-mode | https://github.com/juba/textile-mode.git |
| vendor/use-package | https://github.com/jwiegley/use-package.git |
|------------------------------+------------------------------------------------------|
Other single-file additions (currently without vcs tracking):
diminish.el: http://www.eskimo.com/~seldon/diminish.el
cmake-mode.el: http://www.cmake.org/gitweb?p=cmake.git;a=blob_plain;hb=master;f=Auxiliary/cmake-mode.el
maxima.el: http://sourceforge.net/p/maxima/code/ci/master/tree/interfaces/emacs/emaxima/maxima.el?format=raw
maxima-font-lock.el: http://sourceforge.net/p/maxima/code/ci/master/tree/interfaces/emacs/emaxima/maxima-font-lock.el?format=raw
org-contacts.el: http://orgmode.org/w/?p=org-mode.git;a=blob_plain;f=contrib/lisp/org-contacts.el;hb=HEAD
(with local changes — should probably go to private/)
quack.el: http://www.neilvandyke.org/quack/quack.el
t2t-mode.el: http://txt2tags.googlecode.com/svn/trunk/extras/txt2tags-mode.el
vivado-mode.el: (local — should probably go to private/)
intel-hex-mode.el: https://raw.githubusercontent.com/emacsmirror/intel-hex-mode/master/intel-hex-mode.el
winring.el: http://bazaar.launchpad.net/~barry/winring/trunk/download/head:/winring.el-20081202033748-pr59q3s3ydhqie0x-1/winring.el
deb-view.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/debian-el/deb-view.el?root=pkg-goodies-el
debian-bug.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/debian-el/debian-bug.el?root=pkg-goodies-el
apt-sources.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/debian-el/apt-sources.el?root=pkg-goodies-el
debian-changelog-mode.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/dpkg-dev-el/debian-changelog-mode.el?root=pkg-goodies-el
debian-control-mode.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/dpkg-dev-el/debian-control-mode.el?root=pkg-goodies-el
debian-copyright.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/dpkg-dev-el/debian-copyright.el?root=pkg-goodies-el
readme-debian.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/dpkg-dev-el/readme-debian.el?root=pkg-goodies-el
apt-utils.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/debian-el/apt-utils.el?root=pkg-goodies-el
debian-bts-control.el: https://alioth.debian.org/scm/viewvc.php/*checkout*/emacs-goodies-el/elisp/dpkg-dev-el/debian-bts-control.el?root=pkg-goodies-el
|----------------------------+-------------------------------------------------------------------------------------------------------------|
| File | URL |
|----------------------------+-------------------------------------------------------------------------------------------------------------|
| vendor/diminish.el | http://www.eskimo.com/~seldon/diminish.el |
| vendor/intel-hex-mode.el | https://raw.githubusercontent.com/emacsmirror/intel-hex-mode/master/intel-hex-mode.el |
| vendor/maxima.el | http://sourceforge.net/p/maxima/code/ci/master/tree/interfaces/emacs/emaxima/maxima.el?format=raw |
| vendor/maxima-font-lock.el | http://sourceforge.net/p/maxima/code/ci/master/tree/interfaces/emacs/emaxima/maxima-font-lock.el?format=raw |
| vendor/quack.el | http://www.neilvandyke.org/quack/quack.el |
| vendor/t2t-mode.el | https://raw.githubusercontent.com/txt2tags/plugins/master/Emacs/txt2tags-mode.el |
| vendor/winring.el | https://gitlab.com/warsaw/winring/raw/master/winring.el |
|----------------------------+-------------------------------------------------------------------------------------------------------------|
Byte-compilation
----------------
......
......@@ -322,15 +322,14 @@ in the `info' browser. Funny, that emacs doesn't have this by default. -ft"
:ensure t
:init (amx-mode))
(use-package apt-sources
:commands apt-sources-mode
:mode
("sources.list$" . apt-sources-mode)
("sources.list.d/.*.list$" . apt-sources-mode))
(use-package apt-utils
:ensure t
:commands apt-utils-show-package apt-utils-search)
(use-package apt-utils-ido
:after apt-utils
:ensure t)
(use-package auctex
:ensure t
:defer t
......@@ -649,6 +648,7 @@ It indents by four spaces and is otherwise similar to the BSD style.")
:mode ("\\.clj\\'" . clojure-mode))
(use-package cmake-mode
:ensure t
:mode
("CMakeLists\\.txt\\'" . cmake-mode)
("\\.cmake\\'" . cmake-mode)
......@@ -793,42 +793,8 @@ It indents by four spaces and is otherwise similar to the BSD style.")
(ft/load-theme 'ft-dark)
(ft/map-key "<f4>" ft/toggle-colours))
(use-package debian-bts-control
:commands debian-bts-control)
(use-package debian-bug
:commands
debian-bug
debian-bug-web-bug
debian-bug-wnpp
debian-bug-request-for-package
debian-bug-ITP)
(use-package debian-changelog-mode
:commands debian-changelog-mode
:mode
("/debian/*NEWS" . debian-changelog-mode)
("NEWS.Debian" . debian-changelog-mode)
("/debian/\\([[:lower:][:digit:]][[:lower:][:digit:].+-]+\\.\\)?changelog\\'" . debian-changelog-mode)
("changelog.Debian" . debian-changelog-mode)
("changelog.dch" . debian-changelog-mode))
(use-package debian-control-mode
:commands debian-control-mode
:mode ("/debian/control\\'" . debian-control-mode))
(use-package debian-copyright
:commands debian-copyright-mode
:mode
("debian/.*copyright\\'" . debian-copyright-mode)
("\\`/usr/share/doc/.*/copyright" . debian-copyright-mode))
(use-package deb-view
:commands
deb-find
deb-view-mode
deb-view
deb-view-dired-view
(use-package debian-el
:ensure t
:mode ("\\.deb$" . deb-view-mode))
(use-package desktop
......@@ -859,6 +825,18 @@ It indents by four spaces and is otherwise similar to the BSD style.")
:after ft-space-key
:config (ft/bind-space (list dired-mode-map)))
(use-package dpkg-dev-el
:ensure t
:mode
("/debian/*NEWS" . debian-changelog-mode)
("NEWS.Debian" . debian-changelog-mode)
("/debian/\\([[:lower:][:digit:]][[:lower:][:digit:].+-]+\\.\\)?changelog\\'" . debian-changelog-mode)
("changelog.Debian" . debian-changelog-mode)
("changelog.dch" . debian-changelog-mode)
("/debian/control\\'" . debian-control-mode)
("debian/.*copyright\\'" . debian-copyright-mode)
- ("\\`/usr/share/doc/.*/copyright" . debian-copyright-mode))
(use-package elisp-mode
:config
(add-hook 'lisp-interaction-mode-hook
......@@ -957,6 +935,9 @@ It indents by four spaces and is otherwise similar to the BSD style.")
(use-package font-lock
:config (setq font-lock-maximum-decoration '((t . t))))
(use-package forge
:ensure t)
(use-package ftblog
:commands ftblog/new-entry ftblog/meta-insert)
......@@ -1185,7 +1166,7 @@ buffer's working directory (which is available in the
(use-package import-snippets
:commands ft/import-snippets
:init (add-hook 'ft/post-import-snippets
(lambda (x) (magit-status x))))
(lambda (x) (magit-status-setup-buffer x))))
(use-package info
:after ft-space-key
......@@ -1537,7 +1518,7 @@ the file as PDF."
(add-hook 'org-agenda-mode-hook (lambda () (hl-line-mode 1)))
(w/function 'org-babel-do-load-languages
(w/function org-babel-do-load-languages
(org-babel-do-load-languages 'org-babel-load-languages
(mapcar (lambda (x)
(cons x t))
......
(eval-when-compile (require 'evil)
(require 'use-package))
(require 'use-package)
(require 'use-package-core))
(require 'use-package-core)
......@@ -41,18 +42,14 @@
(car arg)
arg))))
(use-package-concat
(use-package-process-keywords name-symbol
(use-package-sort-keywords
(use-package-plist-maybe-put rest :defer t))
(use-package-plist-append state :commands cmds))
`((ignore ,@(mapcar (lambda (x)
(cons 'ft/map-key
(if after
(append x `(:eval-after ,name-symbol))
x)))
(if (listp (caar arg))
(car arg)
arg)))))))
(use-package-process-keywords name-symbol rest state)
`(,@(mapcar (lambda (x) (cons 'ft/map-key
(if after
(append x `(:eval-after ,name-symbol))
x)))
(if (listp (caar arg))
(car arg)
arg))))))
(defun use-package-handler/:map (name-symbol keyword arg rest state)
(ft/map-use-package-handler name-symbol keyword arg rest state nil))
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
;;; debian-copyright.el --- Major mode for Debian package copyright files
;; Copyright 2002, 2003 Junichi Uekawa.
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
;;
;; debian-copyright.el is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with your Debian installation, in /usr/share/common-licenses/GPL
;; If not, write to the Free Software Foundation, 675 Mass Ave,
;; Cambridge, MA 02139, USA.
(require 'debian-changelog-mode)
;;; Code:
(defgroup debian-copyright nil "Debian copyright mode"
:group 'tools
:prefix "debian-copyright-")
(defcustom debian-copyright-mode-load-hook nil
"*Hooks that are run when `debian-copyright-mode' is loaded."
:group 'debian-copyright
:type 'hook)
(defcustom debian-copyright-mode-hook nil
"Normal hook run when entering Debian Copyright mode."
:group 'debian-copyright
:type 'hook
:options '(turn-on-auto-fill flyspell-mode))
(defconst debian-copyright-mode-version "$Id: debian-copyright.el,v 1.5 2010/07/28 15:33:45 psg Exp $" "Version of debian copyright mode.")
(defvar debian-copyright-mode-map nil
"Keymap for debian/copyright mode.")
(defvar debian-copyright-mode-syntax-table nil
"Syntax table for debian/copyright mode.")
(defvar debian-copyright-font-lock-keywords nil
"Regexps to highlight in font-lock.")
(if debian-copyright-mode-syntax-table
() ; Do not change the table if it is already set up.
(setq debian-copyright-mode-syntax-table (make-syntax-table))
(modify-syntax-entry ?\" ". " debian-copyright-mode-syntax-table)
(modify-syntax-entry ?\\ ". " debian-copyright-mode-syntax-table)
(modify-syntax-entry ?' "w " debian-copyright-mode-syntax-table))
;;;###autoload
(defun debian-copyright-mode ()
"Mode to edit and read debian/copyright.
\\{debian-copyright-mode-map}"
(interactive)
(kill-all-local-variables)
(setq major-mode 'debian-copyright-mode)
(setq mode-name "debian/copyright")
(mapcar 'make-local-variable '(font-lock-defaults write-file-hooks))
(use-local-map debian-copyright-mode-map)
(set-syntax-table debian-copyright-mode-syntax-table)
(if (or (not (featurep 'goto-addr))
(not goto-address-highlight-p))
(setq debian-copyright-font-lock-keywords
'(("http:.*$" . font-lock-function-name-face)
("ftp:.*$" . font-lock-function-name-face)
("^Copyright:$" . font-lock-keyword-face)))
(setq debian-copyright-font-lock-keywords
'(("^Copyright:$" . font-lock-keyword-face)))
(goto-address))
(setq font-lock-defaults
'(debian-copyright-font-lock-keywords
nil ;keywords-only
nil ;case-fold
() ;syntax-alist
))
(run-hooks 'debian-copyright-mode-hook))
;;;###autoload
(add-to-list 'auto-mode-alist
'("debian/.*copyright\\'" . debian-copyright-mode))
;;;###autoload
(add-to-list 'auto-mode-alist
'("\\`/usr/share/doc/.*/copyright" . debian-copyright-mode))
(run-hooks 'debian-copyright-mode-load-hook)
(provide 'debian-copyright)
;;; debian-copyright.el ends here
......@@ -652,16 +652,28 @@ Movement is restricted to the current line unless `evil-cross-lines' is non-nil.
:type inclusive
(interactive "<c><C>")
(setq count (or count 1))
(let ((fwd (> count 0)))
(let ((fwd (> count 0))
(visual (and evil-respect-visual-line-mode
visual-line-mode)))
(setq evil-last-find (list #'evil-find-char char fwd))
(when fwd (forward-char))
(let ((case-fold-search nil))
(unless (prog1
(search-forward (char-to-string char)
(unless evil-cross-lines
(if fwd
(line-end-position)
(line-beginning-position)))
(cond (evil-cross-lines
nil)
((and fwd visual)
(save-excursion
(end-of-visual-line)
(point)))
(fwd
(line-end-position))
(visual
(save-excursion
(beginning-of-visual-line)
(point)))
(t
(line-beginning-position)))
t count)
(when fwd (backward-char)))
(user-error "Can't find %c" char)))))
......@@ -2354,7 +2366,16 @@ non nil it should be number > 0. The insertion will be repeated
in the next VCOUNT - 1 lines below the current one."
(interactive "p")
(push (point) buffer-undo-list)
(back-to-indentation)
(if (and visual-line-mode
evil-respect-visual-line-mode)
(goto-char
(max (save-excursion
(back-to-indentation)
(point))
(save-excursion
(beginning-of-visual-line)
(point))))
(back-to-indentation))
(setq evil-insert-count count
evil-insert-lines nil
evil-insert-vcount
......@@ -2371,7 +2392,10 @@ The insertion will be repeated COUNT times. If VCOUNT is non nil
it should be number > 0. The insertion will be repeated in the
next VCOUNT - 1 lines below the current one."
(interactive "p")
(evil-move-end-of-line)
(if (and visual-line-mode
evil-respect-visual-line-mode)
(evil-end-of-visual-line)
(evil-move-end-of-line))
(setq evil-insert-count count
evil-insert-lines nil
evil-insert-vcount
......@@ -3084,10 +3108,11 @@ If ARG is nil this function calls `recompile', otherwise it calls
:entries
(cl-loop for (key . val) in (evil-register-list)
collect `(nil [,(char-to-string key)
,(or (and val
(stringp val)
(replace-regexp-in-string "\n" "^J" val))
"")]))))
,(cond ((stringp val)
(replace-regexp-in-string "\n" "^J" val))
((vectorp val)
(key-description val))
(t ""))]))))
(evil-define-command evil-show-marks (mrks)
"Shows all marks.
......
......@@ -1210,9 +1210,10 @@ This handler highlights the pattern of the current substitution."
(defun evil-ex-parse-global (string)
"Parse STRING as a global argument."
(let* ((args (evil-delimited-arguments string 2))
(pattern (nth 0 args))
(command (nth 1 args)))
(let* ((pattern (nth 0 (evil-delimited-arguments string 2)))
(command (and pattern
(>= (- (length string) (length pattern)) 2)
(substring string (+ (length pattern) 2)))))
;; use last pattern if none given
(when (zerop (length pattern))
(setq pattern
......
......@@ -7333,6 +7333,13 @@ maybe we need one line more with some text\n")
"no 1\nno 2\nno x\nyes 4\nno x\nno x\n[n]o 7\n"
("u")
"no 1\nno 2\nno [3]\nyes 4\nno 5\nno 6\nno 7\n"))
(ert-info ("global substitute with trailing slash")
(evil-test-buffer
"[n]o 1\nno 2\nno 3\nyes 4\nno 5\nno 6\nno 7\n"
(":g/no/s/[3-6]/x/" [return])
"no 1\nno 2\nno x\nyes 4\nno x\nno x\n[n]o 7\n"
("u")
"no 1\nno 2\nno [3]\nyes 4\nno 5\nno 6\nno 7\n"))
(evil-select-search-module 'evil-search-module 'evil-search)
(ert-info ("global use last match if none given, with evil-search")
(evil-test-buffer
......
......@@ -217,17 +217,23 @@ a line."
:group 'evil)
(defcustom evil-respect-visual-line-mode nil
"Whether to remap movement commands when `visual-line-mode' is active.
This variable must be set before Evil is loaded. The commands
swapped are
"Whether movement commands respect `visual-line-mode'.
This variable must be set before Evil is loaded. When
`visual-line-mode' is active, the following commands are swapped
`evil-next-line' <-> `evil-next-visual-line'
`evil-previous-line' <-> `evil-previous-visual-line'
`evil-beginning-of-line' <-> `evil-beginning-of-visual-line'
`evil-end-of-line' <-> `evil-end-of-visual-line'"
`evil-end-of-line' <-> `evil-end-of-visual-line'
The commands `evil-insert-line', `evil-append-line',
`evil-find-char', `evil-find-char-backward', `evil-find-char-to'
and `evil-find-char-to-backward' are also made aware of visual
lines."
:type 'boolean
:group 'evil)
(defcustom evil-repeat-find-to-skip-next t
"Whether a repeat of t or T should skip an adjacent character."
:type 'boolean
......@@ -1630,7 +1636,7 @@ Elements have the form (NAME . FUNCTION).")
`(((vdiff-mode)
:open-all vdiff-open-all-folds
:close-all vdiff-close-all-folds
:toggle nil
:toggle ,(lambda () (call-interactively 'vdiff-toggle-fold))
:open ,(lambda () (call-interactively 'vdiff-open-fold))
:open-rec ,(lambda () (call-interactively 'vdiff-open-fold))
:close ,(lambda () (call-interactively 'vdiff-close-fold)))
......
......@@ -21,7 +21,7 @@
;;-------------------------------------------------------------------
;;
;; Author: David Andersson <l.david.andersson(at)sverige.nu>
;; Maintainer: Vasilij Schneidermann <v.schneidermann@github.com>
;; Maintainer: Vasilij Schneidermann <v.schneidermann@gmail.com>
;; Created: 16 May 2002
;; Version: 1.7
;; Keywords: convenience, matching
......
;;; highlight-parentheses.el --- highlight surrounding parentheses
;;
;; Copyright (C) 2007, 2009, 2013 Nikolaj Schumacher
;; Copyright (C) 2018 Tim Perkins
;;
;; Author: Nikolaj Schumacher <bugs * nschum de>
;; Maintainer: Tassilo Horn <tsdh@gnu.org>
......@@ -69,6 +70,12 @@ The list starts with the inside parentheses and moves outwards."
:set 'hl-paren-set
:group 'highlight-parentheses)
(defcustom hl-paren-highlight-adjacent nil
"Highlight adjacent parentheses, just like show-paren-mode."
:type '(boolean)
:set 'hl-paren-set
:group 'highlight-parentheses)
(defface hl-paren-face nil
"Face used for highlighting parentheses.
Color attributes might be overriden by `hl-paren-colors' and
......@@ -98,17 +105,19 @@ This is used to prevent analyzing the same context over and over.")
(unless (= (point) hl-paren-last-point)
(setq hl-paren-last-point (point))
(let ((overlays hl-paren-overlays)
pos1 pos2
(pos (point)))
pos1 pos2)
(save-excursion
(condition-case err
(while (and (setq pos1 (cadr (syntax-ppss pos1)))
(cdr overlays))
(move-overlay (pop overlays) pos1 (1+ pos1))
(when (setq pos2 (scan-sexps pos1 1))
(move-overlay (pop overlays) (1- pos2) pos2)))
(error nil))
(goto-char pos))
(ignore-errors
(when hl-paren-highlight-adjacent
(cond ((memq (preceding-char) '(?\) ?\} ?\] ?\>))
(backward-char 1))
((memq (following-char) '(?\( ?\{ ?\[ ?\<))
(forward-char 1))))
(while (and (setq pos1 (cadr (syntax-ppss pos1)))
(cdr overlays))
(move-overlay (pop overlays) pos1 (1+ pos1))
(when (setq pos2 (scan-sexps pos1 1))
(move-overlay (pop overlays) (1- pos2) pos2)))))
(hl-paren-delete-overlays overlays))))
(defcustom hl-paren-delay 0.137
......
......@@ -28,10 +28,9 @@ buffer or move the point. htmlize will do its best to work on
non-windowing Emacs sessions but the result will be limited to
colors supported by the terminal.
htmlize aims for compatibility with Emacsen version 22 and later.
Please let me know if it doesn't work on the version of XEmacs or
GNU Emacs that you are using. The package relies on the presence
of CL extensions, especially for cross-emacs compatibility.
htmlize aims for compatibility with older Emacs versions. Please
let me know if it doesn't work on the version of GNU Emacs that you
are using.
[1]: http://htmlpreview.github.io/?https://github.com/hniksic/emacs-htmlize/blob/master/htmlize.el.html
This diff is collapsed.
This diff is collapsed.
language: generic
sudo: false
dist: trusty
before_install:
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- evm install $EVM_EMACS --use --skip
......@@ -9,6 +10,9 @@ env:
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-26.1-travis
- EVM_EMACS=emacs-26.2-travis
- EVM_EMACS=emacs-git-snapshot-travis
script:
- emacs --version
- cd tests && make clean && make test
......@@ -15,6 +15,14 @@
`markdown-font-lock-keywords` is now used instead, but users
should use `font-lock-add-keywords` instead of modifying this
variable.
- `markdown-mode` now adds entries to the beginning of
`auto-mode-alist` rather than the end. If you were relying on
the previous behavior in order to override these entries, you
should fix the problem by following best practice and ensuring
that your user configuration is loaded after the autoloads for
`markdown-mode` are evaluated. ([GH-331][], [GH-335][])
- Point at the end of fenced code blocks is no-longer considered
part of the code block ([GH-#349][]).
* New features:
......@@ -43,6 +51,14 @@
- Add custom variables `markdown-xhtml-body-preamble` and
`markdown-xhtml-body-epilogue` for wrapping additional XHTML
tags around the output. ([GH-280][], [GH-281][])
- Add `markdown-unused-refs` command to list and clean up unused
references (available via `C-c C-c u`). ([GH-322][])
- Add `markdown-insert-table` (`C-c C-s t`) for interactive
table insertion. ([GH-369][])
- Add `markdown-kill-outline` and `markdown-kill-block`
functions.
- Added `markdown-display-remote-images` for viewing remote
images. Thanks to Sean Allread for the patch. ([GH-378][])
* Improvements:
......@@ -73,9 +89,13 @@
via `markdown-sub-superscript-display`.
- Several font-lock performance improvements.
- Support horizontal rules consisting of underscores.
- Change default character encoding to UTF-8.
([GH-340][], [GH-350][])
* Bug fixes:
- Fix infloop caused by incorrect detection of end of code
blocks ([GH-349][]).
- Remove GFM checkbox overlays when switching major modes.
([GH-238][], [GH-257][])
- Don't test the value of the `composition` property to avoid
......@@ -101,7 +121,13 @@
- Fix precedence of inline code over inline links.
- Improve error reporting for `markdown` and `markdown-open`.
([GH-291][])
- Fix M-RET binding for terminals. ([GH-317][])
- Do not fail displaying inline images on empty links. ([GH-320][])
- Fix off-by-one error in `markdown-inline-code-at-pos`.
([GH-313][])
- Fix bounds during inline comment syntax propertization. ([GH-327][])
[gh-349]: https://github.com/jrblevin/markdown-mode/issues/349]
[gh-171]: https://github.com/jrblevin/markdown-mode/issues/171
[gh-216]: https://github.com/jrblevin/markdown-mode/issues/216
[gh-222]: https://github.com/jrblevin/markdown-mode/issues/222
......@@ -141,6 +167,17 @@
[gh-291]: https://github.com/jrblevin/markdown-mode/issues/291
[gh-296]: https://github.com/jrblevin/markdown-mode/issues/296
[gh-303]: https://github.com/jrblevin/markdown-mode/pull/303
[gh-313]: https://github.com/jrblevin/markdown-mode/issues/313
[gh-317]: https://github.com/jrblevin/markdown-mode/pull/317
[gh-320]: https://github.com/jrblevin/markdown-mode/pull/320
[gh-322]: https://github.com/jrblevin/markdown-mode/pull/322
[gh-327]: https://github.com/jrblevin/markdown-mode/issues/327
[gh-331]: https://github.com/jrblevin/markdown-mode/issues/331
[gh-335]: https://github.com/jrblevin/markdown-mode/pull/335
[gh-340]: https://github.com/jrblevin/markdown-mode/issues/340
[gh-350]: https://github.com/jrblevin/markdown-mode/pull/350
[gh-369]: https://github.com/jrblevin/markdown-mode/pull/369
[gh-378]: https://github.com/jrblevin/markdown-mode/pull/378
# Markdown Mode 2.3
......
......@@ -226,14 +226,18 @@ can obtain a list of all keybindings by pressing <kbd>C-c C-h</kbd>.
added to the end of the reference definition and will be used
to populate the title attribute when converted to HTML.
Local images associated with image links may be displayed
Images associated with image links may be displayed
inline in the buffer by pressing <kbd>C-c C-x C-i</kbd>
(`markdown-toggle-inline-images`). This is a toggle command, so
pressing this once again will remove inline images. Large
images may be scaled down to fit in the buffer using
`markdown-max-image-size`, a cons cell of the form
`(max-width . max-height)`. Resizing requires Emacs to be
built with ImageMagick support.
pressing this once again will remove inline images.
By default, only local images are displayed. However, remote
images will also be downloaded and displayed if
`markdown-display-remote-images` is non-nil.
Large images may be scaled down to fit in the buffer using
`markdown-max-image-size`, a cons cell of the form `(max-width
. max-height)`. Resizing requires Emacs to be built with
ImageMagick support.
* Text Styles: <kbd>C-c C-s</kbd>
......@@ -355,6 +359,11 @@ can obtain a list of all keybindings by pressing <kbd>C-c C-h</kbd>.
end of the buffer. Similarly, selecting the line number will
jump to the corresponding line.
<kbd>C-c C-c u</kbd> will check for unused references. This will
also open a small buffer if any are found, similar to undefined
reference checking. The buffer for unused references will contain
`X` buttons that remove unused references when selected.
<kbd>C-c C-c n</kbd> renumbers any ordered lists in the buffer that are
out of sequence.
......@@ -574,6 +583,9 @@ can obtain a list of all keybindings by pressing <kbd>C-c C-h</kbd>.
correctly when calculating column widths, however, columns
containing hidden markup may not always be aligned properly.
<kbd>C-c C-s t</kbd> (`markdown-insert-table`) is a general command for inserting new table.
The command prompts for table size and column alignment and inserts an empty pipe table at point.
* Viewing Modes:
Read-only viewing modes, `markdown-view-mode` and `gfm-view-mode`
......@@ -744,19 +756,19 @@ provides an interface to all of the possible customizations:
* `markdown-css-paths` - CSS files to link to in XHTML output
(default: `nil`).
* `markdown-content-type` - when set to a nonempty string, an
`http-equiv` attribute will be included in the XHTML `<head>`
block (default: `""`). If needed, the suggested values are
`application/xhtml+xml` or `text/html`. See also:
`markdown-coding-system`.
* `markdown-content-type` - used to set to the `http-equiv`
attribute to be included in the XHTML `<head>` block (default:
`"text/html"`). Set to an alternate value `application/xhtml+xml`
if needed, or set to an empty string to remove the attribute. See
also: `markdown-coding-system`.
* `markdown-coding-system` - used for specifying the character
set identifier in the `http-equiv` attribute when included
(default: `nil`). See `markdown-content-type`, which must
be set before this variable has any effect. When set to `nil`,
be set for this variable to have any effect. When set to `nil`,
`buffer-file-coding-system` will be used to automatically
determine the coding system string (falling back to
`iso-8859-1` when unavailable). Common settings are `utf-8`
`utf-8` when unavailable). Common settings are `iso-8859-1`
and `iso-latin-1`.
* `markdown-xhtml-header-content` - additional content to include
......
This diff is collapsed.
This diff is collapsed.
Now this a pretty [long][graphomania] text. Written to conclude a
period of intensive thinking, it spans many paragraphs, expressing the
author's original views on numerous [problems][] of our society. Once
published, it will draw international attention and spark
[controversy][problems] for months to follow.
[graphomania]: https://en.wikipedia.org/wiki/Graphomania
[logorrhea]: https://en.wikipedia.org/wiki/Logorrhea_(psychology)
[orphan]: http://some.link
......@@ -134,15 +134,11 @@
"tr_file_tty_messagesp"
"tr_float_can_branch_complex"
"tr_function_call_default"
"tr_gen_tags"
"tr_numer"
"tr_optimize_max_loop"
"tr_output_file_default"
"tr_predicate_brain_damage"
"tr_semicompile"
"tr_state_vars"
"tr_true_name_of_file_being_translated"
"tr_version"
"tr_warn_bad_function_calls"
"tr_warn_fexpr"
"tr_warn_meval"
......@@ -375,10 +371,7 @@
"trigexpandtimes"
"triginverses"
"trigsign"
"ttyintfun"
"ttyintnum"
"ttyoff"
"undeclaredwarn"
"values"
"vect_cross"
"verbose"
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.