yuhan0
9e1211fc1a
Rename outshine-define-key-with-fallback -> outshine-define-key
7 years ago
yuhan0
d28f94d58c
Bind <backtab> to outshine-cycle-buffer on headings
...
For consistency with org-mode. M-TAB is retained as an alternative binding for
compatibility with terminal usage.
7 years ago
yuhan0
a2218aa5f8
Intern named function when defining key with fallback
...
Interns a named function with appropriate docstring instead of a lambda,
so that calling describe-key (eg. C-h k TAB)
gives a more informative result instead of throwing up a lambda byte code
object.
7 years ago
yuhan0
0cd8f218b4
Change signature of outshine-define-key-with-fallback
...
Pass the command to call as a quoted symbol instead of an unquoted function
call, matching the signature of `define-key'.
Also remove the unhygenic variable capture of "arg" in the macro, since the
command is now being called interactively.
Note: this is a breaking change if the macro was used to define personal
keybindings outside of outshine.el
7 years ago
alphapapa
a7b3370648
Merge pull request #55 from yuhan0/tidy
...
Tidying up the code
7 years ago
yuhan0
c299a046a8
Tidy: remove orphan function outshine-toggle-subtree-comment-status
...
Also resolves the byte-compiling errors about looking-back called with too few
arguments.
7 years ago
yuhan0
bc0be06dd7
Tidy: Remove duplicated outorg commands in outshine.el
...
These functions were copied over to outshine-org-cmds.el in commit
bd43f2bbb9 , they are identical line-for-line.
7 years ago
yuhan0
c5589c5bee
Tidy: Remove outcommented regions in outshine.el
...
These large regions were extracted to outshine-org-cmds.el in commit
bd43f2bbb9 but commented out in the main file
instead of being removed
7 years ago
yuhan0
a3037be44d
Tidy: Remove outcommented function outshine-pt-rgxps
...
Last reference to this function was somewhere back in 2014, it is currently
unused anywhere else even in commented out code and should be safe to remove.
7 years ago
yuhan0
36c8fa8664
Typo: outlines -> outshine
7 years ago
yuhan0
90fdc05ee8
Typo: mover -> move
7 years ago
Adam Porter
c5e37eb04c
Docs: Rewrite readme
7 years ago
Adam Porter
f310f7a295
Add: LICENSE
7 years ago
Adam Porter
d656a02b9c
Docs: Update readme, move some stuff to notes.org
7 years ago
Adam Porter
f7629ee56b
Meta: Update headers, commentary, add notes.org and tasks
...
@thblt Now officially maintainer. :)
7 years ago
Thibault Polge
873827c03f
Merge pull request #38 from yuhan0/cycling-part3
...
Refactor global cycling code to outshine-cycle-buffer
7 years ago
yuhan0
353482666c
Fix documentation of outshine-org-style-global-cycling-at-bob-p
...
The original docstring had the conditions reversed.
7 years ago
yuhan0
0c4c085bdf
Refactor: simplify logic and edit docstrings
...
- Collapse some nested cond forms
- Simplify condition for global cycling
- Remove redundant calls to (outline-back-to-heading) and
(looking-at outline-regexp)
- Remove unused vars
- modify some docstrings and comments
7 years ago
Adam Porter
b9770d3e38
Merge: 3.0.1
7 years ago
Adam Porter
3edf0c61e9
Fix: (outshine--minor-mode-activate) Advise org-store-log-note
...
Fixes #45 . Thanks to @MartinBuchmann , @dzop , @yuhan0 .
Released as 3.0.1.
7 years ago
Adam Porter
87bd0e38e3
Docs/Meta: Update version to 3.1-pre and update changelog
7 years ago
Thibault Polge
1c3e1306a8
Update file headers ( Fix #33 )
7 years ago
Thibault Polge
b235ca95c4
Merge pull request #39 from kaushalmodi/patch-1
...
Add preceding space to outshine-mode lighter string
7 years ago
Kaushal Modi
a1f11776f5
Add preceding space to outshine-mode lighter string
...
It is conventional to have a preceding space before lighter strings so that all minor mode lighters do not squish together. There are many such examples in Emacs cores. To list to few, look at the definitions of `hs-minor-mode` and `eldoc-mode`.
7 years ago
alphapapa
0a63973069
Merge pull request #37 from yuhan0/cycling-part2
...
Fix #26 : rename obsolete functions to outline-*
7 years ago
alphapapa
b102b3251d
Merge pull request #34 from DamienCassou/fix-readme-code-blocks
...
Fix markup of code blocks in README
7 years ago
alphapapa
5f82407361
Merge pull request #36 from yuhan0/cycling-part1
...
Refactor messages in outshine-cycle
7 years ago
yuhan0
bf330503ae
Add numeric prefix argument to outshine-cycle-buffer
...
From functionality of org-cycle-buffer
7 years ago
yuhan0
8fc0e140da
Replace obsolete commands elsewhere
...
- outshine-show-more
- outshine-hide-more
- outshine-set-hidden-lines-cookie
- outshine-hide-hidden-lines-cookies
7 years ago
yuhan0
9a8021f174
Refactor out outshine-cycle messages and avoid logging them
...
Introduce a new function outshine--cycle-message that does log messages in
the *Messages* buffer (taken from org-unlogged-message)
Change docstring of outshine-toggle-silent-cycling to reflect this change
7 years ago
yuhan0
1784bf891d
Factor out global cycling code into outshine-cycle-buffer
7 years ago
yuhan0
eadea956d7
Replace obsolete commands in outshine-cycle function
...
This resolves obsolete warnings from the byte compiler
7 years ago
Damien Cassou
93a14c611b
Fix markup of code blocks in README
7 years ago
Thibault Polge
3b14bd3d5e
Merge pull request #32 from alphapapa/metadata-fix
...
Normalize metadata (Fix #28 )
7 years ago
Thibault Polge
022ce5fef3
Normalize metadata ( Fix #28 )
7 years ago
Adam Porter
8abcb2f46c
Tidy: Ran whitespace-cleanup
7 years ago
Adam Porter
b54cd7e3b9
Tidy: More tidying
7 years ago
Adam Porter
871deeb603
Tidy: Headers, comments, docstrings
7 years ago
Adam Porter
0f1e99e56d
Tidy: Keybindings
7 years ago
Adam Porter
0f3597faee
Remove: (outshine-version)
...
This variable is not used anywhere in outshine.el, outorg.el, or
navi-mode.el.
7 years ago
Adam Porter
aeda0d81c9
Tidy: (outshine-compatible-face)
7 years ago
Adam Porter
51e2e06c5d
Tidy: (outshine-hide-comment-subtrees)
7 years ago
Adam Porter
293807a76b
Tidy: (outshine-set-local-outline-regexp-and-level)
7 years ago
Adam Porter
d2ad53de4b
Tidy: (outshine-calc-outline-regexp)
7 years ago
Adam Porter
b01dd2e5d2
Tidy: Fix indentation and remove commented code
7 years ago
Thibault Polge
ce290c2bde
Merge pull request #29 from walseb/master
...
Update outshine-version variable
7 years ago
Sebastian Wålinder
dbd0d674f4
Update outshine-version variable
...
I was wondering why I couldn't update to 3.0, turned out this was the problem
7 years ago
Thibault Polge
d1e37053f1
Merge pull request #19 from thblt/be-a-good-minor-mode-not-a-nasty-override
...
[WIP] Convert to a minor mode (Fix #18 )
7 years ago
Thibault Polge
9fc552f426
Create version 3.0
7 years ago
Thibault Polge
8f4bb47e05
Restore default visibility when deactivating Outshine
7 years ago