* How to get rid of "MR" from the modeline?
@ 2015-02-26 19:44 Sharon Kimble
0 siblings, 0 replies; 2+ messages in thread
From: Sharon Kimble @ 2015-02-26 19:44 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
Somehow my agenda buffer is showing "MR" in the mode-line , where
--8<---------------cut here---------------start------------->8---
'(:eval (if (buffer-modified-p) "M" "-"))
'(:eval (if buffer-read-only "R" "-"))
--8<---------------cut here---------------end--------------->8---
How do I get rid of it please?
I can get rid of "R" with "C-c C-q" but it comes back when I restart
the agenda again. So how can I get rid of them permanently please?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.6, emacs 24.4.1.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to get rid of "MR" from the modeline?
[not found] <mailman.892.1424979854.31049.help-gnu-emacs@gnu.org>
@ 2015-02-27 0:42 ` Emanuel Berg
0 siblings, 0 replies; 2+ messages in thread
From: Emanuel Berg @ 2015-02-27 0:42 UTC (permalink / raw)
To: help-gnu-emacs
Sharon Kimble <boudiccas@skimble.plus.com> writes:
> Somehow my agenda buffer is showing "MR" in the
> mode-line , where
>
> '(:eval (if (buffer-modified-p) "M" "-"))
> '(:eval (if buffer-read-only "R" "-"))
>
> How do I get rid of it please?
I don't know the agenda buffer specifically, but from
where did you get the above code? - if it is the
`mode-line-format' then simply change the 'M' and 'R'
to whatever you like, or remove the entire line(s).
But perhaps that knowledge comes in handy sometimes?
(Even so, I wonder why not the standard * and % are
used?)
It may look like this:
(setq-default mode-line-format
`(" "
(:eval ... )
... ))
So change and evaluate and changes should appear
instantly.
--
underground experts united
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-27 0:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.892.1424979854.31049.help-gnu-emacs@gnu.org>
2015-02-27 0:42 ` How to get rid of "MR" from the modeline? Emanuel Berg
2015-02-26 19:44 Sharon Kimble
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.