From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Removing line and column number settings from some buffers Date: Fri, 4 Dec 2020 03:42:41 +0100 Message-ID: References: <875z5j6b4c.fsf@zoho.eu> <87sg8mbkpt.fsf@web.de> <87czzq9xq5.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , help-gnu-emacs@gnu.org To: daniela-spit@gmx.it Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 04 03:45:22 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl162-0004ZE-HB for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 03:45:22 +0100 Original-Received: from localhost ([::1]:33458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl161-0004gt-Em for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 21:45:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl13V-0004gY-Kx for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 21:42:45 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:41811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl13T-0003el-SQ for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 21:42:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607049761; bh=1DaqacURAy6r4QpyAeUrwjOZP8zdL6eQiDbRGHPEU/w=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=UAKUgGkDfGIwIesylDFthlz7VkyAfs0gj08Zp8o+Jh4PKT+3b5Msg6ozbbmZDYgRb eOyP4JIN1Qp79N4bdQ+kEUHBT4az3vLCOuBSztuURgGBUT7x+smxNcJZtwP3g1q89D FaIw2q7QaXFCEbVCiVtHNapRaemhM6LYvMNrUc0E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Fri, 4 Dec 2020 03:42:41 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:euyS7xKbWcjuaGVVFlMNqK9YsuNEUXtaD7XgdoFpFoxU5hDaOUUIGdvbeOf8sMkNdM0Qs xr2Rv1vzTOHk6DvuVjDhCZHyUtuAQd3GgZLMGDRPvYMiiVnJC5Gy/Y5ZBDFFDk1c8Gmk5aWmUUkJ Cc27wwlKUfBUiSPS4Y1AR1Gjf5JLn2jpecZ7HhuqiCI3wsYkw+fbyLStRCdzfMTfQ8p2/DYFwZ/w HOT54GJJGDWoYYrBBmHeZQHjGDJUQl6bjlPsYl2u4qsV2V24RHOFdzvN7wT/8PonsQyLUHSY5zLz 8A= X-UI-Out-Filterresults: notjunk:1;V03:K0:cX8QrlDcMGU=:S0R+RXJh+BbuspYO+sxURk X1umBDRuzqNt78WUepyy5UvP/9yZTr3tLH9+8YcSGfmMvnXM8e08GnGmb0sT62aqDD8RRZvQ/ wDg6IoJtrxDk3So3bT2eJDhQfP93IAWbm1Ghlhcn6Vqzv6ZHnUy9GZtBcgpuCJ7evTNLTCRvt TXnDi1HGMHjPct22ztVquxuocTnswkDczftjKeVit968XLYVLGBdvlHk6A0asNd9Mp92nhz8o K+MHsBXjYzj91x5oCACqypocpJbpgZnupwyTk9VG3FnqibtaC5IIA6CXDX8GlkM4mNA/+o8ih dl/QFfcDjR6Tia0q/ODAI0C2VTOsAhRKBITuuOxxtb3JgmSBkLtryPu/oTVMhP2fFDMWDivAV G7STqKf2VxX+rrWkbhjD68WCW37Z2fu5yg+mRkeUltO3vCSnfYWl1+sW+vax/NXtWF3Mf9PJD DZluWgcmjxBPOBwwLVQ78NBvmLab0BTCPN9Ab8Q2eihCC4rISU6XgmSntA0DFYA3WkMiEwnNw qSCGci2WS/qMyPXrl5rXV4kJwFj9fF6vSynS9rF43lPl+QII5h10LnnVoSYUSMwKL5Dp7C0Nx B99VUClexw6eY= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125943 Archived-At: > Sent: Friday, December 04, 2020 at 3:10 AM > From: daniela-spit@gmx.it > To: "Christopher Dimech" > Cc: "Michael Heerdegen" , help-gnu-emacs@gnu.o= rg > Subject: Re: Removing line and column number settings from some buffers > > > > > Sent: Friday, December 04, 2020 at 2:33 AM > > From: "Christopher Dimech" > > To: "Michael Heerdegen" , daniela-spit@gmx.i= t > > Cc: help-gnu-emacs@gnu.org > > Subject: Re: Removing line and column number settings from some buffer= s > > > > > > > > > > > Sent: Friday, December 04, 2020 at 2:16 AM > > > From: "Michael Heerdegen" > > > To: help-gnu-emacs@gnu.org > > > Subject: Re: Removing line and column number settings from some buff= ers > > > > > > Christopher Dimech writes: > > > > > > > > > > (setq mode-line-format > > > > > > > (list > > > > > > > "%e" > > > > > > > " " > > > > > > > " " > > > > > > > 'mode-line-modes 'mode-line-misc-info > > > > > > > 'mode-line-end-spaces) ) > > > > > > > > > > > > > > (force-mode-line-update) > > > > > > > > Have put the code in my init, and the mode line is also not being > > > > updated. Even after firing new Emacs Sessions. > > > > > > This does only modify the mode-line of the buffer that is current wh= en > > > that code is loaded, so this is expected. > > > > I see. Have put it in a file and hit "M-x eval-region". And then the= change > > happens. > > At least I say things changing. > > What I want to do is to change the Mode Line, but then revert back to ho= w it > was in that buffer, by continue pressing same keybinding. Can I store t= he > old setup and then put it back again. Have got some code to cycle commands. Shall try to dig that out. But I d= on't know much about changing the mode line. > > > Michael. > > > > > > > > > > > > > --------------------- > > Christopher Dimech > > General Administrator - Naiad Informatics - GNU Project (Geocomputatio= n) > > - Geophysical Simulation > > - Geological Subsurface Mapping > > - Disaster Preparedness and Mitigation > > - Natural Resource Exploration and Production > > - Free Software Advocacy > > > > >