From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: daniela-spit@gmx.it Newsgroups: gmane.emacs.help Subject: Re: Removing line and column number settings from some buffers Date: Fri, 4 Dec 2020 05:36:27 +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="38530"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , help-gnu-emacs@gnu.org To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 04 05:36:53 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 1kl2px-0009wi-CB for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 05:36:53 +0100 Original-Received: from localhost ([::1]:52680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl2pw-00054q-9E for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 23:36:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl2pc-00054i-82 for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 23:36:32 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:57353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl2pa-0000Rm-32 for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 23:36:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607056587; bh=Oc/9q7QRJ88EAgyUrHMUHx6X4JBueCAj5HqYMsh0myU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=eNOxY9n68b97UhU6O+A1tQzJl6pGGkiMD/OtvQLp03Mu2uMoE/+a8BYgNm6Ys/A4n CCv5qxu+eqbUJhjdHxnUhgPaFFYWUbLm8tMxpZuUe6Lzch6DiFdE6moQwwvSfsk9Nm 9J/MlxKIBSmJPexFLXs59tq6RjPJEUfh9oRsx3BY= 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 05:36:27 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:2D94jEAl2LOJcmQ20g2GeG24l8L2KEEAWDaZttHgJXJ6dc7BWfnra/v6WZBJJ7Kjw3yyn fs1KnKCG9UWdWSMEdNl99bkpHTsBR1SuHJJncrIwKIsnFYkdER54OP61zIkqpqeeRxEa8NtHlgK9 4I2hr9S+zmJ6w/sB4HybMmstXhVx4UDALRsYIc2SR9wGUa4Qwu+DnCd6fzs6pXOoOfNkJadkjMkI q5xR7+tGTEoy9OixxAVywArdiL+iG6Bt5Ff95i/LhQGgbU2CZ7r/ZWR3s8hSsQo3ZCcfpYyrDaNv vo= X-UI-Out-Filterresults: notjunk:1;V03:K0:gpjkd5GmSNs=:aP9/m0CVSX96bcbWfntusS O16PZ9cj8J4TBBk3jEUnPbOsMozTnkdhQ4rkcYTv+2H0b9xJvskPaM7RBi15UKyzTdWPp+lT6 8XbQAotXYeegEme57FLDAcOhAbe2c6KO96a4cvpIYjK4SlQ6MxGink8ET18eOUtZtaRbc4Fxs quEhN0MhMqHXf2A6C31+u+DA2IQgUJDgKyNKx5wt2tcMQmo23LsC+oRHUSdWsifPFxbaxOKDl n4hGAslApY7PVyyN3TcSvDjbfG9DMCw7SR5Hc8P+lnJPFXuqUtnvu7znsWZZMcrawzdLhbFwT gU3H+G/GW4eyY0ArKmmC4ViY6hAII3RxYX2xE3RICkQQnPDB/+SYrMx4uJ3l8+1BLHi6R5OiF R/LxsztmheBZGJvJUFZEYjVXJLzP2WbrYKaJl+obubKk8Y5MzCLscEXDaza2UlIMaYvSHfdfb ahFwZGRSo3l/fE2pqt0ZEALNuTTxQVfXzQPg3LRkDyCPP3FmkHZUSkhSSxpWAOYul5JzxG53V DtWRkXQyZMqHVHT1jTp4LSGgg9XKr1kj1Pd+nqS5aYkqQCwj9r2mr0WDJPYapLjsE4hmyOlHq kICXOzIsuzY+Y= Received-SPF: pass client-ip=212.227.15.15; envelope-from=daniela-spit@gmx.it; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:125950 Archived-At: One problem is how to store (get 'time-frmt-cycle 'state) in a variable. > Sent: Friday, December 04, 2020 at 5:16 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 > > Can somebody help me make a key binding that cycles > through a function (appt-mode-line n) where 'n' can > be 1, 2 or 3. > > Thank you > Daniela > > > Sent: Friday, December 04, 2020 at 3:10 AM > > From: daniela-spit@gmx.it > > To: "Christopher Dimech" > > Cc: "Michael Heerdegen" , help-gnu-emacs@gnu= .org > > Subject: Re: Removing line and column number settings from some buffer= s > > > > > > > > > Sent: Friday, December 04, 2020 at 2:33 AM > > > From: "Christopher Dimech" > > > To: "Michael Heerdegen" , daniela-spit@gmx= .it > > > Cc: help-gnu-emacs@gnu.org > > > Subject: Re: Removing line and column number settings from some buff= ers > > > > > > > > > > > > > > > > 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 bu= ffers > > > > > > > > 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 bein= g > > > > > updated. Even after firing new Emacs Sessions. > > > > > > > > This does only modify the mode-line of the buffer that is current = when > > > > that code is loaded, so this is expected. > > > > > > I see. Have put it in a file and hit "M-x eval-region". And then t= he change > > > happens. > > > > At least I say things changing. > > > > What I want to do is to change the Mode Line, but then revert back to = how it > > was in that buffer, by continue pressing same keybinding. Can I store= the > > old setup and then put it back again. > > > > > > > > > Michael. > > > > > > > > > > > > > > > > > > --------------------- > > > Christopher Dimech > > > General Administrator - Naiad Informatics - GNU Project (Geocomputat= ion) > > > - Geophysical Simulation > > > - Geological Subsurface Mapping > > > - Disaster Preparedness and Mitigation > > > - Natural Resource Exploration and Production > > > - Free Software Advocacy > > > > > > > > >