| Commit message (Collapse) | Author | Files | Lines |
|
Ignore-this: 9f8c14b5aa9d398b3f167da0af1a8650
The current DynamicWorkspaces module only supports adding new workspaces
at the start of the list of workspaces. This means when binding workspaces
to keys based on the position in the list, key bindings can change
as workspaces are added in removed in a far more destructive way than
necessary. Instead, supporting appending and arbitrary insertion allows
the user to determine where the new workspace should be added.
This patch is a straight generalization of the addHiddenWorkspace' function.
Rather than always using `(:)` to insert the new workspace into the list
of workspaces, this patches causes it to use an arbitrary list insertion
function instead. A few new functions are added to prevent breakage of
external code while exported functions are left unchanged.
List of new functions:
appendWorkspace
appendWorkspacePrompt
addWorkspaceAt
addHiddenWorkspaceAt
Existing functions were modified to call their generalized brethren where possible
without changing functionality. This patch should not change behavior for any
existing users of this module.
darcs-hash:20141219002309-8d489-1a2c5cacb9724bd185836691027d1aefb8a799d5.gz
|
|
Ignore-this: 898458b1d2868a70dfb09faf473dc7aa
darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
|
|
Ignore-this: 6fce4bd3d0c5337e5122158583138e74
darcs-hash:20121231214343-7d114-8b4036fa122c1729022106d0271e2d8a796d2dfb.gz
|
|
Ignore-this: 55fb0859e9a5f476a834ecbdb774aac8
darcs-hash:20121231214148-7d114-78826e0e2f25128ddd79a6360d7c24b72f40b0f6.gz
|
|
Ignore-this: 4b8aa0405de3969000b1a78eb12992
darcs-hash:20121227063531-7d114-cf51e681da21447cc691be41d313e22fb6337f38.gz
|
|
Ignore-this: 1cac9202784711ce0fc902d14543bab0
darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
|
|
Ignore-this: c73b88f9567af86bd560b911e33da301
Daniel's change which broke -Wall (adding an import for haddock only) was
somehow removed. Instead we can just modify the sample code to add the import.
darcs-hash:20110527033521-1499c-c8541e34d750bfa8aeec79389267110d05778477.gz
|
|
Ignore-this: 218d2e19835f1e4315c01bd6214899ce
darcs-hash:20110504192455-af521-ba19a95226d2527af9fbad8ed902982f2db567db.gz
|
|
useful in conjunction with X.A.DynamicWorkspaces
Ignore-this: 1bd2232081ba045582d230b632c5bd08
darcs-hash:20110415224846-76d51-1cc38bfa8bdf61b18afef08c1244a9d56eb42817.gz
|
|
Ignore-this: 9d64301708cb1702b9b46f1068efa891
darcs-hash:20100314205951-f7719-8e10d50daafbf32e3f13d32ab21af82ff37869eb.gz
|
|
Ignore-this: 1a6018ab134e4420a949354575a8a110
darcs-hash:20091115022751-1499c-c2f8ccf3cada9e16a5d35e87e41baa160c74e774.gz
|
|
Ignore-this: ab7c20a9c1b43ebc6a7f4700d988fb73
Before this patch the documentation claims that it won't do anything on non-empty workspaces when it actually does. This patch fixes the documentation to reflect the actual behaviour, but also adds the behaviour promised by the documentation in other functions. It does not break configs. In addition it also provides functions to help removing empty workspaces when leaving them.
darcs-hash:20091113233903-8978f-1adf2aba46b7931732b51338c3f73508e840a487.gz
|
|
another copy of an existing workspace
Ignore-this: 5bfe8129707b038ed04383b7566b2323
darcs-hash:20091112201351-1e371-ed6aeb650d2e9d6a4c131e8f7a36b922b8f1d905.gz
|
|
Ignore-this: a3992b1b7938be80d8fd2a5a503a4042
darcs-hash:20091108170503-1e371-0d0cc44d7d9bf275a4289b8161b098f65b338192.gz
|
|
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a
This makes the config suggestions consistent with the current template.
darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
|
|
darcs-hash:20080828151830-72aca-75151cf20f4efc1a3d1bc324cfdbc5602f58b363.gz
|
|
darcs-hash:20080608045318-d53a8-b3ad374673c9428d89b0f9b5c8fb2e69c20e5865.gz
|
|
darcs-hash:20080229223047-72aca-f66c6583d8be77207a3f083fe26be40f1f02e4b5.gz
|
|
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
|
|
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
|
|
darcs-hash:20071127220033-bd4d7-1636ab859e77fc9b06a8f08630004e283388b244.gz
|
|
darcs-hash:20071109152649-72aca-447ce5fcc5c8d7c3ae9f4405fa7427f92fa5611a.gz
|
|
darcs-hash:20071109152124-72aca-966fc515a4e1f52fc16929680e152c27d20fb60c.gz
|
|
darcs-hash:20071101183546-72aca-01f90fa9b4a7b2b3b1b8ea2f22088d1490d07978.gz
|
|
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
|
|
darcs-hash:20071101182824-a5988-e02ade829d66f49dd6b303b7a797933251c44164.gz
|
|
darcs-hash:20071018145604-72aca-d28097e49bc8ba0a939dcc87cbd6fd791682494b.gz
|
|
darcs-hash:20071016231218-72aca-0da806169b43d3b2dfebae4f83b556dadc0fdb74.gz
|
|
darcs-hash:20071016230301-72aca-e003c298f830d89d4125c5d15accb4ed71bc6241.gz
|
|
darcs-hash:20071016223347-72aca-a0a6ab2a43a33f5901640fa2f192e0af3ef61a74.gz
|
|
darcs-hash:20071015205542-a5988-4636825868c99db4f3cfdcd6b1e361d78e393762.gz
|
|
darcs-hash:20070929191238-72aca-ceb0f2a89b35460e87cf9ff935f786b5a6028fb5.gz
|
|
darcs-hash:20070925220659-72aca-af6f6b56fd706bcd2b666a041e496eefb6d34875.gz
|
|
core
darcs-hash:20070917213329-a5988-b9cc2ae3e1c8740eecb9300a4b92a2dcd9c81aa1.gz
|
|
darcs-hash:20070820113813-72aca-30984283cb9c04185fde9c89253af00e16912c10.gz
|
|
darcs-hash:20070814183542-72aca-69bc348ac38c0a2133782d874344255ab1221821.gz
|
|
Note: there's still a bug due to our failure to inform
the old layouts to clean up.
darcs-hash:20070814014548-72aca-9b66ee3deba31a15b6e0b0dd0b79847edc6fc6e3.gz
|
|
darcs-hash:20070814011501-72aca-10aa9dd1a14ac1179f8cc16ebd52b1e54a505df8.gz
|