ledger / ledger-mode

Emacs Lisp files for interacting with the C++Ledger accounting system
GNU General Public License v2.0
381 stars 76 forks source link

Syntax highlighting doesn't register automatic transactions #10

Open alethiophile opened 7 years ago

alethiophile commented 7 years ago

When I type an automatic transaction, it often seems to register as a comment and highlight accordingly. (Notably, though, indentation and tab-completion still work in such transactions.) This behavior is intermittent and unpredictable.

When an automatic transaction does highlight as a transaction, it registers the transaction condition as an uncleared payee, and so highlights it in red. This is probably not the correct behavior, since automatic transactions do not have a cleared/uncleared state.

thdox commented 7 years ago

I have in my private git repository, several commits that fix several issues of syntax highlighting. Some of my commits are related to automatic transactions. I will propose them as pull request as soon as pull request #6 will be merged.

thdox commented 7 years ago

@alethiophile, if you have some examples, I can check on my private repository that your issue is fixed.

enderw88 commented 7 years ago

Propose away. I merged #6 this morning.

On Sun, Dec 4, 2016 at 7:44 AM, thdox notifications@github.com wrote:

I have in my private git repository, several commits that fix several issues of syntax highlighting. Some of my commits are related to automatic transactions. I will propose them as pull request as soon as pull request

6 https://github.com/ledger/ledger-mode/pull/6 will be merged.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ledger/ledger-mode/issues/10#issuecomment-264707903, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1rLF3CVISeaDELdSwaTTboB5zuMrJRks5rEtHngaJpZM4LDZFU .

-- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com