Package: ledger-el
Version: 3.1+dfsg1-2
Severity: minor

Dear Maintainer,

With the current ledger-el, loading ledger-mode and attempting to comment out a 
region with the standard keybinding 'M-;' results in a prompt for the comment 
syntax of ledger files. M-; calls 'comment-dwim', which in this case calls 
'comment-region', whose prefix is controlled by the variable 'comment-start'. 
That variable is not set in normal use, and it is not defined in the packaged 
files:

    $ fgrep 'comment-start' /usr/share/emacs/site-lisp/ledger-el/ledger-mode.el 
 /usr/share/emacs23/site-lisp/ledger-el/ledger-mode.el  
/usr/share/emacs24/site-lisp/ledger-el/ledger-mode.el
    $

Upstream development added the relevant declaration in December 2014:

https://github.com/ledger/ledger/commit/7579057bc0e9b2f501059abcbb369acaa21ab361

A workaround is to specify it in one's .emacs like so:

    (add-hook 'ledger-mode-hook     (lambda () (setq comment-start ";")))

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ledger-el depends on:
ii  emacsen-common  2.0.8

ledger-el recommends no packages.

ledger-el suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to