From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: Re: Uniformity (was: Is Elisp really that slow?) Date: Wed, 15 May 2019 21:58:00 +0200 Message-ID: <20190515195800.zi7zihf7nqdpou7v@Ergus> References: <20190514235412.kncazq45szlum2gr@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="195475"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 15 21:58:24 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hR02h-000ojc-KG for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 21:58:24 +0200 Original-Received: from localhost ([127.0.0.1]:41712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR02g-0002J4-LG for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 15:58:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hR02V-0002Iy-76 for help-gnu-emacs@gnu.org; Wed, 15 May 2019 15:58:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hR02T-0000xl-Ft for help-gnu-emacs@gnu.org; Wed, 15 May 2019 15:58:10 -0400 Original-Received: from sonic304-23.consmr.mail.ir2.yahoo.com ([77.238.179.148]:35875) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hR02S-0000wv-Kh for help-gnu-emacs@gnu.org; Wed, 15 May 2019 15:58:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1557950286; bh=MAuVuKyQTws/6EUPsbZf/D9Bk3T/nL68/SdgUMevGuY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=XsNqr6p19m4ZD9aqik7CPumJcm41SvvgEkKRT2IPv0btbv9mt4PLHZMLuHAlwOAEXX3PWFcpc1KXNYnUIEx/9H1mtQVQMTUj93vcJdOGe7Sx6IRZuh10XuprwVV/QW3QUB6Td5WIE5bREyiRuzS+Zr2UJeYYIMGlXyRKUqzNfTKOyjjLnR0WP/NHol9diKcQvi2qMOCBDltetUS4TkuMVn+xfhKIjwuiiRK7ZcZHpdlFAQ7s4CQUblVa6gTXIyokXrUR93WmVuxzVnO49g3TYYHHv8WShsX3umNDDuydSxMGYMbUtu7mqUFgmxFb6uDkUb1sg3lSjUvmQdGThZkvvA== X-YMail-OSG: 3m92q8AVM1n4ZTinJhhzS4b4eaXr8dnVSywSrrR0TWpvbt3UKUTirFHkCGeeoxS Fdq9cCdvmXbOTAaoi1XjudUuV2.HKrfgG8gJtllgA3M3LiNsOjuepZU65HyGbKsVEPuGfJeBdTuZ pZY10Lsj3KaAS_Mzsfo2ISi7.QpScVAnE7Yabg_9wk9pZwEXm2apHFBzvzCi2VdANncMyrf_sTaU viEnEvrHoQg6RBAav20votAmZlOlt4pZ_.CZDgj4d1C7.TEqp4YBtPs9NYbhJFNCARb5gz0U7vUF UVn6JyNg9az3aFE5.Dp5FnUzcV7MWtChgpq5zGi66DY9F4MqaePEV8ybhJeLCcijUHO_1wyF37nN VKhVBvudnOSiiGGhSqArz8wAvFQog0S7L92I47qFV11r0f0o_LxsR46F4Ra4IHiwN4wLO_Xkh2__ iUmuVsRI9wKPCF3ApujFXaOl4cQzQ5EpYmmy6_4gJHf1A5qe3gtRMiOFaNi47rLY1f9c8C0aLI.z E80CpsSETM6x_ubWq4QX8_2hjJIzTh_1133HKWChEvH9vqBVvKmLwXeW_Utbpu5ucACgTQjRXifI Uc9wSBMv2OukxcMqU3Ei..fUNI7Erz465MTHcOmg3eMfVJucftM_zH1WNBwGeLDbCZQyqPus4Nsc NUWK.fvCJtNPr5BnyO8.N3MFKa91ritJkYKlE8TUHATVJRLILm0f3tp_tS_Da4bZEbEjOb4usYpm 17Y.VHh51q6AaBSSz26C8YZcmA0Hxf7ETookTv1BhFa0APBaJi5SJmG6WudcKq9T6kqjnFPhg788 gkD8ZEkvQ6oB1YPmA.K8yLR8rZ7sG9fJYU.9qjRKkM Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Wed, 15 May 2019 19:58:06 +0000 Original-Received: from 2.152.205.184.dyn.user.ono.com (EHLO Ergus) ([2.152.205.184]) by smtp427.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d3528ed11daa09f9738c560e984fe826; Wed, 15 May 2019 19:58:04 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.179.148 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120416 Archived-At: On Wed, May 15, 2019 at 11:07:50AM -0400, Stefan Monnier wrote: >> To mention just one example: It does not make sense that C-c C-c >> comments the current lines in C-mode, but sends the current sexep to >> terminal in other modes, or send the messages in others. > >AFAIK C-c C-c should always mean some kind of "OK, I'm done with the >edit, now do what needs to be done with it", I believe many modes >already follow this, but some modes (such as C-mode) instead follow the >old "convention" of binding C-c C-c to comment-region (this convention >became redundant in Emacs-21 where M-; was extended to cover >comment-region). > >I agree this is a bug/misfeature and I encourage you to report it as such. > >Unifying behavior between different major modes is something important, >IMO, and it's been the focus of a lot of my work on Emacs, but since it >requires changing existing packages (with no immediate benefit to those >packages nor their users) it has to work against inertia. > >> Sometimes new users also mix languages, but the worst supported ones are >> the newer languages (Lua, Julia, Ruby, Python, C++ 11+, Rust) Which are >> also what they need more often. > >In which sense are Python and C++ among the worst supported ones (I >don't have enough knowledge of the modes for the other languages you >mention to include them here, but I'm also mildly surprised about them >being in your list). > >IOW which languages do you consider have better support (in Emacs) than >Lua, Julia, Ruby, Python, C++ 11+, or Rust? > C is better supported than C. Python is actually tricky because without elpy the python mode is VERY limited. Rust is not even supported (no colors or indentation even.) Lua support is very basic and without the extra packages it is close to useless for a real Lua programmer (like me). On the other hand considering also flymake it supports just a subset of those and it is not modular as flycheck; but then the user needs to configure it (a LOT). C++ does the very basic by default and it has also some performance issues (which Alan is fixing I think, but there is not a crear soluution for them). >> But also there is the fact that we are spending a lot of >> effort/work/manpower in specific use cases and fancy functionalities >> (web browsing, pdf reader, image shower) instead of looking and > >[ FWIW, I don't think this is a zero-sum game here, so improvements in > those areas don't necessarily impact improvement in other areas. ] > >> So, as usual in technology, other products filled the hole thinking in >> the final user and not in the developers. So, in spite of our product is >> better we don't find users for it because we don't know how to present >> it to the new market. > I refer to market as a social interaction organization based in needs and products to satisfy them >Right. I wouldn't invest money in Emacs, indeed. But we're not driven >by money, luckily, so matters of "market" don't drive us. I have no >hope/intention of making Emacs into the dominant editor "on the market". >Instead, I try to improve Emacs as much as I can so as to make it as >pleasant as possible *for Emacs users and hackers*. > >Emacs fills a particular niche nowadays and trying to make it >compete against something like Sublime is not only unlikely to succeed >but it's likely to make you lose your niche (because it'll be >basically a different text editor). > >IOW, if I were starting from scratch, I'd implement my editor very >differently. But I don't think we can realistically get there from >where we are (other than starting from scratch, that is). > > > Stefan > >