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 03:42:41 +0100



> Sent: Friday, December 04, 2020 at 3:10 AM
> From: daniela-spit@gmx.it
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Michael Heerdegen" <michael_heerdegen@web.de>, help-gnu-emacs@gnu.org
> Subject: Re: Removing line and column number settings from some buffers
>
>
>
> > Sent: Friday, December 04, 2020 at 2:33 AM
> > From: "Christopher Dimech" <dimech@gmx.com>
> > To: "Michael Heerdegen" <michael_heerdegen@web.de>, daniela-spit@gmx.it
> > Cc: help-gnu-emacs@gnu.org
> > Subject: Re: Removing line and column number settings from some buffers
> >
> >
> >
> >
> > > Sent: Friday, December 04, 2020 at 2:16 AM
> > > From: "Michael Heerdegen" <michael_heerdegen@web.de>
> > > To: help-gnu-emacs@gnu.org
> > > Subject: Re: Removing line and column number settings from some buffers
> > >
> > > Christopher Dimech <dimech@gmx.com> 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 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 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 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.


> > > Michael.
> > >
> > >
> > >
> >
> > ---------------------
> > Christopher Dimech
> > General Administrator - Naiad Informatics - GNU Project (Geocomputation)
> > - Geophysical Simulation
> > - Geological Subsurface Mapping
> > - Disaster Preparedness and Mitigation
> > - Natural Resource Exploration and Production
> > - Free Software Advocacy
> >
> >
>



reply via email to

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