unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Removing the percentage in the mode line
@ 2021-01-29 20:56 michael-franzese
  2021-01-29 21:58 ` Eduardo Ochs
  0 siblings, 1 reply; 2+ messages in thread
From: michael-franzese @ 2021-01-29 20:56 UTC (permalink / raw)
  To: Help Gnu Emacs


How can I remove the percentage in the mode line?




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Removing the percentage in the mode line
  2021-01-29 20:56 Removing the percentage in the mode line michael-franzese
@ 2021-01-29 21:58 ` Eduardo Ochs
  0 siblings, 0 replies; 2+ messages in thread
From: Eduardo Ochs @ 2021-01-29 21:58 UTC (permalink / raw)
  To: michael-franzese; +Cc: Help Gnu Emacs

You need to set `mode-line-percent-position' to nil. The manual says
in this page

  (info "(elisp)Mode Line Variables")

that the recommended way to do that is with customize, but I never
learned customize well enough... you can do it by evaluating the sexps
below with `C-x C-e':

  ;; Default (at least on my machine):
  (setq mode-line-percent-position '(-3 "%p"))

  ;; No percentage (and no "All"/"Top"/"Bot"):
  (setq mode-line-percent-position nil)

  ;; Update the mode line:
  (redraw-display)

For more on `C-x C-e' see:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Lisp-Eval.html
https://www.gnu.org/software/emacs/manual/html_node/eintr/How-to-Evaluate.html

By the way, it is possible to go to the customization page for
`mode-line-percent-position' by evaluating this...

  (customize-variable 'mode-line-percent-position)

  [[]], E.


On Fri, 29 Jan 2021 at 18:03, <michael-franzese@gmx.com> wrote:

>
> How can I remove the percentage in the mode line?
>
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-29 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-29 20:56 Removing the percentage in the mode line michael-franzese
2021-01-29 21:58 ` Eduardo Ochs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).