Steven L. | 1 Aug 07:11 2015
Picon

could not compile YI with pango .. need help

Hi All,

I could compile and execute YI without pango.  This is on a Debian 8 (Jessie)
But when I try to compile YI with pango, I got lot of error about profiling libraries.

My cabal commands :
cabal configure -fpango -f-vty --enable-executable-profiling --enable-library-profiling --ghc-options=-auto-all
cabal build

Errors :
[145 of 147] Compiling Yi.Boot          ( src/library/Yi/Boot.hs, dist/build/Yi/Boot.o ) [flags changed]
[146 of 147] Compiling Yi.Config.Simple ( src/library/Yi/Config/Simple.hs, dist/build/Yi/Config/Simple.o ) [flags changed]
[147 of 147] Compiling Yi               ( src/library/Yi.hs, dist/build/Yi.o ) [flags changed]

src/library/Yi.hs:42:8-21:
    Could not find module ‘Data.Prototype’
    Perhaps you haven't installed the profiling libraries for package ‘oo-prototypes-0.1.0.0’?
    Use -v to see a list of the files searched for.

src/library/Yi.hs:59:8-15:
    Could not find module ‘Yi.Style’
    Perhaps you haven't installed the profiling libraries for package ‘yi-language-0.2.0’?
    Use -v to see a list of the files searched for.

src/library/Yi.hs:60:8-23:
    Could not find module ‘Yi.Style.Library’
    Perhaps you haven't installed the profiling libraries for package ‘yi-language-0.2.0’?
    Use -v to see a list of the files searched for.

src/library/Yi/Boot.hs:18:18-28:
    Could not find module ‘Config.Dyre’
    Perhaps you haven't installed the profiling libraries for package ‘dyre-0.8.12’?
    Use -v to see a list of the files searched for.

--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Syd Kerckhove | 2 Jun 13:41 2015
Picon

Documentation and Awareness

Hi everyone

I think it's really time that there came some serious documentation and awareness around Yi.
Has there been any talk of a website or any place at all to put documentation and start on it?

If you're looking for volunteers, I'm eager to help out with Yi and its documentation. I think it has serious potential.

Thank you for your time.

P.S: my advice on the website: use Hakyll.

--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
TheNewLinuxKitten | 26 Apr 21:57 2015
Picon

Some leader keys don't work

I'd like to use Yi to edit Haskell like I'm doing with vim. I've installed Yi and I'm using the yi-vim.hs example config. I'd like to implement my vim key bindings in Yi, but my first problem is the leader key; my vim leader key is , so I've added the following line of code to myBindings function

..
, nmap ",wn" newTabE
..

But it doesn't work. Changing this code to

..
, nmap "\\wn" newTabE
..

works fine.
Maybe my problem is that defNormalMap form Yi.Keymap.Vim.NormalMap defines a keybinding for the key , and this keybinding matches first and consumes the event key ,.
Is there any way to make bindings strings like ",ww", ",wk" or ",wj" have best match preference over the single key ","?

Thanks.

--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Thomas DuPlessis | 8 Feb 07:27 2015
Picon

Code Completion?

Is there any way to enable code completion features in Yi? Also is there a way to write extenstions that use this code completion suggestion feature? 

--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Amy de Buitleir | 5 Dec 18:04 2014
Picon

CUA mode Shift + left/right arrow does not extend/reduce selection

I've been writing some documentation on the CUA mode for yi, and noticed a bug:

Shift + up/down arrow extends/reduces selection by one line, as expected.
Alt + shift + up/down arrow extends/reduced *rectangular* selection by one line, as expected

Shift + left/right arrow does nothing! I would expect it to extend/reduce *rectangular* selection by one character.
Alt + shift + left/right arrow extends/reduces *rectangular* selection by one character, as expected

I have examined `Yi.Keymap.Cua`, and if my understanding of how `move` and `select` are defined is correct, it seems like Shift + left/right arrow should work. I've looked at `setMark` as well, but I haven't looked any deeper than that because I started to feel a bit lost. If anyone can point me in the right direction, I'll try to fix this problem and do a pull request.

--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Amy de Buitleir | 3 Dec 11:49 2014
Picon

Could not find module ‘Yi’


I'm using the latest version of Yi from GitHub. When I run yi without a custom configuration using --as=cua, it works just fine. But when I copy the configuration in example-configs/yi-cua.hs to ~/.config/yi/yi.hs and launch again (without --as=cua), I get an error:

/home/amy/.config/yi/yi.hs:1:8:
   
Could not find module Yi
   
Use -v to see a list of the files searched for.



The line in question is the first line of the sample configuration, i.e.,

import Yi

I built yi inside a sandbox. Here is how I'm launching it:

~/nosync/sandboxes/yi/bin/yi

Any suggestions?

--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
Amy de Buitleir | 26 Nov 12:30 2014
Picon

PageUp and PageDown in CUA mode

I'm using CUA mode, and I want to make PageUp and PageDown work as expected. There's no TextUnit for "Page", so it seems I can't do it using maybeMoveB. Is there another way to do it?

Here's my config:

{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_HADDOCK show-extensions #-} -- is this needed?
import Yi
import Yi.Keymap.Cua


myConfig
:: Config
myConfig
= defaultCuaConfig

defaultUIConfig
:: UIConfig
defaultUIConfig
= configUI myConfig

extendedCuaKeymapSet
:: KeymapSet
extendedCuaKeymapSet
= customizedCuaKeymapSet $
  choice
[ metaCh 'x' ?>>! helloWorld
         
, metaCh 's' ?>>! promptFile "Write file:" fwriteToE
         
, spec KPageUp ?>>! maybeMoveB ??? Backward
         
, spec KPageDown ?>>! maybeMoveB ??? Forward ]

helloWorld
:: YiM ()
helloWorld
= withCurrentBuffer $ insertN "Hello, world!"

main
:: IO ()
main
= yi $ myConfig
 
{

   
-- Keymap Configuration
   defaultKm
= extendedCuaKeymapSet,

   
-- UI Configuration
   
-- Override the default UI as such:
   startFrontEnd
= startFrontEnd myConfig,

   configUI
= defaultUIConfig
     
{
       configFontSize
= Nothing,
                       
-- 'Just 10' for specifying the size.
       configTheme
= configTheme defaultUIConfig,
                     
-- darkBlueTheme  -- Change the color scheme here.

       configWindowFill
= ' '
     
}
 
}



--
--
Yi development mailing list
yi-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
http://groups.google.com/group/yi-devel
---
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.
GitHub | 6 Oct 10:03 2014

[yi-editor/yi] 2156fb: Mention nix hacking instructions

  Branch: refs/heads/master
  Home:   https://github.com/yi-editor/yi
  Commit: 2156fb447a1a92264fcab92bf2e443e9214d77de
      https://github.com/yi-editor/yi/commit/2156fb447a1a92264fcab92bf2e443e9214d77de
  Author: Mateusz Kowalczyk <fuuzetsu@...>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Mention nix hacking instructions

-- 
--

-- 
Yi development mailing list
yi-devel@...
http://groups.google.com/group/yi-devel
--- 
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.

GitHub | 6 Oct 09:45 2014

[yi-editor/yi] 3e48b2: Point the user to GitHub pages for installation

  Branch: refs/heads/master
  Home:   https://github.com/yi-editor/yi
  Commit: 3e48b2a6c970d3d9f0b9b476142b3dc9f29fdab6
      https://github.com/yi-editor/yi/commit/3e48b2a6c970d3d9f0b9b476142b3dc9f29fdab6
  Author: Mateusz Kowalczyk <fuuzetsu@...>
  Date:   2014-10-06 (Mon, 06 Oct 2014)

  Changed paths:
    M README.md

  Log Message:
  -----------
  Point the user to GitHub pages for installation

-- 
--

-- 
Yi development mailing list
yi-devel@...
http://groups.google.com/group/yi-devel
--- 
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.

GitHub | 5 Oct 19:32 2014

[yi-editor/yi] 13e43a: cosmetic

  Branch: refs/heads/master
  Home:   https://github.com/yi-editor/yi
  Commit: 13e43ad0038a6dbae6bc52760af0d61dced05118
      https://github.com/yi-editor/yi/commit/13e43ad0038a6dbae6bc52760af0d61dced05118
  Author: Mateusz Kowalczyk <fuuzetsu@...>
  Date:   2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M yi/src/library/Yi/Buffer/Misc.hs
    M yi/src/library/Yi/Modes.hs

  Log Message:
  -----------
  cosmetic

-- 
--

-- 
Yi development mailing list
yi-devel@...
http://groups.google.com/group/yi-devel
--- 
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.

GitHub | 5 Oct 18:13 2014

[yi-editor/yi] de3cf6: Remove Ref typeclass

  Branch: refs/heads/master
  Home:   https://github.com/yi-editor/yi
  Commit: de3cf665df6e9dbae8bb5304db6cf27e07f8cf0f
      https://github.com/yi-editor/yi/commit/de3cf665df6e9dbae8bb5304db6cf27e07f8cf0f
  Author: Carter Charbonneau <zcarterc@...>
  Date:   2014-10-05 (Sun, 05 Oct 2014)

  Changed paths:
    M yi/src/library/Yi/Core.hs
    M yi/src/library/Yi/Monad.hs
    M yi/src/library/Yi/Types.hs
    M yi/src/library/Yi/UI/Pango.hs
    M yi/src/library/Yi/UI/Pango/Control.hs

  Log Message:
  -----------
  Remove Ref typeclass

MVar and IORef have different semantics (MVar can be empty, IORef
can't), so this typeclass isn't all that useful. In addition, it's not
used all that much, and only to automatically liftBase!

Closes #625

-- 
--

-- 
Yi development mailing list
yi-devel@...
http://groups.google.com/group/yi-devel
--- 
You received this message because you are subscribed to the Google Groups "yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscribe@...
For more options, visit https://groups.google.com/d/optout.


Gmane