Sat Dec 20 16:10:52 EST 2008 gwe...@gmail.com * STYLE: information on using hlint
--~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 New patches: [STYLE: information on using hlint gwe...@gmail.com**20081220211052 Ignore-this: 66d0b88a49a088190c758109d2b22b5a ] hunk ./STYLE 96 replacing `foo a b = a` with `foo a _ = a`, though. (Or even better `foo a _interestingName = a`, if you feel the meaning of the ignored argument should be reminded) + +* A useful tool for checking style is the 'hlint' tool on Hackage. However, not all + of its suggestions should be followed (and one should check that a suggestion results + in clearer/better code, and compilable code, for that matter). To filter out entire categories + of suggestions we find objectionable, use an invocation of hlint that looks like this: + $ hlint --ignore='Eta reduce' --ignore="Lambda shift" --ignore="Use liftM" --ignore="Use const" + --ignore="Use a string literal" Yi/ Context: [Simplify tab abbreviation code Jeff Wheeler <jeffwhee...@gmail.com>**20081220183541 Didn't realize that this was never needed. The last choice for the 'case' always works for this, just as well. ] [Abbreviate tab titles Jeff Wheeler <jeffwhee...@gmail.com>**20081220182638] [Add :ball for Vim Jeff Wheeler <jeffwhee...@gmail.com>**20081220075937] [Remove shadow binding for -Wall Jeff Wheeler <jeffwhee...@gmail.com>**20081220064833] [force the parser state to be showable, for debugging purposes jeanphilippe.berna...@gmail.com**20081218141707] [incremental parser: renamings jeanphilippe.berna...@gmail.com**20081218141645] [cabal file: add a bug-reports field jeanphilippe.berna...@gmail.com**20081218140729] [split incremental parser to its own module jeanphilippe.berna...@gmail.com**20081218122242] [fix Shim build jeanphilippe.berna...@gmail.com**20081216163918] [ertai: update my config. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081216142538 Ignore-this: 605052187c2b1465c3fe271d0d7760cb ] [Vim: fix issue #134 abeut CTRL-W in insert mode Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081216141829 Ignore-this: 96403f93e23d2786055a77038b1dbf0f ] [Vim: TODO and comments. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081216141815 Ignore-this: 22f38a07d2fca388619add4a6f4fd8cb ] [Vim: fix operating on inner words (diw, diW...). Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081216141704 Ignore-this: 4ed044ad58f1e449b21121c175a69478 ] [Buffer.Normal: make use of GenUnit for unitViW{ord,ORD}, and more variants. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081216141605 Ignore-this: 8d9b7b00adc5155270a5726653a75c47 ] [revert to old method of evaluation of partial results jeanphilippe.berna...@gmail.com**20081216125837 rolling back: Thu Dec 11 14:13:10 CET 2008 jeanphilippe.berna...@gmail.com * incremental parse: asymptotically more efficient evaluation of partial results M ./Yi/IncrementalParse.hs -40 +95 Something made computation of incremental results very slow with this patch, however I cannot figure out what. Revert to old method until I know better. ] [some more work on Online Trees jeanphilippe.berna...@gmail.com**20081216125232] [Vim: TODO Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215203930 Ignore-this: dc537df589c1610a03b14d292cf64029 ] [Buffer.HighLevel: linePrefixSelectionB skip the last char (in case it's a newline). Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215203828 Ignore-this: ff7d0681160e3b5b76f735d8e1576e66 ] [Vim: start the repeating command (aka '.') Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215201353 Ignore-this: da7523b7ea38a3ff62ab60b98eec2ced This works with the following commands: - All operators on most motions (this includes d,y,=,<,>...) - r, C-A, C-X, D, J, gJ, x, X, p, P and ~ in command mode The current implementation correctly handles the right counting semantics, namely if you give a count it will substitute the old count otherwise the saved count is used. All missing saving points are annotated "TODO repeat". ] [Vim: fix J and gJ (fix base case and add counting). Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215201205 Ignore-this: bb3b975c7f897d44f6af85f59f68fe40 ] [Style: black on magenta is more readable. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215165758 Ignore-this: 3ab780518979fb96741b81b65ede4b73 ] [Vim: use regionStyleA instead of getDynamicB. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215162449 Ignore-this: 699c4d022f2a276181a284173ff9e563 ] [Vim: fix the move-left-on-eol. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081215161136 Ignore-this: 95e1e665cb76deb36e12456b638db4e7 ] [Yi.Style: use "black on cyan" for selection and hint. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081214210851 Ignore-this: 731843cdc00c3ebb3006ee19c04c4c54 Using reversing for selection caused the cursor to be invisible. Moreover using black a foreground is more readable. ] [Buffers have either name or file, not both. jeanphilippe.berna...@gmail.com**20081214204810 This is mainly a refactoring. Buffers used to have a name that is somewhat-but-not-quite related to the file they map to. Now, buffers have a name only if they are not backed on disk. This has some user-visible consequences that might be inconvenient: what used to be a short name is now the full path to the file. I push the patch because I feel this basis is much cleaner, and we can improve from here if necessary. ] [explicit exports in Yi.Monad. Also export gets. jeanphilippe.berna...@gmail.com**20081214204727] [Yi.Hoogle: switch hoogleRaw to use runProgCommand instead of runShellCommand gwe...@gmail.com**20081214181630 Ignore-this: 8b8a42840efe168f62379ea18512bcec ] [Yi.Process: +runProgCommand gwe...@gmail.com**20081214181431 Ignore-this: 83501bc0ed7efd0a8d9e0e875aad5702 This is analogous to runShellCommand, except the arguments don't go through the shell. As there are so many metacharacters in shell, we often do not want our input to pass through the shell. That is what this command is for. ] [HConf: --recompile should not neglect compile failures Kalman Noel <noel.kal...@googlemail.com>**20081214170604] [remove obsolete function jeanphilippe.berna...@gmail.com**20081214162318] [improve hoogle binding jeanphilippe.berna...@gmail.com**20081214133511 * use unitRegionOfB / readRegion / replaceRegionB * no need to print the result of the function - this is done automatically by Yi core * rid of unsafePerformIO ] [jp: bind hoogle jeanphilippe.berna...@gmail.com**20081214133448] [make IO functions actions jeanphilippe.berna...@gmail.com**20081214133427] [Yi.Keymap: sort imports jeanphilippe.berna...@gmail.com**20081214112822] [Yi.Main: rm unused import gwe...@gmail.com**20081214043037 Ignore-this: f7592059bad51a2577046c2e13737b89 ] [mv getWord from Yi.Hoogle to Yi.Buffer.HighLevel gwe...@gmail.com**20081214042758 Ignore-this: a9f90750ef5f255ed05468a7858cbbf2 ] [+Yi.Hoogle: new module gwe...@gmail.com**20081214042157 Ignore-this: f23af4eff44418c11ebc3880504d7f25 This is a new module which calls out to the CLI Hoogle, and reads it back in. We parse it in various ways, and ultimately provide a function 'hoogle' suitable for binding to a key. This function reads the word before the point (the user is typing it in), runs a Hoogle search on it, pulls out the functions matching it, and pastes into the buffer the top result. ] [Yi.Editor: rm apparently unused import gwe...@gmail.com**20081214042017 Ignore-this: f6f3d40e1cb462ec5740f40162308343 ] [Yi.Users.Gwern: example binding of 'hoogle' function gwe...@gmail.com**20081214041954 Ignore-this: 8a03d59dd3486de259ec88c3edbccc93 ] [some -Wall of Yi.Buffer.HighLevel gwe...@gmail.com**20081214041617 Ignore-this: 1bc636d245697d467add63c247ab00e2 ] [Vim: also complete the start of ":set ft=". Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081213080049 Ignore-this: bab9ffe481ea848293009db87e60505 ] [Vim: revive the mode switching (:set ft=...) Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081212203256 Ignore-this: b54536b5aa6a77d213cd0d227e08d663 ] [refactor AnyMode prompt and export anyModeByName and getAllModeNames. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081212203149 Ignore-this: 81546719eea05c907ddc9fee595f3762 ] [Haskell mode: notElem exists Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081212195341 Ignore-this: 8b04f46293af8f60645d6b973ef981e8 ] [Haskell mode: use indentSettings Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081212195253 Ignore-this: ef73dd8180ab4a057eac64b8ffe6647 ] [Vim: add support for '<', '>' and '^' marks, also add "gi" supports Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081212165213 Ignore-this: 1f36aeaedc20c2db6302f5f0351fa854 ] [Vim: little refactoring about fnewE and dropSpace. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081212164933 Ignore-this: 3ff3e9986fb2953ec8e7af85cb994a25 ] [Yi.Users.Gwern: smarten annotType binding gwe...@gmail.com**20081212175244 Ignore-this: a4cfcb04efe8e6488338c5290e542172 By default anotType just dumps the type signature into the buffer, with no indentation or anything. We can do better by moving up one line and then indenting. (The first indentation is usually right.) ] [Yi.Mode.IReader: send the user a message about default keybindings gwe...@gmail.com**20081212174739 Ignore-this: 90bcd5e5b15ca399c870f92dd7a00d99 The command in Yi.Main was getting a bit bulky, so we factor it out to the IReader mode. ] [eradicate some more [Char]s gwe...@gmail.com**20081212174720 Ignore-this: d2fa5aab1309cdc5eb64ea09e5fe45ff ] [Yi.Users.Gwern: switch to use shim-mode gwe...@gmail.com**20081212165332 Ignore-this: 53fc08b13bd7c7e39e6c35c4d97b44c2 Bind a key to infer type, and do some formatting. ] [preliminary work in generalizing the OnlineTree structure jeanphilippe.berna...@gmail.com**20081212162013] [set the default region style to inclusive for Vim jeanphilippe.berna...@gmail.com**20081212145755] [Revert the default selection style to Exclusive jeanphilippe.berna...@gmail.com**20081212145453] [Wall police jeanphilippe.berna...@gmail.com**20081212145353] [jp: cleanup my config jeanphilippe.berna...@gmail.com**20081212110847] [Haskell: rename testMode to fastMode jeanphilippe.berna...@gmail.com**20081212110829] [wrap up implementation of alignRegionOn jeanphilippe.berna...@gmail.com**20081212110714] [incremental parse: asymptotically more efficient evaluation of partial results jeanphilippe.berna...@gmail.com**20081211131310] [Vim: rewrite visual mode replace (v_r) Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081211194602 Ignore-this: 1f26924453c2c5d61b69d3bf9f066ae8 ] [Upgrade version in the README. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081211155130 Ignore-this: 33099f99cab762d6dc47e8215e4ec590 ] [Vim: refactor 'Y' Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081211131229 Ignore-this: 8a3c9a36b674de1920c125d4d45ed16f ] [Vim: TODO and notes. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081211130323 Ignore-this: ba7034051d1404101aeb26f8682797f1 ] [Vim: extend work on marks. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081211130137 Ignore-this: cdf54ab8800f20b0f9584fd1ad4451 Support for both '[a-z'] and `[a-z`]. ] [Buffer: add mayGetMarkB Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081211130044 Ignore-this: 8ced7538e734d6acc535de50a4f04375 ] [revert behaviour of indentString; fix shiftIndentOfRegion accordingly jeanphilippe.berna...@gmail.com**20081211125711] [Keymap.Vim: Initial support for setting and jumping to marks. coreyocon...@gmail.com**20081211053434 Two issues: 1. Jumping to an unknown mark does not fail. The mark is created and a jump occurs to the current point. 2. Jumping to a mark does not behave like the other movement commands. ] [Users.Corey: Saves the current point to a mark before jumping to insert an extension pragma coreyocon...@gmail.com**20081211050444] [Users.Corey: Expirementing with quick way to add extension language pragma coreyocon...@gmail.com**20081211045624] [Vim: add support for forcing block mode (<op><C-V><motion>) Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210204429 Ignore-this: 1f48bde2ec5efd873f439c0126a27b77 ] [Display nicely rectangle selection in Vty Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210181005 Ignore-this: 602a9d632c4e0bd8b101adda18ece351 ] [Yi.Buffer.Region: sort columns in blockifyRegion. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210180804 Ignore-this: da2105352fcc8bc11777d4ca01d36e52 ] [wall police Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210155034 Ignore-this: 78f2af1c9f4e273facba932ae7c0be66 ] [Vim: starts a basic visual-block mode. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210154841 Ignore-this: 45593d363d3e5b3b25b7f45ebe64bcc4 ] [Buffer.Region: add blockifyRegion that turns a block region in a list of regions. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210154526 Ignore-this: 50c92fb4c3f02c85d35e6a93889f2b63 ] [Buffer: Replace B.HI.SelectionStyle by RegionStyle and add a Block region style. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210154136 Ignore-this: b5c0c7ce1770a2a7b9adad8e7dfc610e ] [Buffer: move colOf to misc, add lineOf, pointOfLineColB and moveToLineColB. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210153954 Ignore-this: 9faeaf286c287fe7eee75fa3740a5658 ] [Wall police jeanphilippe.berna...@gmail.com**20081210150122] [preliminary work to implement alignment on regexes jeanphilippe.berna...@gmail.com**20081210150028] [Vim: add support for g8 that shows the UTF8 decomposition Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081210125747 Ignore-this: d6929e5c56334b3d88e0da7107b5e370 ] [formatting jeanphilippe.berna...@gmail.com**20081210121259] [Overhaul yi-vim.hs Kalman Noel <noel.kal...@googlemail.com>**20081209183325 This makes the yi-vim.hs example compile, hopefully keeping the intended behaviour. ] [canonicalize [Char] to String gwe...@gmail.com**20081210030215 Ignore-this: 773c1fd69f75fb0e1f4e3f388a550d8f ] [Vim: Makes more commands available in visual mode and more... Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209143613 Ignore-this: 4cd919053208d3a92b3bad72865c8797 * Factor all operators in one list. * Merge some commands lists (multi/single). * Merge all scrolling commands. * Rename gen_cmd_move as moveKeymap. * Fix bugs in visual mode, where scrolling commands where not available, or the '%' motion. * Add support for gJ. * Narrow the type of viFileInfo and viCharInfo. ] [Yi.Buffer.Indent: provides less but more powerful indent shifting functions Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209143555 Ignore-this: 1479374ae8027fc21dce1178c8e40d30 ] [Yi.Syntax.Tree: avoid a warning. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209143432 Ignore-this: 80e9793544bdb45178f3d7c5729d618d ] [Vim: add support for gI. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209143043 Ignore-this: 7add8f84c75de586239e517154af912a ] [Yi.Prelude: add 'list', that like 'either' or 'maybe' but for lists. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209133117 Ignore-this: a4e321b44bcfe6a6b8edc417ad506ee1 ] [Yi.Buffer.Indent: do nothing on empty lines. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209132741 Ignore-this: 77e7f5cbd0a4e80300eddc0876c559b ] [remove stray reference to Yi.Accessor jeanphilippe.berna...@gmail.com**20081209142817] [scrap the obsolete Fractal module jeanphilippe.berna...@gmail.com**20081209142543] [doc jeanphilippe.berna...@gmail.com**20081209140102] [Add optional tails of :x[it] and :exi[t] Dennis Griffith <dgrif...@uiuc.edu>**20081208193213] [ZZ and :x are the same in vim Dennis Griffith <dgrif...@uiuc.edu>**20081208192555] [Vim: clear visible selection, when reseting keymap. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081209080749 Ignore-this: cf6bf813d9a5a88dd9ecaa9204ee491f ] [doc: slides for demo jeanphilippe.berna...@gmail.com**20081209081853] [Lexer.Haskell: no longer paint literal chars as TH quoted names. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081208214532 Ignore-this: aaa0750f3727b4af2db6861b5a9ed60a ] [random is needed only for testing jeanphilippe.berna...@gmail.com**20081208203204] [remove the last traces of Yi.Accessor jeanphilippe.berna...@gmail.com**20081208195011] [make FBuffer more abstract jeanphilippe.berna...@gmail.com**20081208194853] [make GHC happier about coverage jeanphilippe.berna...@gmail.com**20081208194435] [remove the last usage of mkAccessor jeanphilippe.berna...@gmail.com**20081208185620] [Extract symbol tables form JP's config and make Yi.Char.Unicode. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081208155131 Ignore-this: b8d0ed08be1fca824d85332b6af08dfb Add also some greek letters ] [Comment tab-moving functions Jeff Wheeler <jeffwhee...@gmail.com>**20081207230059] [doc jeanphilippe.berna...@gmail.com**20081207231705] [remove some more usages of mkAccessor jeanphilippe.berna...@gmail.com**20081207231636] [fix tabsA, so that the current buffer is updated jeanphilippe.berna...@gmail.com**20081207231516] [style clarification jeanphilippe.berna...@gmail.com**20081207223013] [Correct :tabm behavior with no given argument Jeff Wheeler <jeffwhee...@gmail.com>**20081207211308 It should move the current tab to the last position, not the first, when :tabm is used with no integer argument. ] [Support :tabm in Vim Jeff Wheeler <jeffwhee...@gmail.com>**20081207204729] [Improve style guidelines, use markdown format. jeanphilippe.berna...@gmail.com**20081207185717] [expand STYLE gwe...@gmail.com**20081207181102 Ignore-this: 48567cacda2f239060288538e3ce47b4 ] [Editor: generate accessors with TH jeanphilippe.berna...@gmail.com**20081207172618] [haskell: support TH quotes jeanphilippe.berna...@gmail.com**20081207171906] [Split the non-existential field of FBuffer to their own record jeanphilippe.berna...@gmail.com**20081207170010 This should make the maintenance of these attributes much easier. Also, these are now consistently accessed though Accessors. In addition, I've used the Data.Accessor.Template module to generate them. ] [accessor: add back the combinator to access all elements of a traversable structure uniformly jeanphilippe.berna...@gmail.com**20081207165917] [compilation mode: show the error that the user jumps to jeanphilippe.berna...@gmail.com**20081207165831] [added file name completion for :saveas Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081207131351] [improve ghc options jeanphilippe.berna...@gmail.com**20081207110706 * see comment about orphans in patch; * linker options should be handled by Cabal, * comma in options is not supported by Cabal ] [Applicative instances should be provided if monad is provided jeanphilippe.berna...@gmail.com**20081207094729] [These instances are useful to embed reader in keymaps (in user configs) jeanphilippe.berna...@gmail.com**20081207094258] [remove obsolete makeSearchOptsM' jeanphilippe.berna...@gmail.com**20081207093720] [attic/EmacsRebinding.hs: swap \_ for const gwe...@gmail.com**20081207042452 Ignore-this: d51bc91bfeabd3ce7504caa74b210268 ] [Yi/Users/JP/Experimental.hs: swap \_ for const gwe...@gmail.com**20081207042451 Ignore-this: b8ad3c5c1aae0114ff41436a975db94f ] [Yi/UI/Cocoa/TextView.hs: swap \_ for const gwe...@gmail.com**20081207042450 Ignore-this: b960fa4b1ac3355f5a7dc8620cd36d5b ] [Yi/Syntax.hs: swap \_ for const gwe...@gmail.com**20081207042449 Ignore-this: de264282d701baf7b0c090039968c73a ] [Yi/Process.hs: swap \_ for const gwe...@gmail.com**20081207042448 Ignore-this: 7ffe750b2cf3e3fb8e8ad44e660b919c ] [Yi/Modes.hs: swap \_ for const gwe...@gmail.com**20081207042446 Ignore-this: 67f14da1fbb36b780aa11f3ac898d991 ] [Yi/Mode/Interactive.hs: swap \_ for const gwe...@gmail.com**20081207042445 Ignore-this: ff7710682bd190754e0acc4976001254 ] [Yi/Mode/Haskell.hs: swap \_ for const gwe...@gmail.com**20081207042444 Ignore-this: d3c3abe8af541e79b0a5c2b6263ed8c5 ] [Yi/MkTemp.hs: swap \_ for const gwe...@gmail.com**20081207042443 Ignore-this: 19f3e05d619d3e2820396739382c3063 ] [Yi/Misc.hs: swap \_ for const gwe...@gmail.com**20081207042442 Ignore-this: cdd9b966401670dba762e7fc8f0644f6 ] [Yi/Lexer/Perl.x: swap \_ for const gwe...@gmail.com**20081207042441 Ignore-this: 9472cdacafceac62f407e04bd7fedc5a ] [Yi/Lexer/GNUMake.x: swap \_ for const gwe...@gmail.com**20081207042440 Ignore-this: f37206c65e5c6f6e10c8a9fe30188bd5 ] [Yi/Keymap/Vi.hs: swap \_ for const gwe...@gmail.com**20081207042438 Ignore-this: b2de037d5c3ba158f0280e4090ae832f ] [Yi/Keymap/Emacs/Utils.hs: swap \_ for const gwe...@gmail.com**20081207042437 Ignore-this: af7c6050320d76821960303238b3af55 ] [Yi/IReader.hs: swap \_ for const gwe...@gmail.com**20081207042436 Ignore-this: 9d7c7cd09d18d96bed495343c4217e44 ] [Yi/Dired.hs: swap \_ for const gwe...@gmail.com**20081207042435 Ignore-this: 4ba917ae8d3ecf98de3e58a801ba1962 ] [Yi/Core.hs: swap \_ for const gwe...@gmail.com**20081207042435 Ignore-this: 482f0e6ec68718265c044a178cfa693c ] [Yi/Buffer/Misc.hs: swap \_ for const gwe...@gmail.com**20081207042433 Ignore-this: 1ad551d4876b585fcbb7b6cfec246e0f ] [Yi/Buffer/Implementation.hs: swap \_ for const gwe...@gmail.com**20081207042431 Ignore-this: 3af114650c3212f2a048018502adf332 ] [Shim/Utils.hs: swap \_ for const gwe...@gmail.com**20081207042430 Ignore-this: ee3256ce4277350b541f80b7b8aa67d8 ] [Shim/GhcCompat.hs: swap \_ for const gwe...@gmail.com**20081207042427 Ignore-this: d19c814bd68947094018c22488dad08f ] [HConf.hs: swap \_ for const gwe...@gmail.com**20081207042350 Ignore-this: 5c572b7f3ff75178839184c055c330e8 ] [Shim.Utils: rm Data.List import gwe...@gmail.com**20081207035103 Ignore-this: a32a8694a61d0982d56ed4f4b5a85dd4 We get 'elem' from the import of Prelude now. ] [Yi.Interact: apparently we do not use those instances gwe...@gmail.com**20081207034252 Ignore-this: ac6a12c04cdffe57e5166361766ad8a8 ] [Yi.MiniBuffer: -Wall; ? gwe...@gmail.com**20081207034231 Ignore-this: 18307a6941c07d605c9df0f3056b3fc0 ] [Yi.Buffer.Misc: -Wall, avoid shadowing gwe...@gmail.com**20081207034212 Ignore-this: 4daa67c05e59474d9fd9004748927e65 ] [Yi.Buffer.Region: +type sig gwe...@gmail.com**20081207034157 Ignore-this: 5a2f41570f61f25eccb67f6e0f46d91a ] [Yi.Buffer.HighLevel: -Wall, rm unused params gwe...@gmail.com**20081207034132 Ignore-this: 7f5513eecef14bc0b43976f0df0a3f17 ] [Yi.Syntax.Haskell: +sig, rm unused auxiliary function gwe...@gmail.com**20081207034106 Ignore-this: 1f075c727be2cb417a2405f9352f0013 ] [Yi.Search: rm unused import gwe...@gmail.com**20081207034049 Ignore-this: e80d629fd72a1bd0c81f9b98d11aaab3 ] [Yi.Process: -wall gwe...@gmail.com**20081207034034 Ignore-this: 8d026979792de9ac8155d9ce34fc2d54 ] [Yi.Ui.Vty: rename vars to avoid shadowing gwe...@gmail.com**20081207034010 Ignore-this: 32c818362148a7ea021893cea34d1f1d ] [Yi.Ui.Utils: rm unused import gwe...@gmail.com**20081207033953 Ignore-this: e5f9ef5d48e3d98ad2bcfbfde3d11519 ] [Yi.Syntax.OnlineTree: +sigs for -Wall clean gwe...@gmail.com**20081207023313 Ignore-this: 43064515989b72c21c030ffa805ab0f9 ] [Yi.Interpreter: cm out unused gwe...@gmail.com**20081207021510 Ignore-this: 32806f9c37726511e09e7ba2b907f930 These look potentially useful, so rather than remove them, comment them out. ] [Yi.Monad: rm instances -Wall claims are unneeded gwe...@gmail.com**20081207020456 Ignore-this: 4299d7185557873746adc2e07cdad982 ] [Yi.Regex: export makeSearchOptsM' gwe...@gmail.com**20081207014743 Ignore-this: dd2fe3314d50ebc456579ff9dbc71874 It is currently not used or exported, which suggests that it either be exported or removed. As it seems to function differently, exporting seems like the better choice. ] [Yi.Regex: uncontroversial -Wall fixes gwe...@gmail.com**20081207014704 Ignore-this: 838bd1ce5c88e662c1feb361505a1d4b ] [Data.ByteRope: rm 'head' and 'tail' gwe...@gmail.com**20081207014456 Ignore-this: 6757394f78bd42a805cc910df0e53a62 The justification here is that they are unused, so they prevent -Wall cleaness. Their functionality seems to be superseded by ByteString's head and tail functions. ] [Data.ByteRope: rm 'rebalance' gwe...@gmail.com**20081207014416 Ignore-this: 36a26c879fd003f734dacbaff7b33c46 It is unused and the comment claims it should not be used. ] [-Wall clean tests/Driver.hs gwe...@gmail.com**20081207014137 Ignore-this: f1d5547cf97fa0937d4ad5be931fd1d2 All of those Arbitrary typeclass instances are provided in any half-way recent QuickCheck, which means they are useless. With them go many imports. I've tossed in some typesigs, removals of unused variables, and so on. ] [use the names of the data-accessor package; cleanup our wrapper jeanphilippe.berna...@gmail.com**20081206201735] [cleanup switchToBufferE jeanphilippe.berna...@gmail.com**20081206194317] [unfold modifyWindows jeanphilippe.berna...@gmail.com**20081206194101] [more intelligent accessor for windows jeanphilippe.berna...@gmail.com**20081206193800] [jp: depend on shim; change load buf. binding jeanphilippe.berna...@gmail.com**20081206192142] [remove sole usage of setBuffer jeanphilippe.berna...@gmail.com**20081206192057] [unfold modifyAllA jeanphilippe.berna...@gmail.com**20081206190005] [6.10.1 is our primary target now jeanphilippe.berna...@gmail.com**20081206125240] [cleanup Yi.Accessor jeanphilippe.berna...@gmail.com**20081206125207] [Vim: add 'gk','gj','+','-','_' motions. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206190335 Ignore-this: 1d3eb00d09e5a4290cf1bcbd470ed959 ] [Vim: TODO Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206183656 Ignore-this: 491eaece553dba02fe5e1c9beabcc442 ] [Move utf8Length in Buffer.Basic as utf8CharSize Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206183521 Ignore-this: 5b8dbf866f5ec01cafc8540fb09b76d9 ] [alex.hsinc: big layout cleanup Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206183446 Ignore-this: 2721c2701f3f5fb70eb3353d4a4a6710 ] [Cocoa: add missing LANGUAGE pragmas. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206182743 Ignore-this: 5d354b35639bb4768109d68a9793deee ] [Yi.Interactive: use deprioritize instead of it's definition Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206175532 Ignore-this: c21de21539da6285b1fafda97ae8fe77 ] [Vim: finish up CTRL-{V,Q} in insert mode. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206175456 Ignore-this: d77fa6e7064427db1bcdb10671421800 ] [Vim: use userForceRefresh instead of refreshEditor. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206175341 Ignore-this: 2daf853915eb6fc4c09f9a0d7020dd08 ] [Yi.Search: remove a useless and wrong filter. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206175256 Ignore-this: 2c7adf209c6853d083198f49533b7a41 This was causing a bug, the last character of the region was ignored. ] [Yi.Event: extend eventToChar Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206143747 Ignore-this: 454e7fa11389db37b828ecc374ab39d ] [Vim: use a let instead of an applied lambda. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206140922 Ignore-this: e1cb2c5a4595a26cef2ad6bbf9acc541 ] [Yi.File: less parens. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206140856 Ignore-this: da287986f634869482150efb85ff1616 ] [:w f should first check whether f already exists Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081206122617] [:saveas f write current buffer to f, then open f there Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081206122536] [Remove TODO item: C-y in INS Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081206122513] [Introduce viSafeWriteTo to Yi.File Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081206122416] [Vim: minor improvement to replace mode and use ctrlCh that is shorter. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206135846 Ignore-this: e5bdd4c0c4df345649f6b09dff037e22 ] [Yi.Buffer.Indent: insertTabB now returns the tabulation instead of inserting it (renamed as tabB) Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206135701 Ignore-this: 16279d48c01e68e326b15160266668f6 ] [fix Shim build jeanphilippe.berna...@gmail.com**20081206113513] [Minor changes in tab styles Jeff Wheeler <jeffwhee...@gmail.com>**20081206031949 Following the updates to a few of the color handling features, these stopped working quite like Vim. I readjusted them to look like Vim, again. ] [Vim: add CTRL-{V,Q} in insert mode, to insert raw characters. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206023410 Ignore-this: cda9de736335500696a9b33db4e5e9b2 ] [Buffer: deleteIndentOfLine Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206023149 Ignore-this: 61ebed9bd00e32c5fe3a858494e91572 ] [Vim: add CTRL-{E,Y} in insert mode. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206005026 Ignore-this: ff974b8d8630da80c47b78dc3823eec9 ] [Vim: add "0 CTRL-D", to kill indentation in insert mode. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206004300 Ignore-this: 8521308f6ca4ac02f51f30b62b1e53f3 ] [Vim: add support for CTRL-J, CTRL-M, CTRL-I and CTRL-[. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206001223 Ignore-this: 1ff05bb5302cd8562a4d4194d4a09528 ] [Vim: basic support for adding/substracting CTRL-{A,X} Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081206001015 Ignore-this: 354f9a9a8f52f51ee42da5eeaa4aa705 ] [deprecate hacks jeanphilippe.berna...@gmail.com**20081205221419] [take advantage of the Traversable class for markLines jeanphilippe.berna...@gmail.com**20081205220012] [use data-accessor more directly jeanphilippe.berna...@gmail.com**20081205215603] [Yi.IReader: convert to bytestring gwe...@gmail.com**20081205212523 Ignore-this: ab92a8c32d6ae461c8953c90138f0527 Because of 'read' and 'show' (and the concomitant packing and unpack), this probably doesn't gain much speed or space. But it gets us strict file I/O without copy-pasta. ] [Yi.IReader: enumerate imports gwe...@gmail.com**20081205204314 Ignore-this: 880f4849ee13314db9bb849c35092d93 ] [transition towards the data-accessor package jeanphilippe.berna...@gmail.com**20081205212826] [Vim: use const instead of \_-> Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205183023 Ignore-this: 963f359f4dfdd490cae6823c13d05b44 ] [Force-operation chaining (eg. dVvvVvvVvj) Krzysztof Goj <krzysztof....@gmail.com>**20081205172128] [forcing RegionStyle Krzysztof Goj <krzysztof....@gmail.com>**20081205164440] [Vim: better handling of extra spaces when using minibuffer (:e...) Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205104507 Ignore-this: c2421a4ce3f3c0fa948a1d4028e2927e ] [Vim: don't leftOnEol in the minibuffer. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205101252 Ignore-this: 25d2a1737e7f75e6d0d41f19a0df4a36 ] [Optimize going to begin of line. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205094727 Ignore-this: e9edc3fb2ede3cdac0a096d9367423ac ] [Vim: add :nohlsearch,:noh to reset the current search. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205093930 Ignore-this: 77fc9e61e12a04cba2a6523dcc35395d ] [Yi.Search: add resetRegexE. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205093855 Ignore-this: d324123e57013fc9ded8b11a84d85c7b ] [Vim: more leftOnEol fixes. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081205092513 Ignore-this: 8195b31b4126d05722f0f197591acb45 ] [Fixes 'c$' and 'C' in normal mode Krzysztof Goj <krzysztof....@gmail.com>**20081205010649] [Lexer.GNUMake: Adding a test of mixing bracket styles in a variable expansion coreyocon...@gmail.com**20081205024434] [Lexer.GNUMake: Adding recursive variable expansion as required by function calls coreyocon...@gmail.com**20081205023913] [Adding a test for use of $$ as a variable identifier. coreyocon...@gmail.com**20081205023831] [Lexer.GNUMake: Rule commands can contain variable expansion coreyocon...@gmail.com**20081205004417] [Lexer.GNUMake: Handle $$ correctly coreyocon...@gmail.com**20081205004359] [Adding a test of $$ to escape a variable expansion coreyocon...@gmail.com**20081205004226] [Lexer.GNUMake: Add support for '\' continueing a rule command coreyocon...@gmail.com**20081205003505] [Lexer.GNUMake: Small additions. coreyocon...@gmail.com**20081204232946] [Lexer.GNUMake: Adding to test data coreyocon...@gmail.com**20081204224249] [Lexer.GNUMake: Expansions of variables with single character names coreyocon...@gmail.com**20081204224051] [Lexer.GNUMake: Start of variable expansion parsing coreyocon...@gmail.com**20081204222822] [Style.Library.darkBlueTheme: cyan for variables. Operators should be brown. coreyocon...@gmail.com**20081204222742] [Vim: systematic and localised leftOnEol rule. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204225652 Ignore-this: 793b88201c1f7b05fd5f2bf7a4399be9 ] [Vim: a bunch of style changes. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204225639 Ignore-this: 8bfe306f46da28f1bcf0d5ff8889d5b1 ] [Vim: fix more cutting+adjBlock Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204203501 Ignore-this: bb11a79597f31265a4e62cfcb9c563d5 ] [Vim: "J" doesn't cut the newline it replace it by a space. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204203257 Ignore-this: 800eb5d71bdd6eedd74cd4cad608006d ] [Lexer.GNUMake: Adding basic include directive support coreyocon...@gmail.com**20081204192105] [Adding more include directive test cases to Makefile lexer test data coreyocon...@gmail.com**20081204192050] [Adding include directive tests to Makefile lexer test data coreyocon...@gmail.com**20081204191539] [Vim: replace z+ by z<CR> and save the current column. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204171358 Ignore-this: 3f73bbedc7e2d02b5b35d907ad4c1f7d ] [Vim: use moveToColB for N| command. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204171332 Ignore-this: 56f99d9b7ddffb93ea19459e3dd023c5 ] [Buffer: wall and style. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204170727 Ignore-this: 452d30e302e2114620e712a100283817 ] [Buffer: refactor lineMoveRel, add moveToColB, movingToPrefCol and solPointB Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204170427 Ignore-this: 38655198619a876821f1fafb0219d4a4 ] [More scrolling Krzysztof Goj <krzysztof....@gmail.com>**20081204025147 Normal mode: zz zt zb z. z+ z- Insert mode: ^y ^e ] [Vim: fix multiline cutting/pasting w.r.t. adjBlock. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204154310 Ignore-this: 5a7a134165571142cec59f93187cea06 ] [Vim: N% move now go to first non space. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204104245 Ignore-this: 49b00315b215893831191932a388daaf ] [cabal lexer: follow more closely the actual Cabal tool Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081204103504 Ignore-this: 668b9a8f6589e0dbad8c52f519d239a5 In particular concerning comments. ] [remove a bad usage of List.head jeanphilippe.berna...@gmail.com**20081204085212] [Yi.IReader: more comments gwe...@gmail.com**20081204005520 Ignore-this: c413390c7fd7ae85f76734fa3c5a8b54 ] [Yi/Users/Corey: Replaced hardcoded 4 in KBS handling to be shift width. coreyocon...@gmail.com**20081204041019] [Yi.Users.Corey: minor suggestions Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203214045 Ignore-this: c7357f691ea18c8a89db9b3e7293b762 ] [Vim: less parens. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203214311 Ignore-this: 22702b54973afdb5c77d67929452a695 ] [Vim: ":<int>" also have to go to first non space char. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203213806 Ignore-this: 69ee440d16448b21851ddbc06352b37f ] [Vim: improve 'G' code. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203213640 Ignore-this: 8cbd5f1a5c13ca99bc7dc0404563a147 ] ['gg' and 'G' should go to first non-space char of line Krzysztof Goj <krzysztof....@gmail.com>**20081203212353] [Vim normal mode: "gg" with count argument Krzysztof Goj <krzysztof....@gmail.com>**20081203203817] [Main.hs: M-x ireadMode to just iread gwe...@gmail.com**20081203181919 Ignore-this: b307ff52b630f8500f05218d4a5aa5c0 So I don't need to constantly disambiguate. ] [last of the LANGUAGE pragmas gwe...@gmail.com**20081203172631 Ignore-this: 8a1bd56c03682e4c9b163a615263af84 I have cast the extensions field into perdition, and added the missing per-file declarations. ] [Shim/*: +pragmas, rm unused imports gwe...@gmail.com**20081203165129 Ignore-this: eff16eba16ed8e3b98fdfe9420f1ab2b ] [fix up Shim/ w/r/t Control.Exception gwe...@gmail.com**20081203164517 Ignore-this: 4ec9ae4bafcf9b98c07acd0a6cbab9e ] [Shim/; some -Wall cleanup gwe...@gmail.com**20081203164408 Ignore-this: bcfe4c1e2d239472e56d08fe0eee0bd4 ] [Comments fix Krzysztof Goj <krzysztof....@gmail.com>**20081203155512 - Esc leaves visual mode -- dropping comment - Explain and extend a FIXME for S and C ] [Add Yi.Region.regionIsEmpty Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203175753 Ignore-this: c075fd46a14a991d5476770b9faafed7 ] [Vim: do nothing when cuting/pasting empty regions Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203155544 Ignore-this: e0b4bc63452e1e2df93b4e3a2a841413 This avoid marking the buffer as unsaved. ] [Vim: style, parens, and trailing white-spaces. Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203155350 Ignore-this: 3d959998aed83292f5fac99a7a8d6f44 ] [Vim: when leaving insert/replace mode, use moveXorSol 1 instead of leftB Nicolas Pouillard <nicolas.pouill...@gmail.com>**20081203155247 Ignore-this: f2766bc3a75501484a524d241f84e025 ] [Corrected 'x' and 'X' behaviour Krzysztof Goj <krzysztof....@gmail.com>**20081203125741 Now 'x' and 'X' are aliases to dl and dh (as in Vim) -- they cannot delete newline character. ] [Ctrl+h in insert and replace mode; Ctrl+w in replace mode Krzysztof Goj <krzysztof....@gmail.com>**20081203012614] [Ctrl+h in Ex mode Krzysztof Goj <krzysztof....@gmail.com>**20081203000017] [Ctrl+p, Ctrl+n in Ex mode Krzysztof Goj <krzysztof....@gmail.com>**20081202235807] [Vim visual mode: 's' is synonym to 'c' Krzysztof Goj <krzysztof....@gmail.com>**20081202233509] [Vim: ctrl+u, ctrl+d scrolling Krzysztof Goj <krzysztof....@gmail.com>**20081202231544] [Behaviour at end of line (BIG PATCH) Krzysztof Goj <krzysztof....@gmail.com>**20081203031045 - Doesn't allow to go to EOL in normal mode - Does allow it in other (visual, insert, replace) modes - Corrected D, and '$' command - cursor moves left after leaving insert and replace mode ] [Ctrl-t and Ctrl-d in insert mode (indentation) Krzysztof Goj <krzysztof....@gmail.com>**20081202223751] [Better percent move. Krzysztof Goj <krzysztof....@gmail.com>**20081202162105] [Issue 202: indentation and Vim commands Krzysztof Goj <krzysztof....@gmail.com>**20081202183446 Added indentation-awareness to cutRegion, pasteBefore and pasteAfter. ] [Fixed isMakefile: takeBaseName should be takeFileName. Otherwise makefile's named like foo.mk would not be recognized. coreyocon...@gmail.com**20081201193657] [replace all: more helpful message jeanphilippe.berna...@gmail.com**20081202145716] [fix build jeanphilippe.berna...@gmail.com**20081202145705] [Better word and WORD motions for Vim keymap. Krzysztof Goj <krzysztof....@gmail.com>**20081202132813] [doc jeanphilippe.berna...@gmail.com**20081202082407] [Yi/Users/Gwern.hs: +shorter binding for gotoLn gwe...@gmail.com**20081201233319 Ignore-this: 5defc56344c3e1c61bd602d192e06af3 I find the default Emacs binding of M-g g tedious; why not just M-g? ] [doc jeanphilippe.berna...@gmail.com**20081201231006] [make Accessor instance of Category jeanphilippe.berna...@gmail.com**20081201230945] [use Control.Category jeanphilippe.berna...@gmail.com**20081201230916] [Yi.Keymap.Emacs: +standard emacs M-; binding gwe...@gmail.com**20081201164033 Ignore-this: 5abf2d7154acfdcce44286f34ec238b9 ] [update to base>=4; replace all Control.Exception with Control.OldException gwe...@gmail.com**20081201164001 Ignore-this: 205b7c23a4ffcc16b8612d0b4edc9352 ] [better support for vivid colors jeanphilippe.berna...@gmail.com**20081201224805] [Main.hs: minor indent gwe...@gmail.com**20081201155233 Ignore-this: b53fd55beb556c92b6bba9ee4a49cd61 ] [added C-w and C-u to ex mode Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081201103414] ['ZZ' closes window, not editor, 'ZQ' == ':q!' Aleksandar Dimitrov <aleks.dimit...@googlemail.com>**20081201103311] [bump version number jeanphilippe.berna...@gmail.com**20081201104828] [TAG 0.5.2 jeanphilippe.berna...@gmail.com**20081201104823] Patch bundle hash: 85f4697b092bbfb279d1c7deba95efb9754c01ac -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAklNX3cACgkQvpDo5Pfl1oL/cwCeIs7E72ifCxG3/pr7qCpIOROD 1MQAoJYlRGj5I+EQgMEhFJ4tWGzHptVD =Eh6O -----END PGP SIGNATURE-----