From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via help-gnu-emacs Newsgroups: gmane.emacs.help Subject: kill your darlings Date: Mon, 24 Jun 2019 06:12:52 +0200 Message-ID: <86v9wvy62j.fsf@zoho.eu> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="156189"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Henk Pelgrom , Ingemar Holmgren To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 24 06:13:36 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfGMJ-000eVt-JG for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jun 2019 06:13:35 +0200 Original-Received: from localhost ([::1]:47862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfGMI-0000Qv-Ly for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Jun 2019 00:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44691) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfGLs-0000Qo-MG for help-gnu-emacs@gnu.org; Mon, 24 Jun 2019 00:13:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfGLq-0005fg-DC for help-gnu-emacs@gnu.org; Mon, 24 Jun 2019 00:13:08 -0400 Original-Received: from [195.159.176.226] (port=51542 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfGLq-0005bl-6P for help-gnu-emacs@gnu.org; Mon, 24 Jun 2019 00:13:06 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hfGLn-000dzT-1v for help-gnu-emacs@gnu.org; Mon, 24 Jun 2019 06:13:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Cancel-Lock: sha1:Yy/p2GyR7cS1+HIi431OAduBXsM= 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.23 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:121020 Archived-At: Everyone knows that everyone use their favorite constructs in peach and in writing. E.g., I like to use "e.g.", and I like to end sentences with something like "for sure" - no doubt :) On a mailing list this is not really a problem. But for e.g. in a relationship in can become very enervating, without exaggerating :) (Okay, you get it, I'll stop now. Or will I...) We can't (?) program our relationships with Elisp, but I wonder if there is a tool or method to detect "darlings" in a text. For example, I'm writing a LaTeX text now - it isn't even halfway done, but currently at 1965 lines, I have used the word "emellertid" 8 times (it means "however" but sounds more stiff and old-fashioned) - and if I weren't aware of it, it'd be a good idea if Emacs could tell me I overused the word, so I could consider removing some of them. And perhaps (actually it is likely) there are other of my "darlings" that I *am* unaware of! The kind of stuff I described first, with sentence constructions and so on, I get it it is probably very difficult for a computer program to detect. But overuse of words could be as simple as - count all words - see what words are the most common - are there word there that much longer than the others? warn the user about possible overuse - obviously, if one is writing a paper on the mating process of the Trigonosaurus, one would simply disregard the recommendation to not use that wierd word all the time - to compare the text to the Internet would be a possibility, but I don't really like it. It would mean the program would try to make you write like everyone else. That's not the point: the point is to make you aware of something, that you might be unaware of! Is there anything like that going on anywhere in the Emacs world? -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal