From: NeilBrown Date: Fri, 25 Aug 2023 05:55:56 +0000 (+1000) Subject: Review Welcome text X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=2c6b1f982b8d9628fa2a0445aedd6f0238aa51d1;p=edlib.git Review Welcome text *Welcome* text was getting old and irrelevant. Also clean out all remaining triage, as they are all done. Signed-off-by: NeilBrown --- diff --git a/DOC/TODO.md b/DOC/TODO.md index 2e7532f6..9b14eb3f 100644 --- a/DOC/TODO.md +++ b/DOC/TODO.md @@ -9,47 +9,6 @@ the file. ### Triage -- [X] clicking on link is BROKEN -- [X] tabs can wrap around a newline - with part of tab at end of one - line and part at start of the next. Do I want that? do_measure() - decides. YES. -- [X] in xcb, find-file draws result a pixel high, then moves done - when cursor moves -- [X] favourites... I want some favourite documents that are easy to - find, favourite directories, favourite make or shell commands. - Maybe that are found by moving "down" in history? Maybe alt-* - flags them? -- [X] merge command 9-A-m could work as one command. If there is an - active selection, the patch is moved to that selection. -- [X] merge command 9 must ensure selection is full lines. -- [X] if cursor position causes pane size to change, this doesn't - propagate. -- [X] When is left_margin used? Can I use it for hanging indent? If - not, how do I do that? Can I tab out, set margin, tab back for - text? Am I using points properly? -- [X] find a better way to handle "case when EOF is at the end" of - a non-empty line. -- [X] as renderline changes result if cursor is present, cursor pos - must ALWAYS be given. -- [X] write test view mode that treats each line in document as markup - so markup can be tested more directly. -- [X] in search-replace if you repeat :A-Enter, chars get deleted - if - replacement string is shorter. If longer, they get added. -- [X] path completion in shell command. If cannot find look for '/' - following punctuation (=) and try there. -- [X] resolve shift-left vs shift_left distinction - add a "fixed" - suffix? Also consider render-wrap -- [X] should zoom affect whole window, not just pane? -- [X] ditch cached-size for images - store in pane data instead. -- [X] use foreach_attr for parsing image details - expected -- [X] ./edlib -g doesn't work -- [X] Store welcome page in a separate document -- [ ] revise *Welcome* page -- [X] K:ESC should cancel any current selection. -- [X] lib-diff : self.which should be used to determine which filename - to grab. - ### Small - [ ] notmuch addresses in From: list to have menu to add address to diff --git a/data/Welcome-edlib.txt b/data/Welcome-edlib.txt index 00ad06f5..504be141 100644 --- a/data/Welcome-edlib.txt +++ b/data/Welcome-edlib.txt @@ -1,25 +1,22 @@ -Welcome to 'edlib' - a document editor that comes in well defined pieces. +Welcome to 'edlib' (also 'elma') - a document editor that comes +in well defined pieces. -Current functionality includes: - splitting and closing windows (C-x 0,1,2,3) - Resize current window (C-x },{,^) - Move among windows (C-x o,O or mouse click) - Opening a file or directory (C-x C-f) - TAB performs file-name completion in a menu - Save files - current one (C-x C-s) or all (C-x s) - Open a document by name (C-x b) - with TAB completion - Open a file or document in another pane (C-x 4 C-f,b) - Kill the current document (C-x k) - Movement by char, word, line, page, start/end file (standard emacs keys) - Insert/delete text - C-_ to undo and redo changes - C-s to search (incrementally) in text document - Visit list of documents (C-x C-b) - Open file from directory list, or document from document list ('f'). - Open file in 'hex' view from directory listing ('h'). - Numeric prefixes with M-0 to M-9. - Run make (C-c C-m) or grep (M-x grep Return) +Many common emacs commands work mostly as expected. +So particular features include: -And C-x C-c to close - type 's' to save or '%' to not save in the pop-up +(:A is the Alt key prefix. :C is control) + :A-x nm - enable reading of notmuch email + :A-. - perform 'grep' or 'git-grep' for word under cursor. + :A-x autospell - enable spell checking. right-click of menu of corrections. + :A-x diff-mode - view a diff/patch usefully. Press :Enter to find + location in file. + +In the document list (:C-x C-b) typing "H" will open in hex-view mode. +Typing "P" will only ".md" file as a presentation. + + +Use C-x C-c to close - type 's' to save or '%' to not save in the pop-up Mouse clicks move the cursor, and clicking on the scroll bar scrolls + +Enjoy!