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:16:13 +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="34243"; 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:16:59 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 1kl2Wg-0008kr-Vt for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 05:16:58 +0100 Original-Received: from localhost ([::1]:51284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl2Wg-0002Zs-1D for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 23:16:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl2W3-0002Zi-Le for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 23:16:19 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:43485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl2W1-0007rt-9F for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 23:16:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607055373; bh=/jFuMD19Tjk73E+gYk3z7aQ6FP241u9BTgkupp8Qlms=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=bQX0Op7GSTRK/Zj2ki2VJgoR75mm9AK5nSY2iCazf6XOw4Qi59txq/fDkxqDUndl/ gHk3nkFURbNmpncGzA5o3TQQHbfTZaq2ms2jU+uh8ZLpNSii2f9jYgTNlPndxBL9cm 0Iviz2aur1C06ZR/VIF9G8A/dQJO3V2lhBPvSfIw= 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:16:13 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:r2nGEz+Xy6v6/hfUcTnq7ADjXOyfXzbbDDVQwoGZ76DjKr7CXZvPMtW5FPQKtyBiYc1KA lV0412irPJCwgqPPowwzl0lRciPU6rTgwNOIbIKoAIjFNUb2W5b7tBQGAv2C7rIgWGsfcKqQAeEZ 1gAkjJaAdyIjdXh/0n2DWKgQ31l3Set8CWd+QWBns6KnEm/03leSxpXAHvLB/oFxKUG731bjor1R A0Z3bYEXqVWF1lp3vud2KDJIe4ACDG2JkYvMX1IhqbYZAGqwi8zWn9wCMe6Qodai1G66ctkG5RLd HI= X-UI-Out-Filterresults: notjunk:1;V03:K0:GrD1YbI1Jj8=:Z0yx5+lzxlYBYv2Kh+Cv1d bwu4f58+PMBd3bEMrH4nflFtgjXtDWfNZSIlO1AJHWq2BwfdDRnMsOaaae6tNDNQkqp50oyM4 nHUvbOgrUrPEUdDv7Sy76E1I0gGNMnLs6W6/TdGWUVLVDDv4j6qRs4EnMLGMh1hVjWp5J8pcP VP4yrcDChVwS6JiW2RGEsNm8vMT4fXMDnaNtKq4VV8s3xLsoQmVKBpBOxuTOHV8R2EX57+SoU xtegB79m/TwuI5aTycJvq4EbcZWkIDZdsyTBFZfXSvIKWHfIEIteAwUPCHp6yeldMNH4qm0sr 2YSlxqZ7CV9ykgUyxVXpjxGDVsNbjUbV3HKoft2kkJyQZK/49ywAw5VrnRsFdUFS5HRYHiE2Z 1Rp9lZVPErbafYpljVEchS5/1yPTbBhm1pNVb0gH4bxk6UjMiGOqR9l8dPWoFueOiYPjo+cQ+ mEvFT+O+vCuvG4yOt7SUpBZ+gQfkJOvNAVajlggAAlX3dzWXBvfwKwUHhVQHxQpqNt7wS+vPk XZqU3Agp3jjptJaXOMWkzNXcARpiWtDc02TxbBYK8n3ItQzvgMogBTv6GIMqoWMwF38RXOzns 2IEUkDhEg1bdA= Received-SPF: pass client-ip=212.227.17.21; 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:125949 Archived-At: 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.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. > > > > > > 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 > > > > >