monnier pushed a change to branch scratch/polymode. at 63d2c21849 Fix copyrights for GNU ELPA
This branch includes the following new commits: new b949e4f81e gathered some stuff together new 97b1ef8fe3 noweb sort of works with fundamental inner submode new cd04c11541 Noweb works + new class for auto generated multi modes (i.e. markdown, org-mode) new 9685e7c4d2 refactoring pm/get-innermost-span into method pm/get-span on config objects new 2cd8d39334 Auto-multi mode suport added and R markdown works! new 91e5f87a54 add functionality for minor polymode (aka minor markdown, minor org-mode) + a bunch of other improvmeents new 97461366c5 to avoid jit-lock infloping, just reinstall the base mode, even for minor-mode :( new ffb5bc427a cleanup new 4e134236b9 add Rhtml and Rbrew + partially RCpp new 6f76fa896f Add suport for non-regexp matchers (like Rcpp, cppR) new 2a4be8d5f6 adding Rcpp and cppR but font-lock in c++-mode infloops :( new 9e41bf4a18 making work C++R, R+C++, ess-help; adding highlighting of chunks; making local vars work new e3ddaf1c77 rearangement and categorization new ade6760c2e add gitignore new 7034c0e03b add readmes new 1f23a6bec7 rearangement + cleanup new f0aba3dc60 further cleanup new f924ee7e10 remove dbg info and protect post-run hook new 603f70b074 readme new 6505861aa0 auto mode local vars new 293e76f6b4 typo new ec01be8bf6 readme new 0c2026fe68 add screenshots new 6ffca064c5 readme new 177e0603bb light theme for screenshots new efc928ccdb change size new 28ca009887 more readme new eb372e3e31 add minimal.Snw new b51865f44e no need for major-modes, interactive functions are just as fine new 7004a83e4d solve syntactic font lock and indentation (still partially) in C++ mode. new 417bad9a9e figured out the cause init infloop new b477c78095 new (define-polymode ... system new d3a4e3ae1c cleanup new 4e90698597 rearangement + code simplification new 93e47cf445 transfer buffer-invisibility-spec (to make, things like hideshow work) new f11450b93a tests new 060a0da173 add motion commands new e97467fe7d add kill, narrow, toggle commands new 4a77ed45b7 add "not implemented" commands new e7ad55901b Rd and general support for "blank" base modes new a5d5e95224 proper markdown and noweb modes new 4f3cc9837c add menus new e64b73010c improve documentation new 657ded562a fix markdown auto-mode-alist new 52b52a69ad no need for defcustom for R-help and R-rd modes. new a7ccec8508 readme new cd8e679a79 correct mode associations new b27d727202 auto-mode don't throw error if mode not found new 91c17f5b92 defvar polymode-mode new 4335e997ce nimial.Rnw new 75e58a4684 add pm--sel-buf for debugging purpose new d6b1218ed9 solve color glitch new 8066727ece solve object-name var problem in emacs 24.3.5 new d4698b0c6a Check for R dialect in help buffers new 6efdfc7fbf always transfer buffer-file-name from base buffer new 2e6a1c77cb no overlays for chunk highlighting new a796eac21f add basic head/tail highlighting new 1023018b17 cosmetic new 831ee3ce5c remove polymode-head-face new 2afdd4fd92 add pm/syntax-begin-function new 7a58a32e8f in font-lock don't move irrelevant poly-buffers in front new f75a4c87bb add :indent-auto-insert functionality new b9505f7c69 mark inner chunks and set flyspel hook new 55e5ee9772 cosmetic new 3f6e281978 set inner-submode property in pm/fontify-region new 93ac8f5d04 reimplement indentation new df1c201b2b remove auto-insert new bbedb09859 cosmetic new e9c8159457 readme new 087dee76da Avoid use of pcase in pm--set-submode-buffer new fb823efbdb new test cases new c3a36c37d7 1st try to implement a 3-mode usage with rapport's templates with markdown, R and YAML new 422a43bab4 cleanup new a446258d75 add initialize methods for pm-config-multi new 326a532cfd add support for RAPPORT new e90e08805a add Minimal.rapport exampmle new 0039e93617 add ANOVA.rapport new fabb456531 typo new 697bc3e2d0 get rid of bad markdown hooks new 763c095b53 doc adjust new 82a2a972d6 more careful treatment of outer modes new 74b04a6606 treat base-mode intersections for auto-modes new c2c65e373a add :init-functions slot to allow flexible user customisation of config objects new b4cf0d856d generic workaround for markdown font-lock bug new 1f76844e51 document polymode initialization in a comment new 94422b325a fix wrong narrowing new 5353e976c1 rearrangements new 41ba3d16b5 pm/fontify-region: use condition-case instead of unwind protect new d79303bc6c :indent-offset slot to shift chunks by a predefined amount new 67d77bc7eb refactor new eccb7dad3e add electric < to noweb modes new 159205e4a2 adjust doc string new cacec13c10 typos new b58c5568a6 add :map as part of the class definition new 290d93692b adjust electric < new 6e9b826620 add demo img of using rapport with polymode: Markdown+R+YAML new b75dbde211 add img tag to README new 4fdf27f8cd Merge pull request #14 from daroczig/master new 9418ce254b names re-factoring new e63eec3c71 refactor2 new 6cc28b3ab2 first draft of the dev docs new 6620a8e3f6 typo new dc0b8c95ff more docs new f1ae674738 refactor: innermpde -> chunkmode new c8765d36b8 working export backend new 2d07fdface remove old doc new 4b3c58615c add tangle and weave stub files new d1f47bd4c8 better class doc new 0d683e75aa add -hist slot new 36e72daaee finished exporter interface new ad5cc0b4a8 don't kill process buffer new 940ff7d699 refactor new f8beb65cdb improve exporter docs new 8d1471a13c finished weaver backend new 85b29b9022 uniform shell command invocation new 744525563d remove all *-names in slots new 7ba538346d correct custom groups in poly-r new 7fce7f9807 add knitR and Sweave shell weavers new e091607dc9 fix exporter registration macro new 940a3ca28a fix #21 new a7c6031998 finish R and ESS related weavers new e6dc2e1f47 2-step exporting and implement pm-weave/pm-export methods new 8034c798ec typo new d16e17aff3 smooth out weaver<>exporter integration, new 669770b035 more exporter + weaver fixes new 36351cc1eb add polymode-configuration.el new 8692f229ff more exporters, autoloads and a bunch of random stuff new e4a272f791 readme additions new 5527b2d2c8 dev readme new fb1d1a70f2 readme typos new 6e2502cd80 readme typos new de3382e3a9 highlight emacs dev warning new 9d63303a73 document polymode initialization new db4257a5b7 rearange markdown code new f24bc0817e internalize :buffer slot in submode objects new f72af24c64 tidy main polymode code new e679b84afd adjust methods code for :buffer --> -buffer change new 635e3d84d9 add poly-org-mode new f8c087df34 move development doc into /modes subdir new d67a4ecdc2 fix compiler warnings new b4e34354a1 idem new fdc4bea2cd adjust autoload cookies new 2e029a6553 revert new 17a3b05115 add dependency new d217b08428 more compile adjustments new 2e04c4ba69 don't evaluate config symbol in define-polymode new a6f745df18 extract common code into polymode-common.el new 376407ed04 idem new 8e33a8c55a move all internal stuff in polymode-common.el and fix some compiler warnings new d574ad7158 some more moving around for structural clarity new b8a5538e7d add org-mode screenshot new 1c36616e75 readme new eeb6ce2bbd documentation new 3485e016f8 remove markdown as explicit package dependence new 9edb4cc59e doc fixes new a8e1fcd255 update pkg description new 3a7faed8fb added to MELPA new 586f9c850c readme new 3b5407ed60 readme bad formatting new 48af3c1210 Fixing header comments and formatting new 6b07f4410b Merge pull request #23 from zenspider/patch-1 new 5e5387d4eb fix #24 new bdb0b650f3 Merge branch 'master' of github.com:vitoshka/polymode new 3e797f2908 load poly-base in polymode.el new 50eebefe82 refactor methods' "pm/" prefix into "pm-" new 29a1c33db2 refactor pm-config into pm-polymode class new efc4ee4932 fix map inheritance in define-polymode new 3f5e239d71 refactor polymode custom group names new 3ec6a60075 Add preliminary glossary to dev docs new 6d884201b0 fix regexp error on unqualified md chunks new 079c0c5671 idem new 8a95030a64 major refactoring to accomodate new chunkmode naming conventions new 9daad6fb43 rename polymode-root --> pm-root to avoid semantic confusions new 9ea628d664 correct custom groups names new 75c8905a34 dev docs are finally ready new cc3d31ccc2 minor rearrangement new 5ccb423e0a more dev docs improvements new 6cc89cbbf0 idem new 49c7b28a6e idem new 2f94fe3c56 idem new 8b05730b8e dev docs: cleanup the flow new befc97da2a typo new c529287f02 readme comprehension new 9dce599805 fix grammar in docs new 974734ed3c hopefully temporary jit-lock fix for emacs > 24.4 new c6a3ba783d example of a noweb file with multiple code modes new 5a64e42dd2 move all samples into samples folder new bc30c805df remove emacs devel warning new 0cdc85c67d [Fix #27] require format-spec new 9ea8ab9346 Allow symbol argument to `pm--get-mode-symbol-from-name` new f87f2531c2 [Fix #50] Make use of :retriver-function new fa7281bc14 Gitignore [weaved] files new 7c4983c554 [Fix #52] Remove `bury-buffer` call from `font-lock-fontify-region-function` new 9b20eba06e Correct spelling error in readme.md new 2b9d196282 Merge pull request #61 from ljos/patch-1 new 8749b0de27 Workaround for eieio bug#20420 in emacs 25.0.50 new 55f0349417 Fix past participle of "weave" new 52502516ad Add stability badge new ad275b88fd Use `font-lock-prepend-text-property` for adjusting chunk face new e09a5ec680 Adapt pm--object-name to new eieio changes new dd89ba8b05 Add black matcher macro new b091e9f8fe Add poly-slim polymode new 5c35c4854e Fix typo new f931a1ed44 Add some ERB modes new fe859739cf Minor comments and doc fixes new 4233b2e977 Add auto-mode-alist configuration examples new 3ef5cc710b Add slim-markdown support new ac4ecd6165 Add css and scss new b036eee790 Fix poly-erb modes new 0c29e343a8 Update modes new 7faddff00d Add slim examples new de314968db Update README new e1f2800659 Merge branch 'feature/poly-slim-and-erb' new 92515331da Display process buffers on weaving or exporting new bafeadc3ce Move & rename creat block matcher macro new 02eca45d6f Remove redundant file new 50fb314b89 Merge pull request #66 from siassaj/master new a641e9bb45 [Fix #69] Remove explicit "requires" new bb9ce4bcb2 Allow `lang=` mode prefix in Markdown code blocks new 5a101bed2c Merge pull request #74 from mavit/remarkup new 67c2047b80 Fix some minor typos in documentation new 535ac83d87 Note that :head-reg and :tail-reg can be set to a function as well as a regexp. new 28c6bd8f10 Merge pull request #76 from vyp/doc-typos new 0143ef8174 Merge pull request #77 from mavit/reg-doc new e3917e99a4 Remove reference to font-lock-beginning-of-syntax-function new a6c2bb0036 Add package footer for emacs packaging convention new 6a60de7cd6 Merge pull request #78 from syohex/packaging-convention new 7f6ea64d04 Doc fixes new 467ad13b4d Add Rado Rodopski's verilog polymode new 826a7f9825 Add loads of helper debug functionality new 5ebf6044db Rewrite reg-reg span matcher new d141afa37d Typo new a0a7e99de4 Small re-arrangements new 31bcb789c1 Add verilog config to examples config new d113ae3e2c Move debug stuff into polymode.el proper new 379fe0b6fb Document debug facilities new d372cb1a09 Add missing debug methods new 3f8ac092ec Add debug.png new 997e409a57 Cleanup in reg-reg matching new a7302466da Fix issues with killing indirect poly buffers new 1d4a31a082 [Fix #38] Always widen before selecting a buffer new b9dc94728e Anchor @ at bol for noweb chunks new 1727faf8a4 Escape special characters to prevent shell errors new af589492a4 Merge pull request #84 from Jehops/sqa new e67c92a93d Major rewrite new 6c6e4b0fca Silence some compiler warnings new fae83f17fb Wrap mode function into condition-case new 017628c1ac Rename coffee modes into foo+erb new 65c6cf5851 [Fix #75] Improve on erb chunk regexp new dea4cd0ed1 Fix indentation in md new 39714c1c14 Fix infloop in `font-lock-extend-region-multiline` new 3ccf1bca5a Add end of string markers to auto-mode-alist regexsps new 23223969e1 Report current time in traced functions new 862ec40227 Anchor noweb start chunk to bol new 9764ed6b9a Add support for emacs 25.1 eieio-named new e90497a1e4 Don't use version for selective advice new 549c7618f3 Set 'fontified t when not poly-lock-allow-fontification new ad5490bcdb Execute syntax-propertize narrowed to chunk new 611dd2ec16 Cache spans in text properties new 230c025e2c Don't throw errors in syntax-propertize advice new 68c008af90 No tabs in project new 48f058fa25 Use `completion-read` instead of `ido-completion-read` new 77b86aeec6 Fix weather doc new 1cbf2c7cbe Add regexp tracing facilities new be3fd62171 Rewrite weaver/export subsystem new 56133760fe Implement polymode-switch-buffer-hook new bda3aef6d2 [#41] Add integration for evil mode new ca7ec94555 [#7] Don't move linum overlays between buffers new 5b3ebbcc26 Exclude woven and exported files in .gitignore new 10d65ad3b2 Add yaml.md file by Fernando Mayer new 871ebe5a29 Fortify buffer at startup new 93cabe1713 Slight readme and comments cleanup new c7b427423c Workaround for Emacs clone bug #22840 new 700cb0e2e6 No modification hooks in fontification-function new c469a7818f Remove compat for eieio-object-name new c943b46a9b Cleanup of pm--create-indirect-buffer new 7ef2847c0d pm-debug enhancements new 4beab12af4 Add .tmd to .gitignore for local tests new 2528937aed [Fix #6, fix #67] Narrow ESS evaluation commands to span new cb93427033 [Fix #19] Move read-only status across buffers new 24ccc946be Implement fallback mode new 5c0dd1bb22 [#80] Execute fill-paragraph narrowed to span new 2e6a21da0d Misc comments and new pm-execute-widened new 0205c125e8 [Fix #88] Protect advice-add new eb87089686 Add initialization control with pm-initialization-in-progress new 1fc2527965 Use eval-after-load as compat for Emacs 24.3 new 968afad1f3 Cleanup of poly-lock-fontify-region new 12545a6523 Save excursion in pm-get-innermost-span new b7d1feddeb [Fix #41] Keep same state regardless of the state in evil mode new 8a62b59d01 Add back blank mode new 59ff99d65c Fix out of range in cached spans new 3a8bc830fa Transfer default-directory to shell weave/exporter buffers new aee9f49cb9 [Fix #89] Quote files only in shell processors new fb781c96dd Use namespace reference instead of library(knitr) new c2f069409e Add -hist to root class, and quote slot to weaver and exporter new 44be78f810 Remove silly error handling from the shell callbacks new 5147629c88 Implement selector based weaver/exporter specs dispatch new aaea704ef3 Implement selector based dispatch for exporter new 6a4ee71f08 Rename -hist metadata storage with more generic -prop new 0fd56fc982 Better error handling in process callback new 9cc5101635 Fix incorrect handling of export history new b1e74b1158 Fix pdflatex command new 847d08b3f4 Reorder specs in latexmk exporter new 8a75be2e51 Fix a range of issues with weaver and exporter selectors new 41352c3aa8 Fix error when :head-reg is a function not string new 8488a4375f Protect display from silly errors new 186a49e5d7 Implement dynamic output detection and allow for multi-file display new 4c030829b8 Use namespace prefix new 9e83bffb56 Ensure that output guesser function is not treated as string new 8087a9847f Amend documentation of the exporter new 20f761edf1 [Fix #30] Add extensive support for Rmarkdown new f3e451d778 Typo new 4e0f0b5037 More meaningful order of R processors' definitions new ac1c1137f8 Extract weaver/export commonalities new d080c39679 Use more meaningful file format conventions new 9698b298c3 Add note on output names with Rmarkdown auto detect spec new cc6490eb06 Don't re-process if not needed (polymode-skip-processing-when-unmodified) new 34a5decacd Back to AUTO DETECT new 798791812d Don't forget to pass file sniffer new da6e8dc980 Update .gitignore new 8e00429654 Force reversion of visited ouput files new 800e34e5c9 Implement selectors for weavers new a34086e41e Display output buffer even if unchanged. new e292c9e507 Add flush ppss cache in all buffers before change new 227a00ba55 Tracing improvements. new a06b9f3a97 Remove uses of pm--restrict-widen new bfa8dffbd6 Remove usage of parse-sexp-lookup-properties new 4ebc1cb9d2 Use pm-with-narrowed-to-span and add pm--reset-ppss-last-maybe new 9df6882038 Better protection in advices new 8f54cea019 Advice each syntax-region expansion function with overwrite-cons new c19d58744b Merge pull request #90 from mavit/head-reg-as-function new 04fe91d6e8 Use cl-flet new 3f534420fd Pass span explicitly to pm-with-narrowed-to-span new 40d92699e3 Improved advice system (again) new a77b5aa69e [Fix #91] Execute query-replace without modification hooks new 5542f1e57a [Re-fix #89] Don't forget to quote new 32dcd081df Never forget save-excursion in map-over-spans new 689776307f Protect map-over-span from infloops and switched buffers new 7dfc1d15f0 Rewrite indentation and add :init-functions to chunkmode objects new b915578aec Simplify method system new 068038b103 Implement :switch-buffer-functions hooks new 3d031b5c6f Deal with read-only transfers in R help buffers new 238bb15775 Run init hooks for hostchunk as well new fdedc7150e Add polymode-init-host-hook and polymode-init-inner-hook new a798087d29 Fix indentation of continuation lines with :indent-offset chunks new 7c333d9512 Don't change buffer in indentation new a24a5e9564 Update .dir-locals new 6785334d94 Use save-current-buffer instead of save-excursion new b1d9b9ce6d Save match data in after-change new ee0bde9ee6 Add sync points function new 1a32086dd3 [Fix #93] Inhibit mod hooks during save for now new e58c18e11f Re-arrangement and renaming of core hooks new b1fdbb35df Don't re-init poly-lock--fontify-region-original new bdbb54a55e Move debug stuff into separate polymoe-debug.el new 9cd507992e Rename polymode-common.el -> polymode-core.el new 0298cd72aa Whitespaces new a41565bd0f Move core functions from polymode.el to polymode-core.el new d519f55e31 Move pm-initialization-in-progress into core new 3a00506eda [Re fix #93] Protect save-buffer with save-excursion new d0bf788c35 Make spans optional in internal indent functions new be45dae48c Add advice for python indentation function new 0b68ee2752 Add python chunk to minimal.md new 993c8b8ebd Update modes/readme.md new 33c35fbfb9 Fix %def regexp in noweb modes new 46b17263b5 Preserve line truncation, word wrap, visual line etc state new cf8ec1c8ff [Fix #96] Add new custom polymode-mode-name-override-alist new 1a2a48c29d Make markdown retriever regexp syntax table independent new 692464faf9 [#96] Remove dependence on `alist-get` new ce78726485 [Fix #97] Include ending } in md regexp new 461a6091e7 Don't bind font-lock-fontified (it has no effect anyways) new 3e4556d5c4 Add elisp -> emacs-lisp to mode-name-override-alist new 8439509c5a [Fix #98] Don't allow commas as part of mode name new bbe56f73b0 Re-use -innermodes and remove -auto-innermodes slot new 3140b145e5 Allow head-reg, tail-reg and retriever-regexp to be conses or functions new 96de3f08eb Aesthetic new d0b9384059 put } back new 7cdc66c7a9 Fix span dispatch inconsistencies and obsolete pm-polymode-multi-auto new 4ac5231b50 Merge branch 'master' into next new e3f144da36 [Fix #71] Allow inline spans in markdown new 48da44258e Rename :head/tail-reg into :head/tail-matcher new 2c6b00a7f5 Simplification and refactoring of the class hierarchy new 6bb2c66da6 Rely on jit-lock-fontify-now and jit-lock-function new 2fc0f77e72 Aesthetic new d44c93a1ad Fix incorrect fortification on deletions new 3885f1bde0 Merge branch 'master' into next new 6c0a474f18 [Fix #102] Open html files with browse-url new b6366e6c4b [Fix #103] Keep same text-scale-mode-amount across buffers new 8a39ed6817 [Fix #100] Move hl-line in across buffers new 3f1edfeded Merge branch 'master' into next new 5cf6c530d2 Add missing autoloads new 701f080e34 minor new 001981277e Merge pull request #112 from knu/add-autoloads new ac8d599d3e bug in pm--display-file new ef56a732cb Merge pull request #118 from plantarum/master new 4f5d025adf Add missing autoloads new 7bad231bfd bug in pm--display-file new f0f8e1e391 [Fix #122] Add xelatex and lualatex exporters new a29b8a07cc Remove annoying choose weaver y/n new 93de0036d3 [Fix #122] Add xelatex and lualatex exporters new 25dffa074d Remove annoying choose weaver y/n new f72ab719c0 [Fix #126] Improve markdown regexp new a637b826ad [Fix #126] Improve markdown regexp (on next) new 4cc410d9b9 Add weave.md with julia example to samples new 0340f5e7e5 [Fix #127] Check also for downcased mode symbols new b14291dc45 [Fix #127] Check also for downcased mode symbols new ae4e2614d5 Add extra chars to inline markdown chunk new 9f53160b54 Add support for latex blocks in markdown new f251b10175 Add knit_root_dir to rmarkdown::render new 4610c34d99 Document font/jit/poly-lock system new 0a93e07a06 Fix a range of syntax and font-lock issues new 158c4963ff Improve on debugging functionality new 99ae62b332 Doc and indentation fixes new 652be9af8b More general rnw and rmd auto-mode-alist new 97a1bdf24e Fix ppss caching n emacs >26 new 4a6259d0b8 [Fix #138] Make minimal.Rnw and minimal.Snw the same. new 464babe169 [Fix #137] Add a few more mode names overwrites new 1dfe68288d Implement simple "verbose" logger new a7365023af Don't remove syntax-propertize-extend-region-functions new aba1594eac Move `parse-sexp-lookup-properties` protection to a better place new 1c1baed9a8 Doc fixes new 38deb09318 Better inline markdown code regexp new ffc542fe0f Simplify pm-inner/markdown-inline head/tail regex new 5f26fe7b00 Don't ignore 'no-fallback in name retriever new fa4ba9d8b2 [Fix #79] Fix `find-file-alternative` (C-x C-v) new 3131197f61 Improvements in poly-lock new 6c89dbc0f1 Cleanup and doc new 16915c5107 Better output-cons advice new 712fe4340d Move span caching into pm-get-span new ababfa480e Add markdown tests new ada19af0e7 A few doc and code cleanups new 8431013701 Refactor span computation (remove pm-config pm-get-span method) new e7a4005d6b Move background computation to poly-lock new 285bc987cb Improve verbose messaging new e10e242678 Write a few poly-markdown tests new fb2e851f89 Add Makefile and targets new 2ca64dfedd Implement testing infrastructure for polymode new 9c2d0aa2f3 Add matcher test infrastructure new b20137cdb8 Rename markdown inner modes new 44868dae55 Temporary fix for markdown infloop new 2ba823df15 Flush span cache when appropriate new c255a9c4c2 Simplify map-over-span and reg-reg matcher new d3a4b4c7bd Add test target new 28e1922ada Add reg-reg test and cleanup test utilities new 4a6a53900d Cleanup polymode-debug new 0f2611fccb Add GPL headers and lexical scope new 97b5d4ed0a Make jit-lock-start and jit-lock-end explicitly dynamic new 0f729e5532 Make pm-select-buffer plain function dispatching directly on spans new 07535d4cef Check for pm/polymode in mode function instead of pm/initialize new bdb19b320b Documentation and code formatting fixes new 93c34b29af Fix fun-fun matcher new 221f7b6a66 Add more matcher tests new c97e86db26 Remove reg-reg lookup in favor of fun-fun lookup new 6296eb1990 Don't rely on dynamic var in pm-select-buffer new de07b52660 Don't use obsolete classes in the core code new 42e5b88c2a Remove polymode-obsolete.el new 0e1a7d2c56 Rework define-polymode and remove old style polymode definitions new e97d867746 ppss improvements new 2866a8f5e8 Refine mardkown latex $$ blocks new 0b000fbefc Add pm-inner/markdown-inline-math new 12dbf7aa16 Better cached span detection new bca0524025 Debugging changes new 4c5ca124b5 Implement conservative after-change extension of modified chunks new 7e1c99c885 Set syntax-propertize--end in extension functions new cee2f7e62f Fix poly-lock flush error new cb1f6443ac Get rid of pm-create-indented-block-matchers new 8cbb58e913 Use span at bol for indentation of all chunkmodes new 5979af7b91 Rewrite slim mode new 096729f9fd Make noweb an auto chunk with various mode detection options new 4fa8b082e0 Move vars from base before mode initialization new 48e14781da tests: Print testing module name new 01bd4971a7 Fix sh aliases new 5fb13629b5 Keep only :pm-span cache new 928cb3406f Surround with spaces inline markdown math new 016c290d13 New documentation new a92f2644e0 Small changes in naming conventions new af1f892a30 Fix readme new a469a047c5 Rename poly-base.el -> polymode-base.el new 95db6b9a83 Don't use obsolete eieio functions new b0a0f27120 Doc and Makefile fixes in preparation for the major split new a3185879b9 Add :protect-syntax and :protect-font-lock new 091a73cedb Improve deps target and add template target new fc26341451 Add protected markdown tests new 9774335fbe Move hooks an syntax to polymode-core.el new 3d0e557c25 Fix checkdoc new 49c6551182 Fix all byte-compile warnings new 00169bfd52 Add linter and fix lint and package-lint errors new 7a4fcdfb0b Clean autoloads new 1e60943e20 Implement :allow-nested chunkmodes new bf7b43f789 Add noweb tests new ebad2d6a68 Get rid of polymode-configuration.el new 1f4facb152 Fix return type of pm-get-span of auto chunks new 0e9483db88 Update noweb header and generic template new a67801209b [Fix #160] Implement :can-nest and :can-overlap properties new d6176b6cab Point to next branch in readme new d071f84f01 Update docs new c004509f3a Use :object-name throughout new f08b594648 Get rid of eieio-named new 6e491631bb Fix custom interface and class docs new 5887c0c527 Update online docs and fix code highlighting new bf631ed141 [Fix #160] Fix displayed math detection in poly-markdown-mode new 0deaca0638 Anchor displayed-math to bol (again) new 43f0792b61 Use :object-name throughout new 868165ba38 Fix naming of cloned objected and simplify auto-chunk detection new 92c9cbb980 Safeguard against dead buffers in a few places new 99c1bbbcac Simplify buffer killing protection new 856c4e7749 Update headers of poly-modes files new f75f0b0ec6 Merge branch 'next' new 14bf34a8d3 Remove modes/ new 21ab854ebe Rename :object-name -> :name slot new 74bfbbd1ba Move tests and samples to child repos new e24a5bb95e Fix error in debugging functions new 9577dc1fd4 Remove syntax-propertize-extend-region-functions restriction new 633fa3233f Implement point synchronization new 33773a7b14 Debug and test tweaks new 5531fac1db Trigger unprotected host fortification in inner chunks only when needed new f57c20d256 Update repo name in docs new a3835341bc Several improvements to tracing new 2e2b33a2f7 Enforce case-fold-search t in span lookup new 7aade83562 Allow for 'host special value in :mode slot new b6f05ec97d Rename poly-inner-mode -> poly-default-inner-mode new 2cef8abe70 Check for true head type in poly-lock-fontify-now new 5a0f0cfb29 Fix incomplete font-lock region extension for auto-chunks new 018fcb1977 Fix indentation of body spans which start at bol new a6618da93d Fix typo in pm-get-adjust-face new 4d2849687a Use cl-case instead of cond in a few places new 6df04a15c7 Run chunkmode init hooks type argument new 51ce85c833 Rename internal minor-mode slot into -minor-mode new 6dcb663b69 [Fix #119] In head-tail-mode move comment-start/end from the host buffer new a99a0e494c Version 0.1.2 new 85bc103dbb Add java host new c7210cf8e2 Make hosts unprotected by default new 91f40a68e3 Streamline mode name retrieval new fba73c82a0 Rename poly-default-inner-mode -> polymode-default-inner-mode new b7a27bf012 Rename polymode customization groups new e88ab2f815 Rewrite tracing system new 55cbaf6950 Update docs new fbc68fa297 Fix unprotected defontification new 9152d1043b Use condition-case-unless-debug whenever possible new cf99558d1e Rename ELPA dir -> .ELPA new c9502609a5 Add a few more host modes new 2a5ba012f9 Improve indentation based tail matcher new 09510cd1bf Select the default mode only for anonymous chunks new b8de110042 Improve indentation new 9b7d24c90f Allow for some font-lock failures in tests new 4bf8c6dd10 Implement text-property matcher new 6afc0ed33d Make pm-map-over-spans function accept an explicit span argument new da7792f22e New span API functions `pm-span-buffer` and `pm-span-mode` new f219ddd6e1 [Fix #130] Implement pm-indent-region new 3ccdecc759 Implement pm-map-over-modes new b093cc5843 Add `function` to :xyz-matcher slots type new 32383f01a0 Fix a range of compiler warnings new a96b71e2d4 Fix error message when pm-poly/config parent does not exist new 4616d61624 Update template new 9b38a1567f Run poly-config initializatioin at run time (not compile time) new 2a0036666d Rename polymode-test -> polymode-test-utils to pass through MELPA new 25e0919026 Update template new 189dcb4293 Finish test file rename new 9677a35c9a Fix cloning inside define-polymode new 650a8f0ea9 Load melpa in build target new c7f7b3f015 [Fix #171] De-reference keymap symbols in `define-polymode` new 6508abbf4c [Fix #49] Implement DWIM polymode-mark-or-extend-chunk new 824053bbb4 [#123] Remove polymode-insert-new-chunk new f173693be5 For host chunks pick ppss from previous chunks new 5d1c04fe32 Use poly-lock-allow-fontification as markers for no-font-lock buffers new 056ce9ea6e Condition on poly-lock-mode instead of font-lock-mode for batch tests sake new 204d76328a [Fix #175] Use defvaralias instead of defalias for polymode-mode-map new 8d786d710b Take into account protect-indent in pm--indent-line-raw new f4ba170ae6 Correctly indent after code on same line with header new 8fb5fd40ca Fix targets new 0a1a6b9d2d Add test to template new 8b0c8bc8be Add update-versions target new 95f6de6af8 Cleanup update-versions script new 06c4329fdf Version 0.1.5 new 60fb6c0d7a Also update Version in update-versions.sh new 777d878f68 Add parent repos first in test loop. new 2d9e120be2 [Fix #179] Don't move to bob or eob in polymode-*-chunk-same-type new af5d665970 Implement cycling for chunk navigation new 6743793581 Document "cycling" commands in the docs new 51c572e6c4 [Fix #181] Take special care of modes with primitive indent function new 4ce0b79bf5 Implement :inherit marker for :innermodes slot new a62bf99db0 Rewrite pm-indent-region to use indent-region-function new 30029b8234 [Fix #94] Implement interactive evaluation commands new 0d3c2e365c Fix key names in the docs new e2281632a1 [Fix 174] Use symbol-value instead of symbol-function in indent-line new 1d016ae0c2 Don't narrow to regions smaller than span during indentation new 6a33af789f New test utiltiy pm-test-file-indent new b1a6f9ef8a Update targets new 746ff4633a Fix scoping of files in indentation function new ca63bda45e Cleanup screenshots doc page new a5350eb6d2 Reset ppss cache on emacs 25 as well new eb2be58896 Rename pm--reset-ppss-last -> pm--reset-ppss-cache new c9e0e6e6e7 More general and efficient region indent new 0ddc271af9 Add outline-regexp and outline-level to pm-move-vars-from-base new 3d1e4a0f84 [Fix #136] More generic porting of face remaps between buffers new 891f41b2fa [Fix #95] Execute write-file in the base buffer new 0af5ef31bf [Fix #104] Implement generic strategy to move modes between buffers new c64fc14d5b Rename pm-move-xyz vars into pm-movable-xyz new 56c1ec47e5 [Fix #140] Add writeroom-mode to movable modes new 44af5d5947 Rename -movable- -> -move-these- new d15db481f9 Add second argument (ID) to input/output specification selectors new a5ae77e68d New pre/post-indent-offset slot for inner chunkmodes new c49bf85776 Fix imprecise computation in pm-goto-span-of-type new ee14c21f02 Change semantics of :indent-offset to mean the offset of +/-indent cookies new 1156611177 Make indentation file test work with a single file as well new 0c6e08c153 Fix derived keymap symbol-value issue new e78f34b6fa Add local startvs target new b0365c513b Save match data in polymode-syntax-propertize new 4b56e0ed80 Protect host html mode new 2c4ecb2472 Don't show compilers which don't apply to current context new 0a47df9992 Refactor keymap and menu code; obsolete polymode-prefix-key new 0421dd4afb Fix nil regexp error in selector new 4e5d6304cd Rename polymode-mode-menu -> polymode-menu new 5d709f5198 Don't switch buffers during YAS expansion new bf72ae217a Fix undeclared variable error with translators new c06256daf2 Activate goto-address-mode in shell buffers new 5959e8e0d4 Rename export sentinel function new c8cb7931ee Fix template new a531e66fea Don't ask for export target if only one available new 4991131aca [Fix #185] Add visual-fill-column-mode to movable modes new da2f6668f2 [Fix #186] Implement weaver->exporter matching new f9fc0234cc Add temporary protection for killed buffers in shell processor new 03ae108124 Demote errors instead of ignoring them in output file reversion new 4c7db1c3a9 Autoload pm-debug-print-relevant-variables new ce328b8c95 [Fix #193] Use fill-forward-paragraph-function instead of fill-paragraph advice new f9034ceca2 [Fix #194] Remove buffer-name postfix in desktop-buffer-info new e00b34b0d1 More debug facilities new 643cde99a4 [Fix #82] Remove old-buffer from window-prev-buffers list new e463c81766 [Fix #199] Compat: enforce font-lock in matlab-mode new f51ba78a5c Honor +-indent cookie on first line of inner-spans new c2d950a46c Add elisp-mode basemode new 1205b60af5 Template: Gitignore compiled elisp files (*.elc). new 8e343fb112 Template: Minor fixes to the Makefile. new 07261cbb53 Template: Install `dev-deps` packages. new 535bac3787 Merge pull request #208 from Xaldew/master new 8ebcf0eadc Silence byte-compiler setq warning new f0e2859ca7 Add --no-indent-character to the linter target new ffcf1da667 Ensure that font-lock-mode var is set even for poly-minor-modes new 8c0788d000 Syncronyze points in polymode-with-current-base-buffer new a93cebbe93 Don't use [] in file formats new cfca834321 Fix compiler warnings new de1ca31654 Don't rely on return value of processors :function in async case new dd5b43b6e9 Implement chunked fontification new 8e0b61be6a Fix incorrect doc detection in define-polymode new 1650496626 [Fix #210] Append background face instead of prepending it new e8f0f02d5d [Fix #211] Don't overwrite inner with host spans when computing intersections new 345c867bd7 [Fix #200] Implement deferred after change hook new 80b6cd7a50 Don't move point in pm-map-over-spans new f30b94849b Remove unneeded slot and var new 4380fee93e Add tab-width to base-buffer movable vars new 57f6e82b02 Implement proper instance-inheritor inheritance new 1c8a2dee2a Fix next/prev same type chunk navigation broken by 80b6cd7 new 565c9bb213 Extend body spans to include head-tail for the purpose of font-lock new aedfa629c4 In auto-innermodes fallback to 'host and account for polymode-default-inner-mode new 18ac969a19 Deal correctly with limits multiple consecutive changes new bc8cc3406f Temporary fix for syntax issue new d19d7de996 Call jit-lock--run-functions directly instead of jit-lock-fontify-now new 9b5f642cdf Better after-change region extension new 571f986ffd Don't call jit-lock extension functions for now new e84e610f8f Add our ppss-flush to after-change-functions new 9bf7eea8a2 Implement define-innermode/hostmode macros new 9f220f25d5 Rename core inner/poly-modes new 4b471a7ec8 Allow :keylist arg in define-polymode new b6e0b4c2ee No polymodes defcustom for now new 1320e3c413 Add a few notes new ee73532f7f Extend more after-change for the sake of modes which fortify more than asked new 106542b627 Save match data in after change font-lock test function new f6534aa978 In auto-span detection don't stumble on internal heads on malformed spans new c4c7e2b3b5 Use %s format instead of %d for robustness new d93de1d337 Enforce host protection when syntax-table property is present new 0bcf3a0572 Implement "second order" span caching for the deferred extension sake new db763af724 Correctly abreviate exporters and weavers after the rename new 059c14d0a7 [Fix #214] Add buffer-undo-tree to movable variables list new 4e0bd00989 Redocument in light with recent renaming scheme new 0c8c16af16 Further doc fixes new 3ba12dded0 Document the define macros new fb3c28f459 [#216] Fix mode inheritance and derived hook setup new e5745d9430 add a mode hook test new 968c842edd Allow re-evaluation of polymode variables in define-xyz macros new 0da5085d43 Fix derived key lookup new 6df3f74421 Add more define and init tests new 2ab6410c7b [Fix #215] Make polymode-display-output-file a custom and allow function value new fd131658b3 Better weaving/exporting messages new 136f493bd3 Remove unnecessary last step in jit-lock-end extension new 5853cf4e18 Add git HEAD to make version new 3d90b7f758 Simplify lint target new 3429f1b14b Fix lint errors new 4039aa59bb typo new 91c2ad1040 Implement polymode-before/after-switch-hook new 3456e030a0 [#213] Add compat for hl-line and global-hl-line modes new 5274e8f58b Add forgotten lint.el new 0327dcac0f [Fix #220] Fix safe-var warning on make start new 047283574d [#221] Set buffer-read-only directly instead of relying on read-only-mode new 9256a2768f New pm-test-spans utility new 0826120918 New :allow-nested property and better handling of outer spans new df94f91bf1 New slot :keep-in-mode - make it possible to stay in other buffers new 64d8a58fe4 Add polymode-mode-abbrev-aliases and rename polymode-mode-name-aliases new 4fc47b4c37 Set buffer-read-only directly instead of using read-only-mode new 09e1d467da Don't face adjust on 0 adjustment new 0c262c1b03 Move display-line-numbers new 9e130ca637 Stylistic new 8ed832451b Implement safe-clonning to allow clonning from parent instances new 30ee0ada78 Don't change :host default in auto-innermodes new cfef5edcdd Accept 'always in :allow-nested to allow for host-like innermodes new 4022e67eb7 Move allow-nested to pm-chunkmode class new 2565758e90 Clean on make test new e908f70260 Add pm-test-spans-on-file new aafeb55bb7 Fixed a typo (#222) new df863cb476 Implement proper fallback-mode new e4b7bc2ba5 Remove nil tail-mode -> head mode indirection new c615d09c75 Implement keywords accessor for property matchers new ce2641b730 Switch to doc buffer on ert errors new 743532b3f2 poly-lock: Don't extend to full host spans new af117d7d96 Clarify docs on minor modes new 11d1c70644 [Fix #225] Allow "foreign" non-polymode indirect buffers new a97d527df4 Add `buffer-display-table` to movable vars list new 6dc40cfe05 [Fix #223] Make M-x poly-xyz-mode and M-x xyz-mode toggle polymode new 7548698747 Renatem NAME -> XYZ in docs new 29c0b634b7 Add docs to pm-turn-polymode-off new 9a6c72998b Fix linter new 0235fed1d3 [Fix #212] Inhibit font-lock-fontify-region-function during initialization new e7109a1155 [#212] Thorowly protect against fl during polymode setup with advices new d891d3d069 Add isearch-mode to movable vars new 1fcd62ee85 Rename into polymode-after-change-major-mode-cleanup new ef8088914d [Fix #226] Advice `newline` and remove its hook-hack in the right buffer new 45c895521a [Fix #201] Re-add body-indent-offset new 5c7ac4e565 [Really fix #226] No buffer switching in indentation functions new 291e2fed6e Correct comment new 1f820772cd Move base vars after inner major mode initialization new b1b2c139e5 [Fix #230] Initialize buffer-undo-tree in inner buffers new f7f3c8d95f Improve tracing new 8f9725d536 Ensure poly-lock in batch on-string tests new 6806910e3a Fix wrong "enabled" message when disabling polymodes new b93ad8a19d Deactivate read-only *Messages* for pm-tracing new 25a7226a55 Allow fontificaition in testing on strings new d3476e82f8 Extract pm--intersect-spans new 51f860089e Make it possible to retrieve entire chunks with pm--span-at-point new cca1c92950 New generic `pm-next-chunk` new 51eece2acc New very fast pm-map-over-modes new fecbc9f97b Move syntax-propertize on top of pm-map-over-spans new e5b0b44dfb Remnant cleanups new 4e3e7b097e [Fix #34] Hide implementation buffers new fbd518669f Reset ppss caches in polymodesyntax-propertize new 5637752648 Add selective test target new 7fe6793e92 Rely on pm-verbose for message inhibition in tests new 84baf8748d Installparse-sexp-lookup-properties in modes as emacs 27 does it new d2498543c5 Add commented debug messsages for debugging syntax and font-lock new 58a27f7a89 More versatile pm-debug-relevant-variables new 9803f0b0d2 Set parse-sexp-lookup-properties during test files new 82a0c3d71c Version 0.2 new e7cd8660e6 Update copyright new a59050f183 Add pdf to export type new f42d70d375 Change doocbook to docbook new db4968fc18 New functions `pm--visible/hidden-buffer-name` new 01232ad380 Fix polymode-fix-desktop-buffer-info saved base buffer with space prefixed new 9ff8925a5e Add support for multiple-cursors. new 114d1d8ab8 Extract multiple cursor compat lambda into a function new 5072d0750e Makefile: show emacs test command new 9eb9dce9c9 Don't set eieio-backward-compatibility new 9eb9233a5f github.com/{vitoshka,vspinu} -> github.com/polymode new 3eab3c9eed Handle transient-mark-mode. new fa3f9806c2 [Fix #256] Add :extend adjust face property on recent emacses new 44601aace1 Add gnu archive to elpa fetcher new 8d67b04fba Add update-templates target new 653c082456 Version 0.2.1 new 97f1d14948 Add gnu link to melpa-init script as well new 44265e3516 Version 0.2.2 new 2a61fb6d3e Make polymode-mode-name-aliases work again new e7a94b3f05 Do not make variables local globally. new 0f9b65f500 [Fix #269] Move polymode minor-mode call to the end of the innermode init new 3284ff1001 Fix compilation warning new b3871e946d [ typo ] pm-host/markdown renamed to poly-markdown-hostmode new bf7734558a Make update scripts work on MacOS new 9f4fa79716 Use gsed if available new b6062d6a59 Add :group for pm-debug-mode new e08ec36d1c Remove backticke in pcase keyword expansion (#283) new 9367c27e4e [Fix #289] Don't restore poly-modes with desktop-save new 7d0c30c2a9 Rename argument emacs-hook -> global-hook new b50ec54097 Make sure fix in #289 does not depend on loading order new 9e53f83717 Fix using of temporary lexical variable causes error in native compiling new 574a12baf4 Revert "[Fix #289] Don't restore poly-modes with desktop-save" new 7d1f822f08 avoid indent infinite recursion new 54888d6c15 Clarify the meaning of *span* in compact functions new 47a7b6541a Enrich polymode-mode-name-aliases new 4ded73e39e [Fix #295] Protect mode's syntax propertize with save excursion new 53b2a1d7ce Implement pm-forward-sexp-tail-matcher new 1f0cea6d59 Fix incorrect span intersection for nested inner modes new 439a52fce9 New variable pm-use-cache new a10e31f141 Fix pm-map-over-modes for case of nested inermodes new 44aadaa937 Fix indentation for special case of nested inermodes new 4033747e6e Typo new 355daf3db8 Ensure font-lock in font-lock tests new b837826d1c Use eval-and-compile for poly-lock wrapper new 72ff89e89b Simplify and fix pm-map-over-modes new b5cda97a1c Make args to poly-lock-fontify-now optional new b46b4d2596 Tracing improvements new aaa3ae8cd2 Instantiate innermodes before mode setup new d2e0f82e4b Remove unnecessary call to font-lock-flush new 3ae4a67ac2 Improve targets and templates new 5e730d5810 Fixes in test infra new 0ea23b89ec Implement before/after-change and pre/post-command synchronization new 5620b81ecb Add test/build-local to Makefile template new dbbe385805 Declare indent of define macros new de10d85cb0 Fix indentation of first lines new 5c37cb5ded More indent declarations new 667f45e8f6 Change all macro indent specs to 'defun' new cc19f66c2a [Fix #288] Implement polymode-inhibit-in-indirect-buffers new d0913ed53d Improve tracing and document mode-hooks FIXME issues new 15bd6c482f Fix typo new 61e2326731 Simplify targets and templates new 17e704ebd5 Improve syncronization docs new 811777fbe8 Add polymode-save-hooks and fix dispatch for other hooks new 3540ed3ae9 Add preliminary support for LSP new 7a877fccea Fix pm--lsp-text new 9662ea88f0 Use list for blank header format new 845daa661f Remove old code new f2a2b97727 [Fix #289, Fix #299] Don't re-define indent functions on poly-mode reinstalation new 85c3f0420b Fix bug ref regexp new 35514b3b11 pm-test-poly-lock: undo boundary only on modification new 8ba56f841c Add left/right-margin-width to the set of movable variables new 2cbeb87789 Make sure hooks are run in live buffer new 2094c92403 Add polymode-lsp-integration variable new 0ed66cb61a * .gitignore: Ignore ELPA-generated file polymode-pkg.el new e75560ee66 Consolidate small targets/foo.el files into a bigger one new c4b6bbf638 * template/tests/xyz-tests.el: Comment `require` to fix compilation failure new eb793e18ad Consolidate small template/targets/FOO.el files into a bigger one new 63d2c21849 Fix copyrights for GNU ELPA