From: Eduardo Ochs <eduardoochs@gmail.com>
To: michael-franzese@gmx.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Removing the percentage in the mode line
Date: Fri, 29 Jan 2021 18:58:17 -0300 [thread overview]
Message-ID: <CADs++6gbbqAYTfUmMEPn+2tXaMEKteZAYaEd8re_OEj-pEifrQ@mail.gmail.com> (raw)
In-Reply-To: <trinity-540432cb-bbfe-47e4-9b1d-b74a70f07670-1611953765794@3c-app-mailcom-bs16>
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?
>
>
>
prev parent reply other threads:[~2021-01-29 21:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-29 20:56 Removing the percentage in the mode line michael-franzese
2021-01-29 21:58 ` Eduardo Ochs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CADs++6gbbqAYTfUmMEPn+2tXaMEKteZAYaEd8re_OEj-pEifrQ@mail.gmail.com \
--to=eduardoochs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael-franzese@gmx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.