News for hackers. Stuff that matters.
Re:Lime Text – Open Source Sublime Text alternative (2014) by dilap on Thursday October 13, 2016 @01:18AM (#12698625)
As an emacs addict/user, what I really want is a credible alternative to that cockroach of editors.

Price of admission: run in a terminal, run graphically, run on every possible system, be open source, be ridiculously, easily extensible.

What a successor might add:

Not be riddled with bugs.

Not be ridiculously, terribly bad at actually displaying text (quickly, smoothly, large amounts).

Not be extended in a language that's so slow that most "intelligent" modes end up being piles of half-correct regex hacks.

Not not care about correctness, in general.

Hop to it, dear idealistic genius whiz-kid reader!

Or fund me, overly-$-laden startup lottery winner. I'll take a crack at it.

Re:Lime Text – Open Source Sublime Text alternative (2014) by MildlySerious on Thursday October 13, 2016 @01:26AM (#12698657)
A possible (very early) start for this could be https://github.com/google/xi-editor

UIs and actual functionality are completely separate implementations. Loading and displaying text are entirely decoupled, so the display doesn't have to care if the actual file is 10kb or 2gb in size.

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @02:22AM (#12698898)
Yet another with a client server architecture. It makes no sense in a desktop application to add the performance overhead of IPC and serialization to every user interaction.
Re:Lime Text – Open Source Sublime Text alternative (2014) by captainmuon on Thursday October 13, 2016 @03:27AM (#12699097)
I'd take the overhead of a client-server architecture over the overhead of rendering the whole UI in HTML (electron apps) any time.

Also I think that the marshalling you need for IPC is not so different than the boxing and conversion that you have under the hood if you write in an interpreted language, e.g. Python or JavaScript.

Re:Lime Text – Open Source Sublime Text alternative (2014) by baldfat on Thursday October 13, 2016 @07:45AM (#12700011)
I was 100% in your boat after experiencing Atom. I have a 8 year old re-purposed Linux box (OpenSUSE) for work. That took a LONG time to be okay with our Windows based IT Department.

I changed my mind over two electron editors/IDE. I use RStudio and it is really been getting so fast on my old computer that I can't tell anymore. VS Code by Microsoft is so fast and nimble that I have been using it 75% of the time with no felt overhead. It really is an amazing piece of software in terms of speed, now the ram usage is still much higher but for my uses I don't notice it at all on my 8 year old Dell corporate computer.

Re:Lime Text – Open Source Sublime Text alternative (2014) by hamstergene on Thursday October 13, 2016 @04:36AM (#12699317)
Serialization alone is like, at least one order of magnitude slower than dynamic typing, and IPC has other os-specific overheads on top of that. Remote calls are so costly the whole architecture of a system has to be designed with them in mind.
Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @06:56PM (#12704844)
> I'd take the overhead of a client-server architecture over the overhead of rendering the whole UI in HTML (electron apps) any time.

It's not an either/or problem though.

Re:Lime Text – Open Source Sublime Text alternative (2014) by legulere on Thursday October 13, 2016 @02:54AM (#12698997)
It's important to note that here the client server architecture is asynchronous and multiple. This allows it to actually decouple slow interactions as auto-completion from things that need low latency such as typing.

You actually see this in many IDEs that more features make editing feel more sluggish. This shouldn't happen with this structure.

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @06:58PM (#12704859)
> It's important to note that here the client server architecture is asynchronous and multiple.

Both can (and have) been achieved without a client server architecture.

Re:Lime Text – Open Source Sublime Text alternative (2014) by thomasahle on Thursday October 13, 2016 @03:39AM (#12699139)
Is auto completion really useful, if it's a lot slower than the rest of the program? Maybe if a part is too slow, you should either optimize it or get rid of it?
Re:Lime Text – Open Source Sublime Text alternative (2014) by oblio on Thursday October 13, 2016 @03:46AM (#12699165)
Well, considering that as far as developer tools are concerned many of the best sellers are IDEs with Intellisense (intelligent code completion, based on syntax and semantics)...
Re:Lime Text – Open Source Sublime Text alternative (2014) by viraptor on Thursday October 13, 2016 @04:44AM (#12699345)
Sometimes you want the autocompletion, sometimes you don't. You can do it in synchronous style, where you have 2 choices: a) delay the typing when the user doesn't care about the autocomp, b) require an extra action to activate autocomp when the user wants it.

You can also do it async style and have neither of the drawbacks - if the user types too quickly, the autocomp just doesn't show up.

Re:Lime Text – Open Source Sublime Text alternative (2014) by duaneb on Thursday October 13, 2016 @02:38AM (#12698951)
What is the performance overhead like? I can't access the app right now but I'd be highly surprised if it caused a noticeable input latency.

Or are you talking out of your ass?

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @02:51AM (#12698989)
It's a whole lot of unnecessary serialization and deserializtion, even if the performance is not noticeable it's a waste of cpu cycles.

From looking at similar projects, overhead tends to be in the millisecond range per call, so performance depends on the ammount of back and forths.

Add in all the overhead for serialization and IPC and in practice it looks a lot like the round trip in same data center latency here:

https://people.eecs.berkeley.edu/~rcs/research/interactive_l...

Re:Lime Text – Open Source Sublime Text alternative (2014) by oblio on Thursday October 13, 2016 @03:49AM (#12699172)
> even if the performance is not noticeable it's a waste of cpu cycles.

If the performance hit is not noticeable, nobody really cares about the waste of CPU cycles. Especially since a text editor uses something like 1/10 the resources a large, complex program uses anyway.

Re:Lime Text – Open Source Sublime Text alternative (2014) by falcolas on Thursday October 13, 2016 @01:08PM (#12702296)
Well, you would care if you're on a battery for any appreciable amount of time.

Some IDEs go as far as to offer low power modes where they throttle external plugins.

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @06:59PM (#12704868)
And when everyone thinks that we end up with the same performance we had 20 years ago on vastly improved hardware.
Re:Lime Text – Open Source Sublime Text alternative (2014) by dilap on Thursday October 13, 2016 @01:31AM (#12698674)
super-early-days, but this looks philosophically very much in the right place.
Re:Lime Text – Open Source Sublime Text alternative (2014) by MildlySerious on Thursday October 13, 2016 @01:40AM (#12698724)
There's a talk about it, too, if interested: https://www.youtube.com/watch?v=SKtQgFBRUvQ

I'm hoping to find the time to get more comfortable with Rust and try to contribute at some point

Re:Lime Text – Open Source Sublime Text alternative (2014) by beefsack on Thursday October 13, 2016 @06:36AM (#12699729)
For those interested in the editor, keeping an eye on the subreddit is worthwhile too: https://www.reddit.com/r/xi_editor
Re:Lime Text – Open Source Sublime Text alternative (2014) by Shorel on Thursday October 13, 2016 @04:44AM (#12699341)
Check the IDE screenshot running on the console:

https://dlang.org/blog/2016/10/07/project-highlight-dlangui/

It is written in D, a fast (close to C++) language, easy to write code in, runs in a terminal, runs graphically, runs on many systems (I don't know every possible system but I doubt in runs in a Commodore 64), it is open source and I have no idea about it being extensible or not.

It's however the closest thing I have seen to your list of requirements.

Re:Lime Text – Open Source Sublime Text alternative (2014) by jdefr89 on Thursday October 13, 2016 @01:28AM (#12698665)
As a Vim addict/user. All I really want is a bit more modernization. I mean single threaded text editor in 2016.. NeoVim is supposed to be the savior.. But I don't feel like it gets a lot of support...
Re:Lime Text – Open Source Sublime Text alternative (2014) by jhoechtl on Thursday October 13, 2016 @01:38AM (#12698708)
In Vim8 vim gained asynchronous I/O support

https://github.com/vim/vim/blob/master/runtime/doc/version8....

Re:Lime Text – Open Source Sublime Text alternative (2014) by minitech on Thursday October 13, 2016 @02:48AM (#12698978)
Why does your text editor need multiple threads?
Re:Lime Text – Open Source Sublime Text alternative (2014) by legulere on Thursday October 13, 2016 @03:25AM (#12699091)
Because some tasks like autocompletion take a relatively long time. This leads to your editor blocking.
Re:Lime Text – Open Source Sublime Text alternative (2014) by coldtea on Thursday October 13, 2016 @05:23AM (#12699489)
To avoid blocking?
Re:Lime Text – Open Source Sublime Text alternative (2014) by qwertyuiop924 on Thursday October 13, 2016 @07:24AM (#12699920)
Emacs is still the best for most of that. Text display works most of the time (although it sucks), there are intelligent modes that aren't a pile of half-correct regex hacks (semantic, most of the modes for the Lisp family), and the base is fairly stable (some of the packages may not be). OTOH, it could be better.

If you don't mind the lack of extensions, and are willing to write your own, you may wish to try some of the other emacsen associated with the lisps. Hemlock is CL-based, so likely faster than Emacs, and Edwin and Guile-Emacs are both based on Schemes (edwin is MIT Scheme, Guile Emacs is... Guile). They still suck at some stuff, though, and they don't have the massive plugin ecosystem.

Re:Lime Text – Open Source Sublime Text alternative (2014) by timehastoldme on Thursday October 13, 2016 @01:39AM (#12698714)
Atom (hear me out):

+ runs graphically

+ runs linux, macos, windows (nothing else?)

+ open source

+ ridiculously, easily extensible

+ not riddled with bugs (slowness is not a bug)

+ for small files, comparably quick to Sublime on my machine

+ major dev community; already much better than 6 months ago

- slow in some instances, esp. large files

- doesn't run in terminal

- doesn't run in less-popular OSes

+/- moderate RAM usage, decreasing

Re:Lime Text – Open Source Sublime Text alternative (2014) by omginternets on Thursday October 13, 2016 @02:06AM (#12698837)
Honestly I don't get the Atom hate. It's a great editor.

I came to Atom from Sublime because the plugin ecosystem was growing much faster and the community felt more active. I haven't looked back since.

And no, Atom not designed to open 30Mb files. Complaining about this is akin to stomping on a land mine and complaining that your Timberland boots didn't save your foot. Just use Atom for its intended purpose: editing source files written by reasonably reasonable people.

Re:Lime Text – Open Source Sublime Text alternative (2014) by KZeillmann on Thursday October 13, 2016 @02:23AM (#12698906)
I just want to be able to look at the first 10 lines of a 15MB JSON I downloaded of the internet without having the entire application crash. It doesn't seem like too much to ask. There's a big difference between asking for a 15MB file and a 500MB file. 15MB is a pretty reasonable size for a text editor to be able to open without crashing, IMO. Unfortunately, I have to peek at those in Vim instead. Nothing wrong with Vim, but I hate having to switch editors to look at one file.
Re:Lime Text – Open Source Sublime Text alternative (2014) by aaron987 on Thursday October 13, 2016 @03:29AM (#12699103)
If it's just JSON, can't you do this:

head -10 myfile.json

Re:Lime Text – Open Source Sublime Text alternative (2014) by oblio on Thursday October 13, 2016 @03:58AM (#12699213)
Ideally you'd want to configure the browser to open JSON files & co with your default editor, since that makes for a very pleasant workflow.
Re:Lime Text – Open Source Sublime Text alternative (2014) by tehwebguy on Thursday October 13, 2016 @03:31AM (#12699111)
I don't know now what goes into these apps or why newer apps can't handle it but I still keep TextWrangler around for huge files. It's not really a "modern" editor I guess but it screams.
Re:Lime Text – Open Source Sublime Text alternative (2014) by di4na on Thursday October 13, 2016 @04:54AM (#12699371)
head ?
Re:Lime Text – Open Source Sublime Text alternative (2014) by elmigranto on Thursday October 13, 2016 @08:38AM (#12700296)
Re:Lime Text – Open Source Sublime Text alternative (2014) by kleptako on Thursday October 13, 2016 @08:35AM (#12700284)
Re:Lime Text – Open Source Sublime Text alternative (2014) by konart on Thursday October 13, 2016 @04:53AM (#12699367)
>And no, Atom not designed

And that's exactly one of it's problems. It's not designed to be a damn text editor. Instead - it's just another "hipster editor". You can find a growing number of useless plugins, but can't open log file sent to you, or connect via proxy without a trouble.

Not to mention the speed and ram usage. My IDEA instance with a large project opened up use less memory than Atom without any files opened (but with a bunch of plugins loaded).

Sorry for the emotional replay, but I just do not understand how people can go from Sublime, which is, in my opinion, almost ideal text editor, to something like this js crap.

Re:Lime Text – Open Source Sublime Text alternative (2014) by y4mi on Thursday October 13, 2016 @08:53AM (#12700385)
> And that's exactly one of it's problems. It's not designed to be a damn text editor. Instead - it's just another "hipster editor". You can find a growing number of useless plugins, but can't open log file sent to you, or connect via proxy without a trouble.

since when do you need to edit log files? you don't need an editor for that, you need a log explorer. there are other tools for hat.

what exactly do you mean with proxy problems? i'm behind a proxy at work and didn't have any problems?

> Not to mention the speed and ram usage

that thats its only real problem. especially if you're on a laptop without a power outlet nearby. i tend to just use vim in that situation notice a significant increase in battery life.

> I just do not understand how people can go from Sublime [...] to something like this js crap.

at least its fully extensible. i love the linting, auto-beautification, Markdown Preview, extensible autocompletion, useful autosave, Git-WIP support, extensive git integration and so much more.

its just not meant to be used as anything beside editing small code files. and most people don't have to code monolithic code files beyond a few MB in size.

Re:Lime Text – Open Source Sublime Text alternative (2014) by falcolas on Thursday October 13, 2016 @10:34AM (#12700997)
> since when do you need to edit log files?

Any time I want to re-hydrate escaped control sequences like newlines, or explore the log using a host of tools available in a text editor.

> at least its fully extensible

As are most text editors and IDEs. Atom's only difference here is that the extensions must be written in Javascript. Not everyone sees this as a good thing.

> its just not meant to be used as anything beside editing small code files

And that's the problem. Why should a user be forced ahead of time to consider their usecase for editing a file just to choose which gimped file editor they want to use?

Re:Lime Text – Open Source Sublime Text alternative (2014) by gglitch on Thursday October 13, 2016 @10:45AM (#12701075)
I don't feel one way or the other about Atom, but agree that "text editor" as a category is a superset of "editor of texts smaller than Xmb."
Re:Lime Text – Open Source Sublime Text alternative (2014) by coldtea on Thursday October 13, 2016 @05:25AM (#12699492)
>And no, Atom not designed to open 30Mb files. Complaining about this is akin to stomping on a land mine and complaining that your Timberland boots didn't save your foot.

No, it's more like having a car that doesn't get to 70mph.

It's useless on the Interstate, and it's also not that good on regular city traffic, because the same limitations that make it unable to reach 70mph also make it clunky at 10mph.

Re:Lime Text – Open Source Sublime Text alternative (2014) by captainmuon on Thursday October 13, 2016 @03:37AM (#12699134)
Though it is not too much to ask for to be able to edit large files. 30MB should easily fit in memory, even with metadata like syntax highlighting. And if it really doesn't fit, only load a portion of the file into memory (maybe scan the whole file for newlines once) - that was a solved problem already 20 years ago.

As to why I'm opening such large files: It's not like I chose to do so, but sometimes I have to. It's great to be able to (in Sublime) `<Ctrl+P> log <Ctrl+F> blah` and see immediately what I'm looking for without switching to another tool. I even have a simple syntax highlighting definition for my log file that makes it really nice.

I'd really like to like Atom, but the fundamental problem is that it tries to emulate a text editor widget in a web browser. That works, but creates a certain amount of latency that I can't work with. It's really irritating.

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @02:14AM (#12698868)
> Just use Atom for its intended purpose: editing source files written by reasonably reasonable people.

Let me know when they start advertising atom as a source code editor instead of a text editor.

Re:Lime Text – Open Source Sublime Text alternative (2014) by omginternets on Thursday October 13, 2016 @02:19AM (#12698888)
Let me know when this distinction is anything other than pedantry.

It takes all of 200ms and a wee bit of inference to figure out that their usage of "text editor" is different from yours.

From the tone of some of these posts, you'd think downloading Atom and subsequently realizing it doesn't suit one's needs caused lasting psychological harm.

Semantics aside, Atom is good at what it does. For 99% of projects it's an excellent, flexible tool.

Re:Lime Text – Open Source Sublime Text alternative (2014) by konart on Thursday October 13, 2016 @04:57AM (#12699379)
> For 99% of projects it's an excellent, flexible tool.

Well, this is simply a bullshit, sorry. This is might be a point of view of someone who never worked on an enterprise project or something of a similar scale.

Atom is good at one thing - opening small js\ruby\python scripts and showing you them in a modern UI. That's it. Anything more than that - he just can't do it.

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @02:33AM (#12698933)
> From the tone of some of these posts, you'd think downloading Atom and subsequently realizing it doesn't suit one's needs caused lasting psychological harm.

No lasting harm, but I did invest quite a bit of time to discover that it doesn't suite my needs.

> It takes all of 200ms and a wee bit of inference to figure out that their usage of "text editor" is different from yours.

No it doesn't, it takes experience with the editor. 200ms of googling shows there are some log and tail plugins, which would lead me ot believe it was good at handling large files.

Re:Lime Text – Open Source Sublime Text alternative (2014) by dilap on Thursday October 13, 2016 @02:26AM (#12698918)
even emacs can open 30mb files. that's like stomping on a popper and having it blow your foot off (1)

i mean we're talking about opening a file that is 1% of typical system memory.

(1) https://en.wikipedia.org/wiki/Bang_snaps

Re:Lime Text – Open Source Sublime Text alternative (2014) by 543y4eryy4 on Thursday October 13, 2016 @03:55AM (#12699198)
Not to be confused with poppers: https://en.wikipedia.org/wiki/Poppers
Re:Lime Text – Open Source Sublime Text alternative (2014) by cdelsolar on Thursday October 13, 2016 @02:12AM (#12698859)
log files?
Re:Lime Text – Open Source Sublime Text alternative (2014) by 543y4eryy4 on Thursday October 13, 2016 @03:56AM (#12699202)

    tail -f *
Re:Lime Text – Open Source Sublime Text alternative (2014) by omginternets on Thursday October 13, 2016 @02:21AM (#12698895)
Use something else for viewing log files!

Going through log files and developing software are related, but distinct enterprises. It's no wonder the tools for one are sometimes suboptimal for the other.

Atom is about nice aesthetics, github integration and a plugin ecosystem. It's not trying to solve the problem of reading through massive log files.

Re:Lime Text – Open Source Sublime Text alternative (2014) by konart on Thursday October 13, 2016 @04:59AM (#12699385)
>Atom is about nice aesthetics, github integration and a plugin ecosystem

Same goes for Sublime. And arguably - Sublime has much better plugin ecosystem. With easier discovery and installation.

Re:Lime Text – Open Source Sublime Text alternative (2014) by aryamaan on Thursday October 13, 2016 @03:25AM (#12699092)
Last time I checked (I might be wrong), Atom didn't have default behavior of auto save and it made me to lose some work. Not that I am saying that this can't be the default behavior but that expectation should be cleared to the users.
Re:Lime Text – Open Source Sublime Text alternative (2014) by SCdF on Thursday October 13, 2016 @04:55AM (#12699372)
> (slowness is not a bug)

Woah. woah. woah. Back the truck up.

Slowness is most definitely a bug.

Re:Lime Text – Open Source Sublime Text alternative (2014) by chiefalchemist on Thursday October 13, 2016 @05:34AM (#12699519)
Slowness isn't a bug. It's a feature.
Re:Lime Text – Open Source Sublime Text alternative (2014) by SCdF on Thursday October 13, 2016 @06:02AM (#12699627)
Are you being glib or serious? If you're serious I'm interested in your take.
Re:Lime Text – Open Source Sublime Text alternative (2014) by wsc981 on Thursday October 13, 2016 @01:41AM (#12698729)
+ not riddled with bugs (slowness is not a bug)

In that case I'll assume it's a feature :)

Re:Lime Text – Open Source Sublime Text alternative (2014) by Philipp__ on Thursday October 13, 2016 @06:56AM (#12699787)
- ELECTRON. I just cannot get over it. Tried VSCode few days ago, it is great, much better than Atom, but still not there. There is nothing that Atom does better than Emacs, it looks better only, but that's not the point. I find Atom to be more WebDev and Fronted Dev oriented editor.
Re:Lime Text – Open Source Sublime Text alternative (2014) by voltagex_ on Thursday October 13, 2016 @01:51AM (#12698780)
Have you tried VS Code? It was noticeably faster than Atom when I tried it.
Re:Lime Text – Open Source Sublime Text alternative (2014) by timehastoldme on Thursday October 13, 2016 @02:24AM (#12698911)
I have, and it's fine, even on my mbp. Perhaps I'll switch? Margins are low because I don't code all that much.
Re:Lime Text – Open Source Sublime Text alternative (2014) by leonatan on Thursday October 13, 2016 @04:47AM (#12699354)
It's an excellent text editor, don't pay attention to its title too much. It does a better job than Atom at both.
Re:Lime Text – Open Source Sublime Text alternative (2014) by eivarv on Thursday October 13, 2016 @07:21AM (#12699911)
> + major dev community...

Do you mean major as in "large", or as in "possessing some positive quality"? While I'm not commenting on Atom's dev community in particular, the two don't have a causative relationship.

A particular downside I see with Atom is it's performance - the perception of which is in some cases arguably approaching that of its competitors - and hence its energy impact, which affects my battery life.

Re:Lime Text – Open Source Sublime Text alternative (2014) by timehastoldme on Thursday October 13, 2016 @10:39AM (#12701031)
It's large... Perhaps, not as high-quality as some other development communities... But quantity may help over quality.
Re:Lime Text – Open Source Sublime Text alternative (2014) by qwertyuiop924 on Thursday October 13, 2016 @07:16AM (#12699891)
Atom lacks the unform abstractions that make emacs so great.
Re:Lime Text – Open Source Sublime Text alternative (2014) by bauta-steen on Thursday October 13, 2016 @02:14AM (#12698867)
Isn't the emacs core (excluding packages) known to be very stable? At least I've only had one crash in a year or so, most likely due to some package misbehaving.
Re:Lime Text – Open Source Sublime Text alternative (2014) by LukeShu on Thursday October 13, 2016 @02:41AM (#12698957)
Emacs has long been riddled with bugs that can cause daemonized emacs to crash if the display disconnects (yes, even with the Lucid toolkit). term-mode is hacks on hacks on hacks; and slow ones at that. There's a bug in Emacs 24's sh-mode that can cause it to deadlock if you move the point to a wrong place in an incomplete if/while/for block start (IDK if it's fixed in Emacs 25). All point-releases of Emacs 24 shipped with a TRAMP mode with broken /sudo:: that can cause /dev/null to become an ordinary file, causing the entire OS to slowly and mysteriously break (Fun on servers! Fixed in Emacs 25). I have a collection of emacs core dumps on one of my servers (where I use it like screen/tmux) that I have yet to try to diagnose.

I mean, I love Emacs and use it daily. But it certainly has plenty of bugs; but what reasonably complicated piece of software doesn't?

Re:Lime Text – Open Source Sublime Text alternative (2014) by peatfreak on Thursday October 13, 2016 @04:07AM (#12699238)
Emacs 19 was a model of low-defect, stable software, and my experiences reinforced that widespread notion. Over time and subsequent major releases, it grew and grew, and the complexity got too big to perform adequate QA, now nearing the point of unmaintainability. I also love it and use it daily, but I really wish the developers would show some restraint when considering whether to add new features (i.e., packages).

Having said that, the very core text editing engine, i.e., the part that's written in C and the basic Elisp editing functions around that are still rock solid as always, and for me this is still the ultimate model of what a text processing engine should be. It handles large files beautifully (and errors gracefully when it cannot), does file locking well, goes to great lengths to ensure the integrity of your file, all of that basic core stuff is just superb and well thought out, by a lot of brilliant people over a long time, and that's all very well optimized. I think the problem is that too many third-party extensions are included with the core release.

Re:Lime Text – Open Source Sublime Text alternative (2014) by hollerith on Thursday October 13, 2016 @10:04AM (#12700813)
Well, I'm sure you'd concede that read-file-name is part of Emacs's core, and its been buggy for years. (Have not checked to see yet if it is still buggy in version 25.) Specifically, if the current buffer is visiting an image file, pressing down arrow during a read-file-name will often cause read-file-name to try to insert the whole image as a text string into the minibuffer after the prompt, which will make Emacs unresponsive for a few seconds and will sometimes crash Emacs.

Before that there were years during which there was no way to configure Emacs that I was able to find to refrain from asking the user what coding system he wants to use every time a buffer containing a non-ascii character is saved. Not strictly a bug since maybe there are users who do not mind regularly getting into the same dialog with their text editor, but certainly, so many occurrences of the same monotonous dialog is unusual behavior in a user-facing application in this decade and very tedious at least to this particular user.

One reason Emacs is difficult to debug is because of the widespread use of global variables.

That said, I haven't found anything worth leaving Emacs for. (If I were a web dev, maybe I would've left it for vscode by now, but I don't like how text looks in vscode: I prefer the native OS X text rendering used by almost all text editors except the Electron-based ones.)

Re:Lime Text – Open Source Sublime Text alternative (2014) by peatfreak on Sunday October 16, 2016 @06:22AM (#12717918)
> That said, I haven't found anything worth leaving Emacs for.

Exactly. Every so often I try to make a half-hearted effort to move to a more moderen editor, or even an IDE, but for all its flaws even nothing comes close to Emacs. Vim is pretty good, but tries to do too many things it's not supposed to; for vi-style editors I prefer Nvi.

Re:Lime Text – Open Source Sublime Text alternative (2014) by qwertyuiop924 on Thursday October 13, 2016 @12:48PM (#12702101)
Hopefully, Guile-Emacs will eventually get finished, so we'll have decent debugging.

Hey, I can dream.

Re:Lime Text – Open Source Sublime Text alternative (2014) by oblio on Thursday October 13, 2016 @04:28AM (#12699295)
I'd argue that in 2016 a well designed system has a way to make sure that its extensions can't slow it down, can't bring it down and can't step on each other's toes.

On the other hand, I can't really think about a system that fulfills those conditions. But I wouldn't call anything "ultimate" if it doesn't :)

Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @01:41AM (#12698731)
Which of those does vim not hit?
Re:Lime Text – Open Source Sublime Text alternative (2014) by zem on Thursday October 13, 2016 @02:01AM (#12698818)
the extension language, I'm guessing.
Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @02:06AM (#12698840)
The second half of that line seemed to be alluding to something else. I'm not saying it's fast, but I've never encountered it's speed being a problem in practice.
Re:Lime Text – Open Source Sublime Text alternative (2014) by viraptor on Thursday October 13, 2016 @04:50AM (#12699361)
The effect can be seen in the highlighter sometimes. If there are too many rules to parse the file correctly, sometimes it will parse just a few lines before the screen. This can randomly result in the first line being highlighted like it's a part of some string. And the whole highlighter/parser is a really bizarre world of regexes and almost-tokens.
Re:Lime Text – Open Source Sublime Text alternative (2014) by yulaow on Thursday October 13, 2016 @04:44AM (#12699343)
I just noticed that if I use too many plugins (where too many in my vimrc is > 12) the startup time can be a bit slow (3-4 seconds).

Compare it with emacs in which I have far more plugins and it still starts fast as a clean install.

Anyway not a big problem eh. For me vimscript is the shitty part of vim.

Re:Lime Text – Open Source Sublime Text alternative (2014) by wkd on Thursday October 13, 2016 @07:58AM (#12700086)
I just want to say that it's likely not the amount of plugins it's the weight each have, likely you have a few heavy ones causing your boot to be slow. I use ~20 plugins and startup time is still under a second when opening a 35000 line file, try using --startuptime
Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Thursday October 13, 2016 @07:03PM (#12704893)
That sounds like an issue with specific plugins not loading on demand. Though it's not always avoidable, like when you open vim with specific files which triggers the lazy loading.
Re:Lime Text – Open Source Sublime Text alternative (2014) by dilap on Thursday October 13, 2016 @11:51AM (#12701577)
i've only flirted with vim, but my experience is that while it was admirably fast on medium and small files, it fell over completely on large files or even normal-sized files with long lines.
Re:Lime Text – Open Source Sublime Text alternative (2014) by flukus on Friday October 14, 2016 @02:06AM (#12706385)
This must of been a plugin (code highlighter or something). Vim should have zero trouble with big files.