help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing line and column number settings from some buffers


From: Christopher Dimech
Subject: Re: Removing line and column number settings from some buffers
Date: Fri, 4 Dec 2020 07:31:52 +0100

> Sent: Friday, December 04, 2020 at 7:10 AM
> From: "Jean Louis" <bugs@gnu.support>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: daniela-spit@gmx.it, "Michael Heerdegen" <michael_heerdegen@web.de>, 
> help-gnu-emacs@gnu.org
> Subject: Re: Removing line and column number settings from some buffers
>
> > > 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.
> >
> > Have got some code to cycle commands.  Shall try to dig that out.  But I 
> > don't
> > know much about changing the mode line.
>
> For session based storage, you may use the Emacs built-in library
> `ring' as it has cycling features, you store anything in ring variable
> and you can take it back and cycle through it.

I had been updating the function state to loop.  Never got into the ring
variable.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]