From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#14957: 24.3.50; Flyspell language visible in mode line Date: Thu, 14 Nov 2013 01:03:38 +0100 Message-ID: <8761rvc0it.fsf@web.de> References: <86y58teatq.fsf@missioncriticalit.com> <87wqmfz96x.fsf@web.de> <86a9hevcyl.fsf@somewhere.org> <86bo1ppx2i.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1384387521 15709 80.91.229.3 (14 Nov 2013 00:05:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2013 00:05:21 +0000 (UTC) Cc: Michael Heerdegen , public-14957-ubl+/3LiMTaZdePnXv/OxA@plane.gmane.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 14 01:05:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VgkR1-0005Jp-MG for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Nov 2013 01:05:24 +0100 Original-Received: from localhost ([::1]:51604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgkR1-0006vs-2k for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 19:05:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgkQp-0006qZ-Dk for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 19:05:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgkQh-0006Ke-9t for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 19:05:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgkQh-0006Jr-4w for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 19:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VgkQf-0006yd-U3 for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 19:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2013 00:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14957 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14957-submit@debbugs.gnu.org id=B14957.138438744326745 (code B ref 14957); Thu, 14 Nov 2013 00:05:01 +0000 Original-Received: (at 14957) by debbugs.gnu.org; 14 Nov 2013 00:04:03 +0000 Original-Received: from localhost ([127.0.0.1]:50845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VgkPi-0006xI-5O for submit@debbugs.gnu.org; Wed, 13 Nov 2013 19:04:02 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43678) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VgkPg-0006wt-JM for 14957@debbugs.gnu.org; Wed, 13 Nov 2013 19:04:01 -0500 Original-Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VgkPb-0003Xv-7f for 14957@debbugs.gnu.org; Thu, 14 Nov 2013 01:03:55 +0100 Original-Received: from mout.web.de ([212.227.17.11]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VgkPP-0003IE-9S for public-14957-ubl+/3LiMTaZdePnXv/OxA@plane.gmane.org; Thu, 14 Nov 2013 01:03:43 +0100 Original-Received: from drachen.dragon ([90.187.136.19]) by smtp.web.de (mrweb003) with ESMTPA (Nemesis) id 0Ljahc-1V9tcz1Al6-00bfVH for <14957-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org>; Thu, 14 Nov 2013 01:03:42 +0100 In-Reply-To: <86bo1ppx2i.fsf@somewhere.org> (Sebastien Vauban's message of "Tue, 12 Nov 2013 14:29:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:y4xN2IsZB4EbPGZbx9bsQ2qEqExMB62L8Ms/bsnyNvc57qyy/t8 uq1DQQQNUzbJVaodL0eZixL5ncgknX8XsDng1ggN3yuY/9Ex0IdcytEJSCcmXvzwq4H9psn +f89HYHobR8+Cl7V+2M8F95B50SiXMIzKDakoBU0X+c7peCWiB8OrkW0ltLnwdPVzvqIWni 0YHiW0o7Awv12gNyz3K8A== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80398 Archived-At: "Sebastien Vauban" writes: > However, I still wonder how to put the language indicator at the *end* > of the modeline -- I tried this at first, but I'm now sure it's not a > good idea. > We can't do that by inverting the two components in the above cons > expression. And it seems I'm not yet bilingual enough in Lisp... Yes, cons is wrong here, better use e.g. `append'. You should boil yourself some tea, and then read about lists: (info "(elisp) Lists") > FYI, there is one minor annoyance; I'd like to see the language > indicator only where it makes sense, that is NOT in (almost) every > buffer. For example, I do see "fr" (my default dictionary) in the > Emacs manuals, which is twice wrong: > > - they're in English, and > - they're read-only... > > I guess the read-only feature is the way to specify (in an automatic > way) the visibility (by default) of that feature. WDYT? In such a > case, we simply have to add a condition in the above "and" expression. Yes, that sounds reasonable. @Everybody: would it make sense to add a new variable `mode-line-dictionary' that shows the abbreviated name of the current dictionary when appropriate? Spell checking is essential when editing any buffer, so showing the dictionary is not less useful than showing the input method. People that don't want to see it anyway could just customize the variable to nil. We could also make it display something only when the dictionary is not the default one. Regards, Michael.