Re: Future work wiki page

2013-11-17 Thread Jean-Philippe Bernardy
[massive snip] >> Is being available as a dynamic library (or embeddable as a static > >> library) sufficient to make it possible to write a Yi highlighting > >> "adapter" in the new scheme of things? This would of course require FFI, > >> and so would require the IO monad. > >> > > > > There is a

Re: Future work wiki page

2013-11-15 Thread Jean-Philippe Bernardy
On Fri, Nov 15, 2013 at 1:01 PM, Bardur Arantsson wrote: > On 2013-11-15 11:34, Jean-Philippe Bernardy wrote: > > On Fri, Nov 15, 2013 at 10:21 AM, Dmitry Ivanov > wrote: > > > [--snip--] > > (I'm using C++ as an example here, but you could probably insert &quo

Re: Future work wiki page

2013-11-15 Thread Jean-Philippe Bernardy
ernalised? I still believe that to make Yi interesting it should be internal. However I'd respect whatever decision the maintainer will make. If necessary Tobias will do his work in a branch or fork of Yi. Cheers, JP. > > On Friday, November 15, 2013 3:12:18 PM UTC+7, Jean-Phil

Re: Future work wiki page

2013-11-15 Thread Jean-Philippe Bernardy
em is that it is quite hard to go beyond regexps: making a parser suitable for detection of syntax (including paretheses) is quite of a black art. This should be solved with the new system: is will accept any grammar in BNF format). Cheers, JP. > On Tuesday, November 12, 2013 3:42:28 PM UTC

Re: Future work wiki page

2013-11-12 Thread Jean-Philippe Bernardy
I have devised a new syntax highlighting scheme. Benefits: much faster, and syntax can be derived directly from an existing context-free grammar. Tobias (cc'ed) is interested in integrating it into Yi as part of his Master's thesis. Cheers, JP. On Mon, Nov 11, 2013 at 8:24 PM, Marc Weber wrote

Re: Syntax-based highlighting modes

2013-06-06 Thread Jean-Philippe Bernardy
My opinion is that the parsers should be written using a more robust approach to incrementality, namely that I've developed for this purpose and described here www.cse.chalmers.se/~bernardy/PP.pdf (I developed the current version; the problem with it is that it requires inhumane skill to constr

Re: What about participating in Google Summer of Code?

2013-04-25 Thread Jean-Philippe Bernardy
o August 2: >> Midterm evaluation and delivery of the "dumb" auto-complete >> >> August 2 to August 16: >> Relaxation trip for better coding during the final stretch! Will pack up >> a book or two in the backpack. >> >> August 17 to August 31: &g

Re: What about participating in Google Summer of Code?

2013-04-15 Thread Jean-Philippe Bernardy
Yes it is possible. A proposal will then be in competition with other haskell.org projects, as I understand it. On Sun, Apr 14, 2013 at 9:26 PM, wrote: > > I'm a student currently interested in GSoC and Yi. But Yi was not part of > the mentoring organizations, so I just want to know if it is po

Efficient and general incremental parsing for Yi

2013-04-04 Thread Jean-Philippe Bernardy
The incremental parser, which I envision should be used in Yi eventually, is now integrated into the BNFC baseline. https://github.com/BNFC/bnfc The method is described in a draft paper available here: http://www.cse.chalmers.se/~bernardy/PP.pdf An incremental lexer (hopefully based on Alex) wo

Re: On the Yi Blog

2013-02-25 Thread Jean-Philippe Bernardy
I agree that a more "modern" thing than a blog might be a good idea. Twitter seems like an ok solution. I have also given you permission to post to the blog just in case. Cheers, JP. On Tue, Feb 26, 2013 at 6:54 AM, Masayuki Hatta wrote: > Hi, > > I'm now thinking about updating (mostly cosme

Re: How to get added to issue management system?

2012-11-30 Thread Jean-Philippe Bernardy
there are no objections against github, so I think it's time to close the > old tracker. > > > On Monday, November 19, 2012 5:12:04 PM UTC+7, Jean-Philippe Bernardy > wrote: > >> Any voice against github? >> >> We should not have two concurrent databases of i

Re: Time for a new release!

2012-11-20 Thread Jean-Philippe Bernardy
> What's missing? >>> - A lexer generator for this: http://blog.sigfpe.com/** >>> 2009/01/fast-incremental-**regular-expression.html(ideally >>> an Alex backed) >>> - A parser generator targetting CNF (One could think of writ

Re: Time for a new release!

2012-11-20 Thread Jean-Philippe Bernardy
On Sat, Jul 21, 2012 at 12:05 PM, Jean-Philippe Bernardy < berna...@chalmers.se> wrote: > Sounds great! I'm glad to see continued interest in Yi :) > > Maybe it's also time for an update on my side... > > I've been working on a new framework for increm

Re: How to get added to issue management system?

2012-11-19 Thread Jean-Philippe Bernardy
Any voice against github? We should not have two concurrent databases of issues; one of them should be closed down rather soon. Cheers, JP. On Mon, Nov 19, 2012 at 10:57 AM, Dmitry Ivanov wrote: > > I've used migrated issues to github (accidentally increasing their number > from 374 to 423,

Re: Issue 370 in yi-editor: Unicode quote in Haskell source code causes crash

2012-09-26 Thread Jean-Philippe Bernardy
On Tue, Sep 25, 2012 at 6:53 AM, wrote: > > Comment #2 on issue 370 by etherc...@gmail.com: Unicode quote in Haskell > source code causes crash > http://code.google.com/p/yi-**editor/issues/detail?id=370 > > Here is the stacktrace produced

Re: review request

2012-09-10 Thread Jean-Philippe Bernardy
I merged what I felt was competent on. Cheers, JP. On Mon, Sep 10, 2012 at 7:51 PM, Dmitry Ivanov wrote: > Can someone review my pull requests at > https://github.com/yi-editor/yi/pulls ? > > I don't feel comfortable pushing code that nobody has looked at. > > -- > Yi development mailing list >

Re: Time for a new release!

2012-07-21 Thread Jean-Philippe Bernardy
> > > What other options are there besides Happy/Alex? I understand these > generate fast parsers but I dislike the interface. I think many people > would like to be able to use a parser combinator library like Parsec. > Recursion in the grammar must be explicit. So one could use for example Domin

Re: Time for a new release!

2012-07-21 Thread Jean-Philippe Bernardy
Sounds great! I'm glad to see continued interest in Yi :) Maybe it's also time for an update on my side... I've been working on a new framework for incremental parsing, based on the monoid structure. The theory is fairly well understood at this point, and there is even an implementation that work

Re: How can user map events to ex commands in config file?

2012-06-18 Thread Jean-Philippe Bernardy
You need to extend the defKeymap prototype. A rationale for prototypes is explained here: http://yi-editor.blogspot.se/2008/12/prototypes-encoding-oo-style.html If it turns out that the piece of code that you need is not accessible in the prototype, then you can: - move the piece of code to the

Re: [yi] Need of Prototype?

2012-05-21 Thread Jean-Philippe Bernardy
> Well I am comparing the coding styles, not particular constructs. I > was comparing typeclasses+non-recursive records and fixpoints of > recursive definitions of records. I feel Haskell provides a little bit > more syntax sugars for the former. Indeed. On the other hand the implicit passing of

Re: [yi] Need of Prototype?

2012-05-20 Thread Jean-Philippe Bernardy
On Sun, May 20, 2012 at 10:44 PM, Favonia wrote: To me, typeclass seems more Haskell-ish and I would like to stick to > that if possible. Typeclasses are perhaps the clunkiest part of Haskell. Certainly you can't say that records are less Haskellish :) > Two technical downsides of Prototype a

Re: Re-thinking bootstrapping yi

2012-03-28 Thread Jean-Philippe Bernardy
I think I get it now. It's a bit "scary" to require every user to have a copy of the sources. What you propose seems to amount to having all sources become part of the "configuration" we have now. Would it be possible to have Yi look for "configuration files" in the source tree directly? (but onl

Re: Re-thinking bootstrapping yi

2012-03-28 Thread Jean-Philippe Bernardy
I'll just throw my two cents. I am not sure what are your goals, but my main issue with developing was the time it took to compile the sources. I think at the moment "cabal install" compile (nearly) every module twice. This should be avoidable by using the new cabal functionality to depend on a li

Re: Creating a new mode

2012-03-12 Thread Jean-Philippe Bernardy
> ~/yi is the git clone root) there is a folder src but it > contains {executable, library, parsertest, tests}. Does the > Makefile need updating? What's the usual development cycle for > you guys? I used to use the HackerMain, but not any more. I just "cabal install" every time. I think the next

Re: Creating a new mode

2012-03-07 Thread Jean-Philippe Bernardy
I'd say it's very likely that you are actually not using the mode "myModeGen" but something else. Certainly the code that you show cannot explain the error you describe. It's puzzling that you have an unused argument in myModeGen, making me guess you have other versions of this code lying around.

Re: Patch: Emacs-like file path shorthands

2011-12-27 Thread Jean-Philippe Bernardy
> For clarity, this is a git repository on a dumb HTTP server. Sorry, I've been spoit by the web 2.0. Cheers, JP. -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

Re: Patch: Emacs-like file path shorthands

2011-12-27 Thread Jean-Philippe Bernardy
On Tue, Dec 27, 2011 at 1:36 PM, Dominique Devriese wrote: >  http://people.cs.kuleuven.be/dominique.devriese/yi.git Error message: 403, Forbidden (You don't have permission to access /~dominique.devriese/yi.git/ on this server.) Cheers, -- JP -- Yi development mailing list yi-devel@googlegro

Re: Documentation for yi?

2011-08-28 Thread Jean-Philippe Bernardy
On Sun, Aug 28, 2011 at 12:15 PM, Erik de Castro Lopo wrote: > Hi all, > > I am having a look a Yi and was wondering if there was any documentation. > > Specifically, Yi depends on a relatively large number of somewhat > obscure Haskell libraries (eg fingertree, pointedlist, rosezipper > etc). Wha

Re: Highlighter data type

2011-06-27 Thread Jean-Philippe Bernardy
On Mon, Jun 27, 2011 at 3:57 AM, Reiner Pope wrote: > This makes sense. I haven't really understood the code that implements this, > though. Right, in the end I am not sure the current code hits a proper balance between intricacy and performance. > I'm interested in making a better LaTeX mode

Re: Highlighter data type

2011-06-26 Thread Jean-Philippe Bernardy
On Sun, Jun 26, 2011 at 5:34 PM, Reiner Pope wrote: > On a similar note, would it be acceptable to join the 'hlRun' and 'hlFocus' > fields. Currently they are: > > hlRun :: Scanner Point Char -> Point -> cache -> cache, > hlFocus :: Map WindowRef Region -> cache -> cache I am not sure... However,

Re: Highlighter data type

2011-06-26 Thread Jean-Philippe Bernardy
On Sun, Jun 26, 2011 at 4:18 PM, Reiner Pope wrote: > Hi, > > I was looking at the Highlighter data type in Yi.Syntax, and I'm wondering > about this: > > data Highlighter cache syntax = SynHL { > ... > hlRun :: Scanner Point Char -> Point -> cache -> cache, > ... >   } > > What doe

Re: Serializable dynamics

2011-05-20 Thread Jean-Philippe Bernardy
I have casually looked through the code and I saw nothing against it. As for the technique, I have to say it's a clever trick :). I normally would have opposition of principle against unsafePerformIO, but you could argue that serializable dynamics should be supported natively by GHC anyway. That s

Re: Strictness policy

2011-05-14 Thread Jean-Philippe Bernardy
On Sat, May 14, 2011 at 10:20 AM, Reiner Pope wrote: > So, what I mean is that strictness of the 'Window' type should (IMO) be > guaranteed by the 'Yi.Window' module, but at present anyone at all can > circumvent this. Right, I did not give too much thought about this one. It would be best to ma

Re: Strictness policy

2011-05-14 Thread Jean-Philippe Bernardy
On Sat, May 14, 2011 at 9:40 AM, Nicolas Pouillard wrote: > I would recommend to use a strict-by-default datastructure instead of lazy > lists plus NFData. This is not against NFData which is very useful but it > traverses the whole list each time even when the list is already forced. > What abou

Re: Strictness policy

2011-05-14 Thread Jean-Philippe Bernardy
On Sat, May 14, 2011 at 7:06 AM, Reiner Pope wrote: I was distracted while answering your message... Let me try again to reply in more specific terms :) > Is there a policy for strictness of datatypes in Yi, and what is it? > Specifically: > > When I write a datatype, which fields should I make

Re: Strictness policy

2011-05-14 Thread Jean-Philippe Bernardy
All the fields in the editor state (and sub-records, eg. buffer state) should be strict. Every time the user presses a key, the editor state is updated. If a field is lazy in a record, setting it creates a thunk that contains the whole old record. So, there is a risk of accumulating a whole histor

Re: Thoughts on client/server architecture

2011-05-12 Thread Jean-Philippe Bernardy
On Wed, May 11, 2011 at 5:05 PM, Arenielle wrote: > Ok, this is quite reasonable. At the same time, I don't understand how do > you see installation process. > Suppose user doesn't have any config. > cabal install yi > cabal install yi-pango > How will Yi select UI for him, since it's not hardcode

Re: Can't build Yi with -fhacking

2011-05-12 Thread Jean-Philippe Bernardy
We should really remove the hacking flag. This was to speedup development builds, but it should not be needed with new cabal, where the executables can use the library instead of recompiling every module another time. Cheers, JP. On Thu, May 12, 2011 at 2:35 PM, Andrew Myers wrote: > Hi everyone

Re: Thoughts on client/server architecture

2011-05-11 Thread Jean-Philippe Bernardy
On Wed, May 11, 2011 at 4:00 PM, Max Cantor wrote: > Alternatively, you could have Yi just be a library which front-end's link to. >  then, only the front-ends have binaries.  no linking issues, no plugins, far > simpler dependency checks, easier for people unrelated to the project to > write n

Re: Thoughts on client/server architecture

2011-05-11 Thread Jean-Philippe Bernardy
On Wed, May 11, 2011 at 3:30 PM, wrote: > Do you mean keeping UIs in the same package with core? No; they can be separate. > Or dropping the > ability to select frontend on startup with cmd args? No. I am saying the configuration file can link to any number of UIs desired (ff they are not ins

Re: Is flexible minibuffer location actually useful?

2011-05-11 Thread Jean-Philippe Bernardy
On Wed, May 11, 2011 at 3:11 PM, Reiner Pope wrote: > On 11/05/11 17:27, Jean-Philippe Bernardy wrote: > > Rather than adding a new window type, It would be a lot easier to > > 1. Change the layout algorithm to put mini windows at the bottom > 2. Creation of a miniwindow if

Re: Thoughts on client/server architecture

2011-05-11 Thread Jean-Philippe Bernardy
Why not just let the frontends link with the core statically? After all re-configuration triggers a re-link. Cheers, JP. On Wed, May 11, 2011 at 11:53 AM, wrote: > Hello guys, > Recently I've been thinking on splitting Yi into core package and UIs. > Here are some of my thoughts: > Currently Yi

Re: Is flexible minibuffer location actually useful?

2011-05-11 Thread Jean-Philippe Bernardy
On Wed, May 11, 2011 at 3:30 AM, Reiner Pope wrote: > Thoughts? Rather than adding a new window type, It would be a lot easier to 1. Change the layout algorithm to put mini windows at the bottom 2. Creation of a miniwindow if one already exists. The logical position of the miniwindow in the st

Re: Starting a minimalist fork at https://github.com/ijt/yi

2011-03-24 Thread Jean-Philippe Bernardy
On Thu, Mar 24, 2011 at 3:04 PM, Aleksandar Dimitrov wrote: > yi would or would not compile without a display package (doesn't really > matter, > I think.) In the end, it would probably be more client-server oriented. You > have > a core "server" that keeps track of the cursor and buffer state(

Re: Thoughts on "yi-contrib" package?

2011-02-06 Thread Jean-Philippe Bernardy
On Sun, Feb 6, 2011 at 1:32 AM, Jeff Wheeler wrote: > Hey all, > > If we can get Yi on github/code.google.com, I've got something I think > would be great for Yi. > > I'd like to see us split off a large amount of the cruft in Yi into a > separate yi-contrib package. The tricky part of this is the

Re: Ireader mode not showing up in M-x

2010-11-08 Thread Jean-Philippe Bernardy
> > I happened to be trying this with Nothing, and when no completions > appeared, on a lark I tried typing ireadMode and hitting enter anyway > - which landed me in ireader-mode! So apparently it was present and > ready to go, but it was not showing up in completions. Maybe you could file a bug r

Re: Binding some function to a key

2010-11-03 Thread Jean-Philippe Bernardy
On Wed, Nov 3, 2010 at 3:40 PM, Thomas wrote: > One question in particular.  I defined some function.  How can I get > access to that, so that I can do "M-x myFunction"?  I found some hint > from 2008 that I should look into the Yi.Yi module... but couldn't > find a Yi.Yi module.  I guess that hi

Re: patch applied (yi): Add .authorspellings file

2010-10-26 Thread Jean-Philippe Bernardy
Sounds good! -- JP On Tue, Oct 26, 2010 at 5:21 PM, Jeff Wheeler wrote: > Fri Oct 22 18:49:47 EDT 2010  jeffwhee...@gmail.com >  * Add .authorspellings file >  Ignore-this: 484912c9a09caf6f9b58592f69fea51d > >  I'm inclined to replace the CONTRIBUTORS stuff with this. It doesn't do as >  much, bu

Re: VTE UI

2010-10-26 Thread Jean-Philippe Bernardy
On Tue, Oct 26, 2010 at 5:18 PM, Jeff Wheeler wrote: > Postfix seems to be failing me right now, so I've attached the patch instead. > > I've created a super simple UI based using the vte library, which just > provides a Gtk terminal widget. That seems like a pretty good idea! > Like I said in t

patch applied (yi): HCAR: sp

2010-10-25 Thread Jean-Philippe Bernardy
Mon Oct 25 18:56:38 EDT 2010 gwe...@gmail.com * HCAR: sp Ignore-this: 6c5168ea402c549834692930fcfbdb8a M ./doc/HCAR.tex -1 +1 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

patch applied (yi): HCAR: mention switch to hint

2010-10-25 Thread Jean-Philippe Bernardy
Mon Oct 25 18:56:43 EDT 2010 gwe...@gmail.com * HCAR: mention switch to hint Ignore-this: 888b430c86d01630a244cdc977e8e859 M ./doc/HCAR.tex +1 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

Re: patch with fixes to buffer list mode

2010-10-20 Thread Jean-Philippe Bernardy
On Wed, Oct 20, 2010 at 8:06 PM, DanL wrote: > Sorry... darcs send doesn't appear to work for me... Could you use darcs send -o theFile.patch then send the file as attachment? Thanks! -- JP > > Mon Oct 18 17:57:17 PDT 2010  dan.liebg...@gmail.com >  * buffer list mode shows useable names > >

Re: darcs patch: fix scrolling so it no longer snaps to t... (and 2 more)

2010-10-07 Thread Jean-Philippe Bernardy
If it's fine by you it's fine by me :) -- JP On Thu, Oct 7, 2010 at 6:44 AM, Jeff Wheeler wrote: > I'm fine applying this. Any complaints? > > -Jeff > > On Wed, Oct 6, 2010 at 3:52 PM,   wrote: >> 3 patches for repository http://code.haskell.org/yi: >> >> Thu Sep 16 00:17:42 CDT 2010  jw...@googl

Re: Patch to improve scrolling in Yi

2010-10-04 Thread Jean-Philippe Bernardy
On Tue, Oct 5, 2010 at 12:20 AM, Jeff Wheeler wrote: > I think the more significant blocker was that nobody knew the /right/ > way to implement this, without mixing the layers (UI, scrolling > behavior) too much. I would be ok to push the patch if it was accompanied with (inline) documentation of

Re: darcs patch: fix scrolling so it no longer snaps to t... (and 1 more)

2010-09-18 Thread Jean-Philippe Bernardy
On Sat, Sep 18, 2010 at 7:10 PM, Jeremy Wall wrote: > Finally got postfix on the macbook properly configured to relay email > correctly. Whew!! This is something I always wanted to accomplish, but failed to achieve so far. Would you care sharing your experience? As for the actual patches, I lean

Re: Patch to improve scrolling in Yi

2010-09-18 Thread Jean-Philippe Bernardy
On Sat, Sep 18, 2010 at 6:36 AM, Jeremy Wall wrote: > Since YI snaps the window to center on the point scrolling off the > screen is a jarring experience. > > I've put together a couple patches that make scrolling work more > reasonable (in my opinion) by only moving the window the minimum > dista

Re: Ireader mode not showing up in M-x

2010-09-01 Thread Jean-Philippe Bernardy
On Wed, Sep 1, 2010 at 3:28 PM, Gwern Branwen wrote: > On Sun, Aug 29, 2010 at 12:24 PM, Jean-Philippe Bernardy > wrote: >> Your function should be in the scope of the interpreter. >> >> See Eval.hs: >> >> LHI.setImportsQ [("Yi", Nothing), (&qu

patch applied (yi): compilation fix

2010-08-29 Thread Jean-Philippe Bernardy
Sun Aug 29 12:24:55 EDT 2010 jeanphilippe.berna...@gmail.com * compilation fix Ignore-this: d3533951084623ae2697a012d314f165 M ./src/Yi/UI/Pango/ProjectTree.hs -2 +3 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

Re: Ireader mode not showing up in M-x

2010-08-29 Thread Jean-Philippe Bernardy
Your function should be in the scope of the interpreter. See Eval.hs: LHI.setImportsQ [("Yi", Nothing), ("Yi.Keymap",Just "Yi.Keymap")] - The set of imported stuff should probably be a config option. Cheers, JP. On Sun, Aug 29, 2010 at 2:22 PM, Gwern Branwen wrote: > With darcs yi, and no app

Re: Issue 313 in yi-editor: read only

2010-06-22 Thread Jean-Philippe Bernardy
On Tue, Jun 22, 2010 at 5:39 AM, wrote: > > Comment #1 on issue 313 by jeffwheeler: read only > http://code.google.com/p/yi-editor/issues/detail?id=313 > > Yi currently supports read-only buffers, so it looks like we just need to > recognize when we are editing a read-only file. > > I'm not sure

Re: failed to launch with example configuration

2010-06-09 Thread Jean-Philippe Bernardy
On Thu, Jun 10, 2010 at 7:41 AM, Wen Pu wrote: > Hi all, > > I successfully built yi from darcs with ghc 6.12.1, cabal 1.8.0.2, > cabal-install 0.8.2. > I can start yi without config file, but once I copy the example config > files to ~/.yi/yi.hs, I keep receiving following error message: > > $ yi

Re: Examples of customizing yi.

2010-05-26 Thread Jean-Philippe Bernardy
As long as you want an editor like interface, you can do that with Yi without too much trouble. As for examples, you may want to look in the Users subdirectory. Also, you can look at Yi.IReader.hs, which I think tries to do something similar to your application. -- JP. On Tue, May 25, 2010 at 7:

Re: Install failre: problem with cabal dependences

2010-05-24 Thread Jean-Philippe Bernardy
Could you try with the repo and see if it works ? Then we'd need to do a release. On Mon, May 24, 2010 at 11:35 AM, Leon Nikitin wrote: > > > No. Just 'cabal install yi'. I've been installed it after theese extra params. > > > -- > Yi development mailing list > yi-devel@googlegroups.com > http://

Re: Install failre: problem with cabal dependences

2010-05-24 Thread Jean-Philippe Bernardy
Did you use the darcs repo? On Mon, May 24, 2010 at 8:03 AM, Leon Nikitin wrote: > Hello. > I've just tried to install (latest) yi and got error. > It' seems that there are package dependences problem. > yi-0.6.2.2 requires transformers == 0.1.* > but latest packages data-accessor (0.2.1.3), data

Re: Patch: Pick default config file that matches temporary keymap picked by the user on first run

2010-04-26 Thread Jean-Philippe Bernardy
Yup, darcs send is the way to go. (possibly output to file if sendmail does not work). On Tue, Apr 27, 2010 at 2:02 AM, Jeff Wheeler wrote: > Hmm, I'm still having trouble applying this. > > You either need to attach the content as a file, output directly by > darcs, or use the 'darcs send' comma

Re: patch applied (yi): Update C lexer for special comments (e.g. "/**")

2010-04-22 Thread Jean-Philippe Bernardy
Not sure what you want to do... But are you sure you did not break "old" comment lexeme? Cheers, JP. On Fri, Apr 23, 2010 at 8:13 AM, Jeff Wheeler wrote: > Fri Apr 23 02:12:10 EDT 2010  jeffwhee...@gmail.com >  * Update C lexer for special comments (e.g. "/**") >  Ignore-this: 281958beb016887d10

Re: Turning off unicode symbols

2010-04-20 Thread Jean-Philippe Bernardy
On Sat, Apr 10, 2010 at 11:12 PM, Maciej Piechotka wrote: > Hmm. Is it possible to find out the list of LANGUAGE pragmas at top of > file? Well - probably access to AST of Haskell file would be > sufficient ;) > > I'm trying, partially for practice, to have a function to insert > LANGUAGE pragma

Re: Dear jean-Philippe, just to inform you

2010-03-25 Thread Jean-Philippe Bernardy
Very nice work :) Maybe Doaitse could confirm that it works? Thanks! -- JP On Wed, Mar 24, 2010 at 7:17 PM, Jeff Wheeler wrote: > Alright, sorry for the flood of emails. I made a few mistakes, so I > tagged 0.6.2, then 0.6.2.1 to fix some. Finally, I think 0.6.2.2 is > all correct, so it's be

Re: Dear jean-Philippe, just to inform you

2010-03-24 Thread Jean-Philippe Bernardy
Jeff: would you have some time to make another "silent release" so that the version on hackage actually compiles? Cheers, JP. On Mon, Mar 22, 2010 at 9:49 PM, S. Doaitse Swierstra wrote: > that yi does currently not install under the  brand new Haskell platform: > > loeki:haskell-platform-2009.2

Re: SoC Proposals

2010-03-14 Thread Jean-Philippe Bernardy
One thing that would help is a functional interface to pango. I think that this is the root the gtk slowdowns. Another direction is to re-package Yi as a number of libraries (Ropes, Keymaps, etc.) to be used elsewhere eg. in Leksah. If anybody has any good idea for Yi, I'd be happy to volunteer a

Re: Compiler failure on IBOX

2010-03-04 Thread Jean-Philippe Bernardy
On Thu, Mar 4, 2010 at 9:47 PM, Gwern Branwen wrote: > On Thu, Mar 4, 2010 at 3:11 PM, Jean-Philippe Bernardy > wrote: >> Is your Alex working correctly? > > I wouldn't know how to check that. It's 2.3.2, and IIRC I installed it > from darcs (although I can't

Re: Compiler failure on IBOX

2010-03-04 Thread Jean-Philippe Bernardy
Is your Alex working correctly? On Thu, Mar 4, 2010 at 8:09 PM, Gwern Branwen wrote: > On Fri, Feb 19, 2010 at 7:12 PM, Gwern Branwen wrote: >> With an up to date repo, all my builds fail with messages like: >> >> [ 33 of 115] Compiling Yi.Lexer.Cabal   ( >> dist/build/Yi/Lexer/Cabal.hs, dist/bu

patch applied (yi): two more unicode aliases

2010-02-18 Thread Jean-Philippe Bernardy
Thu Feb 18 03:52:36 EST 2010 jeanphilippe.berna...@gmail.com * two more unicode aliases Ignore-this: ad43a8b200854052af9f2b64233257ad M ./src/Yi/Char/Unicode.hs +2 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

patch applied (yi): HCAR update

2010-02-18 Thread Jean-Philippe Bernardy
Thu Feb 18 03:52:24 EST 2010 jeanphilippe.berna...@gmail.com * HCAR update Ignore-this: 212c392437064f40038e8167f38c3f14 M ./doc/HCAR.tex -4 +4 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

patch applied (yi): update my config to compile with darcs yi

2010-02-09 Thread Jean-Philippe Bernardy
Mon Feb 8 16:41:42 EST 2010 gwe...@gmail.com * update my config to compile with darcs yi Ignore-this: 3f346b15c60d4160090a67674f73fa77 M ./src/Yi/Users/Gwern.hs -24 +19 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

Re: yi in GNU screen

2010-02-08 Thread Jean-Philippe Bernardy
This looks like a vty issue; you could try to reproduce it with a vty test program... Cheers, -- JP On Mon, Feb 8, 2010 at 9:22 PM, Michael Dagitses wrote: > Does anyone use Yi in GNU Screen?  I'm having strange issues on > startup.  After the first attempt to start, it fails with the message >

Re: How does Yi unicodify correctly buffers?

2010-01-19 Thread Jean-Philippe Bernardy
The translation is done upon rendering; check the haskell mode. I think that the mapping function itself is in the lexer module. On Tue, Jan 19, 2010 at 12:24 AM, Gwern Branwen wrote: > Background: > http://groups.google.com/group/gitit-discuss/browse_thread/thread/82a3909c2b2436 > > I thought i

Re: Yi for GHC 6.12.1

2010-01-17 Thread Jean-Philippe Bernardy
On Sun, Jan 17, 2010 at 10:58 AM, Jens Petersen wrote: > 2009/12/30 Corey O'Connor >> I spoke too soon. The derive package fails to install. Looks like it >> is not compatible with the current version of template-haskell. > src/Yi/Syntax/JavaScript.hs:103:2: >    Not in scope: `Data.Foldable.fol

patch applied (yi): Mode.Reader: make use of shift functionality

2010-01-08 Thread Jean-Philippe Bernardy
Thu Jan 7 10:03:58 EST 2010 gwe...@gmail.com * Mode.Reader: make use of shift functionality Ignore-this: efd43888ba228d9e2e0ec3bfb4f86799 M ./src/Yi/Mode/IReader.hs -4 +6 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

patch applied (yi): IReader.hs: hlint, whitespace

2010-01-08 Thread Jean-Philippe Bernardy
Thu Jan 7 10:00:41 EST 2010 gwe...@gmail.com * IReader.hs: hlint, whitespace Ignore-this: 3176d4a3f5ba62f68f511b786b0e938 M ./src/Yi/IReader.hs -3 +3 -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel

patch applied (yi): IReader.hs: add shift functionality to allow expressing 'priorities'

2010-01-08 Thread Jean-Philippe Bernardy
Thu Jan 7 10:01:26 EST 2010 gwe...@gmail.com * IReader.hs: add shift functionality to allow expressing 'priorities' Ignore-this: 40f09f42bdd141cc6545b0bb049d7d00 SuperMemo associates each article with a number, and then applies the spaced repetition formula. But I prefer simpler code - a

Re: Yi for GHC 6.12.1

2009-12-15 Thread Jean-Philippe Bernardy
Sounds great! I think your patches should be applied as soon as the dependencies are updated. Cheers, JP. On Mon, Dec 14, 2009 at 5:34 PM, Robin Green wrote: > GHC 6.12.1 was released today! > > As promised, I've partially updated yi to work on GHC 6.12.1. However, I > haven't done the necessary

Re: Can't build with -fpango

2009-12-10 Thread Jean-Philippe Bernardy
On Thu, Dec 10, 2009 at 8:05 PM, Lyle wrote: > > On Dec 10, 10:21 am, Deniz Dogan wrote: >> I haven't tried the GTK interface, but the sluggishness generally >> depends on what mode you are in - e.g. the JavaScript mode is >> incredibly slow given certain (unfortunately quite commonly used) >> i

Re: Code sprint on a specific feature?

2009-11-10 Thread Jean-Philippe Bernardy
On Tue, Nov 10, 2009 at 3:02 PM, Jeff Wheeler wrote: > > On Tue, Nov 10, 2009 at 2:49 AM, Jean-Philippe Bernardy > wrote: > >> Unfortunately I am swamped until January or so, and there is no plan >> to assign time to Yi after that, therefore I think I should let others &

Re: Code sprint on a specific feature?

2009-11-10 Thread Jean-Philippe Bernardy
Unfortunately I am swamped until January or so, and there is no plan to assign time to Yi after that, therefore I think I should let others decide where Yi should be going. I am still willing to answer questions and comment on patches though, so if I can be helpful in that way, please ask. Cheers

Re: Patch to HTTP to allow building yi with -fscion

2009-11-08 Thread Jean-Philippe Bernardy
Thanks! On Sun, Nov 8, 2009 at 12:52 PM, Robin Green wrote: > If you want to build yi with the scion configuration flag enabled, you will > now need to apply the attached patch to the HTTP library and reinstall it. I > have sent the patch to the HTTP maintainer. > > > --~--~-~--~~--

patch applied (yi): Yi.Style: haddock comments

2009-10-14 Thread Jean-Philippe Bernardy
Sun Oct 11 18:16:55 EDT 2009 cirod...@crhc.illinois.edu * Yi.Style: haddock comments Ignore-this: b4e4913a22c71872b50d6233dcff49df M ./src/Yi/Style.hs +3 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/

patch applied (yi): Yi.Buffer.Misc: haddock comments on Mode

2009-10-14 Thread Jean-Philippe Bernardy
Sun Oct 11 18:16:21 EDT 2009 cirod...@crhc.illinois.edu * Yi.Buffer.Misc: haddock comments on Mode Ignore-this: 84c3d629726e2a78d78785571e78fd73 M ./src/Yi/Buffer/Misc.hs -1 +6 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com ht

patch applied (yi): Yi.Lexer.Alex: haddock comments

2009-10-14 Thread Jean-Philippe Bernardy
Sun Oct 11 13:21:07 EDT 2009 cirod...@crhc.illinois.edu * Yi.Lexer.Alex: haddock comments Ignore-this: c5aabffbf4d263a1c137db49dd518edb M ./src/Yi/Lexer/Alex.hs -4 +24 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com http://grou

Re: darcs patch: syntax highlighting comments

2009-10-14 Thread Jean-Philippe Bernardy
Great! Thanks -- JP On Wed, Oct 14, 2009 at 3:22 PM, C Rodrigues wrote: > Based on my novice experience writing a token-based syntax highlighter for > yi, I added Haddock comments to some of the undocumented functions and types > that weren't immediately obvious. > __

patch applied (yi): copy operation and code clean up

2009-10-10 Thread Jean-Philippe Bernardy
Fri Oct 9 15:45:43 EDT 2009 Wen Pu * copy operation and code clean up Ignore-this: f3af2fb0c9f88dcabfd7fe278dda0c27 1. file copy operation done 2. simplify DiredOps 3. eliminating some extra long lines M ./src/Yi/Dired.hs -93 +211 --~--~-~--~~~---~--~

Re: darcs patch: file copy operation and code clean up in Dired

2009-10-08 Thread Jean-Philippe Bernardy
On Fri, Oct 9, 2009 at 8:17 AM, Wen Pu wrote: > Hi, > > Finally got some hours to finish file copy... > Now dired can do basic things such as copy/rename/delete files and > directories. Nice, unfortunately I cannot apply the patch: ~/project/yi$ darcs apply ~/Downloads/dired-patch.dpatch darcs

error in array index

2009-10-06 Thread Jean-Philippe Bernardy
Hi, With recent versions of Yi, I sometime get "error in array index" crashes. I can't remember recent changes involving arrays. Corey: do you think it could come from the new vty? Cheers, JP. --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegrou

Re: Understanding Modes

2009-10-06 Thread Jean-Philippe Bernardy
On Tue, Oct 6, 2009 at 5:51 AM, heatsink wrote: > > I'm experimenting with Yi as a way of making my project's data files > easier to edit.  However, I'm having a hard time of it.  I hope you > don't mind if I post beginner questions to this thread. You're very welcome. > I started by making a m

Re: Feature request for Haskell mode: Remove unused imports

2009-10-04 Thread Jean-Philippe Bernardy
On Sun, Oct 4, 2009 at 9:01 PM, Deniz Dogan wrote: > > I recently started using Visual Studio for work (C# at the moment) and > found a nice little feature that could probably be implemented in Yi's > Haskell mode as well. The feature I'm talking about is "Remove unused > imports (and sort)". Thi

Re: Destroying undo history

2009-10-04 Thread Jean-Philippe Bernardy
On Sun, Oct 4, 2009 at 5:56 PM, Gwern Branwen wrote: > I've managed to work past those compilation issues (I also note that Haddock > is complaining) and got my config updated to the new keybinding scheme, > and've been testing it out. Memory usage seems to be constant like it should > be. Grea

Re: Destroying undo history

2009-10-03 Thread Jean-Philippe Bernardy
On Sat, Oct 3, 2009 at 8:44 PM, wrote: > So on my laptop the other day, I noticed Yi had spiked to 60% of my RAM > (512MB machine), which perplexed me as I was only doing some IReader stuff > and each text is no more than a book (1MB?) and usually less. > > A little thought and I decided that th

patch applied (yi): Use QC 2.1.0.2

2009-09-27 Thread Jean-Philippe Bernardy
Sun Sep 27 11:44:14 EDT 2009 jeanphilippe.berna...@gmail.com * Use QC 2.1.0.2 Ignore-this: a6b950cba83b12e2e1fad3e61ae27cb8 M ./src/Yi/Syntax/Tree.hs -4 M ./yi.cabal -1 +1 --~--~-~--~~~---~--~~ Yi development mailing list yi-devel@googlegroups.com htt

Re: Spam.

2009-09-21 Thread Jean-Philippe Bernardy
On Mon, Sep 21, 2009 at 7:34 PM, Jeff Wheeler wrote: > Do lists hosted at haskell.org have this problem? Perhaps we could > move the list. Let's try to stretch this a little more, we'll see. We have a couple more managers already, thanks a lot Ross and Jason! Hopefully the management load sho

Re: Spam.

2009-09-21 Thread Jean-Philippe Bernardy
On Mon, Sep 21, 2009 at 7:32 PM, Ross Mellgren wrote: > > Another google groups group I'm subscribed to has moderation on for > new members, maybe this could help? It's not great, but sometimes it's > better than getting short essays on the meaning of "BDSM" ;-) > I'm going for that, thanks for

  1   2   3   4   5   6   7   8   9   10   >