danielmagnussons / orgmode

orgmode is for keeping notes, maintaining TODO lists, planning projects, and authoring documents with a fast and effective plain-text system.
MIT License
753 stars 70 forks source link

Tab Trigger For '<d' inserts date with HTML syntax #40

Closed examinedliving closed 9 years ago

examinedliving commented 10 years ago

This is an issue in the sense that it is just annoying enough to make me wanna kill myself, but it is not a bug as such.

There is a completion somewhere in the package that allows for quick insertion of the date or time. And for whatever reason, this completion is active when using html as the syntax

The tab trigger for the date is <d and then Enter or Tab.

Where else do you think <d might be used in HTML at the start of a line or code block?

I'm sure there is an easy tweak in the settings, but after grepping and not find 'date' or 'time' in the files I looked in, I gave up.

danielmagnussons commented 10 years ago

Somehow this date should be limited to .org files, not sure how to do it.

Just comment out the class, OrgmodeDateCompleter to make it work as you want ;(

https://github.com/danielmagnussons/orgmode/blob/master/orgmode.py#L453

danielmagnussons commented 9 years ago

Your issue should be resolved with https://github.com/danielmagnussons/orgmode/commit/ffce17e30fe0595ea46a8bce0968b74b13e61939

Thanks for posting issue =)