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 04:12:38 +0100 Message-ID: References: <875z5j6b4c.fsf@zoho.eu> <87sg8mbkpt.fsf@web.de> <87czzq9xq5.fsf@web.de> <87360me1an.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="14203"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen , daniela-spit@gmx.it Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 04 04:14:24 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 1kl1Y7-0003Ya-VP for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 04:14:23 +0100 Original-Received: from localhost ([::1]:38280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kl1Y4-0000Xp-LQ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 22:14:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl1WU-0000Xd-M8 for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 22:12:42 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:45187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kl1WS-0005UK-Jt for help-gnu-emacs@gnu.org; Thu, 03 Dec 2020 22:12:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607051558; bh=/c1+BoocE8PGbd2BbfZr+Nle/58Tek1rJDfTxO0QATc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=BdTG8wHYFUfE23w6yHUFBRwu3xzjpwUnjL73A8zY9TzeClk5CIDW+/qkpHOBTZhFp vASbnGQcFPtf4ytLxnbQMRMZyZ8YF2nTyMjuP4v4Z1jVHUspGq0yyOT3t4TCZ3goYL SIBPVDOazaTtvEG9MC0iV4eaxfrAB3FyAJOSTQXU= 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 04:12:38 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87360me1an.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:X2cKMlt9tXvgmDrknJA3zL4JWEwMpL5ZzpG8Ka9kQfPIBQja7e9Bd69935klzUZw5KxtV HvJ5fI0VYS46E0WiPLyr1/RfibT+rr430qWkkVUlWcI+BnmTwuhwF9RgTHmmarCJWNFIPUA6gZ6X cIIjDWeHtACDvIv2k6MR41oAtt/sDow1loVp6SAC3Sdh4Oe9sUagBgiL8PhFtp1ZI4JWovzbTVpK D213OSJZv+oqNg6Zcha7pziiW+Ghbtrue5rlWmOFnh1PNY4fKG06BhS8heVUjj/rxFLQMLArCDUR zI= X-UI-Out-Filterresults: notjunk:1;V03:K0:Iu+N+YzhgTA=:OjCxwzdS8k7M7idMVd2Hz5 F6HMInYlVbdZJLv9+jqqHptmCAgbNZwD4H0ZzpZ3nFT/OArRG/+OLU/GaMurseHJasOkSOFbL 2lw5+oZ7OTvWwtKIiLMsddedJa0j2Kz4LnLe6oQ+BT44vlH4apQnPvFzPsHZIw8HhyhGUwdky dJ0/UMgCdqxniR1Ach43Txc7eY0UFz63QwcMWUZkjT9p5L/50C/2vjCEGro8c7+iLLotQU3pZ Khzr7KX04cOvzKTr/I1M/JO2o10UHkaQFen5gN6SPESEq5ipuPcR1MQlY00VVXaZPpEdR5+QI 1WXdRSipgmRJXdwfrF42qUL8HnmgPRSHXFE9t1rWtvFdYG9hE0lQhktK5kJtRFP102/AnfcRe A3GyyPdNE0G+u6/bshVSyVPZeZWkuA8ewfW69Ea1+22HLVIzP5y2+1wG7/JSVXKbOa9NhbZA1 4yTLGcu+5b0X0lXkvOM4ZiTCjoPpo3Qi9IWxQYv5UG853IdZLdC6wt4bWeSQLPZDMtXF9cpKP AWvbtVgBfCqr9Za64Ola0wSGTDqIrPFuE7JdRcR2AnYeJyyWkWVn6qQ57+n+tfWU5p4dORGd4 GORNbMeWqs7zI= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; 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:125945 Archived-At: > Sent: Friday, December 04, 2020 at 3:46 AM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: Removing line and column number settings from some buffers > > daniela-spit@gmx.it writes: > > > 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. > > Yes. Just store the old value in a (buffer local) variable. Been reading hard on buffer local. Perhaps she can do like so ;; Store current value of mode-line-format (setq-local original-mode-line-format mode-line-format) ;; Put original mode-line-format (setq mode-line-format original-mode-line-format) Hope I have not got the commands wrong for her case. If I do, my apologie= s. > Regards, > > Michael. > > >