From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Uniformity Date: Wed, 15 May 2019 17:24:01 +0200 Message-ID: <87h89vspv2.fsf@telefonica.net> References: <20190514235412.kncazq45szlum2gr@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97101"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 15 17:26:46 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 1hQvno-000P99-S6 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 17:26:44 +0200 Original-Received: from localhost ([127.0.0.1]:38674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQvnn-0004Oq-T3 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 11:26:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQvlM-0002uk-1J for help-gnu-emacs@gnu.org; Wed, 15 May 2019 11:24:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQvlL-00084P-0x for help-gnu-emacs@gnu.org; Wed, 15 May 2019 11:24:12 -0400 Original-Received: from [195.159.176.226] (port=43450 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQvlK-00082M-QQ for help-gnu-emacs@gnu.org; Wed, 15 May 2019 11:24:10 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hQvlH-000M7S-O7 for help-gnu-emacs@gnu.org; Wed, 15 May 2019 17:24:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:SIT5zf5euCxBxZxrJqxh1WvZ9gA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 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:120390 Archived-At: Stefan Monnier writes: >> 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, On this case, there is no behavior to be unified. The semantics that you attribute to C-c C-c do not apply to CC-Mode. >> 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). What I can say about C++ is that, nowadays, CC-Mode doesn't recognize language keywords, not to mention proper fontification and indentation. Not even for post-C++11 features, but for C++98 as well (at least the fontification part). I could mail-bomb the CC-Mode maintainer with bugs and feature requests, but I wont because it is totally unreasonable to expect from a volunteer working on his free time to do a job that require teams of especialists working full time for years. > IOW which languages do you consider have better support (in Emacs) than > Lua, Julia, Ruby, Python, C++ 11+, or Rust? Lisp, of course :-) And, just to mention a modern language, Clojure. But that's cheating :-)