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: Jean Louis
Subject: Re: Removing line and column number settings from some buffers
Date: Fri, 4 Dec 2020 09:10:32 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

> > 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.




reply via email to

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