Comments (1)
Yes, the paragraph filling commands are disabled for reason. In TaskPaper syntax every item (project, task, or note) can occupy exactly one line.
TaskPaper's file format is fairly simple. Here's how TaskPaper reads a file:
-
Files are expected to use the UTF-8 encoding and use
\n
to separate lines. -
A task is a line that begins with a hyphen followed by a space (
-
) which can optionally be prefixed (i.e. indented) with tabs. A task can have zero or more tags anywhere on the line (not just trailing at the end). -
A project is a line that isn't a task and ends with a colon (
:
) followed by a newline. Tags can exist after the colon, but if any non-tag text is present, then it won't be recognized as a project. -
A note is any non-blank line that doesn't match the task or project rules.
Indentation level (with tabs, not spaces) defines ownership. For instance, if you indent one task under another task, then it is considered a subtask. Projects, tasks, and notes own all items that are indented underneath them. Empty lines are ignored when calculating ownership.
Filling paragraphs will break this syntax rules.
If you want a cleaner outline view like on the screencasts, where long-line items are wrapped according to the syntax rules using soft line breaks, I recommend using adaptive-wrap.el
(included in this repository). The adaptive-wrap.el
sets the wrap-prefix correctly for indenting and wrapping of long-line items. The version included in this repository provides the adaptive-wrap-prefix-mode minor mode, which sets the wrap-prefix property on the fly so that single-long-line paragraphs get word-wrapped in a way similar to what you'd get with M-q
using adaptive-fill-mode, but without actually changing the buffer's text. The present version supports tabs, works on one-line paragraphs, and can be used in modes other than TaskPaper mode. In can be activated globally by putting adaptive-wrap-mode.el
on the load path and adding to .emacs
(require 'adaptive-wrap)
(add-hook 'visual-line-mode-hook
'(lambda () (adaptive-wrap-prefix-mode 1)))
(global-visual-line-mode 1)
from taskpaper-mode.
Related Issues (15)
- Add this to MELPA or Marmalade or similar HOT 1
- [Feature Request] Semantic comprehension of ISO weeks eg @due(w26) or @week(w26) by date queries? HOT 3
- Undo taskpaper-narrow-to-subtree? HOT 1
- Pressing C-c C-c clears the query string (not working) HOT 1
- About shortcut key. HOT 2
- How to do structured search like XPath? HOT 4
- [Feature Request] Please support org-roam style link concealing in the taskpaper syntax HOT 7
- moving and tagging with "project" HOT 1
- custom tag done via taskpaper-tag-faces not working HOT 2
- C-c C-d: put date time HOT 1
- Please don't bundle third-party libraries HOT 6
- Saved searches: Wrong type argument: stringp
- taskpaper-refile-subtree: Wrong type argument: listp HOT 2
- how do I `Widen buffer to remove narrowing`? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taskpaper-mode.